Skip to main content
POST
Generate Ghost Mannequin Image

Authorizations

Authorization
string
header
required

Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.

Body

application/json
imageUrl
string
required

Publicly fetchable HTTP(S) image URL. Supported source formats are JPEG, PNG, GIF, or WebP. Data URIs are not accepted.

Maximum string length: 4096
productTitle
string

Optional product title used only as image-edit context so the model preserves the correct garment or product type.

Maximum string length: 160
categoryName
string

Optional category label used only as image-edit context.

Maximum string length: 160
categoryId
string

Optional category ID used as fallback image-edit context when a category label is not available.

Maximum string length: 80

Response

Ghost mannequin image generated.

ok
boolean
required
apiVersion
string
default:developer_v1
required
operationId
string
required
status
enum<string>
required
Available options:
completed
warnings
string[]
required
recommendations
string[]
required
image
string
required

Remote HTTP(S) URL for the generated ghost mannequin image stored by OmniCommerce.