Generate OR edit a video using a Runway-hosted video model. Pass the source video as `referenceVideo` to edit/restyle it. MODEL STATUS: Call `whoami` before choosing a model. Check `modelDeprecations` for upcoming sunsets and unavailable task variants; warn briefly about a relevant upcoming sunset, and ask before switching models. Model enums describe supported inputs, not current availability. CREDIT MODE: Runway account availability is checked against the currently connected workspace. PAID PLAN: If this tool returns paid_plan_required, follow the NEXT line in that result, it asks for `show_plans_and_credits` with the blocked action as `gatedCapability`, which renders the upgrade card. Do not retry with a different video model from this schema; every video model needs a paid plan. Only offer models `whoami` lists in `availableVideoModels` / `availableImageModels`, and only after calling `whoami`. CHOOSING BETWEEN THIS TOOL AND `edit_video` FOR FOOTAGE EDITS: - Use `edit_video` (Aleph 2.0 in-context editing) when the user wants a targeted, surgical change to existing footage and everything else must stay exactly as shot: "make the sneakers red", "change the outfit", "remove the object on the wall", "change the season to winter", "relight the scene", element swaps, or restyles that must preserve the original motion/framing/timing, or whenever the user mentions Aleph or Edit Studio. `edit_video` also requires a paid workspace, do not send free-plan users there as a workaround. - Use THIS tool's video-to-video mode (`referenceVideo`, seedance-2) when the source video is more of a loose reference: motion transfer, style/structure inspiration, heavy re-imagining, or when the source violates Aleph's constraints (must be 2-30s, <=1080p, <=30fps, <=10 cuts, conventional aspect ratio). - The two are mutual fallbacks: if an `edit_video` result was unsatisfying (or the source is out of Aleph's constraints), try v2v here; if a v2v edit here changed more than the user asked for, suggest `edit_video` instead. For creative product ad videos from a product URL or product image, use `generate_product_marketing_video` instead. It handles product-image extraction, cinematic storyboard generation, and the final ad video. For multi-shot videos (one prompt drives 3-5 connected scenes), use `generate_multishot_video` instead. MODES: 1. Text-to-video, pass `promptText` only. Most models support this directly. `gen-4-turbo` is the exception: for best reliability, generate a still image first with `generate_image`, then animate that image with `gen-4-turbo`. Example: "aerial drone shot, slow push forward over misty mountains at sunrise". 2. Image-to-video, pass `startFrame.url` (or ChatGPT's `startImageFile`) plus `promptText` to animate a still image. Use this when you want to bring a specific image to life. Example: a product photo + "slow 360 orbit around the bottle". 3. Video-to-video (edit/restyle), pass `referenceVideo.url` plus a `promptText` describing the desired change. Use this to *modify* an existing video while preserving motion and composition: remove or replace backgrounds, remove unwanted objects/people, add new objects, swap backgrounds, change lighting, restyle scene, alter weather/time-of-day. Supported by the Seedance family (`seedance-2` is the DEFAULT for v2v; `seedance-2.5` handles sources longer than 15s), `kling-4`, `kling-o3-pro`, the WAN family (`wan3`, `wan3-prime`), `gemini-omni-1.1-flash`, and `gemini-omni-1.2-flash`. `seedance-2.5`, `seedance-2.5-flash` and the Gemini Omni 1.1/1.2 models also take `referenceVideoMode` to edit the clip in place or extend it with new footage. Example: an existing dance video + "remove the background and place the dancer on a clean white studio backdrop". VIDEO EDITING REQUESTS: - If the user asks to remove a background, remove an object/person, clean up a scene, add something to an existing video, or otherwise edit footage, DO NOT say Runway MCP cannot do it. First consider `edit_video` (Aleph 2.0, paid workspace) per the routing guidance above; otherwise use video-to-video here: pass the source clip as `referenceVideo` / `referenceVideoFile`, default to `seedance-2`, and describe the edit in `promptText`. - For background removal, ask for or use the input video as `referenceVideo` and prompt for the desired replacement/background treatment, e.g. "remove the background and isolate the subject on a plain neutral studio backdrop" or "replace the background with a clean white seamless studio". DRAFT MODE (seedance-2.5 only): - `draft: true` renders a fast 480p preview at the 480p rate (20 credits/s). If the user likes it, call `enhance_video_draft` with its task ID to re-render the same shot at 1080p (68 credits/s) within 7 days. - Draft plus enhance costs MORE than a direct 1080p render, so only draft when the user wants to iterate on a shot (try several prompts, pick one) or explicitly asks for a draft/preview. For a single clip the user already wants in high quality, render at 1080p directly. SEEDANCE 2.5 EDIT AND EXTEND (`model: "seedance-2.5"` or `"seedance-2.5-flash"` + `referenceVideo`): - `referenceVideoMode: "edit"` changes the source clip in place per `promptText` (restyle, swap or remove elements). The output keeps the source's aspect ratio and the model picks its length, so `ratio` and `duration` are ignored. Sources up to 30s. - `referenceVideoMode: "extend"` continues the source clip forwards or backwards; say which in `promptText`. `duration` is the added footage (4-30s, default 10s); `ratio` is ignored. - Without `referenceVideoMode` the clip is sent as a plain reference and the model infers from the prompt what to do with it. Pass the mode whenever the user clearly wants an edit or an extension. - Both modes accept reference images, extra `referenceVideos`, and `referenceAudio`, but not startFrame/endFrame. - COST (credits per second, output | input video): seedance-2.5: 480p 20 | 10, 720p 30 | 15, 1080p 68 | 34; seedance-2.5-flash: 480p 13 | 7, 720p 20 | 10. Input-video seconds cover the source and every reference clip, so pass `durationSeconds`: an unknown length bills at the 30s cap. An edit reserves 30s of output up front and refunds the unused seconds. Audio references add no cost. DURATION DEFAULTS (the tool sets these automatically when you OMIT `duration`): - Text-to-video & image-to-video → 10s (or the model's largest supported value <= 10s; veo-3.1 → 8s). - Video-to-video WITH `referenceVideo.durationSeconds` → largest model-supported value <= source for most models (e.g. 20s source with seedance-2.5 → 20s; 8s source with seedance-2 → 8s). Kling O3 Pro rounds the source length to whole seconds and caps the output at 10s (e.g. a 15s source produces a 10s edit). - Video-to-video WITHOUT `referenceVideo.durationSeconds` → model's MAX supported duration when the model allows it (15s for seedance-2). Kling O3 Pro requires the source duration. DURATION FOR V2V, IMPORTANT: Always pass `referenceVideo.durationSeconds` when you know it (read it from the file metadata you uploaded). Kling O3 Pro requires it for video edits. - For a 20-second Seedance 2.5 source, DO NOT pass `duration: 5` unless you want a 5-second clip. Pass `referenceVideo.durationSeconds: 20` and omit `duration` to use the full source length. - Only set `duration` explicitly when the user asks for a shorter clip ("just make me a 5-second teaser of this 20-second video"). DO NOT use this tool to edit a still **image** → use `generate_image` and pass the image as `referenceImages[0]`. ANIMATE BUTTON (viewer → chat): when a user message says "Animate this image" and names a Runway task ID, the user clicked Animate on a finished image in the inline viewer. Follow this two-step flow: 1. Do NOT generate yet. Reply in one or two sentences: confirm you can turn that image into a short video (default 10 seconds), describe the image briefly if you know its prompt, and ask what should happen in it, motion, camera, mood, and whether they want a different length. 2. Once they answer, call this tool with `startFrame.taskId` set to that task ID (never retype the image URL), `promptText` built from their answer, and `duration` only if they asked for a specific length. Keep the ratio matching the source image when you know it. HANDLING USER ATTACHMENTS: - ChatGPT: if it supplies an uploaded image as `startImageFile`, pass it directly. This tool will download the temporary ChatGPT file server-side, upload it to Runway, and use it as `startFrame.url`. - ChatGPT: if it supplies an uploaded video as `referenceVideoFile`, pass it directly for video-to-video edits. This tool will download the temporary ChatGPT file server-side, upload it to Runway, and use it as `referenceVideo.url`. - ChatGPT: NEVER pass local paths such as `/mnt/data/file.png` or `/mnt/data/file.mp4` as `startFrame.url` or `referenceVideo.url`; the remote MCP server cannot read them. Use `startImageFile` / `referenceVideoFile` instead. - Claude/Cursor/local agents: if the user attached a local image or video, run `init_upload` -> curl -> `complete_upload` first to get a Runway-hosted asset URL, then pass it as `startFrame.url`, `endFrame.url`, `referenceImages[].url`, or `referenceVideo.url`. REUSING ASSETS: For a finished Runway image generation, pass its task ID as `startFrame.taskId` or `referenceImages[].taskId`; the server looks up the artifact URL. For `complete_upload` results or other public media, pass the full URL in the relevant field, never re-upload a usable asset. Signed URLs end in a long `_jwt=` token: copy them verbatim, without retyping, truncating, or reconstructing the token. If the original URL is unavailable, upload the media again with `init_upload`. Note: outputs of `generate_video` itself are NOT yet usable as `referenceVideo` (re-upload via `init_upload` if needed). USER-FACING REPLIES: Pick the right model internally, but DO NOT mention the model name to the user (e.g. "using Veo 3.1", "with Seedance 2") unless they explicitly ask which model was used. Talk about the video content, subject, motion, mood, not the engine. MODEL NAMES (a user may name a model by its product name; pass the id on the left): - `seedance-2` = Seedance 2.0 - `seedance-2.5` = Seedance 2.5 - `seedance-2.5-flash` = Seedance 2.5 Flash - `seedance-2-fast` = Seedance 2.0 Fast - `seedance-2-mini` = Seedance 2.0 Mini - `kling-4` = Kling 4.0 - `kling-o3-pro` = Kling O3 Pro - `kling-o3-standard` = Kling 3.0 Omni Standard - `kling-3-pro` = Kling 3.0 Pro - `kling-3-standard` = Kling 3.0 Standard - `kling-3-turbo` = Kling 3.0 Turbo - `kling-3-motion-control` = Kling 3.0 Motion Control - `kling-3-4k` = Kling 3.0 4K - `kling-o3-4k` = Kling 3.0 Omni 4K - `gen-4.5` = Gen-4.5 - `veo-3.1` = Veo 3.1 - `grok-imagine-1.5` = Grok Imagine 1.5 - `gemini-omni-flash` = Gemini Omni Flash - `gemini-omni-1.1-flash` = Gemini Omni 1.1 Flash - `gemini-omni-1.2-flash` = Gemini Omni 1.2 Flash - `h3-max` = MiniMax H3 Max - `hailuo-3` = MiniMax H3 - `wan3` = WAN 3.0 - `wan3-prime` = WAN 3.0 Prime - `gen-4-turbo` = Gen-4 Turbo MODELS (`*` = image-first workflow): | model | tier | t2v | i2v | v2v | end | refs | audio | durations | max res | |-------------------|------|-----|-----|-----|-----|------|-------|------------|---------| | seedance-2 | paid | Y | Y | Y | Y | Y | Y | 4-15 | 4k | | seedance-2.5 | paid | Y | Y | Y | Y | Y | Y | 4-30 | 1080p | | seedance-2.5-flash | paid | Y | Y | Y | Y | Y | Y | 4-30 | 720p | | seedance-2-fast | paid | Y | Y | Y | Y | Y | Y | 4-15 | 720p | | seedance-2-mini | paid | Y | Y | Y | Y | Y | Y | 4-15 | 720p | | kling-4 | paid | Y | Y | Y | Y | Y | Y | 3-30 | 1080p | | kling-o3-pro | paid | Y | Y | Y | Y | Y | Y | 5, 10, 15 | 1080p | | kling-o3-standard | paid | Y | Y | Y | Y | Y | Y | 3-15 | 720p | | kling-3-pro | paid | Y | Y | - | Y | - | Y | 5, 10, 15 | 1080p | | kling-3-standard | paid | Y | Y | - | Y | - | Y | 3-15 | 720p | | kling-3-turbo | paid | Y | Y | - | - | - | Y | 3-15 | 1080p | | kling-3-4k | paid | Y | Y | - | Y | - | Y | 3-15 | 4k | | kling-o3-4k | paid | Y | Y | - | Y | Y | Y | 3-15 | 4k | | gen-4.5 | paid | Y | Y | - | - | - | - | 2-10 | 1080p | | veo-3.1 | paid | Y | Y | - | Y | - | Y | 4, 6, 8 | 1080p | | grok-imagine-1.5 | paid | Y | Y | - | - | Y | Y | 1-15 | 1080p | | gemini-omni-flash | paid | Y | Y | - | - | Y | - | 3-10 | 720p | | gemini-omni-1.1-flash | paid | Y | Y | Y | Y | Y | - | 3-10 | 4k | | gemini-omni-1.2-flash | paid | Y | Y | Y | Y | Y | Y | 3-15 | 4k | | h3-max | paid | Y | Y | - | Y | - | - | 5-15 | 768p | | hailuo-3 | paid | Y | Y | Y | Y | Y | Y | 5-15 | 1080p | | wan3 | paid | Y | Y | Y | Y | Y | Y | 2-30 | 1080p | | wan3-prime | paid | Y | Y | Y | Y | Y | Y | 2-30 | 1080p | | gen-4-turbo | paid | * | Y | - | - | - | - | 5, 10 | 720p | Legend: t2v = text-to-video, i2v = image-to-video (startFrame), v2v = video-to-video (referenceVideo, edit/restyle existing video), end = end-frame target, refs = reference images. `*` for gen-4-turbo means it is not native text-to-video: it needs a starting image. For text-only requests, create a still image first, then call gen-4-turbo with that image as `startFrame`. Picking heuristic: - seedance-2.5 (DEFAULT for t2v/i2v), newest Seedance generation and the best general-purpose pick. Pick this unless you have a reason not to. Durations 4-30s, prompts up to 15000 characters, up to 1080p (no 4k). COST: 30 credits/s at 720p (the default), 68 credits/s at 1080p. Supports draft mode (see DRAFT MODE below), audio references (`referenceAudio`), and can edit or extend a clip (see SEEDANCE 2.5 EDIT AND EXTEND below). If you omit `model` and the workspace cannot run it, the tool submits seedance-2 instead, but only when the request fits seedance-2: no `draft`, no `referenceAudio`, 15s or shorter, and a prompt of at most 3500 characters. Otherwise the error comes back; retry with `model: "seedance-2"` and a request that fits it. If you omit `model` and ask for `resolution: "4k"`, the tool uses seedance-2. If you named seedance-2.5 and the API rejects it with an unknown-task-type error, fall back to seedance-2. - seedance-2.5-flash, faster, cheaper Seedance 2.5 tier. Durations 4-30s, prompts up to 15000 characters, 480p/720p output (default 720p). Same reference, keyframe, edit and extend modes as seedance-2.5, with up to 10 images, 5 videos and 5 audio clips. No draft mode or draft enhancement. COST: 13 credits/s at 480p, 20 credits/s at 720p, plus 7/10 credits per input-video second respectively. Only pick it when `whoami` lists it in `availableVideoModels`; on model_unavailable, choose an available model instead. - seedance-2 (DEFAULT for v2v), best for existing-footage edits like removing/replacing backgrounds, removing objects/people, and adding new elements. Clips 4-15s. Pick it for those edits, when the user asks for Seedance 2.0 by name, or for 4k: it is the only Seedance tier that does 4k (reserve 4k for explicit 4K requests, it costs ~4x 1080p). - seedance-2-fast, same capabilities as seedance-2 but faster and cheaper; caps at 720p. Pick when latency/cost matter more than resolution and 1080p isn't needed. - seedance-2-mini, cheapest Seedance tier; identical features, 720p max. Pick for budget-sensitive or high-volume generation. - kling-4, Kling 4.0, the newest Kling generation in one model: text-to-video, start/end-frame animation, up to 10 reference images (frames count toward the 10; tags are ignored, so refer to references in order: "image 1", "video 1"), up to 5 reference videos (`referenceVideos`, 30s combined), and v2v edits (`referenceVideo`, up to 30s; the output follows the source length). Durations 3-30s, 720p (default) or 1080p, ratios 21:9/16:9/9:16/1:1 plus `adaptive` (follow the references; the default with references). Native audio is ALWAYS ON (no toggle, do not pass generateAudio: false). Every reference video needs `durationSeconds`. Prompts up to 26000 English characters, fewer in other scripts. COST: 15.7 credits/s at 720p (157 for 10s), 23.5 credits/s at 1080p (235 for 10s); with any input video it is 9.4/14.1 credits/s billed on the output length plus the longer of the input video length and the output length. Pick when the user asks for Kling 4 by name, or wants Kling consistency with clips longer than 15s. Not enabled on every workspace yet: only pick it when `whoami` lists it in `availableVideoModels`. On an account_limitation with reason model_unavailable, fall back to kling-o3-pro or seedance-2 and do not retry kling-4. - kling-o3-pro, pick when consistency matters: character/product must look identical across shots, brand or serialized content, or when v2v needs to preserve identity. Best for ads, episodic content, and product storytelling. Optimized for 1-2 main subjects. - kling-o3-standard, lower-cost 720p Omni tier with the same identity/style references and v2v editing strengths. Pick for consistency-focused iteration when 1080p is unnecessary; supports whole-second durations from 3-15s, with video-reference edits capped at 10s. - kling-3-pro, pick when prompt fidelity matters more than reference-driven consistency: complex multi-character scenes (3+ people), crowded environments, experimental scripts, rapid ideation without reference assets. (No v2v support.) - kling-3-standard, lower-cost Kling 3.0 tier for text or first/end-frame generation at 720p, with optional native audio and whole-second durations from 3-15s. Pick it for high-volume iteration when 1080p is unnecessary. (No prompt reference images or v2v support.) - kling-3-turbo, pick for fast prompt iteration or quick first-frame animation at 720p/1080p. It accepts one start frame, has always-on native audio, and supports whole-second durations from 3-15s. (No end frame, reference images, or v2v support.) - kling-3-4k, native 4K Kling generation with optional audio and start/end-frame control. Use only when the user explicitly asks for Kling 3.0 4K or true 4K output: it costs 43 credits/second (129 credits at the 3s minimum). Availability is account-gated; on an unknown-task-type or unavailable-model error, fall back to seedance-2 at 4k. (No reference images or v2v support.) - kling-o3-4k, native 4K Kling Omni generation with optional audio, start/end frames, and up to 7 identity/style references. Use when the user explicitly asks for Kling O3/Omni 4K and consistency matters. It costs 43 credits/second (129 credits at the 3s minimum). (No v2v support.) - veo-3.1, pick when photorealism and natively-generated audio matter (Veo invents dialogue spoken by characters in-frame, plus ambient sound matched to the scene). (No v2v support.) - gen-4.5, pick for keyframe-driven storytelling (provide a startFrame and the model anchors at timestamp 0). (No v2v support.) - grok-imagine-1.5, fast generation with native audio that is ALWAYS ON (no toggle, do not pass generateAudio: false) and audio-driven performances. Pick for quick turnaround, short clips (durations go down to 1s in 1s steps), or reference images addressable from the prompt (tag a reference "hero" and write "@hero" in promptText). Constraints: startFrame and referenceImages are mutually exclusive; up to 7 reference images but they cap output at 720p (1080p is t2v/i2v only); extra ratios 3:2 and 2:3. Availability is account-gated: on an unknown-task-type error, fall back to seedance-2. (No v2v support.) - gemini-omni-flash, paid, real t2v/i2v. Pick for physics-realistic motion (gravity, fluids, collisions), knowledge-grounded scenes, or fusing image + text references in one request. Fixed 720p, no audio, ratios 16:9/9:16/auto only, up to 5 reference images. (No v2v support.) - gemini-omni-1.1-flash, Gemini Omni 1.1 Flash. Same physics/knowledge strengths as gemini-omni-flash plus 360p/720p/1080p/4k output (default 720p), first/end frames, up to 5 reference images or 3 reference videos (`referenceVideos`, each up to 10s), and video edit or extension: pass `referenceVideo` with `referenceVideoMode: "edit"` (default; restyle a clip up to 10s, output length follows the source) or `"extend"` (continue a clip up to 30s; `duration` is the added footage). No audio, ratios 16:9/9:16/auto only, prompts up to 4000 characters. Start/end frames cannot be combined with reference images or videos; an edited or extended video must be the only video, and an extension takes no reference images. Pick when the user asks for Gemini Omni 1.1 by name, or wants silent Omni output at a resolution other than 720p. - gemini-omni-1.2-flash, Gemini Omni 1.2 Flash, the newest Omni generation. Same physics/knowledge strengths, 360p/720p/1080p/4k output (default 720p), first/end frames, up to 5 reference images or 3 reference videos (`referenceVideos`, each up to 10s), and video edit or extension: pass `referenceVideo` with `referenceVideoMode: "edit"` (default; restyle a clip under 10s, output length follows the source) or `"extend"` (continue a clip up to 30s; `duration` is the added footage, 3-15s). Durations 3-15s. Native audio is ALWAYS ON (no toggle, do not pass generateAudio: false). Every reference video and `referenceVideo` needs `durationSeconds`. Ratios 16:9/9:16/auto only, prompts up to 4000 characters. Start/end frames cannot be combined with reference images or videos; an edited or extended video must be the only video, and an extension takes no reference images. COST: 2/7/10/21 credits/s at 360p/720p/1080p/4k (70 for 10s at 720p), plus 1 credit per reference image and 1 credit per input-video second. Pick when the user asks for Gemini Omni 1.2 or the newest Omni, or wants Omni with sound or Omni edits/extensions. Not enabled on every workspace yet: only pick it when `whoami` lists it in `availableVideoModels`; otherwise fall back to gemini-omni-1.1-flash. - h3-max, MiniMax H3 Max, fal's post-trained H3 variant. Pick only when the user asks for H3 Max by name. It supports text-to-video or first/end-frame keyframes, whole-second durations from 5-15s, and 480p/768p output (`720p` is accepted as an alias for 768p). It has no aspect-ratio control, arbitrary reference images, reference video, or native audio. Prompts up to 6000 characters. Availability is account-gated: on a 403 "This model is not available for your account." fall back to hailuo-3 or seedance-2. - hailuo-3, MiniMax H3. Native audio is ALWAYS ON (no toggle, do not pass generateAudio: false). Pick for keyframe-driven or reference-driven clips up to 15s with sound, or when the user asks for H3/MiniMax by name; it also does v2v. Ratio note: with reference images or a reference video it defaults to `adaptive` (the reference's own framing); `adaptive` is rejected for text-only prompts. Prompts up to 6000 characters. Availability is account-gated: on a 403 "This model is not available for your account." fall back to seedance-2. - wan3, Alibaba WAN 3.0 (standard). Pick when the user asks for WAN/Alibaba by name without saying Prime, or for long clips with sound: durations run 2-30s and native audio is on by default (pass `generateAudio: false` to turn it off). Takes up to 10 reference images, a reference video of at most 15s, and prompts up to 20000 characters; it also does v2v. Ratio note: with reference images or a reference video it defaults to `adaptive` (the reference's own framing). Start/end frames cannot be combined with reference images or a reference video. Availability is account-gated: on an unknown-task-type error, fall back to seedance-2. - wan3-prime, high-speed WAN 3.0. Same controls as wan3 (t2v/i2v/v2v, 2-30s, audio, refs, prompt limit) but faster and ~40% more credits (14/s at 720p vs 10/s). Pick when the user asks for WAN Prime / WAN 3.0 Prime / wan3_prime by name, or wants faster WAN generations. Same flag gating as wan3: on an unknown-task-type error, fall back to wan3 then seedance-2. - gen-4-turbo, image-to-video model. If the user supplied an image, pass it as `startFrame`. For text-only requests, first call `generate_image`, then call `generate_video` with `model: "gen-4-turbo"` and `startFrame.url` set to the generated image URL. Do not keep retrying if the starter-frame step is still pending or fails. (No v2v support.) Parameters: - model: One of `seedance-2`, `seedance-2.5`, `seedance-2.5-flash`, `seedance-2-fast`, `seedance-2-mini`, `kling-4`, `kling-o3-pro`, `kling-o3-standard`, `kling-3-pro`, `kling-3-standard`, `kling-3-turbo`, `kling-3-motion-control`, `kling-3-4k`, `kling-o3-4k`, `gen-4.5`, `veo-3.1`, `grok-imagine-1.5`, `gemini-omni-flash`, `gemini-omni-1.1-flash`, `gemini-omni-1.2-flash`, `h3-max`, `hailuo-3`, `wan3`, `wan3-prime`, `gen-4-turbo`. Default for t2v/i2v: `seedance-2.5`. Default for v2v (when `referenceVideo` is set): `seedance-2`. - promptText: Required. For t2v/i2v, describe the motion/style. For v2v, describe the edit ("remove the background", "remove the person in the left background", "add a floating logo above the table", "make it nighttime", "snow falling", "cyberpunk neon"). Prompts longer than 3500 characters are truncated. Model-specific limits: `kling-3-turbo`, `kling-3-4k`, and `kling-o3-4k` 2500; `seedance-2.5` 15000; `kling-4` 26000 English characters (fewer in other scripts); `h3-max` 6000; `hailuo-3` 6000; `gemini-omni-1.1-flash` 4000; `gemini-omni-1.2-flash` 4000; WAN family (`wan3`, `wan3-prime`) 20000. - ratio: Aspect ratio (16:9, 9:16, 1:1, plus 4:3, 3:4, 21:9, 3:2, 2:3 on some models). Ignored for v2v, the model preserves the source video's ratio. - duration: Seconds (model-dependent, see table). USUALLY OMIT, defaults to 10s for t2v/i2v, and to the largest model-supported value <= source for v2v. See DURATION DEFAULTS above. Only set explicitly when the user asks for a non-default length. - startFrame: `{taskId}` or `{url}`, i2v only. Animate this image. Prefer `taskId` (the Runway task ID of a finished image) whenever the image came from a Runway tool; the server resolves the URL. Otherwise `url` must be public HTTPS or a Runway-hosted asset URL. Do NOT use ChatGPT local paths like `/mnt/data/...`; use `startImageFile` for ChatGPT uploads. - startImageFile: ChatGPT-only uploaded image file param `{download_url, file_id, mime_type, file_name}`. Use this instead of `startFrame` only when ChatGPT provides a user-uploaded file. - endFrame: `{url}`, i2v only. Final-frame target. Requires startFrame. (Seedance family, kling-4, kling-o3-pro, kling-o3-4k, kling-3-pro, kling-3-standard, veo-3.1, gemini-omni-1.1-flash, gemini-omni-1.2-flash, h3-max, hailuo-3, wan3, wan3-prime.) - referenceImages: Array of `{taskId | url, tag}`, i2v style/subject anchors. Prefer a finished Runway image task ID over copying its signed URL. (Seedance family, kling-4, kling-o3-pro, kling-o3-4k, kling-o3-standard, grok-imagine-1.5, gemini-omni-1.1-flash, gemini-omni-1.2-flash, hailuo-3, wan3, wan3-prime. kling-4 takes up to 10 images counting startFrame/endFrame and ignores tags; Kling O3 and grok take up to 7; gemini-omni-1.1-flash and gemini-omni-1.2-flash take up to 5 and cannot combine them with startFrame/endFrame; hailuo-3 takes up to 9 and WAN takes up to 10. MiniMax H3 and WAN ignore tags and cannot combine references with startFrame/endFrame. For grok-imagine-1.5 the tag is prompt-addressable: tag "hero" -> write "@hero" in promptText.) - referenceVideo: `{url, durationSeconds?}`, v2v source video for editing/restyling existing footage, including removing/replacing backgrounds, removing objects/people, and adding elements. URL must be a Runway-hosted `/datasets/<UUID>.<ext>` URL from `complete_upload`. Do NOT use ChatGPT local paths like `/mnt/data/...`; use `referenceVideoFile` for ChatGPT uploads. Pass `durationSeconds` from your file metadata when known so the model picks an appropriate output length; kling-4, kling-o3-pro and gemini-omni-1.2-flash require it. - referenceVideoFile: ChatGPT-only uploaded video file param `{download_url, file_id, mime_type, file_name}`. Use this instead of `referenceVideo` only when ChatGPT provides a user-uploaded video. - referenceVideoMode: seedance-2.5 and seedance-2.5-flash and gemini-omni-1.1-flash and gemini-omni-1.2-flash only; needs `referenceVideo`. `edit` restyles `referenceVideo` per the prompt; `extend` continues it, with `duration` as the added footage. gemini-omni-1.1-flash and gemini-omni-1.2-flash default to `edit`; seedance-2.5 and seedance-2.5-flash send the clip as a plain reference when the mode is omitted (see SEEDANCE 2.5 EDIT AND EXTEND). - referenceAudio: Array of `{url, durationSeconds?}`, seedance-2.5, seedance-2.5-flash only. Voice, music, or sound clips for the video to follow (a line of dialogue to lip-sync, a song to move to, a sound effect to match). Up to 10 clips for seedance-2.5 or 5 for seedance-2.5-flash, 30s combined; pass `durationSeconds` when known. Upload local audio (mp3, wav, m4a, aac) with `init_upload` + `complete_upload` and pass the returned URL; in ChatGPT, call `init_upload` with its `file` param first. Public HTTPS audio URLs are imported automatically. Not combinable with startFrame/endFrame. Say in promptText what each clip is for, in order (e.g. "the singer performs audio 1"). Audio references add no cost. - referenceVideos: Array of `{url, durationSeconds?}`, extra reference clips to borrow from (a dance's choreography, a camera move, a character, a look), separate from `referenceVideo`, the footage to edit. Seedance family, kling-4, gemini-omni-1.1-flash and gemini-omni-1.2-flash: seedance-2.5 takes up to 10 videos per request and 30s combined; seedance-2.5-flash takes 5 and 30s; seedance-2, -fast and -mini take 3 and 15s; kling-4 takes 5 and 30s, each clip 3-30s, and requires `durationSeconds` on every clip. A `referenceVideo` source counts toward both caps. gemini-omni-1.1-flash and gemini-omni-1.2-flash take up to 3 clips of at most 10s each and no `referenceVideo` alongside them; gemini-omni-1.2-flash requires `durationSeconds` on every clip. Same URL rules as `referenceVideo`; pass `durationSeconds` when known. Not combinable with startFrame/endFrame (except on kling-4). Say in promptText what each clip is for, in order (e.g. "the dancer from video 1 does the choreography from video 2"). - generateAudio: Whether to generate native audio (model-dependent; default true for audio-capable models). For v2v with kling-o3-pro, controls whether to keep the original audio. kling-4, kling-3-turbo, grok-imagine-1.5, gemini-omni-1.2-flash, and hailuo-3 have no toggle (audio is always on), omit this parameter for them. h3-max is silent and rejects `generateAudio: true`. - resolution: Override default resolution (kling-4: 720p/1080p, default 720p; kling-3-4k and kling-o3-4k: fixed 4k; kling-3-standard and kling-o3-standard: fixed 720p; kling-3-motion-control: 720p/1080p, default 720p; kling-3-turbo: 720p/1080p, default 1080p; seedance-2: 480p/720p/1080p/4k; seedance-2.5: 480p/720p/1080p; seedance-2.5-flash: 480p/720p; seedance-2-fast & seedance-2-mini: 480p/720p; veo: 720p/1080p, 1080p requires 8s; grok-imagine-1.5: 480p/720p/1080p, 1080p not with referenceImages; h3-max: 480p/768p (720p alias accepted); hailuo-3: 720p/1080p; wan3 & wan3-prime: 480p/720p/1080p; gemini-omni-flash: fixed 720p; gemini-omni-1.1-flash & gemini-omni-1.2-flash: 360p/720p/1080p/4k, default 720p). COST GUARDRAIL: 4K is expensive (Kling 4K costs 43 credits/second; gemini-omni-1.2-flash `4k` costs 21 credits/second; seedance-2 `4k` costs roughly 4x `1080p`). ONLY use a 4K model or set `4k` when the user explicitly asks for 4K (or "2160p"/"four K"). Never infer `4k` from vague quality requests like "high quality", "best", "high-res", or "crisp", use the default or `1080p` for those. - characterOrientation: Kling Motion Control only. `image` (default) follows the character-image framing and accepts a 3-10s driving video; `video` follows the driving-video framing and accepts 3-30s.
Parameters
Required. For text-to-video: describe the scene and camera motion. For image-to-video: describe what should happen to the image. For video-to-video: describe the edit ("remove the background", "remove the person in the left background", "add a floating logo above the table", "make it nighttime", "swap background to a beach").
Kling Motion Control only: image follows the character image framing (3-10s driving video); video follows the driving video framing (3-30s). Default: image. One of: `image`, `video`.
Set true only when the user explicitly asked to run this same request again (another take or re-roll). Without it, a request identical to one from the last 10 minutes returns that earlier task instead of starting, and charging for, a new generation.
No longer used: generations start without a cost approval. Omit it.
seedance-2.5 only. Render a cheap 480p preview that `enhance_video_draft` can later re-render at 1080p. See DRAFT MODE in the description for when it is worth it.
Duration in seconds. Supported values vary by model (see DURATION DEFAULTS in description). USUALLY OMIT THIS, when unset, the tool defaults to 10s for t2v/i2v and to the largest supported value <= source for v2v. For v2v specifically: do NOT pass `duration: 5` for a longer source video; pass `referenceVideo.durationSeconds` and leave `duration` unset.
Image-to-video: end-frame target image. Requires startFrame. For Seedance, WAN, Gemini Omni 1.1/1.2, and Hailuo 3, do not combine start/end frames with reference images or videos. Supported by the Seedance family, kling-4, kling-o3-pro, kling-o3-4k, kling-3-pro, kling-3-standard, veo-3.1, gemini-omni-1.1-flash, gemini-omni-1.2-flash, h3-max, hailuo-3, wan3, wan3-prime.
Generate native audio (model-dependent). For kling-o3-pro v2v: controls whether to keep the original audio (default true). Omit for kling-4, kling-3-turbo, grok-imagine-1.5, gemini-omni-1.2-flash, and hailuo-3, their audio is always on and generateAudio: false is rejected. h3-max is silent and rejects generateAudio: true.
Video model id. Default for t2v/i2v: seedance-2.5. Default for v2v: seedance-2. One of: `seedance-2`, `seedance-2.5`, `seedance-2.5-flash`, `seedance-2-fast`, `seedance-2-mini`, `kling-4`, `kling-o3-pro`, `kling-o3-standard`, `kling-3-pro`, `kling-3-standard`, `kling-3-turbo`, `kling-3-motion-control`, `kling-3-4k`, `kling-o3-4k`, `gen-4.5`, `veo-3.1`, `grok-imagine-1.5`, `gemini-omni-flash`, `gemini-omni-1.1-flash`, `gemini-omni-1.2-flash`, `h3-max`, `hailuo-3`, `wan3`, `wan3-prime`, `gen-4-turbo`.
Use a ratio supported by the selected model. For gen-4.5 text-to-video (no startFrame): only 16:9; with startFrame: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9. For kling-o3-pro: 16:9, 9:16, 1:1. Other models differ; check the model description before setting ratio. Omit ratio for h3-max. Ignored when referenceVideo is provided (the model preserves the source ratio).
Why are you calling this tool? What is the user actually trying to accomplish? Be specific, e.g., "user uploaded a vacation photo and asked to animate it as a 5-second clip for Instagram".
seedance-2.5, seedance-2.5-flash only: voice, music, or sound clips for the video to follow (dialogue to lip-sync, a song to move to, a sound to match). Up to 10 clips for seedance-2.5 or 5 for seedance-2.5-flash, 30s combined. Upload local audio with init_upload + complete_upload (mp3, wav, m4a, aac) and pass the returned URL; public HTTPS audio URLs are imported. Not combinable with startFrame/endFrame. Refer to clips in order in promptText ("audio 1"). No extra cost.
Image-to-video: optional style/subject references. Pass taskId for a finished Runway image (preferred), or url for a public/Runway-hosted image. For Seedance, WAN, Gemini Omni 1.1/1.2, and Hailuo 3, choose referenceImages OR start/end frames, not both; Grok Imagine 1.5 also cannot combine references with startFrame. Supported by the Seedance family, kling-4, kling-o3-pro, kling-o3-4k, kling-o3-standard, grok-imagine-1.5, gemini-omni-1.1-flash, gemini-omni-1.2-flash, hailuo-3, wan3, and wan3-prime (kling-4: max 10 counting startFrame/endFrame, tags ignored; Kling O3: max 7; gemini-omni-1.1-flash and gemini-omni-1.2-flash: max 5; grok: max 7, caps output at 720p; hailuo-3: max 9, tags ignored; WAN: max 10, tags ignored).
Video-to-video: source video to edit/restyle. Use this for footage edits such as removing/replacing backgrounds, removing unwanted objects or people, adding objects, and changing scene style. URL must be a Runway-hosted /datasets/<UUID>.<ext> URL returned by complete_upload. Do not pass ChatGPT local paths like /mnt/data/...; use referenceVideoFile instead. Supported by the Seedance family, kling-4 (up to 30s; durationSeconds required), kling-o3-pro, kling-o3-standard, hailuo-3, wan3, wan3-prime, gemini-omni-1.1-flash, and gemini-omni-1.2-flash (edit or extend, see referenceVideoMode; 1.2 requires durationSeconds); the tool will default model to seedance-2 if you set referenceVideo without specifying model.
referenceVideoDurationSeconds
Source duration for referenceVideoFile. Required by Kling Motion Control and kling-o3-pro edits; recommended whenever video file metadata is known.
ChatGPT-only file param for a user-uploaded source video. Prefer referenceVideo.url when you already have a public or Runway-hosted URL.
seedance-2.5 and seedance-2.5-flash and gemini-omni-1.1-flash and gemini-omni-1.2-flash only; needs referenceVideo. What to do with referenceVideo: edit restyles the clip in place (output follows the source's length and ratio; duration and ratio are ignored); extend continues it (duration is the added footage). gemini-omni-1.1-flash: edit is the default, edit sources up to 10s, extend sources up to 30s with 3-10s added. gemini-omni-1.2-flash: edit is the default, edit sources under 10s, extend sources up to 30s with 3-15s added. seedance-2.5 and seedance-2.5-flash: sources up to 30s, extend adds 4-30s; omitting the mode sends the clip as a plain reference. One of: `edit`, `extend`.
Seedance family, kling-4, gemini-omni-1.1-flash and gemini-omni-1.2-flash: extra reference clips (choreography, camera move, character, look), separate from referenceVideo (the footage to edit). seedance-2.5: up to 10 videos per request and 30s combined; seedance-2.5-flash: up to 5 and 30s; seedance-2/-fast/-mini: 3 and 15s; kling-4: 5 and 30s, each clip 3-30s with durationSeconds required. A referenceVideo source counts toward both caps. gemini-omni-1.1-flash and gemini-omni-1.2-flash: up to 3 clips of at most 10s each, not combined with referenceVideo (1.2 requires durationSeconds). URLs follow the referenceVideo rules. Not combinable with startFrame/endFrame (except on kling-4).
Output resolution (model-dependent). kling-4: 720p/1080p (default 720p). kling-3-4k and kling-o3-4k: fixed 4k (omit or pass 4k). kling-3-standard and kling-o3-standard: fixed 720p. kling-3-motion-control: 720p/1080p (default 720p). kling-3-turbo: 720p/1080p (default 1080p). seedance-2: 480p/720p/1080p/4k; seedance-2.5: 480p/720p/1080p; seedance-2.5-flash: 480p/720p; seedance-2-fast & seedance-2-mini: 480p/720p. Veo: 720p/1080p (1080p requires 8s). grok-imagine-1.5: 480p/720p/1080p (1080p not with referenceImages). h3-max: 480p/768p (720p alias accepted). hailuo-3: 720p/1080p. wan3 & wan3-prime: 480p/720p/1080p. gemini-omni-flash: fixed 720p (omit this parameter). gemini-omni-1.1-flash and gemini-omni-1.2-flash: 360p/720p/1080p/4k (default 720p; gemini-omni-1.2-flash 4k costs 21 credits/s). Default for other models when omitted: 720p. 4K is expensive, so ONLY use it when the user explicitly requests 4K, never for vague "high quality"/"best"/"high-res" phrasing.
Image-to-video: source image to animate. Pass EITHER `taskId` (preferred when the image came from a Runway tool, e.g. the user clicked Animate in the viewer or you have the generate_image task ID) OR `url` (public HTTPS or Runway-hosted). For Seedance, WAN, Gemini Omni 1.1/1.2, and Hailuo 3, do not combine start/end frames with reference images or videos; choose one input mode. Grok Imagine 1.5 also cannot combine startFrame with referenceImages. Do not pass ChatGPT local paths like /mnt/data/...; use startImageFile instead.
ChatGPT-only file param for a user-uploaded source image. Prefer startFrame.url when you already have a public or Runway-hosted URL.