HedraImage to videoComing soon
wan-2-7
wan-2-7 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 5000 characters. |
resolution required | one of 720p, 1080p | — | Output resolution. |
duration_ms required | one of 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000, 14000, 15000 | — | Duration in ms. |
seed | number (whole) 0 to 2147483647 | — | Seed for reproducible output; omit for a random seed. From 0 to 2147483647. |
images | JSON | — | Reference images. 1 to 4 images, each at most 20 MB. |
end_image | JSON | — | A file uploaded via POST /v3/files, referenced by the returned url. |
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. |
aspect_ratio | one of 16:9, 9:16, 4:3, 3:4, 1:1 | — | Output aspect ratio. |
negative_prompt | text | — | What to avoid in the generated video. At most 500 characters. |
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": "wan-2-7",
"input": {
"prompt": "<prompt>",
"resolution": "720p",
"duration_ms": 2000
}
}'