Skip to main content
def voices_delete(client: Cartesia, *args: str) -> None:
    """Delete a voice."""
    import sys

    if not args:
        print("Usage: voices_delete <voice_id>")
        sys.exit(1)
    client.voices.delete(args[0])
From cartesia-python/examples/examples.py:563

Run this example

git clone --branch v3.2.0 https://github.com/cartesia-ai/cartesia-python
cd cartesia-python
uv sync
CARTESIA_API_KEY=YOUR_KEY uv run examples/examples.py voices_delete <voice_id>