Перейти к основному содержанию
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.