Перейти до основного вмісту
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.