Skip to main content

Video Generation API

The Video Generation API lets you create high-quality videos from a text prompt (text-to-video) or from a reference image (image-to-video) through one unified endpoint:
The request is dispatched by args.model. Pass image_urls (or the compatible image_url field) to run image-to-video; omit images for text-to-video.

Available Models

Feature Matrix

Pricing

All token prices below convert to USD at **0.02/token(0.02/token** (10 = 500 tokens). Seedance is charged in tokens per second of generated video: Synchronized audio is included at no additional charge. content_filter does not affect pricing. Wan 2.2 has a fixed per-task cost: Kling costs are charged in tokens per second of generated video: Example: a 5-second kling-2-5-turbo video at 720p costs 9.45 tokens. Check your balance with Get User Tokens.

How It Works

  1. Submit a task — call POST /api/v1/videos/generations with your model and prompt
  2. Get the task id — the response returns an img_uuid
  3. Get the result — poll Get Job Detail with the img_uuid, or pass a custom_callback_url to receive status notifications automatically

Example

Response:
See the per-model pages for the full parameter reference: Seedance 2.0, Seedance 2.0 Fast, Seedance 2.0 Mini, Wan 2.2, Kling 3.0, Kling 3.0 Turbo, Kling 2.5 Turbo.