Skip to main content
POST
Default text-to-image / image-guided endpoint, equivalent to imagine. The explicit /v1/midjourney/generations/imagine endpoint behaves the same way.

Request body

Structured fields (optional)

You can set these in the JSON body or in prompt (e.g. --ar 16:9). Body values override prompt.

Examples

All flags in prompt
Structured body (recommended)
Main versions and Niji versions
Verified online versions: 8.2, 8.1, 7, 6.1, 5.2, 5.1, niji 7, and niji 6. Use body field version for main MJ versions. For Niji, use niji: true + version: "7" / "6"; the billing version is normalized to niji7 / niji6.
Mixed (body wins)
Final prompt: a beautiful sunset --ar 16:9 (size in body overrides --ar 1:1 in prompt.)
Image-guided
Fast mode
speed=relax or omitted speed does not add a billing speed suffix. fast / turbo are applied through the corresponding speed routes and match the corresponding billing keys.

Response

After submission, poll the result via Get task.