Engine catalog
Live (SaaS + Qwen sidecar)

Speech

TTS / Voice Clone

Live text-to-speech generation, ElevenLabs instant voice cloning, and premium Qwen sidecar enrollment.

TTS 생성, ElevenLabs 음성 복제, Qwen 프리미엄 사이드카 등록을 제공하는 라이브 음성 기능입니다.

Overview

Contract Scope

The Greit product uses catalog TTS providers through app/api/tts/generate: google, elevenlabs, openai, gemini, and edge.

Instant voice cloning is live through app/api/voices/clone and forwards voice samples to the ElevenLabs voices/add API.

Premium Qwen routes and enrollment exist under app/api/tts/qwen/* and app/api/tts/enroll/*. The Qwen sidecar is Tailscale-private today and is not yet public-tunneled.

API Reference

Endpoints

POST

/api/tts/generate

Generate speech audio with a selected catalog TTS provider.

NameTypeRequiredDescription
textstringYesText to synthesize.
enginegoogle | elevenlabs | openai | gemini | edgeYesTTS provider selected from the live Greit catalog.
voicestringNoProvider-specific voice identifier.

Response

Generated audio payload or provider-backed audio URL, depending on the selected engine.

  • This is a live SaaS-backed production route.
POST

/api/voices/clone

Create an instant cloned voice through ElevenLabs.

NameTypeRequiredDescription
namestringYesDisplay name for the cloned voice.
filesaudio file[]YesVoice sample uploads forwarded to ElevenLabs.

Response

ElevenLabs voice metadata, including the created voice id.

  • Backed by api.elevenlabs.io/v1/voices/add.
POST

/api/tts/qwen/*

Premium Qwen sidecar TTS route family.

Response

Qwen sidecar response for enrolled premium voice workflows.

  • The sidecar is Tailscale-private and not yet public-tunneled.
POST

/api/tts/enroll/*

Enroll premium Qwen voice workflows.

Response

Enrollment state for premium Qwen voice access.

  • Enrollment exists in production routes; public tunnel exposure is pending.

Quickstart

Five-line curl

curl
curl -X POST "https://thegreit.com/api/tts/generate" \
  -H "Authorization: Bearer $GREIT_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"engine":"openai","text":"Preview this line","voice":"alloy"}' \
  -i

Version log

Release Notes

current

2026-07-07
  • Live catalog TTS route documented for google, elevenlabs, openai, gemini, and edge providers.
  • Live ElevenLabs instant voice clone route documented.
  • Qwen premium sidecar and enrollment documented as Tailscale-private.