Skip to main content
POST
Submit Image Translate Task

Authorizations

Authorization
string
header
required

Authenticate using Bearer token. Get your API Key from the WeryAI Console.

Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx

Body

application/json
img_url
string<uri>
required

Source image URL

Example:

"https://example.com/image.jpg"

target_lang
string
required

Target language code (e.g., en, zh, ja, ko, fr, de, es)

Example:

"en"

type
string
default:image

Output type: text returns translated text only, image returns translated image

Example:

"image"

webhook_url
string<uri>

Callback URL where results will be sent when task completes

Example:

"https://your-server.com/webhook"

caller_id
integer<int64>

Caller ID (for business association)

Response

Task submitted successfully

status
integer

Business status code (0 indicates success)

Example:

0

desc
string

Status description

Example:

"success"

message
string

Multi-language message

Example:

"success"

data
object