Configuration for Gradium Text-to-Speech API.
# Source: https://github.com/withceleste/celeste-python | License: MIT | Copyright 2025 Kamil Benkirane
# Provided via justclaw.it.com; keep this notice with the code.
"""Configuration for Gradium Text-to-Speech API."""
from enum import StrEnum
class GradiumTextToSpeechEndpoint(StrEnum):
"""Endpoints for Gradium Text-to-Speech API."""
CREATE_SPEECH = "/speech/tts"
BASE_URL = "wss://eu.api.gradium.ai/api"
# Default voice ID (Emma - English female)
DEFAULT_VOICE_ID = "YTpq7expH9539ERJ"
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key