Midjourney V8.1 Image Generation
- Midjourney V8.1 model supports generating high-quality images via natural language prompts. Fast/Turbo modes return 4 images per generation; Draft mode returns 24 lightweight 0.5K sketch images in a single run
- Supports text-to-image and image-to-image (reference image URLs in prompt)
- V8.1 highlights: native HD output (
quality=hd), roughly 5x faster generation than the previous generation, improved text rendering (text wrapped in quotation marks renders more accurately), and stronger prompt adherence - Compatible with V7 assets: Style Reference (
--sref) and Omni Reference (--oref) are supported, see Prompt Parameter Guide - Async processing mode, use the returned task ID to query status
- Generated image links are valid for 30 days, please save them promptly
- Timeout: approximately 20 minutes
- Parameter notes: this route runs on V8.1 and does not support niji; set the speed mode via
model_params.speedand the output quality via the top-levelqualityparameter
Authorizations
All endpoints require Bearer Token authentication
Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYBody
Model name
mj-v8.1 Prompt, supports all Midjourney V8.1 native parameter syntax (e.g. --ar 16:9 --s 500).
Image-to-Image: Place image URLs at the beginning of the prompt. Supported formats: .png, .gif, .webp, .jpg, .jpeg
Image-to-Image Rules:
- 1 image + no text = invalid (will return error)
- 1 image + text description = valid
- 2+ images + no text = valid
- 2+ images + text description = valid
8192"A cinematic shot of a Maine Coon cat on a neon-lit balcony --ar 16:9 --s 500"
Output quality
standard: Standard resolution (default), 1x multiplierhd: Native HD output, 1.5x multiplier. Mutually exclusive withspeed: draft
Pricing note: the quality multiplier is combined (multiplied) with the speed multiplier.
standard, hd Model parameters
HTTPS callback URL for task completion
Callback timing:
- Triggered when task is completed, failed, or cancelled
- Sent after billing confirmation
Security restrictions:
- HTTPS protocol only
- Callbacks to private IP addresses are prohibited (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)
- URL length must not exceed
2048characters
Callback mechanism:
- Timeout:
10seconds - Up to
3retries after failure (retries at1s/2s/4s after failure) - Callback response body format matches the task query endpoint
- A 2xx status code is considered successful; other status codes trigger retries
"https://your-domain.com/webhooks/image-task-completed"
Response
Task created successfully
Task creation timestamp
1757165031
Task ID
"task-unified-1757165031-mjv81"
Actual model name used
"mj-v8.1"
Task object type
image.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Async task info
Task output type
text, image, audio, video "image"
Usage and billing info