videos
Generate AI avatar videos by specifying scenes with avatar, voice, and script. Check generation status and list completed videos.
Instructions
Generate AI avatar videos and check their status. WORKFLOW: 1) Get avatar_id, 2) Get voice_id, 3) Call 'generate', 4) Poll 'status' until complete. Actions: 'list' - get all videos (with status and video_url if complete); 'generate' - create video (REQUIRED: video_inputs_json - JSON array of scenes, even for single-scene videos. Each scene needs: character.avatar_id, voice.input_text, voice.voice_id. Optional: background with type/value/asset_id); 'generate_iv' - create video from photo with AI motion (REQUIRED: image_key, script, voice_id, video_title); 'status' - check if ready (REQUIRED: video_id). NOTE: Videos take 1-10+ min. Poll status until completed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| video_id | No | ||
| title | No | ||
| token | No | ||
| video_inputs_json | No | ||
| image_key | No | ||
| script | No | ||
| video_title | No | ||
| voice_id | No | ||
| audio_url | No | ||
| audio_asset_id | No | ||
| custom_motion_prompt | No | ||
| enhance_custom_motion_prompt | No |