# Kling Video V3 4K Text to Video API

> Kling Video V3 4k is KwaiVGI's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

- Model ID: `kwaivgi/kling-video/v3/4k/text-to-video`
- Provider: Kling
- Tasks: Text to Video, 4K Video
- Price: ≈ $2.10 per clip, reference price. Billed at the provider's actual cost; a typical clip is listed at $2.10. Your usage log shows the exact charge.
- Web page: https://scalingtensor.com/models/kwaivgi/kling-video/v3/4k/text-to-video

## How to call it

Authenticate with the `apiKey` request header. Submit a job, then poll for the result:

1. `POST https://restapi.scalingtensor.com/api/media/generate` with JSON `{ "model": "<model ID>", "params": { ... } }`. The response `data.jobId` identifies the job.
2. `GET https://restapi.scalingtensor.com/api/media/result?jobId=<jobId>` until the status is `completed` or `failed`.
3. A response `code` of 0 means success; otherwise read `msg`.

```bash
curl --request POST 'https://restapi.scalingtensor.com/api/media/generate' \
  --header 'apiKey: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "model": "kwaivgi/kling-video/v3/4k/text-to-video",
  "params": {
    "prompt": "Close-up of glowing fireflies dancing in a dark forest at twilight. Soft bioluminescent particles float through the air. Shallow depth of field, bokeh lights in background. Magical atmosphere, gentle movement.",
    "duration": 5,
    "shot_type": "customize",
    "generate_audio": true
  }
}'
```

## Input parameters

Parameters go inside the `params` object.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `prompt` | string | Required | Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. · Max length: 2500 |
| `duration` | integer | Optional | The duration of the generated video in seconds · Options: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 · Default: 5 |
| `shot_type` | string | Optional | The type of multi‑shot video generation. 'intelligent' lets the model automatically determine shot structure. · Options: customize, intelligent · Default: "customize" |
| `aspect_ratio` | string | Optional | The aspect ratio of the generated image. · Options: 16:9, 9:16, 1:1 |
| `multi_prompt` | object[] | Optional | List of prompts for multi‑shot video generation. If provided, overrides the single prompt and divides the video into multiple shots with specified prompts and durations. |
| `generate_audio` | boolean | Optional | Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase. · Default: true |

## FAQ

### How much does the Kling Video V3 4K Text to Video API cost?

Kling Video V3 4K Text to Video is billed at the provider's actual cost for each job (per clip, reference price). The charge is deducted from your prepaid ScalingTensor wallet.

### How do I call the Kling Video V3 4K Text to Video API?

Send POST /api/media/generate with "model": "kwaivgi/kling-video/v3/4k/text-to-video" and the parameters in a params object, using your apiKey header. The call returns a jobId. Poll GET /api/media/result?jobId=... until the status is completed, then read the output URL from the result.

### Which parameters does Kling Video V3 4K Text to Video accept?

Required: prompt. Optional: duration, shot_type, aspect_ratio, multi_prompt and generate_audio. The parameter table on this page describes each one.

### Do I need a Kling account to use Kling Video V3 4K Text to Video?

No. You call Kling Video V3 4K Text to Video with your ScalingTensor API key and pay from your ScalingTensor wallet. The same key works for every other model in the catalog.
