async generate(text, { voice = "af_heart", speed = 1 } = {}) {
    const language = this._validate_voice(voice);

    const phonemes = await phonemize(text, language);
    const { input_ids } = this.tokenizer(phonemes, {
      truncation: true,
    });

    return this.generate_from_ids(input_ids, { voice, speed });
  }
Generate audio from text.

@param {string} text The input text
@param {GenerateOptions} options Additional options
@returns {Promise<RawAudio>} The generated audio