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
Replace Object by Text
AI-generatedSummary
Replaces a specified object within the input image using a text prompt. Sends the image and prompt to Bria AI, polls for completion, and returns the generated image as a binary PNG along with the full response data.
Inputs
- imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
- instruction (required) — The text prompt describing the object to replace and the replacement.
- maxRetries — Maximum number of times to poll the status URL.
- waitTime — Time to wait between polling attempts in milliseconds.
Output shape
Binary image (PNG) under the key data and JSON metadata under json containing the full Bria AI response.
If generation does not complete within
maxRetriesattempts, the node throws an error.
Examples
Example 1: Replace the foreground object in an image with a 'red robot'.
Set imageUrl to the source image, instruction to 'red robot', leave maxRetries and waitTime at defaults.