API ManyNew models: Qwen 3.8 Max, Claude Haiku 5.5, Claude Opus 5.5, Claude Sonnet 5.5

KLING V4 API

Kling 4 API

Kling V4 and Kling V4 Flash run on POST /v1/videos/generations. Use V4 for finished shots up to 30 seconds at 1080p, and Flash for cheaper 720p drafts up to 20 seconds; both accept a first-frame image and reference media.

POST /v1/videos/generationsTEXT TO VIDEOIMAGE TO VIDEOPER SECOND

Editions and prices

What you get

Kling V4

3–30 seconds at 720p or 1080p, with first_frame_image, last_frame_image, reference images, videos and audio.

Kling V4 Flash

3–20 seconds at 720p with a first frame or reference media, at a lower per-second rate for iteration.

Reference, edit, extend

omni_reference_task_type selects reference, edit or extend when you pass video_urls.

Make your first Kling V4 call

POST/v1/videos/generationsGET/v1/tasks/{id}Auth: Bearer API key

This model runs asynchronously: the request returns a task id right away. Poll GET /v1/tasks/{id} (or /v1/records/{id}), or pass callback_url to receive a signed webhook when the job finishes.

# 1. Submit the job
curl https://apimany.com/v1/videos/generations \
  -H "Authorization: Bearer $APIMANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-v4",
  "prompt": "A paper boat drifting down a rainy street at dusk",
  "resolution": "720p"
}'

# 2. Poll until status is "completed"
curl https://apimany.com/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $APIMANY_API_KEY"

Parameters

NameTypeDefaultAllowed values
model *stringkling-v4
prompt string—
duration integer—3 – 30
resolution string720p
aspect_ratio string—
image_urls string—
image_with_roles object—
first_frame_image string—
last_frame_image string—
video_urls string—
video_url string—
audio_urls string—
omni_reference_task_type stringautoauto, reference, edit, extend
audio_setting string—
callback_urlstring—HTTPS URL for the completion webhook

Response

{
  "code": 200,
  "data": {
    "id": "6f1c2a7e-…",
    "model": "kling-v4",
    "status": "completed",
    "progress": 100,
    "cost_usd": 0.27,
    "result": {
      "videos": [{ "url": ["https://apimany.com/files/…"], "expires_at": 1760000000 }]
    }
  }
}

Frequently asked questions

How much does the Kling 4 API cost?

Kling V4 starts at $0.175 / second; Kling V4 Flash starts at $0.107 / second. The price tables on this page list every tier, and you are charged only for successful results.

How do I call the Kling 4 API?

Create a key in the console, then send a request to /v1/videos/generations with "model": "kling-v4" (or "kling-v4-flash"). Jobs run asynchronously; poll the task or receive a signed webhook.

When should I use Kling V4 Flash instead of Kling V4?

Use Flash for drafts and high-volume 720p clips up to 20 seconds. Switch to Kling V4 for 1080p, clips longer than 20 seconds or a fixed last frame.

How is a Kling 4 clip billed?

Per second of requested duration at the chosen resolution. A request with video_urls also bills its source video seconds at the “input” rate, so the hold reserves the edition’s maximum duration (30 seconds on Kling V4, 20 on Flash) on top and settles on the reported cost.

Is it callable on my account right now?

Catalog entries are not availability promises. Authenticated GET /v1/models is the source of truth: if kling-v4 is listed there with a rate, it is enabled for your key.