跳转到主要内容
POST
/
midjourney
/
translate
Midjourney Translate
curl --request POST \
  --url https://api.acedata.cloud/midjourney/translate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "精致,无暇,洁白的天使"
}
'
{
  "content": "Exquisite, flawless, pure white angel."
}

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Specifies the format of the response from the server.

可用选项:
application/json

请求体

application/json
content
string
默认值:generate
必填

The prompt to be translated to English.

示例:

"精致,无暇,洁白的天使"

响应

OK, the prompt has been translated to English.

content
string

The translated prompt in English.