ReferenceAsk
Remy Reference/agent/decomposeImage
?

decomposeImage

Split an image into a base image and transparent layers.
mindstudio.decomposeImage({ image }) → Result

Split an image into a base image and transparent layers.

Parameters
image
string
RequiredImage to split into a base image and transparent layers
prompt
string
Optional guidance for which objects or groupings to separate
type
string
Decomposition quality tier: "standard" (default) or "advanced"
standardadvanced
resolution
string
Output resolution: "1k", "1.5k" or "2k" (default)
1k1.5k2k
intermediateAsset
boolean
When true, assets are created but hidden from the user's gallery
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.decomposeImage({
  image: /* ... */
});