Passer au contenu principal
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."
}

Autorisations

Authorization
string
header
requis

En-têtes

accept
enum<string>

Specifies the format of the response from the server.

Options disponibles:
application/json

Corps

application/json
content
string
défaut:generate
requis

The prompt to be translated to English.

Exemple:

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

Réponse

OK, the prompt has been translated to English.

content
string

The translated prompt in English.