Imagine
استخدم POST /mj/submit/imagine في CometAPI لإنشاء مهام Midjourney imagine مع جميع معاملات Discord، وتتبع حالة task_id، وتمكين تأثيرات الحركة من صورة إلى فيديو.
استخدم نقطة النهاية هذه لبدء سير عمل Midjourney الرئيسي. كل خطوة لاحقة، بما في ذلك upscale وvariation وcustom zoom، تبدأ بمهمة imagine ناجحة.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.
ماذا تمنحك الاستجابة الأولى
resultهو معرّف المهمة الذي ستقوم باستطلاع حالته بعد ذلك- يمكن أن يكون
codeرمز نجاح حتى عندما لا يكون200بأسلوب HTTP
سير العمل الأساسي
إجراء الاستطلاع حتى تنتهي المهمة
SUCCESS أو MODAL أو FAILURE.المتابعة بالمعالجة اللاحقة
نمط Prompt اختياري للفيديو
إذا كنت تريد حركة من صورة مصدر، فأضف عنوان URL للصورة مع إشارات الفيديو الخاصة بـ Midjourney داخل Prompt، مثل--video و--motion.التفويضات
Bearer token authentication. Use your CometAPI key.
الجسم
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.