Kling O3 4K

Kling's Native 4K is a video generation model that directly outputs professional-grade 4K video in one step, eliminating the need for post-production upscaling

Input

Fields marked * are required. Review the price before generating.

Text prompt for video generation. Required unless multi_prompt is provided.

Video duration in seconds (3-15s).

Aspect ratio of the generated video.

List of prompts for multi-shot video generation.

Additional settings

Whether to generate native audio for the video.

The type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure.

Price$0.6656 / second

You sign up first. Your settings are kept.

API code for this input

Uses your current form values and requests a new quote. Running the generation step uses your balance. Get an API key

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-video/o3/4k/text-to-video",
  "input": {
    "duration": "5",
    "aspect_ratio": "16:9",
    "generate_audio": false,
    "shot_type": "customize"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "kling-video/o3/4k/text-to-video", "quote_id": "QUOTE_ID", "input": {"duration":"5","aspect_ratio":"16:9","generate_audio":false,"shot_type":"customize"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Set RAYWAKE_API_KEY before running. Replace QUOTE_ID and JOB_ID in cURL with the returned values. File links can expire; refresh them if you run the code later.

More runnable examples on GitHub

How to use Kling O3 4K

Getting started

Choose text-to-video, image-to-video, reference-to-video, video editing or video-to-video reference for the source you have.

Review your result

Review character identity, motion, camera movement and the soundtrack throughout the clip. Compare edits with the source.

Inputs and settings

For text or image generation, use prompt or multi_prompt, not both. Choose 3–15 seconds; generate_audio controls generated sound. Image mode requires image_url.

Reference and Edit modes support elements: add a frontal image and 1 or 3 extra views per image element (2 extra views are not accepted), then use @Element1 in the prompt. image_urls are separate references, named @Image1.

Edit requires video_url and prompt. keep_audio controls source sound. A video input permits at most four elements and separate reference images combined; the extra views inside an element stay grouped with it.