HedraImage to videoComing soon
grok-video
grok-video is an image to video tool from Hedra that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 3600s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt required | text | — | Generation prompt. At most 4096 characters. |
resolution required | one of 480p, 720p | — | Output resolution. |
duration_ms required | one of 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000, 14000, 15000 | — | Duration in ms. |
aspect_ratio required | one of auto, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16 | — | Output aspect ratio. |
num_outputs | one of 1 | 1 | Number of outputs generated per job. Only 1 is supported. |
start_image | JSON | — | A file uploaded via POST /v3/files, referenced by the returned url. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "hedra",
"model": "grok-video",
"input": {
"prompt": "<prompt>",
"resolution": "480p",
"duration_ms": 1000,
"aspect_ratio": "auto"
}
}'