Render a fashion sketch as product photography
Converts one fashion sketch into photorealistic garment or product imagery while preserving its silhouette, construction, colors, and visible design details.
The request runs asynchronously. Poll GET /v1/generations/{generation_id} with the returned generation_id until the generation is completed or failed.
Supply exactly one sketch transport: an existing AssetIdentifier in sketch_asset_identifier, or raw sketch_image bytes in a multipart request. Supplying both or neither is rejected with a 400.
Request body
Example request
{
"sketch_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"webhook_url": "https://api.example.com/webhooks/ideogram"
}Response
Sketch rendering accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}Changes
Changed in 4 of the 34 revisions of this API.613
- ○
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
- ○
- ▲
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
- ○
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
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
- ○
endpoint added
endpoint-added
- ○