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
| Name | Type | Details |
|---|---|---|
promptrequired | string | Text prompt for image generation |
aspect_ratio | string | Default: One of: 1:1, 16:9, 9:16, 4:3, 3:4, 21:9 |
seed | number | Random seed. Set for reproducible generation |
output_format | string | Default: One of: png, jpg, webp |
juiced | boolean | Faster inference with additional optimizations. Default: |
megapixels | number | Default: One of: 1, 2 |
output_quality | number | Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs Default: Min 1 · Max 100 |