Skip to content

Developer & API

Swiss Speech API: Real-Time TTS, STT & Swiss Dialects for Developers

Until now, voice bots and telephony AI in Switzerland failed at the most critical linguistic hurdle: Swiss German dialects. With the new Suisse Speech API, software engineers and enterprise teams can now access native Text-to-Speech (TTS) and Speech-to-Text (STT) models for English, German, French, Italian and all cantonal Swiss dialects via low-latency REST and WebSocket interfaces — billed by the exact second and hosted in Zurich.

The Swiss Dialect Challenge for Speech AI

In Switzerland, more than 5 million people speak Swiss German daily in business and private life. However, generic cloud voice APIs from US providers struggle severely with dialectal speech:

  • No Written Standard: Swiss German has no standardised grammar or spelling rules. Every word is phonetic, varying drastically between regions.
  • Phonetic Diversity: A simple phrase like "I'm going shopping this afternoon" morphs from Zurich dialect (“Ich gang hüt Namitag go poschte”) to Bernese (“I ga hütt Nami ga poschte”), Basel, or Valais dialect.
  • Latency Penalties: Existing workarounds relied on translating dialects through Standard German, incurring latencies of 2+ seconds that make natural phone conversations impossible.

The Suisse Speech API overcomes this barrier with specialised acoustic Transformer models trained directly on regional Swiss German speech data.

🚀 Get started with 60 free minutes on suisse-speech.ch – no credit card required

Create a free developer account and test our WebSocket and REST endpoints directly in Swagger UI or your Python/Node.js code.

Core Modules: Text-to-Speech (TTS) & Speech-to-Text (STT)

The API provides two complementary, modular pipelines:

1. Speech-to-Text (STT): Streaming WebSocket & Batch

Transcribe incoming speech streams in English, all Swiss national languages and Swiss dialects with sub-500ms latency. The API offers two output modes:

  • Phonetic Dialect Transcription: Preserves exact conversational idioms for sentiment analysis and LLM prompt grounding.
  • Normalised Standard German: Cleanly formats transcribed text into Standard German for CRM entry, ticketing, and compliance records.

2. Text-to-Speech (TTS): Natural Multilingual & Swiss Dialect Voices

Generic engines struggle with Swiss terminology and dialects. Suisse Speech TTS delivers lifelike, warmly modulated voices in English, German, French, Italian and Swiss dialects – with accurate local place name pronunciation, cantonal cadence, and authentic sentence melody.

Technical Architecture & Quick Start

Built on OpenAPI 3.0 standards, integration takes less than 5 minutes:

Python Quick Start (Real-Time WebSocket Stream)

import asyncio
import websockets
import json

API_KEY = "sl_live_YOUR_KEY_HERE"
WS_URL = "wss://api.suisse-speech.ch/v1/stt/stream"

async def stream_audio():
    headers = {"Authorization": f"Bearer {API_KEY}"}
    async with websockets.connect(WS_URL, extra_headers=headers) as ws:
        config = {
            "action": "start",
            "sample_rate": 16000,
            "language": "de-CH",
            "dialect": "auto",
            "normalize_to_standard_german": True
        }
        await ws.send(json.dumps(config))
        print("Connected to Suisse Speech API!")

        while True:
            response = await ws.recv()
            data = json.loads(response)
            if data.get("type") == "transcript":
                print(f"[{data['dialect']}] {data['text']}")

asyncio.run(stream_audio())

Security & Swiss Data Protection: Hosted in Zurich

RequirementSuisse Line Compliance
Datacenter LocationZurich, Switzerland
CertificationsISO/IEC 27001 Certified ISMS
Privacy RegulationsSwiss revFADP & EU GDPR compliant
No Model TrainingCustomer audio streams are never stored or used for AI training

Transparent Pay-As-You-Go Pricing

  • Speech-to-Text: Real-time streaming CHF 2.20/h (CHF 0.037/min), batch CHF 1.35/h (CHF 0.023/min) – billed to the exact second
  • Text-to-Speech: Real-time streaming CHF 6.85/h (CHF 0.114/min), batch CHF 4.60/h (CHF 0.077/min) – billed to the exact second (current pricing on suisse-speech.ch)
  • Free Sandbox: Synthetic mocking environment for CI/CD pipelines

Built by you in minutes

Your own assistant in just minutes

Enter your website: the assistant reads it, learns your services and is ready to test right away. Easy, self-service, no coding.

Start without a website

Try it free for 7 days – 60 minutes included, no credit card

  1. 1Enter your website
  2. 2Your assistant takes shape
  3. 3Test it right away
Build your own assistantIn minutes – easily, by yourself, no coding.Get started