The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Voices: VoxCPM2 runs on the GPU your ComfyUI has, and the library lists the new voice graphs as waiting for their node packs
Claude7a7379ec8363
diff --git a/scripts/comfy/build-library.mjs b/scripts/comfy/build-library.mjsindex 9055a2b0..362fac37 100644--- a/scripts/comfy/build-library.mjs+++ b/scripts/comfy/build-library.mjs@@ -162,6 +162,8 @@ export const BINDING_KEYS = new Set(['invertDepth',// Design a voice (nm10-voice-design): the voice in words, and what a voice sample says (Qwen3-TTS / VoxCPM2 clones)'voiceDescription', 'voiceTranscript',+ // VoxCPM2's device combo (cuda | mps | cpu): the server's first torch device+ 'device',// nm10-qwen21-fast: the VAE file Options → Decoder picks (Qwen-Image 2.1) and a speed tier's sigma schedule for the canvas size'vae', 'sigmas',]);diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjsindex 90b7c338..3fc01173 100644--- a/scripts/comfy/library.spec.mjs+++ b/scripts/comfy/library.spec.mjs@@ -119,6 +119,7 @@// Keys added with Design a voice (nm10-voice-design). * = the provider fills it:// voiceDescription* (the voice in words: params.voiceDescription, op voice-design)// voiceTranscript* (what the voice sample says: params.voiceTranscript, or a saved voice's line)+// device* (VoxCPM2's device combo: the server's first torch device, cuda | mps | cpu)// Entry field requiredModels: files a loader reads by a name with no extension (DBSLoader's model folder), listed in the// manifest like any model (KNOWN_MODELS keys are the path under the folder, e.g. 'DBS-BSRNN-DnR/model.safetensors'), so the// Workflows page's presence check and its install commands cover them.@@ -2019,6 +2020,7 @@ export const SPEC = [prompt: [b('1', 'text')],voiceDescription: [b('1', 'voice_description')],seed: [b('1', 'seed')],+ device: [b('1', 'device')],},outputs: [{ node: '2', kind: 'audio' }],limits: { maxDurationSec: 300 },@@ -2029,7 +2031,7 @@ export const SPEC = [],notes:'VoxCPM2_TTS(voice_description = the voice in words, wrapped in parentheses before the text by the node; text = the line; model VoxCPM2, lora None, cfg 2.0, 10 timesteps, max_tokens 4096, normalize_text true, dtype auto, device cuda). ' +- 'device is a combo of what the GPU has (cuda, mps, cpu): cuda in this graph, so a Mac or CPU ComfyUI needs the graph edited. 48 kHz output, 30 languages. ' ++ 'device is a combo of what the GPU has (cuda, mps, cpu): bound to the server\'s first torch device (/system_stats), cuda when it can\'t say. 48 kHz output, 30 languages. ' +'The pack also trains LoRAs (VoxCPM_LoraTrainer) and loads them (lora_name): not wired yet. Install the pack with its requirements.txt (voxcpm, funasr, modelscope).',},{@@ -2043,6 +2045,7 @@ export const SPEC = [audio: [b('1', 'audio')],voiceTranscript: [b('2', 'prompt_text')],seed: [b('2', 'seed')],+ device: [b('2', 'device')],},outputs: [{ node: '3', kind: 'audio' }],limits: { maxDurationSec: 300 },diff --git a/scripts/comfy/validate-workflows.mjs b/scripts/comfy/validate-workflows.mjsindex 5d79688a..6f90b370 100644--- a/scripts/comfy/validate-workflows.mjs+++ b/scripts/comfy/validate-workflows.mjs@@ -89,6 +89,7 @@ function sampleValue(key, entry, uploads) {case 'invertDepth': return true;case 'voiceDescription': return 'A warm, gravelly narrator in his sixties, unhurried.';case 'voiceTranscript': return 'Hello, this is the voice reference.';+ case 'device': return 'cpu';case 'video': case 'video2': case 'video3': case 'video4': return uploads.mp4;case 'audio': case 'audio2': return uploads.wav;case 'tracks': {diff --git a/src/server/providers/comfyui.ts b/src/server/providers/comfyui.tsindex ed894c26..1ebcf19a 100644--- a/src/server/providers/comfyui.ts+++ b/src/server/providers/comfyui.ts@@ -1245,6 +1245,11 @@ export async function prepareWorkflow(endpointTemplate: string, input: GenInput,// Design a voice (Qwen3-TTS, VoxCPM2): the voice in words; a clone reads what its sample says (VoxCPM2's "ultimate" clone).if (ctx.op === "voice-design") values.voiceDescription = input.voiceDescription?.trim();if (ctx.op === "tts" && b.voiceTranscript && input.voiceTranscript?.trim()) values.voiceTranscript = input.voiceTranscript.trim();+ // VoxCPM2's device combo lists what the GPU has (cuda, mps, cpu): the server's first torch device, else the graph's cuda.+ if (b.device && extra.device === undefined) {+ const dev = await ctx.device?.();+ if (dev === "cuda" || dev === "mps" || dev === "cpu") values.device = dev;+ }// A join of audio clips takes them in order: the graph binds the first two, expandAudioJoinWorkflow the rest.const audios = input.audios ?? [];if (manifest.expand === "audios" && audios.length) {diff --git a/tests/comfy-library-4.test.ts b/tests/comfy-library-4.test.tsindex 3f0fe52f..b7c103f4 100644--- a/tests/comfy-library-4.test.ts+++ b/tests/comfy-library-4.test.ts@@ -100,6 +100,11 @@ describe("round-4 ComfyUI workflows", () => {"minimax-h3-i2v-hq","minimax-h3-flf2v-hq","minimax-h3-orbit",+ // Design a voice (nm10-voice-design): ComfyUI-QwenTTS and ComfyUI-VoxCPM2 aren't on the validation server (tests/voice-design-server.test.ts).+ "tts-qwen3-design",+ "tts-qwen3-clone",+ "tts-voxcpm2",+ "tts-voxcpm2-clone","qwen-image-21-t2i","qwen-image-21-edit","qwen-image-21-turbo-edit",diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.jsonindex f474821c..d1ee72b7 100644--- a/workflows/comfyui/manifest.json+++ b/workflows/comfyui/manifest.json@@ -1,6 +1,6 @@{"version": 1,- "generatedAt": "2026-11-02T01:15:52.508Z",+ "generatedAt": "2026-11-02T01:24:28.192Z","comfyuiCommit": "fc04da91b2ab12f99e4716371a7e4f98ac982597","comfyuiVersion": "0.41.0","workflowTemplatesVersion": "0.11.86",@@ -7135,6 +7135,12 @@"input": "seed"}],+ "device": [+ {+ "node": "1",+ "input": "device"+ }+ ],"filenamePrefix": [{"node": "2",@@ -7162,7 +7168,7 @@"vramGb": 8,"license": "VoxCPM2 weights Apache-2.0 (OpenBMB); ComfyUI-VoxCPM2 code Apache-2.0","validated": false,- "notes": "VoxCPM2_TTS(voice_description = the voice in words, wrapped in parentheses before the text by the node; text = the line; model VoxCPM2, lora None, cfg 2.0, 10 timesteps, max_tokens 4096, normalize_text true, dtype auto, device cuda). device is a combo of what the GPU has (cuda, mps, cpu): cuda in this graph, so a Mac or CPU ComfyUI needs the graph edited. 48 kHz output, 30 languages. The pack also trains LoRAs (VoxCPM_LoraTrainer) and loads them (lora_name): not wired yet. Install the pack with its requirements.txt (voxcpm, funasr, modelscope).",+ "notes": "VoxCPM2_TTS(voice_description = the voice in words, wrapped in parentheses before the text by the node; text = the line; model VoxCPM2, lora None, cfg 2.0, 10 timesteps, max_tokens 4096, normalize_text true, dtype auto, device cuda). device is a combo of what the GPU has (cuda, mps, cpu): bound to the server's first torch device (/system_stats), cuda when it can't say. 48 kHz output, 30 languages. The pack also trains LoRAs (VoxCPM_LoraTrainer) and loads them (lora_name): not wired yet. Install the pack with its requirements.txt (voxcpm, funasr, modelscope).","autoDownloads": ["ComfyUI-VoxCPM2 downloads openbmb/VoxCPM2 (whole repository; 32279effe8c19989596f05d353d1447f51d9e915 when this was written: model.safetensors 4.58 GB, audiovae.pth 0.38 GB) into models/tts/VoxCPM/VoxCPM2 on first run"],@@ -7199,6 +7205,12 @@"input": "seed"}],+ "device": [+ {+ "node": "2",+ "input": "device"+ }+ ],"filenamePrefix": [{"node": "3",