Kling 3 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.
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/v3/4k/text-to-video",
"input": {
"duration": "5",
"generate_audio": true,
"shot_type": "customize",
"aspect_ratio": "16:9",
"negative_prompt": "blur, distort, and low quality",
"cfg_scale": 0.5
}
}'
# 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/v3/4k/text-to-video", "quote_id": "QUOTE_ID", "input": {"duration":"5","generate_audio":true,"shot_type":"customize","aspect_ratio":"16:9","negative_prompt":"blur, distort, and low quality","cfg_scale":0.5}}'
# 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.
How to use Kling 3 4K
Getting started
Use a compact visual brief for a new scene, keeping the action readable. Select image-to-video when a specific opening image matters.
Review your result
Inspect fine moving detail at full size, particularly faces and hard edges. Review generated speech and the closing frame.
Inputs and settings
Write prompt, then select duration of 3–15 seconds and aspect_ratio. Choose generate_audio; cfg_scale within 0–1 adjusts prompt adherence.
Use negative_prompt for unwanted details. Image-to-video requires start_image_url and optionally accepts end_image_url; choose compatible frames before describing their transition.