One family, several API surfaces
Grok language, image and video requests are not interchangeable. Use /v1/chat/completions or the Responses API for text, the image endpoints for image generation/editing, and the asynchronous video endpoint for video jobs.
Check the model's current audio and reference behavior
The public video description identifies resolution and duration tiers, while model-specific reference or frame behavior may be narrower. Treat the authenticated capability response as the submission gate.
Do not turn model names into trademark claims
Grok and other model names identify upstream families. Xinfeng's public catalog describes its API surface and prices; it does not claim ownership of third-party trademarks.
Public catalog snapshot
This table is generated from /api/pricing. A value such as “Token-metered” means the public response does not expose one simple per-second amount. Verify the authenticated catalog for the final rate.
| Model ID | Endpoints | Groups | Catalog duration | Public price basis | Observed service state |
|---|---|---|---|---|---|
grok-4.7 | openai, openai-response | Grok | — | Token-metered expression · see live catalog | Open at observation |
grok-imagine-image | image-edit, image-generation, openai | Image | — | Dynamic / see live catalog | Open at observation |
grok-imagine-image-quality | image-edit, image-generation, openai | Image | — | Dynamic / see live catalog | Open at observation |
grok-imagine-video | openai, openai-video | Video | 1–15 s | 480p ✦0.2/s · 720p ✦0.2/s | Open at observation |
grok-imagine-video-1.5 | openai, openai-video | Video | 1–15 s | 480p ✦0.22/s · 720p ✦0.27/s · 1080p ✦0.32/s | Open at observation |
The table shows the service state observed during the catalog refresh.
Rates are base Xinfeng Credits for the displayed tiers. Reference inputs, audio and account groups can affect the charge. See the live service status and the catalog snapshot time.
Request example
Create a Grok Imagine video job. Replace the example prompt and model options with values supported by your account.
curl -X POST "https://xinfeng.best/draw/api/v1/videos" \
-H "Authorization: Bearer $XINFENG_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: grok-demo-001" \
-d '{
"model": "grok-imagine-video-1.5",
"prompt": "A paper lantern floating over a calm lake at dusk",
"seconds": 5,
"output": {"ratio": "720p-16:9"}
}'Frequently asked questions
Which Grok endpoint should I use for chat?
Use the OpenAI-compatible base /v1 and the standard /v1/chat/completions or Responses endpoint with model grok-4.7.
Which endpoint should I use for Grok video?
Use the asynchronous video endpoint documented by Xinfeng. The public catalog examples use POST /draw/api/v1/videos and a task query under the same path.
Is Grok Imagine image the same as Grok video?
No. Image and video are separate billing modes and task types. Select the model and endpoint for the required modality.