Inpaint (🖌️ Vary (Region))
After a successful upscale (U1, U2, U3, U4). You have the option to use the
🖌️ Vary (Region) button to redraw a section of your image; also known as Inpainting.
buttonMessageId returned in your webhook URL
buttonShould always be
🖌️ Vary (Region)
Provide an updated prompt for the Inpaint or reuse your original prompt.
Prove a mask for the section of the image you want to inpaint. You can use our tool to draw and generate your mask. The mask is a base64 encoded string.
ref (optional)You can optionally pass
ref in your command - which can be used useful when using webhooks
You can optionally pass
webhookOverride that will route a response to a webhook of your choosing.
Please note that using a webhook is completely optional. You are welcome to use the GET Message endpoint to retrieve responses.
Your response will return a
messageId. Use the
messageId at the GET Message endpoint to poll for results, or to you can wait for the result to arrive via webhook.
Get your progress and retrieve a Message using GET
After receiving your
messageId you can use the GET /v2/message/<messageId> in order to retrieve your progress and image.
See the GET /v2/message/<messageId> docs for more information.
Completed ResponseThe message you receive by using the GET Message endpoint or received via your webhook, will have the following:
🚧 Note: You should be aware that content will also return messages from (Redacted Name) including: