88API88API
User GuideAI ApplicationsAPI ReferenceHelp & Support
Image

Midjourney V8.2 Image Generation API

Supported Models

This page applies to midjourney-v8.2, midjourney-v8.2-fast, and midjourney-v8.2-turbo. Each successful request returns 4 images.

Models and capabilities

ModelResolutionReference imagesImages per requestBilling
midjourney-v8.2—
--ar in the prompt
Not supportedalways 4per request
midjourney-v8.2-fast—
--ar in the prompt
Not supportedalways 4per request
midjourney-v8.2-turbo—
--ar in the prompt
Not supportedalways 4per request

Supported aspect ratios: 1:1 (default) / 16:9 / 9:16 / 4:3 / 3:4 / 3:2 / 2:3 / 21:9

The aspect ratio goes in --ar at the end of the prompt; the table lists common values. Billed per request, and each request always returns 4 images.

Endpoints and Authentication

Base URL: https://api.88api.ai

Authorization: Bearer $API_KEY
Content-Type: application/json
Use caseMethodEndpoint
Text-to-imagePOST/v1/images/generations

Text-to-Image

curl https://api.88api.ai/v1/images/generations \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "midjourney-v8.2",
    "prompt": "An ancient Eastern city shrouded in mist, cinematic lighting, rich detail, ultra HD --ar 16:9 --s 250"
  }'

Request Parameters

ParameterTypeRequiredDescription
modelstringYesmidjourney-v8.2, midjourney-v8.2-fast, or midjourney-v8.2-turbo
promptstringYesSubject, scene, style, and Midjourney parameter flags

Midjourney adjustments go at the end of prompt in --parameter value format; they are not sent as separate JSON fields.

Supported Prompt Flags

FlagExampleDescription
--s--s 250Stylize, 0–1000
--c--c 20Chaos, 0–100
--w--w 250Weird, 0–3000
--iw--iw 1.5Image Weight, 0–3, used with reference images
--seed--seed 123Integer seed
--q--q 10.25, 0.5, 1, 2
--no--no text, watermarkNegative prompt
--raw--rawRaw mode
--hd--hdHD mode
--tile--tileTile mode
--draft--draftDraft mode
--ar--ar 16:9Aspect ratio
--stop--stop 80Stop percentage

Response Format

{
  "created": 1760000000,
  "data": [
    { "url": "https://..." },
    { "url": "https://..." },
    { "url": "https://..." },
    { "url": "https://..." }
  ],
  "model": "midjourney-v8.2"
}

Save the image links from data[].url.

Usage Rules

  • To switch between the standard, Fast, and Turbo modes, change only model.
  • Set the aspect ratio with --ar; do not put it in size.
  • Use the corresponding prompt flags for style, chaos, seed, and quality.