Kling 3.0 - video generation API

Kling 3.0 API

active

State-of-the-art AI video generation with 4K quality support. Text-to-video and image-to-video capabilities.

Kuaishouvideo40 credits/call
Provider
Kuaishou
Pricing
Dynamic: ~200–1200 credits per video
Speed
60–180 seconds
Output
video

Quick Start

Send a request to the Kling 3.0 API:

bash
curl -X POST https://apiin.one/api/v1/videos/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-3",
  "prompt": "A golden retriever running through a field of sunflowers at sunset, cinematic quality",
  "mode": "std",
  "duration": 5,
  "aspect_ratio": "16:9",
  "sound": true
}'

API Endpoint

POST/api/v1/videos/generations
Send a POST request with your API key to generate content using Kling 3.0.

Headers

Headerタイプ必須説明
Authorizationstring必須Bearer YOUR_API_KEY
Content-Typestring必須application/json

Body Parameters

パラメータータイプ必須説明
modelstring必須Model identifier: "kling-3"
promptstring必須Text description of the video (max 2500 chars). Not required if multi_shots is true.
modestring任意Quality mode: "std" (standard) or "pro" (professional) (デフォルト: std)
durationnumber任意Video duration in seconds (3–15) (デフォルト: 5)
aspect_ratiostring任意Output aspect ratio: 1:1, 9:16, 16:9 (デフォルト: 16:9)
soundboolean任意Enable sound/audio generation in the video (デフォルト: true)
imagestring任意Image URL for image-to-video mode
multi_shotsboolean任意Enable multi-shot mode for multi-scene videos (デフォルト: false)
multi_promptarray任意Array of {prompt, duration} objects for multi-shot mode
kling_elementsarray任意Kling-specific creative elements

Example Request

json
{
  "model": "kling-3",
  "prompt": "A golden retriever running through a field of sunflowers at sunset, cinematic quality",
  "mode": "std",
  "duration": 5,
  "aspect_ratio": "16:9",
  "sound": true
}

Example Response

Successful task creation response.

{
  "code": 200,
  "message": "success",
  "data": {
    "task_id": "n75xxxx_kling3",
    "status": "IN_PROGRESS"
  }
}

Check Task Status

For asynchronous tasks, poll the status endpoint to check when your task is complete:

GET/api/v1/tasks/{task_id}
Returns the current status of a generation task. Poll until status is 'completed' or 'failed'.
bash
curl https://apiin.one/api/v1/tasks/task_abc123 \
  -H "Authorization: Bearer aio_your_key"

Use Cases

  • Create marketing and social media video content from text prompts
  • Animate product photos into dynamic video ads
  • Build AI video generation features into your SaaS product
  • Generate cinematic video clips for filmmaking and creative projects

API Tester

Test the Kling 3.0 API directly from your browser:

API プレイグラウンドPOST

Error Codes

{
  "error": {
    "code": 400,
    "message": "Invalid parameters",
    "type": "invalid_request"
  }
}

Frequently Asked Questions

How much does the Kling 3.0 API cost?

Pricing depends on mode (std/pro), duration (3–15s), and sound. For example: std 5s no-audio costs ~200 credits, pro 5s with audio costs ~400 credits. The pricing formula is: std no-audio 40/s, std with-audio 60/s, pro no-audio 54/s, pro with-audio 80/s.

What is the difference between Pro and Standard mode?

Pro mode produces higher quality videos with better motion and detail. Standard mode is faster and costs fewer credits. Specify via the "mode" parameter (std or pro).

Can I generate videos from images?

Yes. Provide image URLs in the request and the model auto-detects image-to-video mode. You don't need to set the task type manually.

What video durations are supported?

Kling 3.0 supports 3–15 second video generation. Set the "duration" parameter accordingly. Default is 5 seconds.

What is multi-shot mode?

Multi-shot mode lets you create videos with multiple scenes, each with its own prompt and duration. Set multi_shots to true and provide a multi_prompt array.

Why Use Kling 3.0 Through API in One?

1Up to 70% cheaper than Kling's official API pricing
2Both text-to-video and image-to-video in one endpoint
3Multi-shot mode for multi-scene videos
4Sound generation support (audio in video)

Ready to use Kling 3.0?

Get Your API Key →