API docs / Image models
Wan 2.7 Image Pro API
Generates and edits high-quality images with 4K output support using Alibaba's Wan 2.7 Pro model. Supports text-to-image generation, multi-image editing with up to 9 input images, and image set generation mode that creates coherent sets of related images from a single prompt. Features thinking mode for enhanced reasoning and improved image quality in text-to-image generation, with support for various output resolutions including 1K, 2K, and 4K options. Can generate 1-4 images in standard mode or up to 12 images in image set mode.
- Model id
wan-video/wan-2.7-image-pro- Provider
- wan-video
- Output
- Image
- Price
- From 11 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-image-pro". 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-image-pro",
"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 or editing |
reference_images | array of URLs | Input images for editing, style transfer, or multi-reference generation (up to 9 images, jpg/png/bmp/webp). When provided, the model operates in image editing mode. Default: Up to 10 files · Accepts image/* |
output_count | number | Number of images to generate (1-4 for standard mode, 1-12 for image set mode) Default: Min 1 · Max 4 |
size | string | Default: One of: 1K, 2K, 4K, 1024*1024, 2048*2048, 4096*4096, 1280*720, 720*1280, 2048*1152, 1152*2048, 4096*2304, 2304*4096, 1024*768, 768*1024, 2048*1536, 1536*2048, 4096*3072, 3072*4096 |
seed | number | Random seed for reproducible generation. Range: 0-2147483647 |
image_set_mode | boolean | Generate a coherent set of related images from a single prompt (e.g. a character across seasons). When enabled, num_outputs can be up to 12. Default: |
thinking_mode | boolean | Enable enhanced reasoning for improved image quality. Only applies to text-to-image (no input images, no image set mode). Increases generation time. Default: |