image-generate-localize generates one image and translates its accompanying caption in a single $0.04 request. You can now pass tier, seed, negative_prompt, width, and height through to the image generator.
Use it for a product announcement or a localized social creative. The caption comes back as separate text for your publishing system.
{
"prompt": "A blue bicycle outside a small cafe, editorial illustration",
"caption": "A lighter ride for your morning commute.",
"target_language": "French",
"tier": "creative",
"seed": 42,
"negative_prompt": "text, watermarks",
"width": 768,
"height": 1024
}
The response includes image_url and an image object with the returned tier, dimensions, and seed. Reusing a seed can help controlled repeat passes; provider fallbacks and model updates can still change the result.
Check translation status before publishing
A translated caption has caption.status: "translated" and its target language in caption.language.
If translation fails, is empty, or reports a degraded result, the image can still be returned. In that case, caption.localized holds the original caption for compatibility, caption.language is null, and caption.status is "original_fallback". The response also sets degraded: true. Your agent should hold that caption for review or translate it separately.
Image generation is required. Missing image output returns HTTP 424 with component evidence. The two components run in parallel with response budgets of 20 seconds for generation and 10 seconds for translation. The composite adds no retry loop; the constituent services retain their existing bounded fallback behavior.
Each request creates one image for one language. Width and height must be multiples of 16 from 256 through 1024. The endpoint doesn't publish to social accounts or render the caption onto the image.