Skip to main content
POST
/
qwen-mt-image
/
async
curl --request POST \
  --url https://modellixapi.jpushoa.com/api/v1/image-to-image/alibaba/qwen-mt-image/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "image_url": "https://example.com/chinese-image.jpg",
  "source_lang": "zh",
  "target_lang": "en"
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "qwen-mt-image",
    "duration": 150
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
image_url
string<uri>
required

Public accessible image URL

Example:

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

source_lang
string
required

Source language (full name, code, or 'auto' for auto-detection)

Example:

"zh"

target_lang
string
required

Target language (full name or code)

Example:

"en"

domain_hint
string

Domain hint in English describing usage scenario and translation style

Maximum string length: 200
Example:

"technical documentation"

sensitives
string[]

Sensitive word list for filtering (case-sensitive exact match)

Maximum array length: 50
terminologies
object[]

Terminology intervention list

skip_img_segment
boolean
default:false

Skip main subject detection. false: don't translate text on subject; true: translate text on subject

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required