WaveSpeedImage to imageComing soon
wavespeed-ai/image-eraser
wavespeed-ai/image-eraser is an image to image tool from WaveSpeed that runs in the background and returns images. Coming soon: listed with its price, not yet open to runs.
This tool is listed but not yet available to run.
Priced by usagePricing
$0.0325 per run. The final charge comes from usage.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
image required | URL or file | — | The image to generate an image from. |
prompt | text | — | The text prompt for specifying the objects or areas to be removed from the image. For example, 'dog' or 'hat'. |
mask_image | URL or file | — | The mask image to indicate the area to be erased. The area to be erased should be in white color and the area to be kept should be in black color. |
output_format | one of jpeg, png, webp | jpeg | The format of the output image. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "wavespeed",
"model": "wavespeed-ai/image-eraser",
"input": {
"image": "<image>"
}
}'