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
Erase Object by Text
AI-generatedSummary
Erase an object from an image using a text prompt, poll for AI processing, and return the resulting image.
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 erase.
- maxRetries — Maximum number of times to poll the status URL (default: 30).
- waitTime — Time to wait between polling attempts in milliseconds (default: 3000).
Output shape
main
Each workflow item returns a JSON object with the full API response and binary image data (PNG) downloaded from the pre-signed result URL. If the operation were structured_instruction, the json field would contain structured data instead.
Examples
Example 1: Erase a person from a product photo
Provide the product image URL via imageUrl, set the object description via instruction (e.g., 'person'), and let the node poll and download the modified image.