generate_speech to turn your script into audio. Charges use your Developer Balance.
Try it
Models and voices
Voices:
alloy, ash, coral, echo, fable, onyx, nova, sage, shimmer. Default: nova.
Tool calls
Your agent sends these as tool arguments. First callestimate_cost:
generate_speech:
The response includes a generation ID, an audio URL and the charged cost. Recover earlier recordings with
search_creations(kind: "audio") or get_creation.