Rebuild an advertisement in another language
Rebuilds the source advertisement for one target language. Layout, logos, brand type, and the product are preserved; the visible marketing copy is what changes.
Without exact_copy the copy is translated. Supply exact_copy to place wording that has already been approved, character for character, instead of translating it.
The output keeps the source advertisement's own shape and is generated at a frame derived from it, so neither the shape nor the size is asked for.
One request localizes into one language. Localize into several languages by submitting one request per language.
The request is processed asynchronously. Poll GET /v1/generations/{generation_id} with the returned generation_id until the generation is completed or failed.
Supply the source advertisement as either an AssetIdentifier reference (image_asset_identifier) or the raw image bytes directly (image, multipart requests only). Provide exactly one of the two forms; supplying both, or neither, is rejected with a 400.
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
{
"image_asset_identifier": {
"asset_type": "RESPONSE",
"asset_id": "7uS_VESkRI6O3-sVgHQp_A"
},
"seed": 12345,
"webhook_url": "https://api.example.com/webhooks/ideogram"
}Response
Ad localization accepted for asynchronous processing.
Example response
{
"generation_id": "generation_id"
}Changes
Changed in 5 of the 34 revisions of this API.614
- ○
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
queryrequest parameterdry_runnew-optional-request-parameter
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
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
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
- ▲
- ○
endpoint added
endpoint-added
- ○