Ai Tts Vibe Openai — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Ai Tts Vibe Openai (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Local OpenAI-compatible text-to-speech API server powered by VibeVoice-7B. Generates up to 45 minutes of speech in a single request, with voice cloning from reference audio.
POST /v1/audio/speechpip install -e .
# With CUDA flash attention:
pip install -e ".[cuda]"
# With 4-bit quantization:
pip install -e ".[quant]"Requires ffmpeg for MP3/OPUS/AAC encoding:
# macOS
brew install ffmpeg
# Ubuntu/Debian
sudo apt install ffmpegvibevoice-tts-serverThe model downloads on first request (~14 GB) and loads into VRAM/RAM. Subsequent requests reuse the loaded model.
Options:
vibevoice-tts-server --device cuda --port 8100 --idle-timeout 600curl -X POST http://localhost:8101/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{"input": "Hello world, this is VibeVoice!", "voice": "alloy"}' \
--output hello.mp3Upload a reference audio file to clone a speaker's voice:
curl -X POST http://localhost:8101/v1/audio/speech/upload \
-F "input=Welcome to the show, I'm your host." \
-F "voice=alloy" \
-F "response_format=wav" \
-F "reference_audio=@speaker_sample.wav" \
--output cloned.wavVibeVoice natively generates multi-speaker audio in a single pass. Format the input with Speaker N: prefixes and upload one reference audio file per speaker:
curl -X POST http://localhost:8101/v1/audio/speech/upload \
-F "input=Speaker 1: Welcome to the show, I'm your host.
Speaker 2: Thanks for having me, great to be here.
Speaker 1: Let's dive right in." \
-F "response_format=wav" \
-F "reference_audio=@host_voice.wav" \
-F "reference_audio=@guest_voice.wav" \
--output podcast.wavOr via the JSON endpoint with file paths:
curl -X POST http://localhost:8101/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{
"input": "Speaker 1: Welcome to the show.\nSpeaker 2: Thanks for having me.",
"instructions": "{\"reference_audio\": [\"/path/to/host.wav\", \"/path/to/guest.wav\"]}"
}' \
--output podcast.mp3Single-speaker voice cloning also works with a single file path:
curl -X POST http://localhost:8101/v1/audio/speech \
-H "Content-Type: application/json" \
-d '{
"input": "Welcome to the show.",
"voice": "alloy",
"instructions": "{\"reference_audio\": \"/path/to/speaker_sample.wav\"}"
}' \
--output cloned.mp3POST /v1/audio/speechJSON body (OpenAI-compatible):
| Field | Type | Default | Description |
|---|---|---|---|
input | string | required | Text to synthesize |
voice | string | "alloy" | Voice preset or speaker name |
model | string | "vibevoice-tts" | Model identifier |
response_format | string | "mp3" | mp3, wav, opus, flac, aac, pcm |
speed | float | 1.0 | Speed multiplier (0.25 - 4.0) |
instructions | string | null | JSON string with advanced params (see below) |
Instructions JSON fields:
| Field | Type | Description |
|---|---|---|
reference_audio | string or string[] | Path(s) to reference audio — single path for one speaker, array for multi-speaker |
cfg_scale | float | Classifier-free guidance scale (default: 1.3) |
n_diffusion_steps | int | Diffusion denoising steps (default: 10) |
max_new_tokens | int | Audio token limit at 7.5 Hz (0 = unlimited) |
Returns raw audio bytes with the appropriate Content-Type header.
POST /v1/audio/speech/uploadMultipart form — same fields as above, plus:
| Field | Type | Description |
|---|---|---|
reference_audio | file(s) | One or more audio files for voice cloning — upload multiple for multi-speaker (ordered by Speaker 1, 2, etc.) |
GET /v1/audio/voicesList available voice presets.
GET /v1/modelsList available models.
GET /healthServer status, model load state, device info.
| OpenAI Name | VibeVoice Speaker |
|---|---|
| alloy | Emma |
| echo | Carter |
| fable | Davis |
| onyx | Mike |
| nova | Grace |
| shimmer | Frank |
| sage | Samuel |
All settings can be set via environment variables with the VIBEVOICE_TTS_ prefix:
VIBEVOICE_TTS_HOST=0.0.0.0
VIBEVOICE_TTS_PORT=8101
VIBEVOICE_TTS_MODEL_ID=vibevoice/VibeVoice-7B
VIBEVOICE_TTS_DEVICE=auto # auto, cuda, mps, cpu
VIBEVOICE_TTS_DTYPE=auto # auto, bfloat16, float32
VIBEVOICE_TTS_IDLE_TIMEOUT=300 # seconds before unloading model (0 = never)
VIBEVOICE_TTS_MAX_NEW_TOKENS=0 # 0 = unlimited; tokens are audio frames at 7.5 Hz
VIBEVOICE_TTS_CFG_SCALE=1.3
VIBEVOICE_TTS_N_DIFFUSION_STEPS=10
VIBEVOICE_TTS_QUANTIZE_4BIT=falseUse as a Claude Code tool:
vibevoice-tts-mcpAdd to your Claude Code MCP config:
{
"mcpServers": {
"vibevoice-tts": {
"command": "vibevoice-tts-mcp",
"args": ["--device", "auto"]
}
}
}Tools: synthesize_speech, list_voices, get_tts_status
pip install -e ".[test]"
pytest tests/ -vVibeVoice generates audio tokens at 7.5 Hz (7.5 tokens per second of audio). The 7B model has a 32K context window shared between text input tokens and audio output tokens.
| Tokens | Duration |
|---|---|
| 450 | ~1 minute |
| 4,500 | ~10 minutes |
| 13,500 | ~30 minutes |
| 20,250 | ~45 minutes |
By default, max_new_tokens=0 (unlimited), allowing the model to generate until it finishes the input text naturally.
This server code is released under the MIT License.
Model license note: Microsoft released VibeVoice-7B under the MIT License. However, Microsoft's model card states the model is "limited to research purpose use" and later removed the TTS code from their official repository citing misuse concerns. Community forks and model weights remain available under MIT. Users should review the model card and applicable terms before deploying in production.
This project is an independent wrapper and is not affiliated with or endorsed by Microsoft.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.