latestOpenAPI 3.0.22026-08-15117255447.5 KB
4918f84cbfd7
lookbook
Create a fashion lookbook
Creates polished fashion product imagery from one or more product references and an aesthetic reference. Each generated shoot is returned as four individual lookbook images.
The request is processed asynchronously. Poll GET /v1/generations/{generation_id} with the returned generation_id until the generation is completed or failed.
post/v2/lookbook
Request body
Example request
{
"aspect_ratio": "aspect_ratio",
"private": true,
"style_reference_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"category": "dresses",
"num_shoots": 1,
"product_asset_identifiers": [
{
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
{
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
{
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
{
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
{
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
}
]
}Response
Lookbook accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}