PixMind Docs
API ReferenceImage ModelsMidjourney V7

Midjourney V7 Image Generation

Generate images with Midjourney V7 and selectable processing speed.

Aesthetic image generation with reference guidance and selectable processing speed.

Provider

Midjourney

Model ID

mj-v7

Endpoint

POST /api-platform/v1/generations

Model notes

  • The speed field determines the request price.

Request parameters

ParameterTypeRequiredDescription
modelstringYes

Stable PixMind model ID. Use `mj-v7`.

Allowed values: mj-v7

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 speed and pricing tier.

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-v7",
  "prompt": "A dramatic fashion editorial in a brutalist gallery, cinematic lighting",
  "aspectRatio": "3:4",
  "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-v7",
  "prompt": "A dramatic fashion editorial in a brutalist gallery, cinematic lighting",
  "aspectRatio": "3:4",
  "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-v7",
    "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.