HedraImage to videoComing soon
kling-o3
kling-o3 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 |
|---|---|---|---|
duration_ms required | one of 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000, 14000, 15000 | — | Duration in ms. |
aspect_ratio required | one of 16:9, 9:16, 1:1 | — | Output aspect ratio. |
images | JSON | — | Reference images. 1 to 3 images, each at most 10.4 MB. |
prompt | text | — | Generation prompt. At most 2500 characters. |
quality | one of standard, pro | standard | Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. |
end_image | JSON | — | A file uploaded via POST /v3/files, referenced by the returned url. |
shot_type | one of customize, intelligent | — | How a multi-shot storyboard is cut. 'customize' honours each shot's declared duration; 'intelligent' lets the model determine the shot structure. Ignored unless `multi_prompt` is supplied. |
resolution | one of 1080p, 4K, 720p | — | Output resolution. |
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. |
multi_prompt | JSON | — | Multi-shot storyboard; each shot carries its own prompt and duration. Shot durations must sum to at most 15000 ms, and the storyboard replaces `prompt` — supply one or the other, never both. A shot's prompt has no length limit, unlike the single `prompt` field. 1 to 6 items. |
generate_audio | true or false | true | Whether to generate native audio for the video. |
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": "kling-o3",
"input": {
"duration_ms": 3000,
"aspect_ratio": "16:9"
}
}'