> ## 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 工作流

> 常用 Midjourney 任务组合

1. 调用 `imagine` 创建任务.
2. 使用 [查询接口](./query) 等待 `SUCCESS`.
3. 将返回的任务 ID 用于 `upscale`, `variation`, `zoom`, `pan` 或 `video`.
4. `inpaint` 返回 `MODAL` 后上传公开遮罩 URL, 再调用 `modal`.
5. 使用返回的 `buttons` 选择 U/V 操作时, 将对应父任务 ID 和 `custom_id` 传入动作接口.


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