跳轉到主要內容
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.