Quick start

One model, seedance-2.5. Start a clip, then poll it or get a webhook. Base URL:

https://kelvn.ai/v1
curl https://kelvn.ai/v1/generations \
  -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
  -d '{"model":"seedance-2.5","input":{"prompt":"Slow push-in on a woman laughing in a car at golden hour","duration":10,"aspect_ratio":"9:16","resolution":"720p","audio":true}}'

Keys

Make keys under API keys in your dashboard. Send one on every call as Authorization: Bearer sk_live_.... Keep keys on your server; anyone with a key can spend your credits.

Create a clip

POST /v1/generations. Credits are taken when the clip starts and given back if it fails.

input.promptstring, requiredUp to 4,000 characters. Put spoken lines in quotes.
input.durationinteger, 4-30Seconds. Default 10.
input.aspect_ratio9:16 | 16:9 | 1:1Default 9:16.
input.resolution720pOnly 720p for now.
input.audiobooleanNative sound and voices. Default true.
input.reference_imagesstring[]Up to 9 https or data:image URLs, for faces, products, style.
webhook_urlhttps URLWe POST the result here when the clip finishes.
max_cost_usdnumberRefuse the clip if it would cost more.
metadataobjectUp to 10 string pairs, returned as-is.
201 Created
{
  "id": "gen_8sD1...",
  "object": "generation",
  "model": "seedance-2.5",
  "status": "running",          // queued | running | succeeded | failed
  "progress": 0,
  "created_at": "2026-11-25T23:10:04.000Z",
  "input": { "prompt": "...", "duration": 10, "aspect_ratio": "9:16", "resolution": "720p", "audio": true },
  "cost_usd": 1.7,
  "output": null,
  "error": null
}

Check a clip

GET /v1/generations/{id}. Poll every 10 to 15 seconds. A 15 second clip takes about 6 minutes, a 30 second clip about 13 to 16.

{
  "id": "gen_8sD1...",
  "status": "succeeded",
  "progress": 100,
  "output": { "urls": ["https://kelvn.ai/v1/generations/gen_8sD1.../content"], "duration": 10 },
  "cost_usd": 1.7
}

Download

GET /v1/generations/{id}/content with your key returns the MP4 (H.264, AAC audio). Add ?download=1 for a file download. Files are kept 30 days.

List clips

GET /v1/generations?limit=50, newest first.

Balance

GET /v1/balance
{ "balance_usd": 482.3, "seconds_available": 2837, "running": 3, "max_concurrent": 12 }

Webhooks

When a clip finishes we POST { "type": "generation.succeeded" | "generation.failed", "data": { ...generation } } to your webhook_url. The X-Signature header is t=timestamp,v1=hmac; ask us for your signing secret to check it.

Errors

401 unauthorizedMissing or wrong key.
402 insufficient_creditsAdd credits, then retry.
429 rate_limitedToo many clips running for your team at once.
400 invalid_*A field is wrong; the message says which.
failed: content_blockedThe safety review refused the prompt or the result. Refunded.
failed: generation_failedThe render didn't finish. Refunded; retrying usually works.
failed: capacityBusy for 30 minutes straight. Refunded.
{ "error": { "code": "insufficient_credits", "message": "Not enough credits. Add credits on the Billing page." } }

Limits and pricing

16.8¢ per second of video you ask for, at 720p with audio. A 15 second clip is $2.52, 30 seconds is $5.04. Failed and blocked clips cost nothing. 12 clips at once per team to start; when every slot is busy, new clips wait in line (status queued) instead of failing.

Switching from Revana

Our request and response follow the same shape. Change the base URL and the key, and set model to seedance-2.5.

- https://api.revana.si/v1/generations
+ https://kelvn.ai/v1/generations