Skip to main content
← Kling Model name: kling-video/o3/standard/video-to-video/edit
Generation type: video_to_video
Endpoint: POST /api/asset_generator/

Pricing

7.5 credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.

Quick start

The example uses sample media from our CDN. Swap in publicly accessible URLs for your own files.

Input parameters

Send these fields in input_params.
string
required
Take @Element1, @Element2 to reference elements and @Image1, @Image2 to reference images in order.Maximum characters: 2500.
string
required
Reference video URL. Only .mp4/.mov formats supported, 3-10 seconds duration, 720-2160px resolution, max 200MB.
array
Elements (characters/objects) to include. Reference in prompt as @Element1, @Element2, etc. Maximum 4 total (elements + reference images) when using video.
string[]
Reference images for style/appearance. Reference in prompt as @Image1, @Image2, etc. Maximum 4 total (elements + reference images) when using video.Maximum items: 4.
boolean
default:false
Whether to keep the original audio from the video.

Response

The request returns the task with status: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.