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
Image Edit by Text (FIBO)
AI-generatedSummary
Edit an image using a text prompt, poll Bria AI for completion, and auto-download the resulting image.
Inputs
- imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
- instruction (required) — The text prompt, instruction, color, season, or style to apply.
- maxRetries — Maximum number of times to poll the status URL.
- waitTime — Time to wait between polling attempts in milliseconds.
Output shape
Each returned item contains json: finalData (the full Bria AI response) and binary: { data:
If the operation does not complete within maxRetries, an error is thrown. For the 'edit' operation, the downloaded image is stored as binary data with PNG encoding via prepareBinaryData.