Nodes/Anomalous TTS (GPT-SoVITS)/Character Speech (GPT-SoVITS)
ComfyUI Node

Character Speech (GPT-SoVITS)

Reads a script with GPT-SoVITS character models. {happy} switches the emotion, {main} switches back; [name] switches the speaker; [pause:1s] inserts a pause.

By DemonGatanjieu·Created 18 days ago·Updated a day ago· 2
Character Speech (GPT-SoVITS)
    • audio
    • info
    ◄character▾►
    ◄text►
    ◄seed0►
    ◄speed1.00►
    ◄languageauto►
    ◄reference_audio►
    ◄reference_text►
    ◄gpt_weights▾►
    ◄sovits_weights▾►
    ◄pause_seconds0.30►
    ◄top_k15►
    ◄top_p1.00►
    ◄temperature1.00►
    ◄repetition_penalty1.35►
    ◄batch_size8►
    ◄cross_lingualadjust►
    ◄volumenormalize►
    CategoryAnomalous/TTS

    Inputs (17)

    NameTypeDefaultDescription
    characterCOMBOA character in the gpt_sovits models folder
    textSTRINGThe script. {happy} switches the emotion, {main} switches back; [name] switches the speaker; [pause:1s] inserts a pause.
    seedoptINT00–18446744073709550000—
    speedoptFLOAT1.000.5–2Speaking speed
    languageoptCOMBOautoauto: decided for each sentence from its text
    reference_audiooptSTRINGMain reference clip: a path inside the character's folder, e.g. refs/xxx.wav. Empty: the one in the character's settings, or a 3–10 s clip with a transcript, picked automatically
    reference_textoptSTRINGWhat the main reference clip says. Empty: looked up automatically
    gpt_weightsoptCOMBOauto: the one in the character's settings, else the most trained
    sovits_weightsoptCOMBOauto: the one in the character's settings, else the most trained
    pause_secondsoptFLOAT0.300–5Pause between sentences
    top_koptINT151–100—
    top_poptFLOAT1.000.05–1—
    temperatureoptFLOAT1.000.05–2—
    repetition_penaltyoptFLOAT1.351–2—
    batch_sizeoptINT81–64Sentences generated at once. Lower it when VRAM runs out
    cross_lingualoptCOMBOadjustadjust: a sentence in another language than the reference clip (a Japanese character speaking Chinese, say) uses top_k at most 10 and temperature at most 0.8, which is steadier; lower values you set stay
    volumeoptCOMBOnormalizenormalize: each sentence's voice is brought to about -20 dBFS (peaks under -1 dBFS), so a new seed or sentence does not jump in loudness. off: the loudness the model gives

    Outputs (2)

    NameTypeDescription
    audioAUDIO—
    infoSTRING—