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

> Submit an inpainting mask

Call `POST /v1/midjourney/generations/modal`. Provide the `task_id` of a task in the `MODAL` state and a publicly accessible `mask_url`. `prompt` is optional. This action continues the parent task's workflow.


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