zf-kbot/md-me-magic-eraser-1

Public
1.6K runs

Run zf-kbot/md-me-magic-eraser-1 with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
apikey
string
访问密钥
image
string
Base image to edit.
mask
string
Mask image (white = area to edit).
auto_remove_type
None
general
Content type being removed.
auto_quality_mode
None
balanced
Quality preset for object removal.
seed
integer
-1
Random seed (-1 for random).
output_ext
None
jpg
Output image format.
prompt
string
Advanced prompt override. Leave blank to use the auto-generated removal prompt.
log_level
None
debug
Log level: 'info' for key info, 'debug' for detailed logs

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}