Create ghost-mannequin garment photography
Transforms one or more photographs of the same garment into a polished ghost-mannequin product image on a clean white studio background. The garment keeps its identity and construction while the source person, mannequin, hanger, environment, and other clothing are removed.
The request is processed asynchronously. Poll GET /v1/generations/{generation_id} with the returned generation_id until the generation is completed or failed.
Supply one or more garment references. Use the directional fields when the camera direction is known; each direction accepts either an existing AssetIdentifier or one raw image, but not both. Additional unlabeled references can be supplied through exactly one transport: garment_asset_identifiers, or multipart garment_images.
Query parameters
When true, the request is validated and priced but not run: nothing is generated, stored, or billed, and no safety review is performed. The response is a PriceQuote object instead of the usual response for this endpoint. Send exactly the request you would send to generate, so the quote reflects the same options.
Request body
Example request
{
"garment_asset_identifiers": [
{
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
}
],
"front_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"back_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"left_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"right_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"top_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"bottom_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"webhook_url": "https://api.example.com/webhooks/ideogram"
}Response
Ghost-mannequin generation accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}Changes
Changed in 5 of the 33 revisions of this API.1220
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
(media type: multipart/form-data)new-optional-request-property
- ○
added the new optional request property
(media type: application/json)new-optional-request-property
- ○
- ▲
removed the enum value
BACKof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
BACKof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
FRONTof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
FRONTof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
HIGHof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
HIGHof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
LOWof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
LOWof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
MEDIUMof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
MEDIUMof the request property(media type: application/json)request-property-enum-value-removed
- ▲
removed the enum value
THREE_QUARTERof the request property(media type: multipart/form-data)request-property-enum-value-removed
- ▲
removed the enum value
THREE_QUARTERof the request property(media type: application/json)request-property-enum-value-removed
- ○
added the new
backenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
backenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
frontenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
frontenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
highenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
highenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
lowenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
lowenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
mediumenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
mediumenum value to the request property(media type: application/json)request-property-enum-value-added
- ○
added the new
three_quarterenum value to the request property(media type: multipart/form-data)request-property-enum-value-added
- ○
added the new
three_quarterenum value to the request property(media type: application/json)request-property-enum-value-added
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional
queryrequest parameterdry_runnew-optional-request-parameter
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○