{"name":"image-generate-localize","description":"Generate an image and localize its accompanying caption for a social creative or product announcement. Composite: one call runs image-generate + translate in parallel. Optional tier, seed, negative_prompt, width, and height support repeat creative passes. Returns an image URL, image settings, caption translation status, and component evidence. Caption text is separate from the image. Image failure returns 424. Translation failure preserves the original caption with language null, status original_fallback, and degraded true. One image and one target language per request.","price":"$0.04","method":"POST","input_schema":{"properties":{"prompt":{"type":"string","description":"Text prompt to generate the image from. Max 2000 chars."},"target_language":{"type":"string","description":"Target language name or ISO code for the localized caption (e.g. 'French', 'fr'). Max 60 chars."},"caption":{"type":"string","description":"Optional accompanying caption to translate instead of the prompt. Returned as separate text, not rendered into the image. Max 2000 chars."},"tier":{"type":"string","enum":["fast","creative","anime","sd35"],"description":"Image style tier. Defaults to fast; the image response reports the tier used."},"seed":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Optional repeat-pass seed. Matching seeds do not guarantee identical images across providers or model updates."},"negative_prompt":{"type":"string","maxLength":1000,"description":"Elements to avoid in the generated image. Passed to image-generate. Max 1000 chars."},"width":{"type":"integer","minimum":256,"maximum":1024,"multipleOf":16,"description":"Image width in pixels, multiple of 16. Defaults to the image generator's default."},"height":{"type":"integer","minimum":256,"maximum":1024,"multipleOf":16,"description":"Image height in pixels, multiple of 16. Defaults to the image generator's default."}},"required":["prompt","target_language"]},"input_example":{"prompt":"A neon-lit night market street food stall, cinematic lighting","target_language":"French"},"output_example":{"image_url":"https://fal.media/files/example/generated.png","image":{"tier":"fast","width":1024,"height":1024,"seed":42},"caption":{"original":"A neon-lit night market street food stall, cinematic lighting","localized":"Un stand de rue de marche nocturne neon, eclairage cinematographique","language":"French","target_language":"French","status":"translated"},"composed_of":["image-generate","translate"],"components":[{"name":"image-generate","ok":true,"ms":4200},{"name":"translate","ok":true,"ms":1000}],"degraded":false},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}