PixMind Docs
Api referenceImage ModelsWan 2.7 Image

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

Alibaba

Model ID

wan2.7-image

Endpoint

POST /v1/generations

Model notes

  • The size field selects the billed resolution tier.

Request parameters

ParameterTypeRequiredDescription
modelstringYes

Stable PixMind model ID. Use `wan2.7-image`.

Allowed values: wan2.7-image

promptstringYes

Natural-language generation or editing instructions.

sizestringNo

Output resolution tier. This field affects request pricing.

Allowed values: 1K, 2K

Default: 1K

aspect_ratiostringNo

Requested output aspect ratio.

Allowed values: 1:1, 16:9, 9:16, 4:3, 3:4

Default: 1:1

reference_imagesstring[] (URI)No

Reference image URLs used for editing, composition, subject, or style guidance.

callback_urlstring (URI)No

HTTPS endpoint that receives the terminal task event. Polling remains available when omitted.

Request example

cURL
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"
  ]
}'
JavaScript
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.

202 Accepted
{
  "id": "img_01JXYZ...",
  "model": "wan2.7-image",
  "status": "processing"
}

API pricing

ConfigurationPrice
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.