API docs / Image models

Wan 2.2 Image API

Generates cinematic, photorealistic images from text prompts in 3-4 seconds. Produces 2 megapixel images with strong visual quality and aesthetics, optimized for fast inference using PrunaAI's compression techniques. Supports multiple aspect ratios (1:1, 16:9, 9:16, 4:3, 3:4, 21:9) and output formats (PNG, JPG, WebP). Features a 'juiced' mode for even faster generation with additional optimizations.

Model id
prunaai/wan-2.2-image
Provider
Wan AI
Output
Image
Price
From 7 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": "prunaai/wan-2.2-image". 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": "prunaai/wan-2.2-image",
  "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

Text prompt for image generation

aspect_ratiostring

Default: 16:9

One of: 1:1, 16:9, 9:16, 4:3, 3:4, 21:9

seednumber

Random seed. Set for reproducible generation

output_formatstring

Default: jpg

One of: png, jpg, webp

juicedboolean

Faster inference with additional optimizations.

Default: false

megapixelsnumber

Default: 2

One of: 1, 2

output_qualitynumber

Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs

Default: 80

Min 1 · Max 100