Replace or recolor footwear in an advertisement
Edits the footwear in a source advertisement using ordered product references. Poll GET /v1/generations/{generation_id} for status and image results.
Request body
Example request
{
"mode": null,
"aspect_ratio": "aspect_ratio",
"private": true,
"webhook_url": "https://api.example.com/webhooks/ideogram",
"instruction": "instruction",
"source_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"num_images": 0,
"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"
}
],
"quality": null
}Response
Footwear edit accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}Changes
Changed in 2 of the 33 revisions of this API.56
- ▲
removed the enum value
HIGHof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
LOWof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
MEDIUMof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
RECOLORof the request propertyrequest-property-enum-value-removed
- ▲
removed the enum value
REPLACEof the request propertyrequest-property-enum-value-removed
- ○
added the new
highenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
lowenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
mediumenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
recolorenum value to the request propertyrequest-property-enum-value-added
- ○
added the new
replaceenum value to the request propertyrequest-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
- ▲
- ○
endpoint added
endpoint-added
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○