background: "opaque", black-block troubleshooting, and corrected 2.6 parameters.
Three common traps when replacing text: a vague prompt like “change the text to X” can fill the mask with a solid color; omitting background can return RGBA with transparent areas that preview as black blocks or color noise; a fixed landscape size can crop or stretch portrait posters. The guide now adds an original-text → new-text prompt template, padded rectangle masks, opaque usage, and a client-side composite for strict preservation outside the mask. The parameter page now also lists the 2.6 models and corrects the transparent / xhigh / max support range.
📚 Mask Inpainting Guide · Image Edit API
← Back to Live Updates · 📚 Monthly Archive