generate_video
Generate AI videos from visual descriptions. Set duration, aspect ratio, resolution, and audio. Returns a task ID for async tracking.
Instructions
Generate an AI video from text prompt using VAP (P-Video). Returns a task ID for async tracking. Cost: $1.96. IMPORTANT: Send ONLY the video description. Do NOT include any instructions, guidelines, or meta-text. Just the pure visual description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ONLY the visual description of the video. Do NOT include instructions or guidelines. Example: 'Cinematic aerial shot of a coastal cliff at golden hour, warm sunlight, gentle waves, camera slowly drifting forward' | |
| duration | No | Video duration in seconds (4, 6, or 8) | |
| aspect_ratio | No | Video aspect ratio. 16:9 for landscape/widescreen, 9:16 for portrait/vertical (TikTok, Reels). Extract from user's prompt if mentioned. | 16:9 |
| generate_audio | No | Generate audio with the video (costs more) | |
| resolution | No | Video resolution. 1080p recommended for enterprise (+33% cost) | 720p |
| negative_prompt | No | What to avoid in the video generation |