create_video
Create AI videos by animating images, generating UGC with script and voice, or showcasing products with a person holding them.
Instructions
Create AI videos. Costs 500 credits (video) or 100 credits (product_holder image).
Types:
image_to_video: Animate an image with a prompt (image_url, prompt required). 500 credits.
ugc: Generate UGC video with script and voice (script, voice_id required). 500 credits.
product_holder: Product showcase with person holding product (product_image_url required). 500 credits (video) or 100 credits (image).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of video to create | |
| image_url | No | CDN URL of image to animate (image_to_video, product_holder) | |
| prompt | No | Animation prompt (required for image_to_video) | |
| resolution | No | Video resolution (default: 720p) | |
| duration | No | Video duration in seconds (default: 4) | |
| aspect_ratio | No | Output aspect ratio | |
| script | No | UGC script text (max 150 chars, required for ugc) | |
| voice_id | No | Voice ID for UGC (required for ugc) | |
| emotion | No | UGC emotion (default: neutral) | |
| language | No | UGC language (default: English) | |
| gender | No | UGC model gender | |
| person_image_url | No | Person image URL for product_holder | |
| product_image_url | No | Product image URL (required for product_holder) | |
| output_type | No | product_holder output type (image=100 credits, video=500 credits) | |
| person_prompt | No | Person description for product_holder | |
| wait_for_result | No | If true (default), waits for the result. If false, returns prediction_id immediately. |