Text-to-speech API · Available

Piper API in Europe

A European TTS API: Piper behind the OpenAI-compatible /v1/audio/speech endpoint, served from hardware AxForge owns in Sweden. Fast CPU synthesis, zero prompt retention.

eu-se-1 · Stockholm api.axforge.ai/v1 €2.95 / 1M characters piper-text-to-speech.axforge.ai
Use Piper Talk to an engineer Create an account and your key is in the console. 3M free tokens every 30 days with every new account.

Specifications

What is served

ModelPiper, text-to-speech, fast CPU synthesis
API model namepiper
EndpointPOST /v1/audio/speech
ComputeCPU, so synthesis does not queue behind GPU inference
HardwareSystems owned and operated by AxForge in Sweden
RegionStockholm, Sweden (eu-se-1), pinned on the key; region and machine shown in the console
Pricing€2.95 / 1M characters (launch pricing)

For quality samples, see the official model card.

Quickstart

OpenAI-compatible: text in, audio out

# your API key, from API Keys
export AXFORGE_API_KEY="YOUR_KEY"

curl https://api.axforge.ai/v1/audio/speech \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"piper","input":"Synthesized in Stockholm, retained nowhere."}' \
  --output speech.wav
Audio: speech to text, text to speech, music
# pip install openai · the key is read from AXFORGE_API_KEY
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.axforge.ai/v1", api_key=os.environ["AXFORGE_API_KEY"])

r = client.audio.speech.create(
    model="piper",
    voice="default",
    input="Synthesized in Stockholm, retained nowhere.",
)
r.write_to_file("speech.wav")
Audio: speech to text, text to speech, music

Data & privacy

Zero prompt retention

Prompts and completions are processed in memory in Sweden, not written to disk, not logged, not retained, and never used to train anything. For this endpoint that means the text you send and the audio we return. We keep only request metadata (token counts, timestamps, status) for billing and operations. The full policy is at axforge.ai/privacy.

FAQ

Piper API: common questions

Is the Piper API OpenAI-compatible?

Yes. It is the standard /v1/audio/speech shape at https://api.axforge.ai/v1, with the model name piper, so the official OpenAI SDKs work by changing base_url.

Why a CPU text-to-speech model?

Piper is a fast CPU synthesizer. Synthesis does not queue behind GPU inference workloads, which keeps text-to-speech a lightweight, always-available endpoint.

Where is the TTS API hosted?

In Stockholm, Sweden (region eu-se-1), on hardware AxForge owns and operates. TLS terminates in the EU.

Is the text I synthesize stored?

No. Requests are processed in memory under our zero-retention policy: the text you send and the audio we return are not written to disk, not logged, not retained, and never used for training. See the privacy policy.

What does the text-to-speech API cost?

€2.95 per million characters (launch pricing). For committed volume, talk to an engineer.

Ready to build on EU inference?

Get API access Talk to an engineer

Explore

All models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms