Our GPUsText to videoImage to video

Wan 2.2 5B

wan-2.2

Wan-AI's Wan 2.2 TI2V-5B on VelvetAPI's own GPUs: 720p clips at 24 fps, up to 5 seconds, from text or from a still as the first frame.

Made with Wan 2.2 by Alibaba

The full showcase

Unedited outputs. Open one to read its motion prompt, the still it started from, size and seed.

Inputs

Send these in the task's input object. Only required fields are needed; GET /v1/models/wan-2.2 returns them as a JSON Schema.

FieldTypeDefaultDetails
promptrequiredstring—

What happens in the clip: subject, action, setting, camera movement and light. Wan reads the first ~512 tokens.

up to 4,000 characters

reference_imagesarray of URLs[]

One image to animate, used as the first frame and cropped to the aspect ratio: one of your outputs, an upload (POST /v1/uploads) or an HTTPS image URL, which is imported and screened first. Leave it out for text to video.

up to 1 items

duration_snumber5

Clip length in seconds, at 24 frames per second. The price is per second of this length.

1 to 5

aspect_ratiostring"16:9"

16:9 is 1280 × 704, 9:16 is 704 × 1280 and 1:1 is 960 × 960.

one of 16:9, 9:16, 1:1

resolutionstring"720p"

one of 720p

seedinteger—

0 to 2,147,483,647

Example

Create a task with your API key, then poll it or pass a webhook_url. user is your own id for the end user who asked for the image.

POST /v1/tasks
curl https://api.velvetapi.dev/v1/tasks \
  -H "Authorization: Bearer $VELVET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "wan-2.2",
  "user": "user-123",
  "input": {
    "prompt": "A slow dolly shot through a candlelit jazz lounge at night. A woman in a plum velvet evening dress turns from the bar toward the camera and smiles, warm bokeh lights behind her, cinematic 35mm look."
  }
}'

Response 202 Accepted

{
  "id": "0b9c6c2e-4d3f-4a51-9a8e-2f7d1c3b5a90",
  "object": "task",
  "model": "wan-2.2",
  "state": "queued",
  "user": "user-123",
  "price_usd": 0.3,
  "outputs": [],
  "error": null,
  "meta": {},
  "created_at": "2026-10-20T06:31:00.000Z",
  "started_at": null,
  "finished_at": null
}

Next: tasks and webhooks, errors and the API reference.

Made with

Prompt

Get your API key