Build with our API.

JWT authentication. Versioned endpoints. Usage tracking. Ship voice features today.

Overview

Everything you need to integrate TTS and voice cloning

Authentication

JWT auth. Access and refresh tokens. Hit /api/auth/login/ and add the header.

TTS Synthesis

POST /api/tts/synthesize/ — Send text, voice ID, speed, pitch, emotion. Async.

Voice Cloning

POST /api/voices/clone/ — Upload audio. Get a custom model. WAV, MP3, OGG, FLAC, M4A.

Usage Tracking

GET /api/auth/profile/ — Credit balance, usage stats, subscription tier.

Quick Start

Generate speech in 4 steps

1. Get Your API Key

Sign up free. Open the API Keys page in your dashboard. Generate a token.

2. Authenticate

Add your JWT to the Authorization header:

Authorization: Bearer <your_access_token>

3. Generate Speech

POST to synthesize. Send text, voice, and params:

curl -X POST https://duramolab.com/api/tts/synthesize/ \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Hello, welcome to Duramo Lab!",
    "voice_id": "en-US-Neural2-F",
    "speed": 1.0
  }'

4. Poll for Result

You get a task ID. Poll the status endpoint until it's done:

GET /api/tts/status/<task_id>/

API Endpoints

Complete list of available endpoints

Authentication

  • POST /api/auth/login/ — Obtain JWT tokens
  • POST /api/auth/register/ — Create a new account
  • POST /api/auth/refresh/ — Refresh your JWT token
  • GET /api/auth/profile/ — Get account and usage info

Text to Speech

  • POST /api/tts/synthesize/ — Submit text for speech synthesis
  • GET /api/tts/status/<id>/ — Poll synthesis status
  • GET /api/tts/history/ — View your synthesis history
  • GET /api/voices/ — List available voices

Voice Cloning

  • POST /api/voices/clone/ — Upload audio to clone a voice
  • GET /api/voices/my/ — List your cloned voices
  • DELETE /api/voices/<id>/ — Delete a cloned voice

Projects & Billing

  • GET /api/projects/ — List your projects
  • POST /api/projects/ — Create a new project
  • GET /api/subscription-plans/ — View available plans

Start building.

Free tier. 35,000 credits. No card.

Get API Key
🤖
JOGI
Online
I'm JOGI. I know this platform inside out. Ask me anything.