E-commerce Text/HTML Translation
API 概要
- AI 翻譯後的文本,針對電商領域特別優化
API URL
請求參數
Body
| 欄位 | 類型 | 說明 | 必填 |
|---|---|---|---|
| format | string | 可選值:text,html預設值:text | 否 |
| fromLang | string | Source language, two-letter language code(ISO 639-1 standard), default value: auto | 否 |
| toLang | string | Target language, two-letter language code(ISO 639-1 standard) | 是 |
| sourceText | string | Source text, and the character count needs to be less than 5000 | 是 |
| scene | string | Translation scene, optional values:title(product title)description(product detailed description)chat(for the communication scenario with e-commerce buyers and sellers)other(other common scenarios) | 是 |
安全驗證
提示
請前往 控制台-個人中心 取得您的 apiToken。
請將您的 apiToken 加入請求參數中,並參考下方的請求範例。
請求範例
- cURL
- Python
- JavaScript
- Java
- Go
- PHP
回應範例
- 200
- 417
- 422
- 439
- 499
- 500
- 503
Loading...