AI video API Every AI video model, one API.
Kling, Veo, Seedance, Hailuo and the rest behind one key. The same prices as the studio, paid from your credits, and refunded in credits if a render fails.
- 22 video models
- 20 image models
- Failed renders refunded
- 60 requests a minute
- Your first video is free
- 22 video models
- 20 image models
- Price shown before you press Generate
- Failed videos refunded in credits
Get started
- 1Get creditsAny plan or credit pack opens the API. Calls spend the same credits as the studio.
- 2Make a keyIn the studio under API keys. It's shown once, so store it safely.
- 3Start a renderPOST a prompt, then check the id until it's completed and download the file.
Authentication
Send your key in the Authorization header on every request. Requests go to https://genkite.ai/api/v1 and answer in JSON.
Authorization: Bearer gk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
GET /me returns your account and credit balance, which is handy for checking the key works.
Make a video
POST /videos charges the credits and queues the render. It answers straight away with status 202 and the generation's id.
curl https://genkite.ai/api/v1/videos \
-H "Authorization: Bearer $GENKITE_KEY" \
-H "Idempotency-Key: order-1042" \
-d model=kling-4 \
-d prompt="A paper kite over the sea at dawn, slow dolly in" \
-d duration=5 -d aspect_ratio=16:9 -d resolution=720p
{
"data": {
"id": "9d3c5b7e-6f1a-4c55-9b0e-2a8f3e1d7c40",
"object": "video",
"status": "queued",
"model": "kling-4",
"credits": 125,
"created_at": "2026-11-11T14:02:11+00:00"
}
}
| Field | Required | What it does |
|---|---|---|
model | Yes | A video model's slug from GET /models. |
prompt | Yes | What happens in the shot, up to 2,500 characters. |
duration | No | Seconds, from the model's durations. |
aspect_ratio | No | 16:9, 9:16, 1:1… from the model's list. |
resolution | No | 480p, 720p or 1080p where the model offers it. |
audio | No | true for sound, on models with optional audio. |
negative_prompt, seed | No | Where the model supports them. |
Send an Idempotency-Key header and a retried request returns the first render instead of starting (and charging) a second one.
Photo to video
Send the picture as multipart image (JPG, PNG or WebP, up to 30 MB) and it becomes the first frame. Models that take an end frame also accept last_image.
curl https://genkite.ai/api/v1/videos \
-H "Authorization: Bearer $GENKITE_KEY" \
-F model=kling-4 \
-F prompt="She turns and smiles at the camera" \
-F [email protected]
Pictures
POST /images takes model, prompt, and optionally aspect_ratio, resolution and count (pictures in one go, where the model allows).
curl https://genkite.ai/api/v1/images \
-H "Authorization: Bearer $GENKITE_KEY" \
-d model=nano-banana-pro -d prompt="Product shot of a ceramic mug on linen" -d count=2
Check on it
GET /generations/{id} returns where a render is up to. Check every 10 to 20 seconds. Once it's completed you get video_url and thumbnail_url (or image_urls), signed links that work for six hours. Download the file to keep it.
{
"data": {
"id": "9d3c5b7e-6f1a-4c55-9b0e-2a8f3e1d7c40",
"status": "completed",
"video_url": "https://…/video.mp4?signature=…",
"thumbnail_url": "https://…/poster.jpg?signature=…",
"duration_seconds": 5.04, "width": 1280, "height": 720,
"credits": 125
}
}
The status goes pending → queued → processing → completed. If a model fails, the status is failed, an error says why, and the credits go straight back to your balance. GET /generations?limit=20&before={id} lists your renders, newest first.
Models
GET /models lists every model with its slug, shapes, lengths, resolutions and starting price, and whether your account can use it right now.
| Model | Slug | Type | From |
|---|---|---|---|
| Kling 4 | kling-4 | Video | 84 credits |
| Kling 4 Flash | kling-4-flash | Video | 54 credits |
| Kling 3.0 | kling-3 | Video | 42 credits |
| Seedance 2.5 | seedance-2-5 | Video | 80 credits |
| Seedance 2.0 | seedance-2 | Video | 56 credits |
| Seedance 2.0 Fast | seedance-2-fast | Video | 44 credits |
| Veo 3.1 | veo-3-1 | Video | 280 credits |
| Veo 3.1 Fast | veo-3-1-fast | Video | 72 credits |
| Gemini Omni Flash | gemini-omni-flash | Video | 40 credits |
| MiniMax H3 | minimax-h3 | Video | 45 credits |
| Grok Imagine 1.5 | grok-imagine-1-5 | Video | 15 credits |
| Happy Horse 1.1 | happy-horse-1-1 | Video | 75 credits |
| Wan 3.0 | wan-3 | Video | 40 credits |
| Wan 3.0 Prime | wan-3-prime | Video | 60 credits |
| Flux 3 Video | flux-3-video | Video | 165 credits |
| LTX 2.5 | ltx-2-5 | Video | 108 credits |
| LTX 2.3 | ltx-2-3 | Video | 96 credits |
| Luma Ray 3.2 | luma-ray-3-2 | Video | 95 credits |
| PixVerse V6 | pixverse-6 | Video | 35 credits |
| Seedance 2.0 Mini | seedance-2-mini | Video | 25 credits |
| Veo 3.1 Lite | veo-3-1-lite | Video | 40 credits |
| Vidu Q3 Turbo | vidu-q3-turbo | Video | 28 credits |
| Nano Banana Pro | nano-banana-pro | Picture | 20 credits |
| Seedream 5.5 | seedream-5-5 | Picture | 5 credits |
| Midjourney V8.2 | midjourney-8-2 | Picture | 17 credits |
| Nano Banana 2.1 | nano-banana-2-1 | Picture | 5 credits |
| GPT Image 2.5 | gpt-image-2-5 | Picture | 12 credits |
| GPT Image 2 | gpt-image-2 | Picture | 7 credits |
| Flux 3 | flux-3 | Picture | 6 credits |
| Flux 2 | flux-2-pro | Picture | 8 credits |
| Seedream 5.0 Flash | seedream-5-flash | Picture | 4 credits |
| Flux 3 Klein | flux-3-klein | Picture | 2 credits |
| Seedream 5.0 Pro | seedream-5-pro | Picture | 7 credits |
| Ideogram 4.5 | ideogram-4-5 | Picture | 12 credits |
| Ideogram 4 | ideogram-4 | Picture | 4 credits |
| Recraft V4.1 | recraft-4-1 | Picture | 7 credits |
| Grok Imagine Image 2 | grok-imagine-image-2 | Picture | 5 credits |
| Qwen Image 3 | qwen-image-3 | Picture | 6 credits |
| Qwen Image 3 Pro | qwen-image-3-pro | Picture | 8 credits |
| MAI Image 2.6 | mai-image-2-6 | Picture | 16 credits |
| Luma Uni-1 | luma-uni-1 | Picture | 8 credits |
| Krea 3 | krea-3 | Picture | 7 credits |
Errors and limits
| Status | Meaning |
|---|---|
401 | The key is missing or was deleted. |
402 | Not enough credits. The body has required and available. |
422 | Something in the request isn't valid. errors says which field and why. |
429 | More than 60 requests in a minute. Wait for the number of seconds in Retry-After. |
Your plan's limit on renders running at once applies to the API too, as do each model's own limits. A key belongs to your account, so treat it like a password: keep it on your server, never in an app or web page.
Build with every model. Start free.
Sign up with Google or email · your first video is free · then 250 credits a month for $2.99 if you want more