Endpoint
Authentication
Request parameters
You must provide exactly one ofsource_job_id or source_image_url as the image source.
UUID of a completed
campaign_ad_generation or campaign_ad_edit job to use as the source image. Required when source_image_url is not provided.Direct HTTPS URL of the source ad image. Required when
source_job_id is not provided.Description of the target market or cultural vibe (e.g.
"East African, Kigali vibe", "Young urban Brazil, São Paulo street culture"). This is the primary localization signal.Additional instructions for the localization, such as copy changes or specific visual elements to include or avoid.
Target language for on-image text (e.g.
"Kinyarwanda", "Brazilian Portuguese"). Inferred from target_culture when omitted.Currency symbol or code to use for any pricing shown in the ad (e.g.
"RWF", "BRL"). Inferred when omitted.UUID of a stored Brand DNA record. Reinforces brand consistency during localization.
Up to 5 additional style or character reference images. Each item can be an HTTPS URL, a data URL, or a raw base64 string.
Output controls. All subfields are optional.
Your own correlation ID for workflow or agent tracing. Maximum 200 characters.
String map echoed into the job payload and webhook delivery. Maximum 16 keys; each value up to 500 characters.
Example request
Response
Returns202 Accepted immediately.
Request identifier (e.g.
req_pi_...).Always
"job".Initial status:
"queued".Unix timestamp of when the request was created.
UUID of the background localization job.
Polling for the result
completed:
data.ad.image_url— the localized image URL (when you useexpand=ad)data.payload.image_url— same URL available directly on the job payload
Idempotency
Send anIdempotency-Key header to make retries safe. Replaying the same key with the same request body returns the original 202 response. Using the same key with a different body returns 409 idempotency_key_mismatch.