الإجراء (Upscale، Variation، Reroll، Zoom)
استخدم CometAPI POST /mj/submit/action لتطبيق إجراءات Midjourney — مثل upscale وvariation وreroll وzoom وغيرها — على الصور المُنشأة عبر imaging.
استخدم نقطة النهاية هذه بعد أن تُرجع مهمة Midjourney أزرار الإجراءات. وهي تبدأ مهمة لاحقة جديدة مثل upscale أو variation أو reroll أو zoom أو pan.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.
أنت بحاجة إلى قيمتين
taskIdمن مهمة Midjourney الأصلية أو الأحدثcustomIdمن أحدث مصفوفةbuttonsالمُعادة بواسطة Fetch Single Task
الإجراءات الشائعة
U1إلىU4: تنفيذ upscale لصورة واحدة من الشبكةV1إلىV4: إنشاء variations من موضع صورة واحد- Reroll: إعادة توليد الشبكة بالكامل
- Zoom وPan: توسيع التكوين الحالي
بعد إرسال إجراء
إجراء polling للمهمة الجديدة
التعامل مع الإجراءات التي تتطلب modal فقط
MODAL، فتابع باستخدام Modal لتوفير الإدخال الإضافي.التفويضات
Bearer token authentication. Use your CometAPI key.
الجسم
Action id taken from the latest buttons array returned by the fetch endpoint.
Midjourney task id you want to continue from.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
Whether to force remix mode when the current action supports it.
Whether to prefer the same channel account used by the current task.