Skip to main content

Model comparisons

Image Expander vs Object Eraser

Image Expander or Object Eraser, tier by tier: matched prices, request fields, limits and the content policy measured on each.

Image Expander

Image Expander extends a photo to a new aspect ratio and paints matching scenery into the empty space, so it reads as one image. Choose 1:1, 16:9, 9:16, 4:3, 3:4, 3:2 or 2:3; the output is 1536 pixels on its long edge as PNG, JPEG or WebP.

View model details →View sample outputs →

Object Eraser

Object Eraser by SpicyAPI removes objects from a photo and fills the gap with background that continues the scene. Name them in a few words, paint a mask, or use both; the result keeps the original size and comes back as PNG, JPEG or WebP.

View model details →View sample outputs →

Compare

The short answer

Start with the input you have, the result you want and your budget. These are the differences that affect that choice.

  • These tools produce different results. Choose the operation you need first; a lower price does not make one a substitute for the other.

These tools produce different results. Choose the operation you need first; a lower price does not make one a substitute for the other.

Current price

Price at the same setting

A start price answers a different question than the one you have. These are the tiers both models publish, matched setting for setting, in US dollars per billed unit with no conversion step in between.

These two bill on different tiers, so there is no row to line up. Each one's own published tiers are listed here instead.

Image Expander: $0.024 / output images

Object Eraser: $0.03 / output images

What one ordinary job costs

  • Image Expander: $2.4 for one hundred images.
  • Object Eraser: $3 for one hundred images.

Arithmetic on the published rates at each model's own default setting, not a quote. The console prices your actual settings before a request is accepted.

About this comparison

Controls and limits

Every row here is read from the JSON Schema the endpoint validates against, so it matches what the API will really accept rather than a feature list written by hand.

Swipe horizontally to compare all fields.

Image Expander vs Object Eraser
Controls and limitsImage ExpanderObject Eraser
Supported tasksimage-editimage-edit
Aspect ratios1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3Not offered
ExecutionSubmit, then poll or take the callbackSubmit, then poll or take the callback
Request timeout30 minutes30 minutes
AvailabilityLiveLive

Can I swap the model ID without changing the request body?

Request body, field by field

The task lifecycle is shared; the body is not. Each endpoint publishes its own JSON Schema and the API validates against that, so this is the list to reconcile before a switch.

  • 2 fields appear in both request bodies under the same names. image_url, output_format
  • Only Image Expander accepts: aspect_ratio.
  • Only Object Eraser accepts: mask_url, prompt.
  • Image Expander requires image_url.
  • Object Eraser requires image_url.
  • Both reject unknown fields outright, so a parameter left over from the other model comes back as a validation error instead of being quietly ignored.

Compare

Moving from one to the other

The model identifiers are spicyapi/image-expander-v1/edit and spicyapi/object-eraser-v1/edit, and both go in the same field of the same request.

Both run the same way: submit the task, then poll it or take the callback. Queueing and retry logic carry over unchanged.

Both use the same submit-and-track flow, but their required inputs may differ. Check each model page before switching.

One key, one balance, one set of spend caps. Both bill to the same account in US dollars, and the per-key daily, monthly and lifetime limits apply to whichever one you call.

Questions developers ask

Which is cheaper, Image Expander or Object Eraser?

Which is cheaper, Image Expander or Object Eraser?

These tools produce different results. Choose the operation you need first; a lower price does not make one a substitute for the other. Prices may change; check the estimate shown for your actual settings before submitting.

How long can a single request run?

Image Expander allows 30 minutes per task and Object Eraser allows 30. Those are ceilings rather than typical times — most requests finish far sooner — but they are what your own client timeout has to survive.

Prices and capabilities shown here come from the current public model catalogue. Check each model page for its latest inputs and examples.