Chuyển tới nội dung chính

General Text/HTML Translation

Tổng quan API

  • Văn bản được AI dịch

URL API

Tham số yêu cầu

Body

TrườngLoạiGiải thíchBắt buộc
formatstringGiá trị tùy chọn: text,html
Giá trị mặc định: text
sai
fromLangstringSource language, two-letter language code(ISO 639-1 standard), default value: auto
sai
toLangstringTarget language, two-letter language code(ISO 639-1 standard)
đúng
sourceTextstringSource text, and the character count needs to be less than 5000
đúng

Xác thực bảo mật

mẹo

Vui lòng vào Console-API Keys để tạo apikey của bạn.

Hãy thêm apikey vào header của yêu cầu. Vui lòng tham khảo ví dụ bên dưới.

Ví dụ yêu cầu

Ví dụ phản hồi

Loading...