The application provides an AI Agent-based text-to-
image flow process decision execution method and device and a storage medium. The method comprises the following steps: analyzing a
workflow file of a text-to-image tool, extracting a node set, a
data link connection relationship between nodes, a
model set relied on by the nodes, and a dependency relationship between the nodes and the models; comparing the node set and the
model set with installed nodes and deployed models of a target platform to determine a fault type; determining a
fault handling sequence by using an AI Agent with a built-in
knowledge base module; performing a self-healing operation by using the AI Agent according to the
fault handling sequence; starting a trial operation
verification on the
workflow after the self-healing operation is completed, and updating the fault type, the handling sequence and the self-healing operation to the
knowledge base module. By using the application, cross-environment migration of the text-to-image
workflow is achieved, and the migration efficiency and success rate are improved.