Skip to content

[NODE] Add Text to Speech documentation #27

@ShambaC

Description

@ShambaC

Node Config

{
    title: "Text to Speech",
    category: "audio",
    type: "text_to_speech",
    icon: {},
    desc: "Convert text to speech using Eleven Labs",
    credit: 100,
    inputs: [
        {
            desc: "The Flow to trigger",
            name: "Flow",
            type: "Flow",
        },
        {
            desc: "Text to generate speech for",
            name: "Content",
            type: "Text",
        },
        {
            desc: "Specific voice ID to use (will override the above option)",
            name: "VoiceID",
            type: "Text",
        },
        {
            desc: "Emotional setting of the voice (lower is more emotional)",
            name: "Emotion",
            type: "Number",
        },
        {
            desc: "Speed of the generated speech",
            name: "Speed",
            type: "Number",
        },
    ],
    outputs: [
        {
            desc: "Generated audio",
            name: "Audio Link",
            type: "Text",
        },
    ],
    fields: [
        {
            desc: "Text to generate speech for",
            name: "Content",
            type: "TextArea",
            value: "Text here ...",
        },
        {
            desc: "Voice model to use",
            name: "Voice",
            type: "select",
            value: "George (warm resonance)",
            options: [
                "Aria (middle aged female calm)",
                "Sarah (young adult woman confident)",
                "Laura (young adult female sunny)",
                "Charlie (young aussie male confident)",
                "George (warm resonance)",
                "Callum (gravelly edgy)",
            ],
        },
        {
            desc: "Specific voice ID to use (will override the above option)",
            name: "VoiceID",
            type: "Text",
            value: "ID here ...",
        },
        {
            desc: "Emotional setting of the voice (lower is more emotional)",
            name: "Emotion",
            type: "Slider",
            value: 0.5,
            min: 0.0,
            max: 1.0,
            step: 0.1,
        },
        {
            desc: "Speed of the generated speech",
            name: "Speed",
            type: "Slider",
            value: 1.0,
            min: 0,
            max: 2.0,
            step: 0.1,
        },
        {
            desc: "Model to use for speech generation",
            name: "Model",
            type: "select",
            value: "eleven_multilingual_v2",
            options: [
                "eleven_multilingual_v2",
                "eleven_v3",
                "eleven_flash_v2_5",
                "eleven_turbo_v2_5",
            ],
        },
    ],
    difficulty: "easy",
    tags: ["TTS", "audio", "elevenlabs"],
}

Additional Information

Long Description:
Convert your text to speech using AI

Use Cases:

  • Add voiceover to your videos without actually speaking
  • Create an agent which can reply with voice
  • Create an audiobook agent

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions