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 /api-platform/v1/generations

Model notes

  • The live route supports 1K and 2K output; API pricing has not been published yet.

Request parameters

ParameterTypeRequiredDescription
modelstringYes

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

Allowed values: wan2.7-image

promptstringYes

Natural-language generation or editing instructions.

resolutionstringNo

Output resolution tier. This field affects request pricing.

Allowed values: 1K, 2K

Default: 1K

aspectRatiostringNo

Requested output aspect ratio.

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

Default: 1:1

referenceImagesstring[] (URI)No

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

Request example

cURL
curl https://aihub-admin.aimix.pro/api-platform/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",
  "resolution": "2K",
  "aspectRatio": "16:9",
  "referenceImages": [
    "https://example.com/subject.jpg",
    "https://example.com/style.jpg"
  ]
}'
JavaScript
const response = await fetch("https://aihub-admin.aimix.pro/api-platform/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",
  "resolution": "2K",
  "aspectRatio": "16:9",
  "referenceImages": [
    "https://example.com/subject.jpg",
    "https://example.com/style.jpg"
  ]
})
});

const task = await response.json();

Accepted task response

Generation is asynchronous. Save taskId and poll GET /api-platform/v1/tasks/{taskId} until status is ready or failed.

200 OK
{
  "code": 1000,
  "data": {
    "id": "img_44160",
    "taskId": 44160,
    "type": "image",
    "model": "wan2.7-image",
    "status": "processing"
  }
}

API pricing

ConfigurationPrice
API price not published

API pricing uses the apiPlatform role and is separate from PixMind Studio credits. The accepted task response is the final pricing snapshot.