Actions23
- Add Object by Text
- Blend Images
- Blur Background
- Colorize
- Crop out Foreground
- Enhance Image
- Erase (Mask-based)
- Erase Foreground
- Erase Object by Text
- Expand Image (Outpainting)
- Generate Structured Instruction
- Generative Fill
- Image Edit by Text (FIBO)
- Increase Resolution (Upscaling)
- Relight Image
- Remove Background
- Replace Background
- Replace Object by Text
- Reseason Image
- Restore Old Images
- Restyle Image
- Rewrite (Text in Image)
- Sketch to Image
Rewrite (Text in Image)
AI-generatedSummary
Replaces specified text within an image using Bria AI's rewrite_text endpoint, polls for completion, and returns the modified image as binary data along with the final response metadata.
Inputs
- imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
- instruction (required) — The new text to replace existing text in the image with.
- maxRetries — Maximum number of times to poll the status URL.
- waitTime — Time to wait between polling attempts in milliseconds.
Output shape
An item with binary image data and final response metadata.
If the operation completes successfully, the returned item contains the downloaded image as binary data under the 'data' key and the full Bria AI response under 'json'. If the operation fails or exceeds maxRetries, an error is thrown unless continueOnFail is enabled.