Skip to content

Kling O3 Reference to Video [Pro]

Integrate

Model id kling-video/o3/pro/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o3/pro/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.56 560 API credits Run it on this page

Get API key

Made on Doitong

Public works made with Kling O3 by the Doitong community. Reuse a prompt in one click.

Public works shown: 16
**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе... Video

Уютная база отдыха с деревянными домиками-шале среди сосен. Майя и Клиентка заходят в теплое кафе с панорамными окнами. Внутри деревянный интерьер, мягкие диваны и живые цветы. Они садятся за столик, перед ними стоят дымящиеся чашки чая. Мягкий свет ламп создает уют. Средний план, уровень глаз. (...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... Video

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты вн... Video

Реалистично оживи старую семейную фотографию. Все люди сохраняют свои оригинальные лица, черты внешности, возраст, причёски и одежду. Мужчины слегка поворачивают головы, естественно моргают и едва заметно улыбаются. Женщина слева спокойно смотрит в камеру и мягко моргает. Маленький ребёнок слегка...

A five-second orbital camera move circling completely around a red-haired woman in a yellow rainc... Video

A five-second orbital camera move circling completely around a red-haired woman in a yellow raincoat standing in an autumn forest holding a vintage lantern, she remains stationary facing forward while the camera circles 180 degrees from her left side to her right side at eye level, golden fallen...

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a w... Video

A five-second whip pan transition starting on a chef in white uniform chopping fresh herbs on a wooden cutting board in a bright kitchen, camera suddenly swings in a rapid blur motion panning right at high speed creating motion blur, ending sharply focused on a barista pouring latte art in a...

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

88 / 2500

Text instructions used to generate the video. Supply exactly one of prompt or multi_prompt.

duration 5 s

Video length, ranging from 3 to 15 seconds.

aspect_ratio default 16:9

Width-to-height ratio for frames in the generated video.

Advanced image · end_image · images · shot_type · enable_safety_checker · multi_prompt · elements
start_image_url
Drop a file, or

Image used for the video's opening frame. File size must not exceed 50 MB; width and height must each be at least 300px, with an aspect ratio between 0.40 and 2.50.

end_image_url
Drop a file, or

Image that supplies the video's final frame, limited to 50 MB. Width and height must each be at least 300 px, with an aspect ratio from 0.40 to 2.50.

image_urls
Drop a file, or

Images that guide style or appearance, addressed in the prompt using @Image1, @Image2, and so on. With video input, elements and reference images together cannot exceed 4 entries. Each file is limited to 50 MB, with width and height each at least 300 px and an aspect ratio from 0.40 to 2.50.

shot_type default customize

Choose how multi-shot generation plans its shots; selecting 'intelligent' delegates the shot structure to the model.

Prompt list used to generate a video with multiple shots.

Characters or objects to include, addressed in the prompt using @Element1 and @Element2.

POST /run/kling-video/o3/pro/reference-to-video?wait=20 quote → $0.56
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/kling-video/o3/pro/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Kling O3 Reference to Video [Pro]

Builds video scenes from reference `image_urls` cited as @Image1 and so on, plus `elements` for characters or objects. Optional `start_image_url` and `end_image_url` fix the first and last frames. Duration is 3 to 15 seconds, aspect ratio 16:9, 9:16 or 1:1. Supports `multi_prompt` shots and optional audio.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety checks can be disabled only with account authorization; requests without authorization always undergo checking.
promptoptional
Typestring | null
≤ 2,500 characters
Text instructions used to generate the video. Supply exactly one of prompt or multi_prompt.
multi_promptoptional
Typeobject[]
Prompt list used to generate a video with multiple shots.
multi_prompt[].promptrequired
Typestring
Text instructions for the current shot.
multi_prompt[].durationoptional
Typeenum
Default5
123456789101112131415
Length of the current shot, measured in seconds.
start_image_urloptional image
Typeurl · image
Image used for the video's opening frame. File size must not exceed 50 MB; width and height must each be at least 300px, with an aspect ratio between 0.40 and 2.50.
end_image_urloptional end_image
Typeurl · image
Image that supplies the video's final frame, limited to 50 MB. Width and height must each be at least 300 px, with an aspect ratio from 0.40 to 2.50.
image_urlsoptional images
Typeurl[] · image
Images that guide style or appearance, addressed in the prompt using @Image1, @Image2, and so on. With video input, elements and reference images together cannot exceed 4 entries. Each file is limited to 50 MB, with width and height each at least 300 px and an aspect ratio from 0.40 to 2.50.
elementsoptional
Typeobject[]
Characters or objects to include, addressed in the prompt using @Element1 and @Element2.
elements[].frontal_image_urloptional
Typeurl · image
Front-facing image showing the element's main view. File size must not exceed 50 MB; width and height must each be at least 300px, with an aspect ratio between 0.40 and 2.50.
elements[].reference_image_urlsoptional
Typeurl[] · image
Supply 1–3 additional reference images showing different angles. Each image must have an aspect ratio between 0.40 and 2.50, measure at least 300px in both dimensions, and be no larger than 50.0MB.
elements[].video_urloptional
Typeurl · video
URL pointing to an element's video; only one element per request may include a video. The file must be at most 200 MB, with width and height each between 720px and 2160px. Duration must fall between 3 seconds and 10.05 seconds, and FPS between 24.0 and 60.0.
elements[].voice_idoptional
Typestring | null
Voice ID assigned to the element. References to that element use its assigned voice.
generate_audiooptional
Typeboolean
Defaultfalse
Controls whether native audio is generated alongside the video.
durationoptional
Typeenum
Default5
3456789101112131415
Video length, ranging from 3 to 15 seconds.
shot_typeoptional
Typeenum
Defaultcustomize
customizeintelligent
Choose how multi-shot generation plans its shots; selecting 'intelligent' delegates the shot structure to the model.
aspect_ratiooptional
Typeenum
Default16:9
16:99:161:1
Width-to-height ratio for frames in the generated video.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o3/pro/reference-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 560,
    "usd": "0.56",
    "charged": 560,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video produced by the model.

More models: Reference to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/kling-video/o3/pro/reference-to-video.md. All models and guides: https://doitong.com/developers/llms.txt