Black Friday 20% off your first payment on Creator, Pro and Studio · up to 47% less than monthly in your first year Ends in   See plans
Pricing For business

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

  1. 1Get creditsAny plan or credit pack opens the API. Calls spend the same credits as the studio.
  2. 2Make a keyIn the studio under API keys. It's shown once, so store it safely.
  3. 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"
  }
}
FieldRequiredWhat it does
modelYesA video model's slug from GET /models.
promptYesWhat happens in the shot, up to 2,500 characters.
durationNoSeconds, from the model's durations.
aspect_ratioNo16:9, 9:16, 1:1… from the model's list.
resolutionNo480p, 720p or 1080p where the model offers it.
audioNotrue for sound, on models with optional audio.
negative_prompt, seedNoWhere 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.

ModelSlugTypeFrom
Kling 4kling-4Video84 credits
Kling 4 Flashkling-4-flashVideo54 credits
Kling 3.0kling-3Video42 credits
Seedance 2.5seedance-2-5Video80 credits
Seedance 2.0seedance-2Video56 credits
Seedance 2.0 Fastseedance-2-fastVideo44 credits
Veo 3.1veo-3-1Video280 credits
Veo 3.1 Fastveo-3-1-fastVideo72 credits
Gemini Omni Flashgemini-omni-flashVideo40 credits
MiniMax H3minimax-h3Video45 credits
Grok Imagine 1.5grok-imagine-1-5Video15 credits
Happy Horse 1.1happy-horse-1-1Video75 credits
Wan 3.0wan-3Video40 credits
Wan 3.0 Primewan-3-primeVideo60 credits
Flux 3 Videoflux-3-videoVideo165 credits
LTX 2.5ltx-2-5Video108 credits
LTX 2.3ltx-2-3Video96 credits
Luma Ray 3.2luma-ray-3-2Video95 credits
PixVerse V6pixverse-6Video35 credits
Seedance 2.0 Miniseedance-2-miniVideo25 credits
Veo 3.1 Liteveo-3-1-liteVideo40 credits
Vidu Q3 Turbovidu-q3-turboVideo28 credits
Nano Banana Pronano-banana-proPicture20 credits
Seedream 5.5seedream-5-5Picture5 credits
Midjourney V8.2midjourney-8-2Picture17 credits
Nano Banana 2.1nano-banana-2-1Picture5 credits
GPT Image 2.5gpt-image-2-5Picture12 credits
GPT Image 2gpt-image-2Picture7 credits
Flux 3flux-3Picture6 credits
Flux 2flux-2-proPicture8 credits
Seedream 5.0 Flashseedream-5-flashPicture4 credits
Flux 3 Kleinflux-3-kleinPicture2 credits
Seedream 5.0 Proseedream-5-proPicture7 credits
Ideogram 4.5ideogram-4-5Picture12 credits
Ideogram 4ideogram-4Picture4 credits
Recraft V4.1recraft-4-1Picture7 credits
Grok Imagine Image 2grok-imagine-image-2Picture5 credits
Qwen Image 3qwen-image-3Picture6 credits
Qwen Image 3 Proqwen-image-3-proPicture8 credits
MAI Image 2.6mai-image-2-6Picture16 credits
Luma Uni-1luma-uni-1Picture8 credits
Krea 3krea-3Picture7 credits

Errors and limits

StatusMeaning
401The key is missing or was deleted.
402Not enough credits. The body has required and available.
422Something in the request isn't valid. errors says which field and why.
429More 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

Not ready to sign up?