Перейти к основному содержанию
POST
/
midjourney
/
shorten
Midjourney Shorten
curl --request POST \
  --url https://api.acedata.cloud/midjourney/shorten \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A cute cat playing piano"
}
'
{
  "prompts": [
    "a serene mountain lake at sunrise, mist rising from the water, golden hour lighting --ar 16:9",
    "mountain lake sunrise with mist, golden light --ar 16:9 --v 6",
    "tranquil alpine lake, dawn mist, warm golden tones, cinematic --ar 16:9",
    "sunrise over a misty mountain lake, rich golden hour photography --ar 16:9 --style raw",
    "misty lake at dawn, mountains in background, golden sunrise --ar 16:9"
  ]
}

Авторизации

Authorization
string
header
обязательно

Заголовки

accept
enum<string>

Midjourney Shorten Param Accept

Доступные опции:
application/json

Тело

application/json
prompt
string
обязательно

Midjourney Shorten Prompt

Ответ

Midjourney Shorten Response 200

prompts
string[]

Midjourney Shorten Response 200 Prompts