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