from openai import OpenAIimport osclient = OpenAI( base_url="https://api.tts.runatlas.com/v1", api_key=os.environ["ATLAS_API_KEY"],)for model in client.models.list(): print(model.id)
import OpenAI from "openai";const client = new OpenAI({ baseURL: "https://api.tts.runatlas.com/v1", apiKey: process.env.ATLAS_API_KEY,});const models = await client.models.list();for (const m of models.data) console.log(m.id);
from openai import OpenAIimport osclient = OpenAI( base_url="https://api.tts.runatlas.com/v1", api_key=os.environ["ATLAS_API_KEY"],)for model in client.models.list(): print(model.id)
import OpenAI from "openai";const client = new OpenAI({ baseURL: "https://api.tts.runatlas.com/v1", apiKey: process.env.ATLAS_API_KEY,});const models = await client.models.list();for (const m of models.data) console.log(m.id);
Lists the voice models available to your account — the global voices plus any voice clones
you own. The response follows the OpenAI /v1/models shape, so client.models.list()
works out of the box. Each id is a voice id you can pass as the voice parameter to
Generate speech.
Public accounts see the standard English voices. The Hindi voices require
an enterprise account — contact us for access.
from openai import OpenAIimport osclient = OpenAI( base_url="https://api.tts.runatlas.com/v1", api_key=os.environ["ATLAS_API_KEY"],)for model in client.models.list(): print(model.id)
import OpenAI from "openai";const client = new OpenAI({ baseURL: "https://api.tts.runatlas.com/v1", apiKey: process.env.ATLAS_API_KEY,});const models = await client.models.list();for (const m of models.data) console.log(m.id);