Imagine
Gebruik POST /mj/submit/imagine in CometAPI om Midjourney imagine-taken te maken met volledige Discord-params, de status van task_id te volgen en image-to-video-bewegingseffecten in te schakelen.
Gebruik dit endpoint om de hoofdworkflow van Midjourney te starten. Elke latere stap, inclusief upscale, variation en custom zoom, begint met een succesvolle imagine-taak.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.
Wat de eerste response je geeft
resultis de task id die je hierna gaat pollencodekan nog steeds een succescode zijn, zelfs wanneer het geen HTTP-stijl200is
Kernworkflow
Poll totdat de taak is voltooid
SUCCESS, MODAL of FAILURE bereikt.Ga verder met post-processing
Optioneel video prompt-patroon
Als je beweging uit een bronafbeelding wilt, voeg dan een image URL plus Midjourney video-flags toe aan de prompt, zoals--video en --motion.Autorisaties
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.