VoxCPM2
OpenBMB VoxCPM2 is a multilingual text-to-speech (TTS) model with Turkish support. It produces natural 48 kHz speech with built-in voices or from a reference recording (voice cloning), and is used through the OpenAI Audio API-compatible /v1/audio/speech endpoint.
Quickstart
OpenAI Audio API-compatible /v1/audio/speech endpoint. Pass the Model ID in the model field and the text to be spoken in the input field.
curl https://llm.fixcloud.ai/v1/audio/speech \
-H "Authorization: Bearer $FXC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "voxcpm2",
"input": "Merhaba! Bu ses FixCloud üzerinde üretildi.",
"response_format": "mp3"
}' \
--output speech.mp3
from openai import OpenAI
client = OpenAI(base_url="https://llm.fixcloud.ai/v1", api_key="FXC_API_KEY")
with client.audio.speech.with_streaming_response.create(
model="voxcpm2",
voice="default",
input="Merhaba! Bu ses FixCloud üzerinde üretildi.",
response_format="mp3",
) as response:
response.stream_to_file("speech.mp3")
import fs from 'node:fs';
import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://llm.fixcloud.ai/v1', apiKey: process.env.FXC_API_KEY });
const speech = await client.audio.speech.create({
model: 'voxcpm2',
voice: 'default',
input: 'Merhaba! Bu ses FixCloud üzerinde üretildi.',
response_format: 'mp3',
});
fs.writeFileSync('speech.mp3', Buffer.from(await speech.arrayBuffer()));
Capabilities
The features this model offers through the API.
- Audio outputProduces audio output.
- StreamingToken-level streaming (stream: true).
Pricing
Prices are per 1 million tokens. Once the monthly token quota of your plan is used up, usage is billed at these prices. The character count of the text is billed as a token equivalent.
- Per request
- —
- Per day
- —
- Per month (30 days)
- —
Enter your expected usage; actual billing follows the token counts measured by the gateway.
View plansSpecifications
Transparency details about the infrastructure serving this model.
- Family
- voxcpm
- Publisher
- OpenBMB
- License
- apache-2.0
- Model ID
- voxcpm2
- Context (tokens)
- 4,096
- Quantization
- None (native)
- GPUs per replica
- 1 × GPU
- Released
- Nov 23, 2026