Kling 3.0 image-to-video
Animates an image into a video, from a first frame and optionally a last frame.
| Model ID | kling-3.0-image-to-video |
| Task | image-to-video |
| Output | video |
| Family | Kling |
| Status | Active |
Prices are live, so this page does not show them. GET /v1/models/kling-3.0-image-to-video returns the published price (price), and POST /v1/quotes returns the binding maximum for one request, with the processor that will run it. You are never charged more than the quoted maximum, and failed work is free. See Pricing and quotes.
Parameters
Section titled “Parameters”Send these in input. Omitted parameters take their default; unknown parameters are refused with 422 parameter_unknown. The same schema is input_schema in GET /v1/models/kling-3.0-image-to-video.
| Name | Type | Default | Allowed | Required | Description |
|---|---|---|---|---|---|
prompt |
string | 1 to 2500 characters | Yes | Describe how the start frame moves. A second image is the end frame. Refer to elements as @Element1, @Element2. | |
duration |
integer | 5 |
3 to 15 | No | Length of the video. Longer videos cost more. In seconds. |
resolution |
string | 1080p |
720p, 1080p, 4k |
No | Standard renders 720p, Pro 1080p and 4K 2160p. Higher modes cost more. |
audio |
boolean | true |
No | Sound made with the video. Audio costs more on this model. | |
negative_prompt |
string | blur, distort, and low quality |
Up to 2500 characters | No | Anything the video should not show. |
cfg_scale |
number | 0.5 |
0 to 1, in steps of 0.1 | No | How closely the video follows the prompt: higher sticks to it more strictly. |
shots |
string | Up to 15048 characters | No | Optional. One shot per line, up to 6, for example “3s: Close-up of the cup”. The lengths add up to the video length; a line without a length shares what is left. On fal the prompt is then not sent. | |
shot_type |
string | customize |
customize, intelligent |
No | As written follows your shots; Let the model plan splits the prompt into shots itself. |
Media inputs
Section titled “Media inputs”Each media input takes an asset ID (asset_…), a generation ID (gen_…, its first output), a public HTTPS URL or a small data: URI. URLs and data URIs are imported into the project first; see Uploading media.
| Name | Accepts | How many | Required | Notes |
|---|---|---|---|---|
first_frame |
image | 1 | Yes | |
last_frame |
image | 1 | No | |
elements |
image, video | 0 to 12 | No | Each item is { "name", "image", "angles" } (up to 3 angles) or { "name", "video" }. Elements keep a character or object consistent: a main image plus 1 to 3 other angles, or one clip of 3 to 10 seconds. Refer to them as @Element1, @Element2. |
Example
Section titled “Example”Price the request first. A quote is free and starts nothing:
curl https://api.halationlab.ai/v1/quotes \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d @- <<'JSON'{ "model": "kling-3.0-image-to-video", "input": { "prompt": "The ball rolls slowly to the right, soft studio light", "duration": 5, "first_frame": "https://docs.halationlab.ai/media/sample-image.png" }}JSONThen start it, paying at most MAX_COST tokens. If the price is higher, nothing starts and the 402 max_cost_exceeded answer carries the quote:
MAX_COST=${MAX_COST:?Set MAX_COST to the most you will pay, in tokens}curl https://api.halationlab.ai/v1/generations \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Prefer: wait=60" \ -H "Content-Type: application/json" \ -d @- <<JSON{ "model": "kling-3.0-image-to-video", "input": { "prompt": "The ball rolls slowly to the right, soft studio light", "duration": 5, "first_frame": "https://docs.halationlab.ai/media/sample-image.png" }, "max_cost": $MAX_COST}JSONThe media URLs point at small sample files on this site. Replace them with your own asset IDs, generation IDs or URLs.