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

NameTypeDetails
promptrequiredstring

Prompt for video generation

aspect_ratiostring

Default: 16:9

One of: 16:9, 9:16

resolutionstring

Default: 480p

One of: 480p, 720p

enhance_promptboolean

Translate prompt to Chinese before generation

Default: false

fpsnumber

Frames per second. Note that the pricing of this model is based on the video duration at 16 fps

Default: 16

Min 5 · Max 30

seednumber

Random seed. Leave blank for random

go_fastboolean

Go fast

Default: true

interpolate_outputboolean

Interpolate the generated video to 30 FPS using ffmpeg

Default: true

lora_scale_transformernumber

Determines how strongly the transformer LoRA should be applied.

Default: 1

lora_scale_transformer_2number

Determines how strongly the transformer_2 LoRA should be applied.

Default: 1

lora_weights_transformerstring

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_2string

Load LoRA weights for transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA.

num_framesnumber

Number of video frames. 81 frames give the best results

Default: 81

Min 81 · Max 121

sample_shiftnumber

Sample shift factor

Default: 12

Min 1 · Max 20