Skip to content

Instantly share code, notes, and snippets.

@THeK3nger
THeK3nger / ElevenVoices.cs
Last active July 29, 2024 03:46
Unity script for using ElevenLabs TTS service
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
using Newtonsoft.Json;
/**
* Optional utility class to fetch all the available Voices in the ElevenLabs account.
* This may be useful if you want to allow the player to customize the voice at runtime.