Live API Playground

Test the Speechma API
in Real Time

Paste your API key and hit Run. All requests go to the live API — no mocks, no sandboxes.

Step 1 — Your API Key

Endpoint 1 — List Voices

GET /api/v1/voices
Returns all available voices, optionally filtered by language
GET

    

Endpoint 2 — Generate Speech

POST /api/v1/tts
Convert text to speech — returns MP3 audio directly
POST
Audio is streamed directly to your browser — Speechma never stores your audio on its servers.
68 characters

Endpoint 3 — Usage & Quota

GET /api/v1/usage
Check your character quota, remaining balance, and plan details
GET

    

Your Personalised cURL Commands

These update automatically with your API key once verified.

 Generate Speech (POST /tts)
curl -X POST https://speechma.com/api/v1/tts \
  -H "X-API-Key: sm_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello world!","voice":"voice-1","pitch":0,"rate":0}' \
  --output speech.mp3
 List Voices (GET /voices)
curl "https://speechma.com/api/v1/voices?language=english" \
  -H "X-API-Key: sm_your_key_here"
 Check Usage (GET /usage)
curl https://speechma.com/api/v1/usage \
  -H "X-API-Key: sm_your_key_here"