> ## Documentation Index
> Fetch the complete documentation index at: https://docs.toapis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Midjourney Imagine

> Generate a Midjourney image grid from a prompt

Call `POST /v1/midjourney/generations/imagine`. At minimum, provide `model: "midjourney"` and `prompt`. Optional fields include `image_urls`, `speed`, `version`, `size`, `quality`, `style`, `seed`, `stylize`, `chaos`, `weird`, and `negative_prompt`. The response contains a task ID; use the [query endpoint](./query) to retrieve the grid and action buttons.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.