{"name":"localize-pack","description":"Localizes text in one call: detects the source language, translates, and optionally rewrites the translation in a chosen tone. Give it text and a target language and get back the detected source language (ISO code + confidence), a fluent translation, and, when a tone is supplied, the translated text rewritten in that tone (formal, casual, friendly, persuasive, and 8 more). One paid call replaces the detect, translate, restyle chain: ideal for support reply localization, multilingual publishing, agent-to-human messaging. Composite: one call runs detect-language + translate in parallel, then rewrite-tone over the translation when a tone is provided. Use it as a localization pipeline API or multilingual content adapter.","price":"$0.05","method":"POST","input_schema":{"properties":{"text":{"type":"string","description":"Text to localize. Max 6000 chars."},"target_language":{"type":"string","description":"Target language name or ISO code (e.g. 'Spanish', 'de')."},"tone":{"type":"string","description":"Optional tone for the translated text: formal, casual, friendly, confident, empathetic, concise, playful, persuasive, apologetic, technical, simple, enthusiastic."}},"required":["text","target_language"]},"input_example":{"text":"Hey, just checking in on the order status.","target_language":"Spanish","tone":"formal"},"output_example":{"detected_language":{"language_code":"en","language_name":"English","confidence":0.98},"target_language":"Spanish","translated_text":"Hola, solo quería consultar el estado del pedido.","tone":"formal","toned_text":"Estimado equipo: me dirijo a ustedes para consultar el estado del pedido.","composed_of":["detect-language","translate","rewrite-tone"],"components":[{"name":"detect-language","ok":true,"ms":900},{"name":"translate","ok":true,"ms":1600},{"name":"rewrite-tone","ok":true,"ms":1800}],"degraded":false},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}