edit-workflow
Transfer a shoe upper onto a preserved sole
Uses the sole-donor shoe as the output canvas, preserving its sole, camera, background, and lighting while transferring the upper from ordered references.
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/tool/sole-swap
Request body
Example request
{
"aspect_ratio": "aspect_ratio",
"private": true,
"seed": 12345,
"webhook_url": "https://api.example.com/webhooks/ideogram",
"base_generation_size": "2k",
"base_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"instruction": "instruction",
"num_images": 0,
"upper_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
Sole swap accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}