PixMind Docs
API ReferenceImage ModelsMidjourney V8.2

Midjourney V8.2 Image API

Generate or process images with Midjourney V8.2 through the PixMind API.

Midjourney V8.2 image generation with reference guidance and selectable processing speed.

Provider

Midjourney

Model ID

mj-v8.2

Endpoint

POST /api-platform/v1/generations

Model notes

  • Prices below mirror the backend apiPlatform pricing tree audited on 2026-08-10.

Request parameters

ParameterTypeRequiredDescription
modelstringYes

Stable PixMind model ID. Use `mj-v8.2`.

Allowed values: mj-v8.2

promptstringYes

Natural-language generation or editing instructions.

aspectRatiostringNo

Requested output aspect ratio.

Allowed values: 1:1, 9:16, 2:3, 3:4, 5:6, 6:5, 4:3, 3:2, 16:9, 2:1

Default: 1:1

referenceImagesstring[] (URI)No

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

speedstringNo

Processing mode. This field can affect request pricing.

Allowed values: relaxed, fast, turbo

Default: fast

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": "mj-v8.2",
  "prompt": "Create a polished campaign image while preserving the supplied subject",
  "aspectRatio": "1:1",
  "referenceImages": [
    "https://example.com/reference.png"
  ],
  "speed": "fast"
}'
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": "mj-v8.2",
  "prompt": "Create a polished campaign image while preserving the supplied subject",
  "aspectRatio": "1:1",
  "referenceImages": [
    "https://example.com/reference.png"
  ],
  "speed": "fast"
})
});

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": "mj-v8.2",
    "status": "processing"
  }
}

API pricing

ConfigurationPrice
Relaxed$0.030 / image
Fast$0.070 / image
Turbo$0.110 / image

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