Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-MOSS-TTS > MOSS-TTS Voice Reference

ComfyUI Node: MOSS-TTS Voice Reference

Class Name

MOSSTTSVoiceReference

Category
MOSS-TTS/voice
Author
eutectico (Account age: 3376days)
Extension
ComfyUI-MOSS-TTS
Latest Updated
2026-04-28
Github Stars
0.0K

How to Install ComfyUI-MOSS-TTS

Install this extension via the ComfyUI Manager by searching for ComfyUI-MOSS-TTS
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-MOSS-TTS in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MOSS-TTS Voice Reference Description

Builds a MOSS-TTS voice reference from connected audio or a file path for downstream nodes.

MOSS-TTS Voice Reference:

MOSSTTSVoiceReference prepares a voice reference for use in a MOSS-TTS workflow. It passes the supplied audio information to the voice-reference builder and returns the resulting voice object, so you can connect that reference to a compatible downstream node. The class shown here does not reveal how the builder processes audio, which formats it accepts, or whether it can identify a speaker from a particular recording.

MOSS-TTS Voice Reference Input Parameters:

audio

An optional AUDIO connection for supplying a recording from another node. The node passes this value to the voice-reference builder. Use it when your recording is already available in the workflow. No default, minimum, maximum, or audio-format options are specified in the node interface; the build method uses None when this input is not connected.

audio_path

An optional, single-line STRING field for a path to an audio file. The node passes this text to the voice-reference builder, allowing you to point it to a recording by path. Its default is an empty string (""). No minimum length, maximum length, file-format restriction, or path-selection options are specified. The provided class does not show how the builder handles an empty path, a missing file, or a path supplied alongside audio.

MOSS-TTS Voice Reference Output Parameters:

voice

The sole output is a MOSS_TTS_VOICE value returned by the voice-reference builder. It represents the prepared voice reference for compatible MOSS-TTS nodes; it is not an audio preview or a generated speech recording. The provided class does not expose the value’s internal fields or guarantee what it contains beyond its declared output type.

MOSS-TTS Voice Reference Usage Tips:

  • Connect a recording to audio when it is already flowing through your ComfyUI workflow; use audio_path when you have a file path to enter instead.
  • Start with one source method at a time. The class forwards both values to the builder, but the provided code does not establish which one takes priority when both are supplied.
  • If you enter audio_path, check that the path points to a file accessible to the environment running ComfyUI. A path on your own computer may not be accessible to a remote ComfyUI instance.
  • Connect voice to a downstream socket that accepts MOSS_TTS_VOICE. The node prepares a reference; it does not generate speech on its own.

MOSS-TTS Voice Reference Common Errors and Solutions:

Missing or unusable voice-reference source

  • Explanation: If neither audio nor a usable audio_path is provided, the builder may be unable to create a voice reference. The provided class does not specify an exact error message or whether an empty source is accepted.
  • Solution: Connect an AUDIO value or enter a path to an accessible audio file, then run the node again.

Audio file not found or inaccessible

  • Explanation: A path that is incorrect or unavailable to the ComfyUI process may cause the underlying builder to fail. The exact message depends on its implementation and is not shown in the provided source.
  • Solution: Check the file name and full path, confirm the file exists where ComfyUI runs, and confirm that process can read it.

Audio cannot be processed

  • Explanation: The builder may reject a recording it cannot read or process. Supported formats and any resulting error text are not defined by this class.
  • Solution: Confirm the file opens and plays correctly, then try another valid recording or convert it to a format supported by your installed MOSS-TTS voice-reference implementation.

Cannot connect voice to the next node

  • Explanation: ComfyUI sockets must have compatible types. This node produces MOSS_TTS_VOICE, not AUDIO.
  • Solution: Connect voice to an input that accepts MOSS_TTS_VOICE; use an audio-producing node if the next step requires AUDIO.

ModuleNotFoundError: No module named 'folder_paths'

  • Explanation: This message may appear elsewhere in an incomplete ComfyUI installation, but the helper shown for this node catches failures while importing folder_paths and creates a temp directory under the current working directory instead. The message alone therefore does not establish that this node failed.
  • Solution: Check the full error trace to identify which component raised it. If this node is failing while preparing its temporary directory, check that the current working directory is writable.

MOSS-TTS Voice Reference Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-MOSS-TTS
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

MOSS-TTS Voice Reference