Best for
- Short prompt-to-video clips
- Image-to-video prototypes
- Automated polling and asset hand-off
This hub focuses on the engineering details that make video API calls reliable: request payloads, task IDs, status polling, image inputs and final billing.
Grok Imagine Video is useful for short creative clips, image-to-video experiments and workflows that can tolerate asynchronous completion. Build the client around task state instead of assuming an immediate video URL.
A successful task does not guarantee that your own storage or download step succeeded. Retry the download before creating a new generation task.
Choose this route when you want to keep video exploration on the main-site gateway and can build a small asynchronous worker around it. A useful test compares completed clips, not just the fastest response received.
| Option to compare | Choose it when | Measure before switching |
|---|---|---|
| Seedance 2.5 | You want a separate video-focused workflow and can manage a separate account. | Duration, terminal success rate and final task charge |
| Image generation only | A still image already satisfies the deliverable. | Whether motion adds measurable conversion or review value |
| A local rendering pipeline | You need deterministic frames or private assets. | Infrastructure cost, render time and operator effort |
Video billing can depend on duration, model route and output options. Use public values only for a rough budget and reconcile every successful task in the console.
Use the shared gateway and keep the model ID in configuration. Start with a small request, save the request ID, and compare usage with the dashboard before increasing concurrency.
curl https://www.gpt345.com/v1/videos/generations -H "Authorization: Bearer $GPT345_API_KEY" -H "Content-Type: application/json" -d '{"model":"grok-imagine-video","content":[{"type":"text","text":"A slow cinematic camera move across a bright product studio"}],"duration":6}'
Usually no. Save the task ID and poll until a terminal status.
Use it only when the currently selected route documents image input and the URL is publicly reachable.
Use an idempotency key where supported and never blindly resubmit after a timeout.