Wan 2.7 Image Generation
Generate, edit, and compose images with Wan 2.7 Image.
A balanced image route for generation, editing, and multi-reference workflows.
Provider
AlibabaModel ID
wan2.7-imageEndpoint
POST /v1/generationsModel notes
- The size field selects the billed resolution tier.
Request parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Stable PixMind model ID. Use `wan2.7-image`. Allowed values: |
prompt | string | Yes | Natural-language generation or editing instructions. |
size | string | No | Output resolution tier. This field affects request pricing. Allowed values: Default: |
aspect_ratio | string | No | Requested output aspect ratio. Allowed values: Default: |
reference_images | string[] (URI) | No | Reference image URLs used for editing, composition, subject, or style guidance. |
callback_url | string (URI) | No | HTTPS endpoint that receives the terminal task event. Polling remains available when omitted. |
Request example
curl https://aihub-admin.aimix.pro/v1/generations \
-H "Authorization: Bearer $PIXMIND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "wan2.7-image",
"prompt": "Create a consistent campaign key visual from the supplied references",
"size": "2K",
"aspect_ratio": "16:9",
"reference_images": [
"https://example.com/subject.jpg",
"https://example.com/style.jpg"
]
}'const response = await fetch("https://aihub-admin.aimix.pro/v1/generations", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.PIXMIND_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "wan2.7-image",
"prompt": "Create a consistent campaign key visual from the supplied references",
"size": "2K",
"aspect_ratio": "16:9",
"reference_images": [
"https://example.com/subject.jpg",
"https://example.com/style.jpg"
]
})
});
const task = await response.json();Accepted task response
Generation is asynchronous. Save the id from the response and poll GET /v1/generations/{id} until it reaches a terminal status.
{
"id": "img_01JXYZ...",
"model": "wan2.7-image",
"status": "processing"
}API pricing
| Configuration | Price |
|---|---|
| 1K output | $0.040 / image |
| 2K output | $0.064 / image |
API pricing uses the apiPlatform role and is separate from PixMind Studio credits. The accepted task response is the final pricing snapshot.