Generative AI

The Generative AI toolbox turns text into speech with a neural speech engine. Create Speech Engine loads the engine; Generate Speech speaks a text and returns an audio clip; Generate Voice Profile makes a voice profile from a recorded sample, so the engine can speak in that voice.

Use it for narration, game dialogue or accessibility. For the small built-in English voice that needs no model, see Speak Text in Audio Processing.

  • Included in: Divooka Explore and Divooka Compute Standard. In Compute, add the Generative AI reference with Add reference (Ctrl+Shift+L). The Generative AI reference holds AI Services, LLM and Generative AI.
  • Maturity: Preview · Support: Tier 3 (proposed) · what these mean
  • Open it: node library (Ctrl+Shift+Space) → Generative AI, or search for a node with Ctrl+Space.
  • Examples and reference: Ctrl+Shift+E → Text to Speech > Speech Engine · node reference

New to graphs? Start with Your first program.

Example: several lines, and a cloned voice

Open Text to Speech > Speech Engine (Ctrl+Shift+E):

  1. Create Speech Engine loads the engine once.
  2. Six Generate Speech nodes each speak one line of text from that engine.
  3. In the Clone group, Generate Voice Profile takes a Source Audio File (a recording of a voice) and writes a profile to an Output Path.

Run it with F5 and select a Generate Speech node to play its clip.

Tips and limits

  • The engine needs its model files. The Speech Engine Model Folder Env Var node names the environment variable that points to the model folder.
  • Clone only voices you may use. Use recordings of people who agreed to it.

What is in the toolbox

Category Some of its nodes
Speech Engine Speech Engine Model Folder Env Var, Generate Speech, Generate Voice Profile, Create Speech Engine

See also