API docs / Video models
Wan 2.7 (Text to video) API
Create a video from a text prompt.
- Model id
wan-video/wan-2.7-t2v- Provider
- Wan AI
- Output
- Video
- Price
- From 175 credits per run, the same as on voor.ai. Options such as length or resolution can change it.
Request
POST https://voor.ai/v1/generations with "model": "wan-video/wan-2.7-t2v". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.
curl https://voor.ai/v1/generations \
-H "Authorization: Bearer $VOOR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "wan-video/wan-2.7-t2v",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light"
},
"callback_url": "https://example.com/webhooks/voor"
}'
# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
-H "Authorization: Bearer $VOOR_API_KEY"Input parameters
| Name | Type | Details |
|---|---|---|
promptrequired | string | Text prompt for video generation |
reference_audios | array of URLs | Audio file (wav/mp3, 3-30s, ≤15MB) for voice/music synchronization. If not provided, the model auto-generates matching audio. Each file: 3–30s. Each file: up to 15 MB. Up to 1 files · Accepts audio/* |
aspect_ratio | string | Default: One of: 16:9, 9:16, 1:1, 4:3, 3:4 |
resolution | string | Default: One of: 720p, 1080p |
duration_seconds | number | Duration of the generated video in seconds Default: Min 2 · Max 15 |
enhance_prompt | boolean | Automatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency. Default: |
seed | number | Random seed for reproducible generation. Range: 0-2147483647 |
negative_prompt | string | Negative prompt — describes content that should not appear in the video Default: |