Use the Midjourney Inpaint API to edit or regenerate selected regions of an image while preserving the rest of the composition.
Documentation Index
Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
Use this file to discover all available pages before exploring further.
You can obtain your API key from the TTAPI Dashboard.
Job ID returned from the previous request
Base64-encoded mask for the selected image. The submitted Base64 content must be a black-and-white mask with the same dimensions as the original image. White areas indicate the region to repaint, and black areas indicate the area to preserve. Do not include the data:image/png;base64, prefix.
Description of modifications desired for the selected image area
Task timeout, unit: seconds, range 300 - 1200
"300"
Callback notification URL