Doubao · Text to speech

Doubao Voice 2 API

Doubao Voice 2 is a text-to-speech model with natural voices and low latency, metered on OpenLux at $0.014 per 1,000 characters — and fluent in more than one language.

DoubaoTTS

Pay-as-you-go rate

$0.014 / 1K chars

Billed in USD, metered per request with real-time cost in the console.

Access

One OpenLux key and the OpenAI-compatible endpoint: set base_url to https://openlux.lol/v1 and pass doubao-voice-2 as the model.

Get started

Create a key in the console, then follow the five-minute docs for streaming, tools and error codes.

What Doubao Voice 2 delivers

Speech synthesis is what turns a text product into an audio one: narrated articles, voice replies in a chat app, IVR prompts, spoken summaries and accessible versions of written content. Doubao Voice 2 focuses on the practical version of that job — natural delivery, low latency and a predictable cost per character.

Character-based metering makes budgeting straightforward: a 1,000-character narration costs $0.014, so a ten-thousand-character podcast costs fourteen cents. Because the model is multilingual, one voice pipeline can serve readers in different markets without a second vendor.

It also shares the OpenLux endpoint with the rest of the catalogue, so a workflow can write with a text model and speak the result without leaving the same key or the same bill.

Call Doubao Voice 2 in minutes

Every OpenLux model speaks the OpenAI protocol. Reuse your existing SDKs and replace two values: the base URL and the API key.

cURL

curl https://openlux.lol/v1/chat/completions \
  -H "Authorization: Bearer $OPENLUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-voice-2",
    "messages": [{"role": "user", "content": "Welcome back. Your monthly usage report is ready, and this month you spent twelve dollars and forty cents."}]
  }'

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="sk-openlux-...",
    base_url="https://openlux.lol/v1",
)

resp = client.chat.completions.create(
    model="doubao-voice-2",
    messages=[{"role": "user", "content": "Welcome back. Your monthly usage report is ready, and this month you spent twelve dollars and forty cents."}],
)
print(resp.choices[0].message.content)

Node.js (OpenAI SDK)

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENLUX_API_KEY,
  baseURL: "https://openlux.lol/v1",
});

const resp = await client.chat.completions.create({
  model: "doubao-voice-2",
  messages: [{ role: "user", content: "Welcome back. Your monthly usage report is ready, and this month you spent twelve dollars and forty cents." }],
});
console.log(resp.choices[0].message.content);

Where Doubao Voice 2 fits

Natural voices

Speech that stays comfortable for long listening, with real phrasing rather than a flat read-out.

Low latency

Fast enough for interactive use, such as spoken replies in a chat or assistant interface.

Multilingual

Produces output in more than one language, so one pipeline serves several markets.

Character metering

Priced per 1,000 characters, which makes the cost of a script known before it is read.

Narration and audio articles

Turn written posts and reports into audio versions with a cost per thousand characters you can predict.

Voice interfaces

Speak assistant and agent responses in real time, alongside the text models generating them.

Localised announcements

Produce the same announcement in several languages without hiring separate voice talent.

How doubao-voice-2 is priced on OpenLux

Doubao Voice 2 is metered pay as you go at $0.014 / 1K chars. There is no subscription requirement for API access: top up a balance, call the model, and see the cost of every request in the console.

ModelProviderRateDiscount
doubao-voice-2 (this model)Doubao$0.014 / 1K chars—
suno-v6Suno$0.052 / request—
kling-3.0Kling$0.196 / request—
deepseek-v4DeepSeek$0.0613 / 1M tokens-90%

Rates follow official provider pricing and are shown in USD. See the full model catalogue and pricing plans for credit allowances.

Doubao Voice 2 questions

How much does Doubao Voice 2 cost on OpenLux?

$0.014 per 1,000 characters, metered pay as you go — about a cent and a half for a thousand characters of speech.

How do I call Doubao Voice 2?

Send "model": "doubao-voice-2" with the text and the target voice to https://openlux.lol/v1 using your OpenLux API key.

Is it suitable for real-time applications?

Yes — it is built for low-latency synthesis, which makes it usable in chat, assistant and call-centre scenarios, not just offline generation.

Can I use it with a text model from the same account?

Yes. Write with any text model in the catalogue, then pass the result to Doubao Voice 2 — same key, same endpoint, same invoice.

Start calling Doubao Voice 2 today

Create an OpenLux key and send your first request in minutes. Compare Doubao Voice 2 with the rest of the catalogue on the same endpoint and the same bill.

Create an API key Read the docs