Image
FLUX.1 Pro Erase
Credit-based pricing. Supports reference images, batch up to 4.

Output
image
Max batch
4
Inputs
- Reference image (required)
- Batch up to 4 per request
LLM-ready
API & LLM schema
Exact request contract for this model. Agents can fetch it from /api/v1/models?id=fal-ai/flux-pro/v1/erase.
POST
/api/v1/generate12 fields · 3 required| Field | Type | Requirement | Contract |
|---|---|---|---|
model_id | constant | Required | ArtEmotion model identifier. |
extra | object | Optional | Model-specific settings may also be nested here. |
max_credits | number | Optional | Reject before submission if the estimated list price exceeds this cap. · Range: 1–… |
webhook_url | string | Optional | Format: uri |
webhook_secret | string | Optional | Optional model input. |
folder_id | string | Optional | Optional model input. |
prompt | string | Optional | Optional model input. |
dilate_pixels | number | Optional | Number of pixels to expand the mask edges by. Higher values produce cleaner erase results around the masked region. · Default: 10 · Range: 0–100 |
output_format | string | Optional | The format of the generated image. · Allowed: jpeg, png · Default: jpeg |
mask_url | string | Required | The URL of a black/white mask image where white (255) marks pixels to erase and black (0) marks pixels to keep. Needs to match the dimensions of the i |
num_images | integer | Optional | Range: 1–4 |
reference_image_url | string | Required | Format: uri |
Minimal request example
{
"model_id": "fal-ai/flux-pro/v1/erase",
"mask_url": "your_mask_url",
"reference_image_url": "https://example.com/reference_image"
}Raw JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.artemotion.ai/api/v1/models?id=fal-ai%2Fflux-pro%2Fv1%2Ferase",
"title": "FLUX.1 Pro Erase generation request",
"description": "Request body accepted by POST /api/v1/generate for fal-ai/flux-pro/v1/erase.",
"type": "object",
"properties": {
"model_id": {
"type": "string",
"const": "fal-ai/flux-pro/v1/erase",
"description": "ArtEmotion model identifier."
},
"extra": {
"type": "object",
"additionalProperties": true,
"description": "Model-specific settings may also be nested here."
},
"max_credits": {
"type": "number",
"minimum": 1,
"description": "Reject before submission if the estimated list price exceeds this cap."
},
"webhook_url": {
"type": "string",
"format": "uri",
"maxLength": 2048
},
"webhook_secret": {
"type": "string",
"maxLength": 512
},
"folder_id": {
"type": "string"
},
"prompt": {
"type": "string"
},
"dilate_pixels": {
"title": "Dilate Pixels",
"description": "Number of pixels to expand the mask edges by. Higher values produce cleaner erase results around the masked region.",
"default": 10,
"type": "number",
"minimum": 0,
"maximum": 100,
"multipleOf": 1
},
"output_format": {
"title": "Output Format",
"description": "The format of the generated image.",
"default": "jpeg",
"type": "string",
"enum": [
"jpeg",
"png"
]
},
"mask_url": {
"title": "Mask Url",
"description": "The URL of a black/white mask image where white (255) marks pixels to erase and black (0) marks pixels to keep. Needs to match the dimensions of the i",
"type": "string"
},
"num_images": {
"type": "integer",
"minimum": 1,
"maximum": 4
},
"reference_image_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"model_id",
"mask_url",
"reference_image_url"
],
"additionalProperties": false
}FAQ
How much does FLUX.1 Pro Erase cost on ArtEmotion?
Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.
Do I get my credits back if FLUX.1 Pro Erase fails?
Yes — failed generations are never charged. The credits are released back to your balance automatically.
Can I call FLUX.1 Pro Erase from the API?
Yes. Use POST /api/v1/generate with model_id: "fal-ai/flux-pro/v1/erase". See the API reference for the full schema.
Where are my generations stored?
Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.
Ready to generate with FLUX.1 Pro Erase?
Start now →No commitment. New accounts get 50 free credits on signup. See pricing.