Kling API for Kling 3.0 Video Generation
Access Kling 3.0 through GoEnhance for text-to-video, image-to-video, first-and-last-frame generation, native audio, and multi-shot workflows. Submit one asynchronous request, save the returned img_uuid, then poll or receive a callback when processing reaches a terminal state.
Get API Key
Choose inputs without changing your task pipeline
One endpoint, multiple generation modes
POST to https://api.goenhance.ai/api/v1/videos/generations with model: kling-3-0. Use a prompt alone for text-to-video, add image_url for image-to-video, or include image_end_url for first-and-last-frame control.

Controls for production-ready requests
Set duration, resolution, aspect ratio where supported, and native sound explicitly. The current Kling 3.0 route supports 720p, 1080p, and 4K output; aspect ratio applies to text-to-video and is ignored when an input image is supplied.

Validate inputs before submission so rejected requests do not enter your job queue.
Kling 3.0 API capabilities and request rules
Model
Use <code>kling-3-0</code> for this route.
Prompt and frames
A text prompt is required. <code>image_url</code> supplies the first frame; optional <code>image_end_url</code> adds a last frame.
Duration
Choose an integer from 3 to 15 seconds. The documented default is 5 seconds.
Resolution
Choose 720p, 1080p, or 4K. <code>quality</code> is accepted as a compatible alias for resolution.
Aspect ratio and sound
Text-to-video accepts 16:9, 9:16, or 1:1. Set sound to on or off; image-guided requests ignore the ratio field.
Negative descriptions
The current route does not expose <code>negative_prompt</code>. Put exclusions directly in the main prompt.
Per-second rates let you calculate the generation cost before submitting a task.
Kling API pricing
720p
4.2 tokens per second with sound off ($0.084/s), or 6.3 tokens per second with sound on ($0.126/s).
1080p
5.6 tokens per second with sound off ($0.112/s), or 8.4 tokens per second with sound on ($0.168/s).
4K
21 tokens per second ($0.42/s) with sound on or off.
Estimate each request
Multiply the requested duration by the exact per-second rate for the selected resolution and sound setting. USD equivalents use the documented rate of $0.02 per token.
Integrate Kling 3.0 in five steps
1
1. Create an API key
Generate a GoEnhance API key and send it in the Authorization header.
2
2. Build and validate the request
Select
kling-3-0, write the prompt, and set only the frame, duration, resolution, ratio, sound, and callback fields your workflow needs. 3
3. Submit the video job
POST to
/api/v1/videos/generations and persist the returned img_uuid. 4
4. Track completion
Poll
GET /api/v1/jobs/detail or provide a public HTTPS custom_callback_url. Callback bodies match the job-detail response. 5
5. Handle terminal results
Process success and failure states idempotently. If a callback endpoint does not return HTTP 200, GoEnhance retries the notification up to three times with a three-second timeout per attempt.
Build repeatable video workflows around explicit inputs and terminal task states.
Developer use cases for Kling 3.0
Campaign video variants
Generate short concept clips from structured prompts for review and downstream assembly.
Product motion
Animate a hosted product image while keeping your application responsible for prompt templates, asset validation, and approvals.
Localized creative pipelines
Parameterize prompts and aspect ratios for regional campaign versions without changing the asynchronous job handler.
Storyboard and previsualization
Use first-and-last-frame control to explore transitions between approved visual beats.
Answers to common Kling 3.0 integration and pricing questions.
