Imagine
Gunakan POST /mj/submit/imagine di CometAPI untuk membuat task imagine Midjourney dengan parameter Discord lengkap, melacak status task_id, dan mengaktifkan efek gerak image-to-video.
Gunakan endpoint ini untuk memulai alur kerja utama Midjourney. Setiap langkah berikutnya, termasuk upscale, variation, dan custom zoom, dimulai dari task imagine yang berhasil.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Apa yang diberikan oleh respons pertama
resultadalah id task yang akan Anda poll selanjutnyacodetetap bisa berupa kode sukses meskipun bukan200bergaya HTTP
Alur kerja inti
Poll until the task finishes
SUCCESS, MODAL, atau FAILURE.Continue with post-processing
Pola prompt video opsional
Jika Anda ingin gerakan dari gambar sumber, tambahkan URL gambar beserta flag video Midjourney di dalam prompt, seperti--video dan --motion.Otorisasi
Bearer token authentication. Use your CometAPI key.
Body
Text prompt for the generation. Supports standard Midjourney parameters such as --v, --ar, --stylize, etc.
"a paper boat floating on calm water at sunrise --v 6.1"
Bot type to use. MID_JOURNEY for Midjourney (default), NIJI_JOURNEY for Niji.
MID_JOURNEY, NIJI_JOURNEY Filter which Midjourney account modes may be used for this task.
Base64-encoded reference images. Each item should be a data URI such as data:image/png;base64,xxx.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.