{"name":"image-generate-localize","description":"Generates an image from a text prompt and returns a localized caption to go with it in one call. Composite: one call runs image-generate + translate in parallel. Built for agents assembling a social post image, a multilingual creative asset, or a localized ad variant where a caller would otherwise fire off a text-to-image API and a translate API as two separate paid calls. Send a prompt and a target_language (optionally a separate caption if the on-image text should differ from the generation prompt); get back the generated image URL plus the caption in both the original text and the localized translation. Image generation is required; translation degrades the response instead of failing the call if its upstream is slow or down. Use it as an image generation API with built-in localization, a social post image generator, or a multilingual creative asset tool.","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 caption text to localize instead of the prompt, when the on-image or post text should differ from the generation prompt. Max 2000 chars."}},"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","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"},"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"}