Get your API key forKling 4.0 API: video generation API
One key for Kling 4.0 and every other top image and video model. Create your API key in minutes and start generating videos up to 30 seconds from your code, guided by up to 8 reference images.
1# 1. Start the job2curl https://aiwings.io/api/v1/videos \3-H "Authorization: Bearer $AIWINGS_API_KEY" \4-H "Content-Type: application/json" \5-H "Idempotency-Key: launch-teaser-001" \6-d '{7"prompt": "Slow dolly shot of a glass bottle on wet sand at sunset, waves rolling in",8"model": "kling-v4",9"resolution": "1080p",10"duration": 5,11"aspect_ratio": "16:9"12}'1314# 2. Poll until status is "succeeded" (or "failed")15curl "https://aiwings.io/api/v1/videos/VIDEO_ID?wait=30" \16-H "Authorization: Bearer $AIWINGS_API_KEY"
Simple per-second pricing.
Videos are billed per second of video, charged when the job starts and refunded automatically if it fails. Credits are shared with every other model.
- 720p video
Text or image to video
$0.20
per second · 20 credits
5-second clip: $1.00
5-second clips per month
- Basic · $1010
- Pro · $2020
- Scale · $4040
- 1080p video
Text or image to video
$0.30
per second · 30 credits
5-second clip: $1.50
5-second clips per month
- Basic · $106
- Pro · $2013
- Scale · $4026
Prices are shown at the top-up rate of $0.01 per credit. Plans include more credits per dollar, so subscribers pay a little less.
- Maker
- Kuaishou
- Model id (API)
kling-v4- Length
- 3 to 30 seconds
- Sound
- None. Videos are silent
- Frames
- Start frame, plus an optional end frame
- Reference images
- Up to 8
- Reference videos
- Not supported. Use Seedance for that
- Reference audio
- None
- Output
- MP4, saved to your library
- Aspect ratios
- 16:9, 9:16, 1:1, 21:9
- Resolutions
- 720p, 1080p
One key. Every model.
Pick a model and see the real request. Every image model shares one format, so switching is changing the model and nothing else.
1# 1. Start the job2curl https://aiwings.io/api/v1/videos \3-H "Authorization: Bearer $AIWINGS_API_KEY" \4-H "Content-Type: application/json" \5-H "Idempotency-Key: launch-teaser-001" \6-d '{7"prompt": "Slow dolly shot of a glass bottle on wet sand at sunset, waves rolling in",8"model": "kling-v4",9"resolution": "720p",10"duration": 5,11"aspect_ratio": "16:9"12}'1314# 2. Poll until status is "succeeded" (or "failed")15curl "https://aiwings.io/api/v1/videos/VIDEO_ID?wait=30" \16-H "Authorization: Bearer $AIWINGS_API_KEY"
- Model id
kling-v4- Cost
- $1.00
- 100 credits for a 5s 720p video See Kling 4.0 →
Prefer your AI agent? Use it there too.
The same model works in Claude, ChatGPT, Cursor and any MCP client. Connect AiWings once and just ask for it by name.
ClaudeUse AiWings to make a 15 second 16:9 video with Kling 4.0 at 1080p: a chef plating a dessert in a busy restaurant kitchen, one continuous shot.
How to set up Claude →- ChatGPT
Use AiWings to open the upload widget, then make a 10 second Kling 4.0 video of the character in @image_1 walking through the city in @image_2.
How to set up ChatGPT → - Cursor
Use AiWings to generate a 20 second 21:9 Kling 4.0 video of a slow pan across a desert at dawn and save it to public/video/desert.mp4.
How to set up Cursor →
Using another tool? Any MCP client works too. See the MCP docs →
Monthly credits for images and videos.
$10/month
- 1,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
$20/month
- 2,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
$40/month
- 4,000 credits per month
- Works in any AI agent (MCP)
- Full API access
- Every image and video model
- Top-up packs anytime
- Cancel anytime
500credits
- About 83 images
- Or about 50 short videos
- Valid for 30 days
- One payment, no subscription
$5
Once per account
Not ready for a plan? The Trial Pack is $5 once for 500 credits, valid for 30 days. Plan credits work for images and videos. See what credits buy
Kling 4.0 API, answered.
Create an API key in your AiWings dashboard, then send a POST request to /v1/videos with the model set to kling-v4 and a resolution of 720p or 1080p. The request returns a job right away. Check it with GET /v1/videos/{id}, using ?wait=30 to hold the request open until it finishes.
Start building with Kling 4.0.
Create a key and make your first video in a few minutes.
Try it for $5 · Plans from $10/month · Cancel anytimeKling is a product name of Kuaishou. AiWings is an independent service and isn't affiliated with or endorsed by Kuaishou.