API docs / Video models
Wan 2.2 Fast API
Create a video quickly from a text prompt.
- Model id
wan-video/wan-2.2-t2v-fast- Provider
- Wan AI
- Output
- Video
- Price
- From 18 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.2-t2v-fast". 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.2-t2v-fast",
"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 | Prompt for video generation |
aspect_ratio | string | Default: One of: 16:9, 9:16 |
resolution | string | Default: One of: 480p, 720p |
enhance_prompt | boolean | Translate prompt to Chinese before generation Default: |
fps | number | Frames per second. Note that the pricing of this model is based on the video duration at 16 fps Default: Min 5 · Max 30 |
seed | number | Random seed. Leave blank for random |
go_fast | boolean | Go fast Default: |
interpolate_output | boolean | Interpolate the generated video to 30 FPS using ffmpeg Default: |
lora_scale_transformer | number | Determines how strongly the transformer LoRA should be applied. Default: |
lora_scale_transformer_2 | number | Determines how strongly the transformer_2 LoRA should be applied. Default: |
lora_weights_transformer | string | Load LoRA weights for transformer. Supports arbitrary .safetensors URLs from the Internet (for example, 'https://huggingface.co/Viktor1717/scandinavian-interior-style1/resolve/main/my_first_flux_lora_v1.safetensors') |
lora_weights_transformer_2 | string | Load LoRA weights for transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA. |
num_frames | number | Number of video frames. 81 frames give the best results Default: Min 81 · Max 121 |
sample_shift | number | Sample shift factor Default: Min 1 · Max 20 |