Midjourney ile bir görseli açıklayın
Yüklenmiş bir görselden hızlı remix ve yineleme için başlangıç niteliğinde bir Midjourney prompt’u çıkarmak üzere CometAPI POST /mj/submit/describe kullanın.
Bu rota ne için uygundur
- Bir görseli remix yapabileceğiniz prompt adaylarına dönüştürmek
- Yeni bir imagine görevi başlatmadan önce görsel bir yön çıkarmak
- İlk prompt’u sıfırdan yazmak istemediğinizde daha hızlı bir hazırlama döngüsü kurmak
Görev akışı
Görseli gönderin
Describe görevini sorgulayın
Oluşturulan prompt'u yeniden kullanın
Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Gövde
Base64-encoded image to describe. Use a data URI such as data:image/png;base64,xxx. Provide either base64 or link.
URL of the image to describe. Provide either link or base64.
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
NIJI_JOURNEY, MID_JOURNEY Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Yanıt
Success
Submission status code. 1 = submitted successfully (result carries the task id). 21 = the action opened a confirmation modal; continue with /mj/submit/modal using the returned task id. 4 = parameter error; description explains the cause.