PixMind Docs
API ReferenceImage ModelsMidjourney Niji 7

Midjourney Niji 7 Image API

Generate or process images with Midjourney Niji 7 through the PixMind API.

Midjourney Niji 7 image generation with reference guidance and selectable processing speed.

Provider

Midjourney

Model ID

mj-niji7

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-niji7`.

Allowed values: mj-niji7

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-niji7",
  "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-niji7",
  "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-niji7",
    "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.