siliconflow-video-gen

Generate MP4 videos from text prompts or images via the SiliconFlow Video API.

8.4k|1.4k|Updated Apr 24, 2024
One-click install
npx skills add https://github.com/TeamWiseFlow/wiseflow --skill siliconflow-video-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: siliconflow-video-gen
Source: https://github.com/TeamWiseFlow/wiseflow/tree/main/addons/officials/skills/siliconflow-video-gen
Command: npx skills add https://github.com/TeamWiseFlow/wiseflow --skill siliconflow-video-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates manual video generation workflows by turning your descriptions (and optionally images) into AI-generated MP4 videos you can download and reuse.

Core Features & Use Cases

  • Text-to-Video (T2V): Create short videos from a natural-language prompt using Wan2.2 T2V models.
  • Image-to-Video (I2V): Turn a provided image URL or base64 data URI into a video using Wan2.2 I2V models.
  • Asynchronous Job Workflow: Submits a job, polls for completion until status is Succeed, then downloads the resulting video automatically.

Use Case: Marketing teams can quickly prototype a product promo clip by iterating on a prompt, then reuse the downloaded MP4 for landing pages or social posts.

Quick Start

Run the Video API generation by executing the command: python3 {baseDir}/scripts/gen.py --prompt "a dolphin leaping over ocean waves at sunset".

Frequently Asked Questions about siliconflow-video-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Wan2.2 videos from text prompts or images?

To generate Wan2.2 videos, submit a text prompt or image to the SiliconFlow Video API, which processes the asynchronous job and automatically downloads the resulting MP4 file to your output directory.

Do I need a SiliconFlow API key to use the Wan2.2 video generation workflow?

Yes, you need a SILICONFLOW_API_KEY to authenticate and submit asynchronous video generation jobs to the SiliconFlow submit endpoint for both text-to-video and image-to-video tasks.

How does asynchronous video generation work with the SiliconFlow API?

Asynchronous video generation works by submitting a job to the SiliconFlow API, polling the status until it returns Succeed, and then automatically downloading the completed MP4 video file locally.

Can I use an image URL to create a short video with Wan2.2 I2V models?

Yes, you can use an image URL or base64 data URI with Wan2.2 I2V models to turn a provided image into a short MP4 video asynchronously.

What is the best way to automate batch video creation from text prompts?

Automating batch video creation involves running a Python script that submits multiple text-to-video jobs to the SiliconFlow API, polls for completion, and downloads the generated MP4 files automatically.

Why does my video generation job keep polling without downloading the MP4?

Your video generation job continues polling because the SiliconFlow API status has not returned Succeed yet; the MP4 download only triggers once the asynchronous video generation task fully completes.