# Kuaishou: kling-4.0 — API on ChinaAPI

> Kling 4.0 — native audio and video generation from text or image keyframes. Generate 3–30 seconds at 720p or 1080p; up to ten image keyframes through the API. Video references, Omni editing and 4K are unavailable on this route.

- Canonical page: https://chinaapi.ai/models/kling-4.0/
- Model ID: `kling-4.0`
- Type: video generation
- Capabilities: Video, Text-to-Video, Image-to-Video, Audio
- Billing: $0.9 per 5-second 720p generation (USD)
- Endpoint: `POST https://api.chinaapi.ai/v1/video/generations` (async: poll `GET /v1/video/generations/{task_id}`)
- Price note: The displayed $0.90 is a 5-second 720p baseline: $0.18/second at 720p and $0.27/second at 1080p. A 3-second clip costs $0.54 or $0.81. Duration, resolution and price are explicit; the displayed USD service price includes the service margin.
- Pricing basis: The displayed media rate may include a service margin covering provider input/output billing, payment processing, chargeback exposure, and operations. Any margin is included in the displayed rate and is not added separately.
- Live pricing: https://dash.chinaapi.ai/models/kling-4.0?lang=en&utm_source=chinaapi&utm_medium=model-md&utm_campaign=kling-4.0
- Access: no mainland-China account or phone number required; $2 free trial credit
- Sign up: https://dash.chinaapi.ai/register?lang=en&utm_source=chinaapi&utm_medium=model-md&utm_campaign=kling-4.0

## Quickstart

```
curl -X POST https://api.chinaapi.ai/v1/videos \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling-4.0",
    "prompt": "A red wooden toy boat floats on a calm pond in soft daylight.",
    "metadata": {
      "settings": {"duration": 3, "resolution": "720p", "aspect_ratio": "16:9"}
    }
  }'

curl https://api.chinaapi.ai/v1/videos/{task_id} \
  -H "Authorization: Bearer $CHINAAPI_API_KEY"
```

## FAQ

**How do I use kling-4.0?**
Use kling-4.0 through ChinaAPI with an API key and the OpenAI-compatible endpoint shown on this page.

**How much does kling-4.0 cost?**
kling-4.0 is $0.9 per 5-second 720p generation, paid in USD. The live pricing page is authoritative. The displayed media rate may include a service margin covering provider input/output billing, payment processing, chargeback exposure, and operations. Any margin is included in the displayed rate and is not added separately.

**Does kling-4.0 need a Chinese account?**
No. ChinaAPI provides access without a mainland-China account or phone number and includes a $2 free trial. Check live pricing for the displayed USD rate.

---
Markdown twin of https://chinaapi.ai/models/kling-4.0/ — generated by scripts/gen_model_pages.py. Full catalog: https://chinaapi.ai/llms-full.txt
