[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"api-page:tts-text-purifier":3},{"status":4,"api":5,"seo":129},"success",{"blocked":6,"description":7,"about":8,"stats":9,"name":11,"title":12,"slug":13,"logo":14,"created_at":15,"agent":16,"user":28,"endpoint_groups":31,"faqs":78,"features":100,"periodic_plans":101,"payasyougo_plans":128},false,"Instantly sanitize and format messy text for Text-to-Speech (TTS) engines. Eliminate Edge-TTS crashes.","## The Problem\nIf you build automated video workflows, AI podcasts, or audiobooks using TTS engines like Edge-TTS, you know the pain:\n- **Crashes & Silence**: Emojis, brackets `【laugh】`, or stray symbols `*` cause the TTS engine to crash or output silence.\n- **Awkward Pauses**: Erratic line breaks and missing punctuation lead to unnatural speech rhythm.\n\n## The Solution: TTS Text Purifier\nThis API is a ruthless text sanitization engine designed specifically for TTS stability. It doesn't just clean; it structurally rebuilds your text.\n\n### Key Features:\n1. **Aggressive Symbol Stripping**: Automatically removes problematic emotional tags (e.g., `【*】`, `(*)`), stray asterisks, and tildes.\n2. **Whitespace Flattening**: Compresses erratic spacing, tabs, and chaotic line breaks into a single, manageable string.\n3. **Smart Sentence Segmentation**: Intelligently identifies sentence boundaries (periods, question marks, exclamation points) and enforces a strict **\"one sentence per line\"** standard.",{"score":10},"2.36","TTS Text Purifier","TTS Text Purifier API","tts-text-purifier","https://cdn.jojapi.com/api/638654a0-1940-4003-b96f-28e7ed97ff5d","2026-09-07 08:33:44",{"enabled":17,"closed":18,"request_enabled":6,"catalog_url":19,"discovery_url":20,"directory_url":21,"rails":22,"networks":25,"docs":27},true,null,"https://teigl.jojapi.net/_jojapi/agent/plans","https://teigl.jojapi.net/.well-known/x402","https://agents.jojapi.net/apis/tts-text-purifier",[23,24],"x402","mpp",[26],"eip155:8453","https://docs.jojapi.com/consumers/agents",{"nick":29,"name":30,"verified":6,"website":18},"byb-bai","BYB Bai",[32],{"endpoints":33,"name":77,"description":40,"ungrouped":17},[34],{"blocked":6,"hidden":6,"agent_price":18,"credits":18,"flexible_credits_description":18,"consumptions":35,"description":42,"method":43,"name":44,"url_path":45,"root_url":46,"parameters":47,"responses":63,"result_stats":72},[36],{"name":37,"slug":38,"cost":39,"label":40,"avg":41},"Requests","requests","1","",0.67,"Sanitize messy text and format to one sentence per line.","POST","Format Text","/tool/tts_formatter","https://teigl.jojapi.net",{"url":48,"header":49,"post":56,"body":57,"path":62},[],[50],{"key":51,"is_auth":17,"example":52,"example_disabled":17,"example_type":53,"name":54,"description":52,"required":17,"always_error":55},"X-JoJAPI-Key","You must log in to get API key","string","JoJ API Key","Please log in to get API key",[],[58],{"key":18,"example":59,"schema":60,"example_disabled":6,"example_type":53,"value_type":53,"enum_values":18,"default_value":40,"required":6,"name":18,"description":61},"{\"raw_text\":\"Here is the text! **Important** [laughs] \\ud83d\\ude0a\"}","{\"type\":\"object\",\"required\":[\"raw_text\"],\"properties\":{\"raw_text\":{\"type\":\"string\",\"description\":\"Raw text to clean and format for text-to-speech processing.\"}}}","''",[],[64],{"status":65,"status_code":66,"description":40,"schema":18,"examples":67,"example":71},"200",200,[68],{"name":69,"summary":70,"description":40,"example":71},"New-Example","New Example","{\"status\":\"success\",\"data\":\"\\u8fd9\\u662f\\u6e05\\u6d17\\u540e\\u7684\\u7eaf\\u51c0\\u6587\\u672c\"}",{"x2":73,"x3":74,"x4":74,"x5":75,"uptime":73,"avg_latency":76,"avg_credits":74},"66.66","0.00","33.34","709","Ungrouped Endpoints",[79,82,85,88,91,94,97],{"question":80,"answer":81},"What does TTS Text Purifier do?","It cleans and formats language-model text before it is sent to a text-to-speech engine. The API removes unwanted content and improves sentence readability.",{"question":83,"answer":84},"Does this API generate audio?","No. It only purifies and formats text. You can send the returned data field to your preferred text-to-speech engine.",{"question":86,"answer":87},"What input format is required?","Send a POST request with Content-Type application/json and include a required raw_text string in the request body.",{"question":89,"answer":90},"What content does the API remove?","It removes URLs, HTML tags, bracketed notes, markdown symbols, emojis, unsupported decorative characters, and excess whitespace.",{"question":92,"answer":93},"How does the API format the result?","It inserts line breaks after sentence punctuation so that each sentence appears on a separate line.",{"question":95,"answer":96},"What does the response contain?","The response contains the processing status, original character count, cleaned character count, and purified text in the data field.",{"question":98,"answer":99},"Which languages are supported?","The purifier is suitable for English, Chinese, and other text that uses standard letters, numbers, spaces, and common punctuation.",[],[102,118],{"type":103,"slug":104,"blocked":6,"period":105,"currency":106,"pricing":107,"rate_limit":111,"objects":112,"name":116,"display_name":116,"features":117},"periodic","xuooyjkf0ey3nn4p2g1jvegh","1 MONTH","usd",{"price":108,"credits":108,"past_due_timeout_num":109,"past_due_timeout_type":110},0,3,"DAY",{"max_requests":18,"time_window":18},[113],{"id":114,"name":37,"slug":38,"quota":115,"tiers":18},"n2be2c226",100,"BASIC",[],{"type":103,"slug":119,"blocked":6,"period":105,"currency":106,"pricing":120,"rate_limit":122,"objects":123,"name":126,"display_name":126,"features":127},"s2mfcxo6aq0vc16btzhlmvm9",{"price":121,"credits":108,"past_due_timeout_num":109,"past_due_timeout_type":110},9.9,{"max_requests":18,"time_window":18},[124],{"id":114,"name":37,"slug":38,"quota":125,"tiers":18},5000,"PRO",[],[],{"canonical":130,"page_title":131,"meta":132},"https://jojapi.com/hub/api/tts-text-purifier","TTS Text Purifier API Documentation & Playground - JoJ API",{"description":7,"keywords":133},"API,API Documentation,API Playground,Plans & Pricing,TTS Text Purifier,byb-bai"]