Pricing
Compare models →Just $0.08 per image.
Billing Rules
- Each erase request costs $0.08
- Pricing is fixed per image
Input schema
| Parameter | Type | Description |
|---|---|---|
imageRequired | string | The input image to erase content from. |
mask_imageRequired | string | Black/white mask image. White pixels mark the region to erase, black pixels mark the region to keep. The mask must match the input image dimensions.JSON schema{
"x-ui-component-props": {
"accept": "image/*",
"image": "image"
}
} |
output_format | string | The format of the generated image.jpegpng"jpeg" |
README
OpenSIAI FLUX V1 Pro Erase
OpenSIAI FLUX V1 Pro Erase removes selected elements from an image using a mask, then fills the masked region with regenerated content that blends naturally with the surrounding scene. It is suitable for object removal, cleanup, retouching, and image refinement workflows.
Why Choose This?
- Mask-based object removal
Remove unwanted objects, distractions, or visual clutter from an image with a dedicated mask input.
- Clean scene-aware fill
Regenerate the selected region so it blends with the surrounding image content.
- Simple erase workflow
Upload an image, provide a mask, and generate a cleaned result.
- Multiple output formats
Export the result in supported formats such as jpeg.
- Production-ready API
Suitable for photo cleanup, product image refinement, background editing, and visual post-processing workflows.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Input image to edit. |
| mask_image | Yes | Mask image indicating the region to erase and regenerate. |
| output_format | No | Output image format, such as jpeg. |
How to Use
- Upload your image — provide the source image you want to clean up.
- Upload the mask — mark the object or region you want to erase.
- Choose output format (optional) — select the format that best fits your workflow.
- Submit — run the model and download the cleaned image.
Example Use Case
Remove small desk objects from a workspace photo so the final scene looks cleaner and more minimal.
Pricing
Just $0.08 per image.
Billing Rules
- Each erase request costs $0.08
- Pricing is fixed per image
Best Use Cases
- Object removal — Remove unwanted items, clutter, or distractions from photos.
- Photo cleanup — Refine scenes for cleaner presentations and commercial use.
- Product image retouching — Remove background props or accidental objects from listings and ads.
- Creative editing — Clear space in an image before adding other edits or design elements.
- Workflow preparation — Clean up images before downstream compositing or publishing.
Pro Tips
- Use a precise mask for better removal quality.
- Avoid masking too much of the image at once unless the surrounding context is strong.
- Use the cleanest source image possible for more natural regeneration.
- Export as
jpegfor convenience, or choose another format when your workflow needs it.
Notes
- Both
imageandmask_imageare required.
- Pricing is fixed at $0.08 per image.
- Better masks generally produce cleaner erase results.
Related Models
- OpenSIAI image editing workflows — Useful when you need broader prompt-based transformations instead of object removal only.
- OpenSIAI inpainting workflows — Useful when you want more general masked-region regeneration tasks.
- OpenSIAI text-to-image workflows — Useful when you need fresh image generation rather than editing an existing image.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Flux V1 Pro Erase | AI Background & Object Remover API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/flux-v1-pro/erase for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/vi0t8qihzk4j.jpg",
"mask_image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"output_format": "jpeg"
}Flux V1 Pro Erase | AI Background & Object Remover API — Frequently asked questions
What is the Flux v1 Pro Erase API?
Flux v1 Pro Erase is a OpenSIAI model for image object removal, exposed as a REST API on OpenSIAI. FLUX.1 Pro Erase is a fast AI object removal and image inpainting model that removes objects from images using a black-and-white mask, then fills the selected area with natural, context-aware detail. Ready-to-use REST inference API for object removal, photo cleanup, product image editing, background repair, creative retouching, marketing assets, and professional image editing workflows with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Flux v1 Pro Erase API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/flux-v1-pro/erase.
How much does Flux v1 Pro Erase cost per run or per second?
Flux v1 Pro Erase starts at $0.08 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Flux v1 Pro Erase accept?
Key inputs: image, mask_image, output_format. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/flux-v1-pro/erase.
How long does Flux v1 Pro Erase take to generate?
Reported generation time on OpenSIAI is around 25 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Flux v1 Pro Erase outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
