Endpoints
Orientation cheatsheet
For models that inherit the ratio from their input (
wan-2.6,
hailuo-2.3, grok-imagine-1.5, wan-2.6-v2v, kling-2.6-mc, kling-3.0-mc), omit
ratio entirely and upload an input image / video that already has the
orientation you want. minimax-h3 inherits only on the image-to-video path:
send ratio for text-to-video, but omit it when input_image_url is set —
the output matches the input image.
Create Parameters
A successful video request must carry a valid(model_id, resolution, duration_seconds, audio_enabled) tuple. The combos are model-specific — call GET /v1/models for the authoritative list, or use the per-model matrix below.
Idempotency-Key is required on every POST /v1/video-generations. Reuse the same key only when retrying the exact same job.Per-model valid combos
These are the exact tuples the pricing engine accepts. Sending anything else returns400 invalid_request with message Invalid parameter combination for model ....
seedance-2.5-v2v credits depend on your input_video_url length as well as
duration_seconds — the model is billed per second of input + output.
credits = roundUpTo10( rate × ( min(ceil(reference_seconds), 30) + duration_seconds ) ),
rate 8.5 at 480p and 19 at 720p. /v1/pricing lists the 30s-reference
maximum; you are charged the measured amount, never more.minimax-h3-v2v is billed the same way: input + output seconds at 8
credits/s (768p) or 13 credits/s (2K), rounded up to the nearest 10.
/v1/pricing lists the 15s-reference ceiling; shorter reference videos are
charged on their measured duration. Reference videos must be MP4/MOV
(H.264/H.265), ≤ 50 MB, 2–15s per clip, ≤ 15s total.kling-2.6-mc | motion | — | 720p, 1080p | "5", "10", "15", "30" | false |
| kling-3.0-mc | motion | — | 720p, 1080p | "5", "10", "15", "30" | false |
Example: vertical Veo 3.1 ad (TikTok-style)
Example: horizontal Kling 3.0 with audio toggle
Example: 30-second single-pass Seedance 2.5
seedance-2.5 generates a full 30 seconds in one pass (no stitching). It caps
at 720p — there is no 1080p or 4K option.
Example: image-to-video with Wan 2.6 (ratio inherits)
Example: edit an existing video (Wan 2.6 V2V)
Example: motion control (Kling 3.0 MC)
Accepted Response
Completed Response
Extend a Veo job
veo-3.1 is the only model that supports extension. Each extension call
adds 60 credits and a new 8-second segment.
veo-3.1 with tier=lite is not extendable.

