Skip to main content
POST
Midjourney Imagine

Авторизации

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

Заголовки

accept
enum<string>

Midjourney Imagine Param Accept

Доступные опции:
application/json,
application/x-ndjson

Тело

application/json
mask
string

Midjourney Imagine Mask

mode
enum<string>
по умолчанию:fast

Midjourney Imagine Mode

Доступные опции:
fast,
relax,
turbo
action
string
по умолчанию:generate

Midjourney Imagine Action

prompt
string

Midjourney Imagine Prompt

Пример:

"A cat sitting on a table"

timeout
number
по умолчанию:480

Midjourney Imagine Timeout

image_id
string

Midjourney Imagine Image Id

translation
boolean
по умолчанию:false

Midjourney Imagine Translation

callback_url
string

Midjourney Imagine Callback Url

async
boolean

Midjourney Imagine Async

split_images
boolean
по умолчанию:false

Midjourney Imagine Split Images

version
string

Midjourney Imagine Version

hd
boolean
по умолчанию:false

Midjourney Imagine Hd

quality
string
по умолчанию:1

Midjourney Imagine Quality

style_reference
boolean
по умолчанию:false

Midjourney Imagine Style Reference

moodboard
boolean
по умолчанию:false

Midjourney Imagine Moodboard

Ответ

Midjourney Imagine Response 200

actions
string[]

Midjourney Imagine Response 200 Actions

success
boolean

Midjourney Imagine Response 200 Success

task_id
string

Midjourney Imagine Response 200 Task Id

image_id
string

Midjourney Imagine Response 200 Image Id

progress
number

Midjourney Imagine Response 200 Progress

image_url
string

Midjourney Imagine Response 200 Image Url

image_width
string

Midjourney Imagine Response 200 Image Width

image_height
string

Midjourney Imagine Response 200 Image Height

raw_image_url
string

Midjourney Imagine Response 200 Raw Image Url

raw_image_width
string

Midjourney Imagine Response 200 Raw Image Width

raw_image_height
string

Midjourney Imagine Response 200 Raw Image Height