API docs / Video models

Wan 2.7 (Image to video) API

Animate an uploaded image with a prompt.

Model id
wan-video/wan-2.7-i2v
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-i2v". 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-i2v",
  "input": {
    "prompt": ""
  },
  "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
promptstring

Text prompt for video generation

Default:

first_framearray of URLs

First frame image to animate into video (jpg/png/bmp/webp, ≤20MB) Each file: up to 20 MB.

Up to 1 files · Accepts image/*

last_framearray of URLs

Last frame image for first-and-last-frame video generation (jpg/png/bmp/webp, ≤20MB). Requires first_frame. Each file: up to 20 MB.

Up to 1 files · Accepts image/*

reference_audiosarray 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/*

resolutionstring

Default: 720p

One of: 720p, 1080p

duration_secondsnumber

Duration of the generated video in seconds

Default: 5

Min 2 · Max 15

enhance_promptboolean

Automatically expand and optimize the prompt for better results. Improves quality for short prompts but increases latency.

Default: true

seednumber

Random seed for reproducible generation. Range: 0-2147483647

negative_promptstring

Negative prompt — describes content that should not appear in the video

Default:

first_cliparray of URLs

Video clip to continue from (mp4/mov, 2-10s, ≤100MB). Cannot be combined with first_frame. Each file: 2–10s.

Up to 1 files · Accepts video/*