{"uid":"cap_NjA82R5E-19LmjiQPdyCP","slug":"nihongo-refine-api-d6faa03a","name":"Nihongo Refine API","description":"Pay-per-call API that rewrites awkward or machine-translated Japanese into natural written Japanese.","url":"https://x402-stall.onrender.com/refine","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Japanese text to refine (max 2000 chars)"},"tone":{"type":"string","description":"business | casual | neutral"}}},"responseSchema":{"type":"json","example":{"notes":["「ミーティングを持つ」→「会議を行う」"],"refined":"彼は会議を行いました。"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y5fBr6jFuLzRJogkjvqp6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rewrites awkward or machine-translated Japanese text into natural written Japanese with tone control","exampleAgentPrompt":"Can you rewrite this Japanese text so it sounds natural and professional — it's from a machine translation and reads a bit stiff: 「彼はミーティングを持つ予定です。」Use a business tone.","exampleUseCases":[{"title":"Polishing machine-translated business email","prompt":"I used a translation tool to write this Japanese business email but I think it sounds unnatural — can you refine it into proper, professional Japanese with a business tone? Here's the text: 「来週、我々はミーティングを持つ計画です。」"},{"title":"Casual social media post cleanup","prompt":"This Japanese caption I wrote for Instagram sounds really awkward and translated — can you make it flow more naturally in a casual tone? The text is: 「今日、私は友達と食べ物を食べに行きました。とても楽しかった！」"},{"title":"Localization review for app UI strings","prompt":"We have some Japanese UI strings that were machine-translated and they read like robot speech — can you rewrite them into natural neutral Japanese? Here's one to start: 「ボタンを押下することでアカウントの削除を実行します。」Use a neutral tone."}],"resultDescription":"A JSON object containing a 'refined' field with the rewritten natural Japanese text, and a 'notes' array listing specific substitutions made (e.g. which unnatural phrases were replaced and with what), allowing the caller to understand what was changed and why.","failureModes":["Input text exceeds 2000 character limit — request rejected","Invalid tone value outside accepted enum (business, casual, neutral)","Non-Japanese or empty text submitted — output may be undefined","Network timeout from the Render.com host during cold start","Payment failure via x402 protocol causes 402 response before processing","Highly idiomatic or dialectal input may produce inconsistent refinements"],"whenToPreferThis":"Choose this endpoint when you need to improve the naturalness of Japanese text that was machine-translated or written by a non-native speaker, especially when you need tone control (business, casual, or neutral). It is ideal for localization pipelines, email drafting, app UI copy review, and social content polish. Prefer it over generic translation APIs when the source is already in Japanese and the goal is fluency improvement rather than cross-language translation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:25.471Z","isFirstParty":false}