General 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 | จริง |
การยืนยันตัวตน
tip
กรุณาไปที่ คอนโซล-ศูนย์บัญชี เพื่อรับ apiToken ของคุณ
เพิ่ม apiToken ของคุณลงในพารามิเตอร์คำขอ และโปรดดูตัวอย่างด้านล่าง
ตัวอย่างคำขอ
- cURL
- Python
- JavaScript
- Java
- Go
- PHP
ตัวอย่างการตอบกลับ
- 200
- 417
- 422
- 439
- 499
- 500
- 503
Loading...