
This ComfyUI tutorial workflow turns structured text into full-length music using MiniMax Music 3. At its core is the MiniMax Music 3 generator node (UUID: ac99f841-a3de-4329-9564-953b81cf9e16), which accepts two key inputs: a Caption describing style, mood, tempo, instrumentation, and arrangement, and optional Lyrics formatted with section tags like [intro], [verse], [chorus], [bridge], and [outro]. The node renders a complete track—up to five minutes—with stable song structure and high-fidelity audio. A MarkdownNote block in the graph documents the prompt schema so you can quickly copy, tweak, and version your captions and lyrics inside the UI.
Under the hood, you can choose between two model weights: minimax_music3_dit_fp16.safetensors (recommended when VRAM allows) and minimax_music3_dit_int8_convrot.safetensors (optimized for lower VRAM). The generator node produces an audio tensor that is written to disk via SaveAudioAdvanced, where you control filename, format, and sample rate. The result is a finished, arranged song suitable for prototypes, background scores, and content production without leaving ComfyUI.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
FAQ












