Skip to content

Kling O3 Reference Video to Video [Pro]

Integrate

Model id kling-video/o3/pro/video-to-video/reference
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/o3/pro/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

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

This request: $2.52 2,520 API credits Run it on this page

Get API key
Kling · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

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

•required 88 / 2500

Text instructions for generating the video. Use @Video1 to refer to the reference video.

•required video_url
Drop a file, or

URL pointing to a reference video in .mp4 or .mov format, no larger than 200MB. Both dimensions must fall between 720px and 3840px, with a frame rate of 23.0–60.0 FPS and a duration of 3–15 seconds (15.05 seconds at most).

duration

Video length, measured in seconds; the reference video range is 3–15s.

aspect_ratio default auto

Ratio of width to height.

Advanced images · shot_type · enable_safety_checker · keep_audio · elements
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.

default customize

Mode used to generate multi-shot videos.

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

POST /run/kling-video/o3/pro/video-to-video/reference?wait=20 quote → $2.52
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/o3/pro/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/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 Video to Video [Pro]

Takes a reference video (`video_url`, .mp4/.mov, 3-15 s, 720-3840px, max 200MB) and a prompt, and generates a new clip guided by the reference. Output `duration` can be 3 to 15 seconds and `aspect_ratio` is auto, 16:9, 9:16 or 1:1. Reference images and `elements` can be added, up to 4 combined, and `keep_audio` controls the original sound.

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.
promptrequired
Typestring
≤ 2,500 characters
Text instructions for generating the video. Use @Video1 to refer to the reference video.
video_urlrequired video
Typeurl · video
URL pointing to a reference video in .mp4 or .mov format, no larger than 200MB. Both dimensions must fall between 720px and 3840px, with a frame rate of 23.0–60.0 FPS and a duration of 3–15 seconds (15.05 seconds at most).
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.
keep_audiooptional
Typeboolean
Defaulttrue
Controls retention of the reference video's original audio.
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.
shot_typeoptional
Typestring
Defaultcustomize
Mode used to generate multi-shot videos.
aspect_ratiooptional
Typeenum
Defaultauto
auto16:99:161:1
Ratio of width to height.
durationoptional
Typeenum
3456789101112131415
Video length, measured in seconds; the reference video range is 3–15s.
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/video-to-video/reference",
  "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": 2520,
    "usd": "2.52",
    "charged": 2520,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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: Video to Video

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