---
title: "Modal (Area Redesign & Zoom)"
method: POST
path: "/mj/submit/modal"
---

# Modal (Area Redesign & Zoom)

`POST /mj/submit/modal`

## Request body

- object
  - `maskBase64` string — Base64-encoded mask image for partial inpainting. White areas are repainted; black areas are preserved.
  - `prompt` string — Text prompt describing the desired change for the selected region.
  - `taskId` string, required — Task id from the parent task whose modal action you are continuing.

## Response `200`

Success

- object
  - `code` integer, required — The status of the task
  - `description` string, required
  - `properties` object, required
  - `result` integer, required — The task ID of the returned task

---

[API](https://skmtc.net/deerapi/apis/text-to-audio-api.md) · [All operations](https://skmtc.net/deerapi/apis/text-to-audio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deerapi/text-to-audio-api/versions/b6265ced74a1/schema)
