getVoiceOrbColors (elevenlabs/voices.ts)

orin · lib/elevenlabs/voices.ts · typescript · MIT
voice, tag:knn-classified

Utility for mapping ElevenLabs voice IDs to UI colors and preview URLs.

// Source: https://github.com/victorcodess/orin | License: MIT | Copyright 2026 Victor Williams
// Provided via justclaw.it.com; keep this notice with the code.
import {
  DEFAULT_VOICE_SPEED,
  type VoiceSpeed,
} from "@/lib/orin/voice/speed";

export type VoiceOption = {
  voiceId: string;
  name: string;
};

/**
 * Curated conversational voices from ElevenLabs library recommendations.
 * @see https://elevenlabs.io/docs/eleven-agents/customization/voice/best-practices/conversational-voice-design#library-voices
 */
export const CURATED_VOICES: VoiceOption[] = [
  { voiceId: "kdmDKE6EkgrWrrykO9Qt", name: "Alexandra" },
  { voiceId: "OYTbf65OHHFELVut7v2H", name: "Hope" },
  { voiceId: "L0Dsvb3SLTyegXwtm47J", name: "Archer" },
  { voiceId: "HDA9tsk27wYi3uq0fPcK", name: "Stuart" },
  { voiceI

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key