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
| Model | Resolution | Reference images | Images per request | Billing |
|---|---|---|---|---|
midjourney-v8.2 | —--ar in the prompt | Not supported | always 4 | per request |
midjourney-v8.2-fast | —--ar in the prompt | Not supported | always 4 | per request |
midjourney-v8.2-turbo | —--ar in the prompt | Not supported | always 4 | per 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 case | Method | Endpoint |
|---|---|---|
| Text-to-image | POST | /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
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | midjourney-v8.2, midjourney-v8.2-fast, or midjourney-v8.2-turbo |
prompt | string | Yes | Subject, 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
| Flag | Example | Description |
|---|---|---|
--s | --s 250 | Stylize, 0–1000 |
--c | --c 20 | Chaos, 0–100 |
--w | --w 250 | Weird, 0–3000 |
--iw | --iw 1.5 | Image Weight, 0–3, used with reference images |
--seed | --seed 123 | Integer seed |
--q | --q 1 | 0.25, 0.5, 1, 2 |
--no | --no text, watermark | Negative prompt |
--raw | --raw | Raw mode |
--hd | --hd | HD mode |
--tile | --tile | Tile mode |
--draft | --draft | Draft mode |
--ar | --ar 16:9 | Aspect ratio |
--stop | --stop 80 | Stop 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 insize. - Use the corresponding prompt flags for style, chaos, seed, and quality.