> ## 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 Inpaint

> Start an inpainting task

Call `POST /v1/midjourney/generations/inpaint` with the `task_id` of an Upscale task. The task typically enters the `MODAL` state; then submit a publicly accessible mask URL with [Modal](./modal).


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