therizwan/flagshiprouter/flagshiprouter-tts

Claude Code and agent skill by therizwan/flagshiprouter

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Text-to-speech via FlagshipRouter /v1/audio/speech using OpenAI / ElevenLabs / Deepgram / Edge TTS / Google TTS / Hyperbolic / Inworld voices. Use when the user wants to convert text to speech, generate audio, voiceover, narrate, or read text aloud.

Install

npx vskill@latest install therizwan/flagshiprouter/flagshiprouter-tts

SKILL.md

FlagshipRouter — Text-to-Speech

Requires FLAGSHIPROUTER_URL (and FLAGSHIPROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/theRizwan/FlagshipRouter/refs/heads/main/skills/flagshiprouter/SKILL.md for setup.

Discover

bash
# 1) List models
curl $FLAGSHIPROUTER_URL/v1/models/tts | jq '.data[].id'
# 2) Per-model metadata (params, voicesUrl if voice-by-id)
curl "$FLAGSHIPROUTER_URL/v1/models/info?id=el/eleven_multilingual_v2"
# 3) List voices (elevenlabs, edge-tts, deepgram, inworld, local-device). Optional ?lang=vi
curl "$FLAGSHIPROUTER_URL/v1/audio/voices?provider=edge-tts&lang=vi" | jq '.data[].model'

model field in /v1/audio/speech = voice ID directly (e.g. edge-tts/vi-VN-HoaiMyNeural, el/<voice_id>, or openai/tts-1 model+default voice).

Endpoint

POST $FLAGSHIPROUTER_URL/v1/audio/speech

FieldRequiredNotes
modelyesvoice ID from /v1/models/tts
inputyestext to speak

Query ?response_format=mp3 (default, raw bytes) or ?response_format=json ({audio: base64, format}).

Examples

Save MP3:

bash
curl -X POST "$FLAGSHIPROUTER_URL/v1/audio/speech" \
-H "Authorization: Bearer $FLAGSHIPROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/tts-1","input":"Hello world"}' \
--output speech.mp3

JS (save file):

js
import { writeFile } from "node:fs/promises";
const r = await fetch(`${process.env.FLAGSHIPROUTER_URL}/v1/audio/speech`, {
method: "POST",
headers: { "Authorization": `Bearer ${process.env.FLAGSHIPROUTER_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ model: "el/eleven_multilingual_v2", input: "Xin chào" }),
});
await writeFile("speech.mp3", Buffer.from(await r.arrayBuffer()));

Response shape

Default → raw audio bytes (Content-Type audio/mp3).

?response_format=json:

json
{ "audio": "SUQzBAAAA...", "format": "mp3" }

Provider quirks (model format)

Providermodel formatNotes
openaitts-1/alloy (model/voice) or just voiceDefault model gpt-4o-mini-tts
elevenlabs<model_id>/<voice_id> or <voice_id>Default model eleven_flash_v2_5; list voices in Dashboard
openrouteropenai/gpt-4o-mini-tts/alloyStreamed via chat-completions audio modality
edge-ttsvoice id e.g. vi-VN-HoaiMyNeuralnoAuth; default vi-VN-HoaiMyNeural
google-ttslanguage code e.g. en, vinoAuth
local-deviceOS voice name (say -v ? / SAPI)noAuth; needs ffmpeg
deepgramaura-asteria-en etcToken auth
nvidia, inworld, cartesia, playhtmodel/voiceProvider-specific auth header
coqui, tortoisespeaker / voice idLocalhost noAuth
hyperbolicmodel idBody = {text} only

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/therizwan/flagshiprouter/flagshiprouter-tts/badge)](https://verified-skill.com/skills/therizwan/flagshiprouter/flagshiprouter-tts)

Something wrong with this skill or its page? Tell us.