Speech Provider - v0.1.4
    Preparing search index...

    Interface ElevenLabsVoiceData

    Type definition for ElevenLabs voice data. This interface extends Record<string, unknown> to allow for additional properties that might be present in the API response but not explicitly typed here.

    interface ElevenLabsVoiceData {
        available_for_tiers: ("plus" | "pro" | "enterprise")[];
        category: "premade" | "professional";
        description?: string;
        high_quality_base_model_ids: string[];
        is_legacy: false;
        is_mixed: false;
        labels: {
            accent: string;
            age: "young" | "middle aged" | "middle-aged" | "middle_aged" | "old";
            description: string;
            gender: "male" | "female" | "non-binary";
            language: string;
            use_case:
                | "social media"
                | "news"
                | "conversational"
                | "narration"
                | "characters"
                | "social_media"
                | "narrative_story";
        };
        name?: string;
        permission_on_resource: null
        | "admin";
        preview_url: string;
        voice_id: string;
        [key: string]: unknown;
    }

    Hierarchy

    • Record<string, unknown>
      • ElevenLabsVoiceData

    Indexable

    • [key: string]: unknown
    Index

    Properties

    available_for_tiers: ("plus" | "pro" | "enterprise")[]

    The subscription tiers that can access this voice

    category: "premade" | "professional"

    Whether the voice is premade or professional

    description?: string

    A description of the voice

    high_quality_base_model_ids: string[]

    IDs of the base models used for this voice

    is_legacy: false

    Whether this is a legacy voice

    is_mixed: false

    Whether this is a mixed voice

    labels: {
        accent: string;
        age: "young" | "middle aged" | "middle-aged" | "middle_aged" | "old";
        description: string;
        gender: "male" | "female" | "non-binary";
        language: string;
        use_case:
            | "social media"
            | "news"
            | "conversational"
            | "narration"
            | "characters"
            | "social_media"
            | "narrative_story";
    }

    Labels describing the voice's characteristics

    Type declaration

    • accent: string

      The accent of the voice

    • age: "young" | "middle aged" | "middle-aged" | "middle_aged" | "old"

      The age category of the voice

    • description: string

      A description of the voice

    • gender: "male" | "female" | "non-binary"

      The gender of the voice

    • language: string

      The language code for the voice

    • use_case:
          | "social media"
          | "news"
          | "conversational"
          | "narration"
          | "characters"
          | "social_media"
          | "narrative_story"

      The intended use case for the voice

    name?: string

    The display name of the voice

    permission_on_resource: null | "admin"

    The permission level for the voice

    preview_url: string

    URL to preview the voice

    voice_id: string

    The unique identifier for the voice