Action Checker
Midjourney State Machine
The Action Checker from our Midjourney API , checks for the accuracy of actions performed on tasks using the open-source project: midjourney-state-machine
.
The Action Checker performs the following steps:
Action Recording Each action is recorded with a unique task_id in an action tree.
Repeated Action Validation
Except for the reroll
action, all actions can be performed only once. If a repeated action is attempted, the task-id associated with the original action is returned, along with a 'repeat task' message.
Reroll Action
The reroll
action generates a new task each time it is called.
Successful operations include an 'action' filed in the Fetch
endpoint's response. This field displays available actions.