Akcja (Upscale, Variation, Reroll, Zoom)
Użyj CometAPI POST /mj/submit/action, aby zastosować akcje Midjourney — upscale, variation, reroll, zoom i inne — do obrazów wygenerowanych przez imaging.
Użyj tego endpointu po tym, jak zadanie Midjourney zwróci przyciski akcji. Uruchamia ono nowe zadanie podrzędne, takie jak upscale, variation, reroll, zoom lub 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.
Potrzebujesz dwóch wartości
taskIdz oryginalnego lub najnowszego zadania MidjourneycustomIdz najnowszej tablicybuttonszwróconej przez Fetch Single Task
Typowe akcje
U1doU4: upscale jednego obrazu z siatkiV1doV4: generowanie wariantów z jednej pozycji obrazu- Reroll: ponowne wygenerowanie całej siatki
- Zoom i Pan: rozszerzenie istniejącej kompozycji
Po wysłaniu akcji
Sprawdzaj nowe zadanie
Obsłuż akcje wymagające modalu
MODAL, kontynuuj z Modal, aby podać dodatkowe dane wejściowe.Autoryzacje
Bearer token authentication. Use your CometAPI key.
Treść
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.