About Kling O3
The Kling O3 API gives you four endpoints on one model: text to video, image to video, reference to video with up to seven images, and video edit for clips you already have. The edit endpoint is the main reason to integrate it: few video APIs change a specific thing in existing footage while keeping motion and framing. Jobs take a few minutes; plan for webhooks.
Call it with the model name kling/o3/text-to-video on POST /jobs/createTask, from $0.34.
Introduction
Kling O3 Text to video turns a written prompt into a 3-to-15-second clip with no image or reference involved. Choose a length in whole seconds, a resolution from 720p to 4K, and whether to generate native audio alongside the picture. The prompt field takes up to 2,500 characters, enough to lay out the subject, the action, the camera and, with sound on, the dialogue.
Choose a Kling O3 mode by starting material
| What you have at the start | Mode |
|---|---|
| a written scene and nothing else | Kling O3 Text to video |
| an approved opening frame | Kling O3 Image to video |
| up to 7 reference photos | Kling O3 Reference to video |
| a video you already have | Kling O3 Video edit |
Key features
Multi-shot cuts on its own
Set shot_type to multi and describe more than one shot in the prompt - a wide shot, a close-up, a low angle - and Kling O3 cuts between them in one clip, keeping the setting and the people consistent from one shot to the next. Our rain-soaked tango example is a single prompt describing three shots in order, and the finished clip cut to each one on cue.
Native audio in the same pass
Turn on generate_audio and dialogue, effects and ambience are generated with the picture rather than added afterward. Written dialogue in quotes comes back timed to the action: both lines in our jazz-club example matched the prompt word for word.
720p through 4K, one prompt
All three resolutions render from the same prompt, so the usual pattern is to draft at 720p until the shot and the dialogue work, then re-run the keeper at 1080p or 4K.
Request parameters
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Describe what you want to make. |
shot_type | No | One continuous shot, or let the model cut it into several shots. single · multi · customize · Default: single |
resolution | No | Choose an available output size. 720p · 1080p · 4k · Default: 720p |
aspect_ratio | No | The shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · Default: 16:9 |
multi_prompt | No | Your shot list: a prompt and a length for each shot. |
generate_audio | No | Adds sound made to match the picture: voices, ambience and effects. Default: false |
duration_seconds | No | Length of the generated clip. ≥ 3 · ≤ 15 · Default: 5 |
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.
| Option | USD 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 true · resolution 1080p | $0.112 |
| generate_audio false · resolution 4K | $0.336 |
| generate_audio true · resolution 4K | $0.336 |
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
Open a scene with no image on hand
Text-to-video is the only Kling O3 mode that needs nothing but words. Use it when the shot exists only in your head, or when you need several takes fast to see which framing works before you commit an opening frame to image-to-video.
Cover a scene in multiple angles from one request
Instead of writing four separate prompts for four angles, describe the sequence once and set shot_type to multi. It is the fastest way to get a wide shot, a close-up and a reaction shot out of a single job.
Prototype dialogue timing before a longer edit
Because audio renders with the picture, a short text-to-video draft is a fast way to check whether a line of dialogue reads naturally against the action, before committing to a longer or higher-resolution run.
Prompt guide & pro tips
Number your shots when you want a cut
For a multi-shot prompt, lay the shots out in the order you want them and describe the camera for each one - wide, close-up, low angle - the way our tango example does. Kling O3 uses that structure to decide where to cut.
Name the camera position, not just the mood
"Seen from the end of the keyboard so both faces are clear" is a real instruction the model can follow; "two men on a piano bench" leaves the angle to chance, and a chance angle can hide one person behind the other. Say where the camera is relative to your subjects whenever more than one has to stay visible.
API quick start
Call the Kling O3 API in three steps
- 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.
- Send the request. POST /jobs/createTask with model kling/o3/text-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- 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/text-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"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.
What to build with the Kling O3 API
- A restyle feature: users upload a short clip and pick "make it winter" or "change the outfit", your backend calls video-edit.
- Product placement: cast a product photo into a lifestyle scene through reference-to-video elements.
- Multi-angle explainer clips scripted with multi_prompt so each shot has its own duration.
Kling O3 parameter notes
- video-edit accepts source clips of 3 to 10 seconds in video_url. Validate length before upload.
- elements on reference and edit endpoints lets you register named subjects, referenced in the prompt as <<<image_1>>> and so on.
- keep_original_audio on video-edit carries the source soundtrack over instead of regenerating it.
- 4K on reference-to-video costs more per second than 4K on text or image to video; check the price table before exposing it.
How Kling O3 API pricing adds up
Generation endpoints bill per second of output by resolution. Video edit bills on the length of the source clip at its own higher rate, and is limited to 720p and 1080p. Quote the exact request before an edit so users see the cost of their source length.
- generate_audio false · resolution 720p, 5-second clip: $0.34 each, $34.00 for 100 clips
- generate_audio true · resolution 4k, 5-second clip: $1.68 each, $168.00 for 100 clips
Async jobs, webhooks and rate limits
Every Kling O3 request is asynchronous: createTask returns a taskId straight away, and the result arrives when the job finishes. Poll GET /jobs/recordInfo every few seconds, or pass a public https callBackUrl and verify the X-Webhook-Signature header (HMAC-SHA256 over taskId, timestamp and the body hash) before trusting the payload. Each account gets 1,000 write requests per 10 seconds; a 429 carries Retry-After. Send an Idempotency-Key with createTask so a retried request for kling/o3/text-to-video never runs or bills twice.
Common Kling O3 API errors
| errorCode | What it usually means and how to fix it |
|---|---|
invalid_asset | A source video outside 3 to 10 seconds on video-edit, or an unreachable reference. Trim and re-upload. |
unsupported_combination | 4K requested on video-edit. Clamp to 720p or 1080p for edits. |
invalid_request | More than seven reference images, or a <<<image_n>>> token that points at an image you did not send. |
Kling O3 price on other platforms
| Options | fal | API | Replicate | |
|---|---|---|---|---|
| 720p · no audioGuaranteed | −59% vs Replicate$0.0680/ s | $0.0840/ s | $0.1300/ s | $0.1680/ s |
| 1080p · no audioGuaranteed | −59% vs Replicate$0.0900/ s | $0.1120/ s | $0.1700/ s | $0.2240/ s |
| 720p · audioGuaranteed | −59% vs Replicate$0.0900/ s | $0.1120/ s | $0.1300/ s | $0.2240/ s |
| 1080p · audioGuaranteed | −60% vs Replicate$0.1120/ s | $0.1400/ s | $0.1700/ s | $0.2800/ s |
| 4KGuaranteed | −21% vs Runway$0.3360/ s | $0.4200/ s | $0.4300/ s | $0.4200/ s |
Each platform's public API list price for the same model and settings, checked Nov 13, 2026. Runway credits at $0.01 each.
Kling O3 API questions
How much does the Kling O3 API cost?
Kling O3 starts at $0.34 for a 5-second clip with Create 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, true · 1080p $0.112 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 is the model name for Kling O3 in the API?
Put kling/o3/text-to-video for Create Video; kling/o3/image-to-video for Image to Video; kling/o3/reference-to-video for Reference to Video; kling/o3/video-edit for Edit Video in the model field of POST /jobs/createTask.
How does the Kling O3 video edit endpoint work?
Send the clip as video_url and a prompt naming the change and the details to retain. Optional reference_image_urls supply a garment or object to insert; use them to guide the edit while maintaining the shot’s motion and framing.
How do I reference images in a Kling O3 prompt?
Refer to them as <<<image_1>>>, <<<image_2>>> in the order you send them, and give each a role in the sentence.
Is Kling O3 the same model as Kling 3.0?
No. They are siblings: Kling 3.0 adds Motion Control and first and last frame finishing, Kling O3 adds references and video editing.
What are the limits of the Kling O3 API?
Clip length: 3–15 s; Resolutions: 720p · 1080p · 4K; Aspect ratios: 16:9 · 9:16 · 1:1; Prompt length (characters): 2,500. Requests outside these limits are rejected before anything is charged.
Can I try Kling O3 without writing code?
Run Kling O3 in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.
All Kling models
Kling 3.0 is the pick for a single polished shot with first and last frames or Motion Control. O3 wins when you need reference photos, video editing or several modes in one place.
- Kling 4.0 APIUp to 30-second 1080p clips with keyframes, edits and extensions; may queue when busyFrom $0.45 for a 5-second clip
- Kling O3 APIKling’s unified model: create, animate, reference and edit up to 4KFrom $0.34 for a 5-second clip
- Kling Image 4.0 APINative 2K, 4K or 8K stills with readable lettering, plus edits from up to ten referencesFrom $0.063 per image
- Kling Image 4.0 Set APITwo to ten matching images from one brief, with the same character, product and paletteFrom $0.063 per image
- Kling Image 4.0 Long APIA full product detail or landing page as one tall image, from text or product photosFrom $0.238 per image
- Kling 4.0 Flash APIFast 720p Kling clips with sound, 3 to 20 secondsFrom $0.564 for a 5-second clip
- Kling 3.0 Turbo APIFaster Kling 3.0 with sound on every clipFrom $0.55 for a 5-second clip
- Kling 3.0 API4K clips, multi-shot cuts and motion controlFrom $0.34 for a 5-second clip
- Kling Avatar 2.0 APIA portrait that speaks or sings your audio, up to 5 minutesFrom $0.055 per second
- Kling 2.6 API1080p clips with optional sound and motion controlFrom $0.345 for a 5-second clip
- Kling 2.5 Turbo API1080p clips with a soundtrack on every takeFrom $0.345 for a 5-second clip
- Kling 2.1 Master APISilent 1080p clips with fine prompt controlFrom $1.385 for a 5-second clip
- Kling 2.1 APIAnimate a frame at 720p or 1080p, with an optional end frameFrom $0.275 for a 5-second clip
More about Kling O3
- Compare
- Kling 3.0 vs Kling O3