Skip to content
Get your keyGet a key

Reference · Video models

POST/videos/grok-imagine-video/quote

Price it: Grok Imagine Video

The price for exactly this body, the balance beside it and any notes. Nothing runs and nothing is charged. Run it with POST /api/v1/videos/grok-imagine-video, the same body, confirmCredits set to credits and the same Idempotency-Key.

Key needs
create · Make things and spend credits
Answers
A quote · free
Request
curl -X POST https://vessero.com/api/v1/videos/grok-imagine-video/quote \
  -H "Authorization: Bearer $VESSERO_API_KEY" \
  -H "Idempotency-Key: 47f8f6f5-ea00-4fb1-925f-76aac956a0ec" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A linen shirt drifts down onto a sunlit bed, slow camera push-in",
    "durationSec": 6,
    "aspectRatio": "16:9",
    "resolution": "480p"
  }'
Response200 OK
{
  "object": "quote",
  "credits": 12,
  "balance": 840,
  "lines": [
    "1 image × 12 (Nano Banana Pro · 4K)"
  ],
  "notes": [],
  "requestId": "47f8f6f5-ea00-4fb1-925f-76aac956a0ec",
  "run": {
    "method": "POST",
    "path": "/api/v1/images",
    "confirmCredits": 12,
    "idempotencyKey": "47f8f6f5-ea00-4fb1-925f-76aac956a0ec"
  }
}

Header

  • Idempotency-KeystringYour id for this request: 8–64 letters, digits, - or _. A repeat within 10 minutes gets the first answer back and never runs twice. Use the same one for the quote and the run.

Body

  • promptstringWhat happens in the shot, e.g. "Slow push in on the bottle as morning light sweeps across the table". For an edit, the change to make; to extend, what happens next. Optional only for motion, whose moves come from the video.
  • durationSecintegerSeconds, one of the model’s durations. Default: its own length, as /video starts it (defaultDurationSec in GET /api/v1/models).
  • aspectRatiostringA shape the model lists, e.g. "9:16". Default: the model’s own.16:99:161:13:22:3
  • resolutionstringA size the model lists, e.g. "720p". Default: the model’s own.480p720p1080p
  • firstKeystringThe start frame, a picture: a storage key from POST /api/v1/files or POST /api/v1/library/use, or an https link to the file (brought into their Uploads first).
  • whoIsInPictureobject · kind no-person | personMotion: who is in the picture on firstKey, as the person says; asked of an uploaded picture.
  • camerastringA camera move added to the words: dolly-in (Dolly in), dolly-out (Dolly out), crash-zoom (Crash zoom), orbit-360 (360 orbit), crane-up (Crane up), whip-pan (Whip pan), fpv-dive (FPV dive), handheld (Handheld), bullet-time (Bullet time), snorricam (Snorricam), drone-reveal (Drone reveal), locked-off (Locked-off). Never changes the price.dolly-indolly-outcrash-zoomorbit-360crane-upwhip-panfpv-divehandheldbullet-timesnorricamdrone-reveallocked-off

Answers

  • 200quoteThe price for exactly this body, your balance and any notes. Nothing ran.
  • 400invalid_requestA field is missing or not accepted: see details.
  • 403feature_unavailableThe studio this needs is switched off for the account right now.
  • 429rate_limitedToo many calls this minute: see Retry-After.
Next in Video modelsPOST/videos/grok-imagine-1.5