Mandarin to English Translation
Translate Mandarin Chinese (Simplified or Traditional) into clear, natural American English: plain text by paragraph, or SRT/WebVTT subtitles returned in the same format with timings kept. Names, numbers, dates and units are kept exactly; names are romanized in pinyin. Up to 4000 source characters per call, at a chosen naturalization level (grammatical, natural, localized). Every line comes back beside its source, checked for glossary terms, untranslated characters and subtitle fit.
- Price
- $0.01 USDC per request
- Network
- Base mainnet,
eip155:8453, settled in USDC through the Coinbase CDP facilitator - Method and URL
POST https://market.561.group/v1/translate/zh-en- Response type
application/json- Seller
- Causeway Services (561 Group)
Input contract
Input that fails this contract is refused with a 4xx status before any payment is requested.
{
"maxBytes": 102400,
"bodySchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Mandarin Chinese text; paragraphs are separated by blank lines. Send this or subtitles, not both. At most 4000 source characters, spaces excluded."
},
"subtitles": {
"type": "string",
"description": "A Mandarin subtitle file, SRT or WebVTT. It comes back in the same format with cue numbers and timings unchanged and only the text translated. At most 4000 source characters."
},
"level": {
"enum": [
"grammatical",
"natural",
"localized"
],
"description": "The naturalization level: grammatical keeps the Chinese structure and renders idioms word for word, natural is idiomatic English (the default), localized also adapts forms of address, idioms and cultural references for an American reader.",
"type": "string"
},
"levels": {
"type": "array",
"items": {
"enum": [
"grammatical",
"natural",
"localized"
],
"type": "string"
},
"maxItems": 3,
"description": "Several levels at once, side by side in each segment's targets and in translations; the first is the primary translation. Each level is one more model pass."
},
"glossary": {
"type": "array",
"items": {
"type": "object"
},
"description": "Your own terms, up to 200 objects { source: Chinese, target: English }; they override the module's glossary and the series memory, and each one in the source is checked in the English."
},
"memory": {
"type": "object",
"description": "Series memory, { entries: [{ source, target }, ...] } up to 1000 entries: send back the memory the previous episode's response returned, so names and terms are rendered the same way in every episode. Each response returns the memory with any newly romanized names added."
}
}
}
}
Example request
{
"method": "POST",
"url": "https://market.561.group/v1/translate/zh-en",
"headers": {
"accept": "application/json",
"content-type": "application/json"
},
"body": {
"text": "尊敬的客户:\n\n贵公司的医疗器械注册将于12月31日到期,请尽快提供年度更新所需的资料,以免影响产品在美国的正常销售。"
}
}
Output
{
"schema": {
"type": "object",
"required": [
"kind",
"module",
"format",
"models",
"translation",
"segments"
],
"properties": {
"kind": {
"const": "mandarin-english-translation/v1"
},
"module": {
"type": "string"
},
"format": {
"enum": [
"text",
"srt",
"vtt"
]
},
"models": {
"type": "array",
"items": {
"type": "string"
}
},
"translation": {
"type": "string",
"description": "The English, in the request's own form: text, or a subtitle file in the source's format."
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"source": {
"type": "string"
},
"target": {
"type": "string"
}
}
},
"description": "Each paragraph or cue's source beside its English at each level, with the evidence for and against that English: glossary, untranslated, fit and module-rule checks as SignChain { for, against } witness sets and their FOUR reading."
},
"reading": {
"type": "object",
"description": "Per level, the FOUR reading of the whole response, the knowledge join of its lines: held (every check passed), denied, contested (told both ways) or unknown."
},
"census": {
"type": "object",
"description": "Per level, how many lines read at each point and how many witnesses each check told against."
},
"memory": {
"type": "object",
"description": "The series memory to send with the next episode."
}
}
},
"example": {
"kind": "mandarin-english-translation/v1",
"module": "general",
"format": "text",
"level": "natural",
"levels": [
"natural"
],
"models": [
"@cf/zai-org/glm-4.7-flash"
],
"translation": "Dear Customer:\n\nYour company's medical device registration expires on December 31. Please provide the materials required for the annual update as soon as possible to avoid affecting the normal sales of your products in the United States.",
"translations": {
"natural": "Dear Customer:\n\nYour company's medical device registration expires on December 31. Please provide the materials required for the annual update as soon as possible to avoid affecting the normal sales of your products in the United States."
},
"reading": {
"natural": "held"
},
"census": {
"natural": {
"readings": {
"unknown": 0,
"held": 2,
"denied": 0,
"contested": 0
},
"against": {}
}
},
"memory": {
"entries": [
{
"source": "李明",
"target": "Li Ming"
… (truncated; the full contract is in /v1/catalog)
How to buy with x402
- Send the request without payment. The server answers
402 Payment Requiredwith a base64 JSONPAYMENT-REQUIREDheader holding the amount, asset, network and payee. - Have your wallet sign an EIP-3009
transferWithAuthorizationfor exactly those terms (an x402 client library does this for you). - Repeat the identical request with the signed payload in the
PAYMENT-SIGNATUREheader. - The server verifies, runs the operation, settles, and returns
200with the result and aPAYMENT-RESPONSEheader carrying the settlement receipt.
Read the price without paying
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"text":"尊敬的客户:\n\n贵公司的医疗器械注册将于12月31日到期,请尽快提供年度更新所需的资料,以免影响产品在美国的正常销售。"}' --url 'https://market.561.group/v1/translate/zh-en'
This request authorizes nothing; it returns the live payment terms. Read the full explanation of x402.
Machine-readable
- /.well-known/x402: x402 discovery document for every offer
- /v1/catalog: full catalog with contracts and examples
- /llms.txt: the market in llms.txt form
- services.561.group: Causeway Services