Saltar para o conteúdo 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."
}

Autorizações

Authorization
string
header
obrigatório

Cabeçalhos

accept
enum<string>

Specifies the format of the response from the server.

Opções disponíveis:
application/json

Corpo

application/json
content
string
padrão:generate
obrigatório

The prompt to be translated to English.

Exemplo:

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

Resposta

OK, the prompt has been translated to English.

content
string

The translated prompt in English.