Generate videos from text descriptions using Qwen wan-2.5-fast model
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | ✅ Yes | - | Text description for the video generation, describing the desired scene, actions, and style |
negative_prompt | string | ❌ No | "" | Negative prompt to specify what should not appear in the generated video. Leave empty if not needed |
audio | string | ❌ No | "" | URL of the audio file to be added to the generated video. Leave empty for no audio |
size | string | ❌ No | "1280*720" | Video resolution/size. Format: width*height (e.g., 1280*720, 1920*1080) |
duration | string | ❌ No | "5" | Duration of the generated video in seconds |
enable_prompt_expansion | string | ❌ No | "false" | Enable automatic prompt expansion and optimization. Set to "true" or "false" |
seed | integer | ❌ No | -1 | Random seed for generation reproducibility. Set to -1 for random generation |