API ManyНовые модели: Qwen 3.8 Max, Claude Haiku 5.5, Claude Opus 5.5, Claude Sonnet 5.5

xAI · Video · 720p · 480p · 6s

Grok Imagine Video · Text to Video API

Call Grok Imagine Video · Text to Video with the same key and request shape as every other model in the catalog — from $0.068 per job.

Grok Imagine Video · Text to Video example

WHY IT FITS

Inside the gateway

X-AI Grok Imagine Video generates videos from text descriptions using xAI's Grok Imagine Video model. Route it through one API Many key: post the model id and your parameters, poll the returned job, and download the finished asset. Inputs are checked before dispatch and the quote is reserved up front from $0.068.

One credential

Grok Imagine Video · Text to Video shares the same key, wallet and limits as the rest of the catalog.

Uniform contract

The request body, polling loop and result download are identical for every model.

Checked inputs

Declared fields are type- and range-checked before the job leaves the gateway.

text to video

Text to Video is exposed for Grok Imagine Video · Text to Video without a bespoke client.

grok imagine video

Grok Imagine Video is exposed for Grok Imagine Video · Text to Video without a bespoke client.

video

Video is exposed for Grok Imagine Video · Text to Video without a bespoke client.

OUTPUT

Sample outputs

INTEGRATION

Wire it in four steps

  1. Create a key

    Open the dashboard, mint a server-side API key and top up a small balance.

  2. Discover

    Call GET /v1/models to confirm x-ai/grok-imagine-video/text-to-video, its live specification and the exact per-job rate.

  3. Submit

    POST /v1/jobs with the model id, your parameters and a fresh Idempotency-Key.

  4. Collect

    Poll GET /v1/jobs/{id} until it settles, then download GET /v1/jobs/{id}/content.

CALLING

Make your first call

# API Many quickstart — one key covers every model
curl https://apimany.com/v1/jobs \
  -H "Authorization: Bearer $APIMANY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $REQUEST_ID" \
  -d '{"model":"x-ai/grok-imagine-video/text-to-video","aspect_ratio":"16:9","duration":6,"prompt":"A slow dolly across a rain-lit neon street, shallow depth of field.","resolution":"720p"}'

Accepted parameters

FieldKindAcceptedNeeded
aspect_ratiostring16:9 · 1:1 · 9:16optional
durationinteger6 · 10optional
promptstring—optional
resolutionstring720p · 480poptional

ONLINE TEST

Send a real job from this page

The request runs against this site's own /v1/jobs using your signed-in balance, or an API key if you are not signed in. A pasted key stays in this browser tab and is never stored; the result is charged at the quoted USD price.

Or sign in to run with your account balance.

GOOD TO KNOW

Integration questions

Can I reach Grok Imagine Video · Text to Video with my existing API Many key?
Grok Imagine Video · Text to Video is one route in the shared gateway, so the same key, balance and limits apply. Enable it per route, then confirm the live id and rate with an authenticated GET /v1/models call.
What request shape does Grok Imagine Video · Text to Video expect?
Send JSON to POST /v1/jobs with the model id and your parameters, plus a unique Idempotency-Key header. The gateway validates the body, reserves the quoted USD amount and returns a job you poll.
How is Grok Imagine Video · Text to Video billed?
Each job is quoted for your exact parameters before it runs, from $0.068. A confirmed rejection releases the reservation; a settled job is charged at its quote.
Which fields does Grok Imagine Video · Text to Video accept?
Recognised fields are aspect_ratio, duration, prompt, resolution. Anything else is refused with a 400 instead of being forwarded upstream.
Is Grok Imagine Video · Text to Video live right now?
Availability is set per route. Read the authenticated model list to see whether x-ai/grok-imagine-video/text-to-video is enabled, with its exact specification and rate.

KEEP EXPLORING

Nearby models