Developer workspace / Integrations
Your next integration.
Choose a model, tailor a request, and take working code into your application.
02
Connect
example.pyPython · server
import os
from openai import OpenAI
client = OpenAI(
base_url="https://b300.powerchampion.ai/v1",
api_key=os.environ["POWERCHAMPION_API_KEY"],
)
# This must identify a reference voice provisioned for your deployment.
response = client.audio.speech.create(
model="indextts2",
input="Explain how a language model works in three sentences.",
voice=os.environ["POWERCHAMPION_VOICE_ID"],
)
response.stream_to_file("speech.mp3")Before you run
- Install the dependency:
python -m pip install openai - Set POWERCHAMPION_API_KEY as an environment variable on your server.
- Review the inputs, save the example, and run it in your own environment.
Keep API keys on your server; do not embed them in browser code or public repositories.
Base URL
https://b300.powerchampion.ai/v1Model ID
indextts201 / ACCESS
Need an API key?
Request access from the team and fund your prepaid balance.
02 / TROUBLESHOOT
Request not working?
401: check your key. 402: check credit. 429: respect Retry-After. 503: check availability and retry later.
Service status03 / SCALE
A dedicated deployment?
Plan GPU capacity, model hosting, and deployment requirements with the team.
Explore infrastructure