curl --location --request POST 'https://api.mmchat.xyz/open/v1/midjourney/imagine' \
--header 'X-App-ID: METACHAT_APP_ID' \
--header 'Authorization: Bearer METACHAT_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "一个20岁的中国女子,她的上半身穿着一件轻薄休闲外套,她的下半身穿着一件牛仔裤,站在大街上,照片从正面拍摄,采用全身照。",
"model": "mj-v7",
"params": {
"aspect": "9:16",
"stylize": 100,
"quality": 1,
"chaos": 0,
"style": "raw"
},
"images": [
{
"url": "https://example.com/ref.jpg",
"type": "image/jpeg",
"size": 2420934,
"w": 3072,
"h": 4096,
"oref": true,
"ow": 400
}
]
}'