removeBackgroundFromImage
Remove the background from an image using AI, producing a transparent PNG.
mindstudio.removeBackgroundFromImage({ imageUrl }) → Result
Strips an image's background to transparency and returns a PNG — for product shots, cutouts, and compositing onto other backgrounds.
Parameters
type
string
Background removal quality tier
standardadvanced
imageUrl
string
RequiredURL of the source image to remove the background from
autoCrop
boolean
Whether to automatically trim transparent padding from the result, on by default
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.removeBackgroundFromImage({ imageUrl: /* ... */ });