Imagine
CometAPI içinde POST /mj/submit/imagine kullanarak tam Discord parametreleriyle Midjourney imagine görevleri oluşturun, task_id durumunu takip edin ve görüntüden videoya hareket efektlerini etkinleştirin.
Bu endpoint’i ana Midjourney iş akışını başlatmak için kullanın. Sonraki her adım; upscale, variation ve özel zoom dahil olmak üzere, başarılı bir imagine göreviyle başlar.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.
İlk yanıtın size verdikleri
result, bir sonraki adımda sorgulayacağınız görev kimliğidircode, HTTP tarzı200olmasa bile yine de bir başarı kodu olabilir
Temel iş akışı
Görev tamamlanana kadar sorgulayın
SUCCESS, MODAL veya FAILURE durumuna gelene kadar Fetch Single Task kullanın.Sonraki işlem adımlarına devam edin
İsteğe bağlı video Prompt deseni
Bir kaynak görselden hareket elde etmek istiyorsanız, Prompt’a bir görsel URL’si ile birlikte--video ve --motion gibi Midjourney video bayraklarını ekleyin.Yetkilendirmeler
Bearer token authentication. Use your CometAPI key.
Gövde
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.