A digital inkjet dyeing machine, configured to perform digital dyeing of solid color on a fabric, and comprising an unwinding and feeding device, an inkjet device, a drying device, and a winding device which are sequentially arranged in a fabric feeding direction, wherein the inkjet device comprises a machine body, a controller, an ink tank, a cleaning liquid tank, and inkjet modules; the machine body is provided with at least two groups of the inkjet modules, at least one ink tank, and at least one cleaning liquid tank, wherein the ink tank is a container for containing ink, and the cleaning liquid tank is a container for containing cleaning liquid; the machine body is provided with a working area and a cleaning area; the inkjet modules are installed on the machine body and are displaceable between the working area and the cleaning area; each of the inkjet module comprises spray heads, a positioning frame, and a supporting and moving mechanism, wherein the spray heads are arranged in parallel and form a spray head group, each inkjet module comprises at least one spray head group, the spray heads are connected through ink pipelines, the ink pipelines are connected to the ink tank and the cleaning liquid tank through pipelines, an inkjet valve is arranged on a pipeline between the ink pipeline and the ink tank, and a cleaning valve is arranged on a pipeline between the ink pipeline and the cleaning liquid tank; and wherein the spray heads are installed on the positioning frame, the positioning frame is installed on the supporting and moving mechanism, and the supporting and moving mechanism comprises a lifting unit configured to drive the positioning frame up and down in the working area, and a translation unit configured to drive the positioning frame to horizontally translate in the cleaning area. the inkjet device comprises a machine body, a controller, an ink tank, a cleaning liquid tank, and inkjet modules; the machine body is provided with at least two groups of the inkjet modules, at least one ink tank, and at least one cleaning liquid tank, wherein the ink tank is a container for containing ink, and the cleaning liquid tank is a container for containing cleaning liquid; the machine body is provided with a working area and a cleaning area; the inkjet modules are installed on the machine body and are displaceable between the working area and the cleaning area; each of the inkjet module comprises spray heads, a positioning frame, and a supporting and moving mechanism, wherein the spray heads are arranged in parallel and form a spray head group, each inkjet module comprises at least one spray head group, the spray heads are connected through ink pipelines, the ink pipelines are connected to the ink tank and the cleaning liquid tank through pipelines, an inkjet valve is arranged on a pipeline between the ink pipeline and the ink tank, and a cleaning valve is arranged on a pipeline between the ink pipeline and the cleaning liquid tank; and wherein the spray heads are installed on the positioning frame, the positioning frame is installed on the supporting and moving mechanism, and the supporting and moving mechanism comprises a lifting unit configured to drive the positioning frame up and down in the working area, and a translation unit configured to drive the positioning frame to horizontally translate in the cleaning area.