Nodes/Step Audio EditX TTS/StepAudioEditX - Clone 🎀
ComfyUI Node

StepAudioEditX - Clone 🎀

A ComfyUI node in audio/step_audio with 14 inputs and 1 output.

By Saganaki22Β·Created 9 months agoΒ·Updated 8 months agoΒ· 62
StepAudioEditX - Clone 🎀
  • prompt_audio
  • audio
β—„prompt_textβ–Ί
β—„target_textβ–Ί
β—„model_path(No models found - download Step-Audio-EditX)β–Ί
β—„devicecudaβ–Ί
β—„torch_dtypebfloat16β–Ί
β—„quantizationnoneβ–Ί
β—„attention_mechanismsdpaβ–Ί
β—„temperature0.7β–Ί
β—„do_sampletrueβ–Ί
β—„max_new_tokens4096β–Ί
β—„longform_chunkingfalseβ–Ί
β—„seed0β–Ί
β—„keep_model_in_vramtrueβ–Ί
Categoryaudio/step_audio

Inputs (14)

NameTypeDefaultDescription
prompt_textSTRINGExact transcript of what the reference audio says. Must match the audio content perfectly for best voice cloning results. The AI uses this to align the voice characteristics.
target_textSTRINGThe new text you want to speak in the cloned voice. Can be any text - the AI will speak it with the reference voice's tone, accent, prosody, and speaking style.
model_pathCOMBO(No models found - download Step-Audio-EditX)Step-Audio-EditX model location. Place models in ComfyUI/models/step_audio/ or select from discovered models.
deviceCOMBOcudaHardware device: 'cuda' for GPU (10-100x faster, ~8GB VRAM) or 'cpu' (very slow, no VRAM needed). Always use CUDA if available.
torch_dtypeCOMBObfloat16Model precision: bfloat16 (best quality, stable, 8GB VRAM), float16 (good quality, 6GB VRAM), float32 (max quality, 16GB VRAM), auto (selects best for your GPU).
quantizationCOMBOnoneVRAM reduction: 'none' (best quality, 8GB VRAM), int8 (good quality, 4GB VRAM), int4 (acceptable quality, 3GB VRAM), int4_awq (optimized int4, requires pre-quantized model). Use if low on VRAM.
attention_mechanismCOMBOsdpaAttention layer: sdpa (fastest, good VRAM, default), eager (slowest, most stable), flash_attn (fastest, needs RTX 30xx+), sage_attn (best VRAM efficiency).
temperatureFLOAT0.70.1–2Voice variation control: 0.1-0.5 (very consistent, robotic), 0.6-0.8 (natural, recommended), 0.9-1.5 (varied, expressive), 1.6-2.0 (very random, creative). Controls randomness in speech generation.
do_sampleBOOLEANtrueSampling mode: True (natural, varied speech with temperature control) or False (deterministic, uses greedy decoding, ignores temperature). Keep True for natural-sounding voices.
max_new_tokensINT4096256–16384Maximum audio tokens to generate: 2048 (~10s), 4096 (~20s), 8192 (~40s). Higher = more VRAM + time. With longform chunking enabled, each chunk is limited to this value.
longform_chunkingBOOLEANfalseSmart text splitting for long content (>2000 words). Splits at sentence boundaries, generates chunks separately, then stitches seamlessly. Slower but handles unlimited length. Disable for short text.
seedINT00–18446744073709550000Reproducibility seed: 0 (random output each time) or any number (same input = same output). Use fixed seed to reproduce exact voice outputs with identical parameters.
keep_model_in_vramBOOLEANtrueModel caching: True (keep loaded in VRAM, fast repeated use) or False (unload after use, frees ~8GB VRAM). Disable if switching between multiple models frequently.
prompt_audiooptAUDIOReference voice audio (3-30 seconds recommended, 0.5-30s supported). The AI will analyze and clone this voice's tone, accent, pitch, rhythm, prosody, and speaking style for target_text generation.

Outputs (1)

NameTypeDescription
audioAUDIOβ€”