Skip to main content
POST
/
api
/
v1
/
grok
/
text-to-video
Text to Video
curl --request POST \
  --url https://api.modelhunter.ai/api/v1/grok/text-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "input": {
    "prompt": "<string>",
    "duration": "<string>",
    "resolution": "<string>",
    "aspect_ratio": "<string>",
    "mode": "<string>"
  },
  "webhookUrl": "<string>",
  "metadata": {}
}
'
{
  "success": true,
  "data": {
    "id": "task_grok_t2v_123",
    "status": "pending",
    "type": "text-to-video",
    "provider": "grok",
    "model": "grok-imagine/text-to-video",
    "created_at": "2026-03-13T10:00:00Z",
    "estimated_seconds": 90
  }
}

Body Parameters

model
string
required
Grok model to use. In this phase:
  • grok-imagine/text-to-video — Grok Imagine Video text-to-video, output-only pricing at $0.05/sec (480p) or $0.07/sec (720p)
input
object
required
Input parameters for the generation.
webhookUrl
string
URL to receive a webhook when the task completes.
metadata
object
Custom key-value metadata to attach to the task.
{
  "success": true,
  "data": {
    "id": "task_grok_t2v_123",
    "status": "pending",
    "type": "text-to-video",
    "provider": "grok",
    "model": "grok-imagine/text-to-video",
    "created_at": "2026-03-13T10:00:00Z",
    "estimated_seconds": 90
  }
}