by Kuaishou

Kling O3 reference to video API: cast up to 7 photos and one reference clip into a new shot with elements and multi-shot control, up to 4K with audio.

kling/o3/reference-to-video
Kling O3 AI Video Generator online
  • Up to 4K
  • 3–15s clips
  • Sound included
  • Up to 7 reference images
  • 3 aspect ratios
  • Create Video
  • Image to Video
  • Reference to Video
  • Edit Video

About Kling O3

Kling O3 reference to video combines up to seven images and one reference clip into a new shot. Name each image with <<<image_n>>> in the prompt and give it a job.

Call it with the model name kling/o3/reference-to-video on POST /jobs/createTask, from $0.34.

Introduction

Kling O3 Reference to video casts a shot from up to 7 reference photos - characters, outfits, objects or places - instead of a single opening frame. Number the references in the prompt (<<<image_1>>>, <<<image_2>>>, and so on) and say what each one contributes; the prompt field takes up to 2,500 characters. Choose a length of 3 to 15 whole seconds, a resolution up to 4K, an aspect ratio, and whether to generate native audio.

Choose a Kling O3 mode by starting material

What you have at the startMode
a written scene and nothing elseKling O3 Text to video
an approved opening frameKling O3 Image to video
up to 7 reference photosKling O3 Reference to video
a video you already haveKling O3 Video edit

Key features

Multiple references, one shot

Unlike image-to-video, which starts from a single frame, reference-to-video takes up to 7 separate photos and combines what each one shows. Our dining-car example used three: a man, a room and an object, cast together in a scene none of the three photos depicted alone.

Each reference does one job

The prompt is where you assign the job: "<<<image_1>>> is the man, keep his coat and stubble" is what keeps that face and wardrobe intact instead of the model averaging it with the other references.

Sound generated with the cast scene

generate_audio adds ambience, effects and dialogue in the same pass. Keep expectations realistic for background sound described only in a phrase or two - it can render quietly in the final mix rather than as a dominant layer.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · Default: 16:9
duration_secondsNoLength of the generated clip. ≥ 3 · ≤ 15 · Default: 5
elementsNoName each reference subject and mention it as @name in the prompt.
generate_audioNoAdds sound made to match the picture: voices, ambience and effects. Default: false
keep_original_audioNoKeep the source clip’s own sound. Default: true
multi_promptNoYour shot list: a prompt and a length for each shot.
promptYesDescribe what you want to make.
reference_image_urlsYesPictures of the people, outfits or places the result should keep.
reference_video_urlsNoClips whose motion, camera or style the result should follow.
resolutionNoChoose an available output size. 720p · 1080p · 4k · Default: 720p
shot_typeNoOne continuous shot, or let the model cut it into several shots. single · multi · customize · Default: single

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
generate_audio false · resolution 720p$0.068
generate_audio false · resolution 1080p$0.09
generate_audio true · resolution 720p$0.09
generate_audio false · resolution 720p · with_video true$0.101
generate_audio true · resolution 1080p$0.112
generate_audio false · resolution 1080p · with_video true$0.135
generate_audio false · resolution 4K$0.491
generate_audio true · resolution 4K$0.491

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Put a person into a place they were never photographed in

Give a face its own reference and a location its own reference, and describe the action that puts them together - the kind of shot a single photo of either one could not supply on its own.

Keep a prop or an outfit consistent across shots

Reference a specific object - a piece of jewelry, a car, a signature outfit - alongside a character reference, and it recurs correctly instead of being redrawn slightly differently on every run.

Build a scene around three planned elements

When a shot depends on a specific person, a specific setting and a specific object all appearing together - like a letter, a room and its reader - references let you lock all three instead of describing them from scratch in prose.

Prompt guide & pro tips

Number every reference and name its job

Write "<<<image_1>>> is X, keep Y" for each reference in order. This is the single biggest factor in whether a reference carries through cleanly or gets blended with the others.

Use three or four clear photos over seven overlapping ones

More references are not automatically better. A handful of clear, distinct photos - one for the face, one for the outfit, one for the room - holds identity better than seven photos that overlap in what they show.

Describe sound as a background layer

When you ask for ambience like rain or train wheels alongside dialogue, expect it to sit low in the mix.

API quick start

Call the Kling O3 API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model kling/o3/reference-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "kling/o3/reference-to-video",
  "input": {
    "prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
    "reference_image_urls": [
      "https://media.popnow.ai/influencer/examples/ava.webp"
    ],
    "aspect_ratio": "16:9",
    "resolution": "720p",
    "duration_seconds": 5,
    "shot_type": "single"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

About the Kling O3 Reference to Video endpoint

elements registers subjects you want held consistently, useful when the same product or character appears in several requests.

The 4K tier on this endpoint is billed higher than on text or image to video.

Kling O3 API questions

How much does the Kling O3 API cost?

Kling O3 starts at $0.34 for a 5-second clip with Reference to Video, its lowest-priced task. Prices by option: false · 720p $0.068 per second, false · 1080p $0.09 per second, true · 720p $0.09 per second, false · 720p · true $0.101 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What are the limits of the Kling O3 · Reference to Video API?

Clip length: 3–15 s; Resolutions: 720p · 1080p · 4K; Aspect ratios: 16:9 · 9:16 · 1:1; Reference images: 7; Reference videos: 1. Requests outside these limits are rejected before anything is charged.

More about Kling O3