Midjourney Text-to-Image Task Creation
POST
/api/v1/ai/draw/mj/imagine
/imagine
action through this interface.Request
Body Params application/x-www-form-urlencoded
model
string
required
midjourney
for key permission controlExample:
midjourney
prompt
string
required
Example:
chibi manga legend of vader anime vh1, in the style of miho hirano, dynamic and action-packed scenes, gaston bussière, chinese new year festivities, ross tran, charming character illustrations, light red and bronze --ar 73:88 --s 750 --niji 5
type
string
optional
NORMAL
and FAST
, default is FAST
for ultimate drawing speed. Can be manually set to NORMAL
for ultimate cost-effectiveness.Example:
FAST
base64Array
array[string]
optional
Example:
["data:image/webp;base64,Ukxxx","data:image/webp;base64,Ucxxx"]
webhook
string
optional
Example:
https://webhook.site/ad24ae29-08e7-42a7-ae60-0aa157c77bdd