Loading…
Loading…
OpenAI's higher-quality voices. By OpenAI, on GridPup at $36.23 per million characters, paid from your GridPup balance per request. No subscription.
| A minute of speech (about 1,000 characters) | $0.036 |
|---|---|
| A 10,000-word article read aloud (about 60,000 characters) | $2.17 |
GridPup's API speaks OpenAI's format: use any OpenAI SDK with the base URL https://api.gridpup.com/v1/ai and a GridPup API key with Also use AI models. The answer tells you what it cost. More in the API docs.
from openai import OpenAI
client = OpenAI(base_url="https://api.gridpup.com/v1/ai", api_key="gp_live_…")
r = client.audio.speech.create(
model="openai/tts-1-hd",
input="Hello from GridPup.",
voice="alloy",
)
open("hello.wav", "wb").write(r.content)base_url to https://api.gridpup.com/v1/ai and the model to openai/tts-1-hd.