Create Video
create_videoGenerate a short video for a social post, Reel, TikTok or ad. Models include Seedance 2.5 / 2.5 Turbo / 2.0, Veo 3.1 (Fast, Lite), Gemini Omni 1.1 Flash, Kling O3 Pro / 3.0, Wan 3.0, Grok Imagine Video 1.5 and Sora 2 — see list_models for modes and inputs. Video is expensive: call get_price first, tell the user the credits, and pass them as maxCredits. Poll with wait_for_video. Renders a live preview in app-capable hosts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Mode key from list_models. Omit to pick it from the attached media. | |
| model | No | Model key from list_models (category "video"). Default: seedance-2.5. | |
| inputs | No | WaveSpeed input fields for the chosen model and mode, exactly as list_models shows them (e.g. aspect_ratio, resolution, duration, generate_audio, image, last_image, reference_images). Media fields take URLs; files hosted elsewhere are imported into the user's library automatically. Omitted fields use the model's defaults. | |
| prompt | Yes | What to generate | |
| maxCredits | No | Refuse to start if the live price is above this. Pass the credits get_price returned. | |
| idempotencyKey | No |