Metadata-Version: 2.5
Name: runapi-openai-tts
Version: 0.3.0
Summary: RunAPI OpenAI TTS SDK for speech generation in JavaScript, Python, Ruby, Go, Java, and PHP
Project-URL: Homepage, https://runapi.ai/models/openai-tts
Project-URL: Documentation, https://runapi.ai/docs/resources/sdks
Project-URL: Source, https://github.com/runapi-ai/openai-tts-sdk
Project-URL: Issues, https://github.com/runapi-ai/openai-tts-sdk/issues
Project-URL: Changelog, https://github.com/runapi-ai/openai-tts-sdk/blob/main/CHANGELOG.md
Project-URL: Release Notes, https://github.com/runapi-ai/openai-tts-sdk/releases/tag/python%2Fv0.3.0
Author-email: RunAPI <contact@runapi.ai>
License-Expression: Apache-2.0
Keywords: api,audio,golang,java,maven,openai,openai-tts,python,ruby,runapi,runapi-ai,sdk,speech,tts,typescript
Requires-Python: >=3.9
Requires-Dist: runapi-core>=0.8.0
Description-Content-Type: text/markdown

# OpenAI TTS Python SDK for RunAPI

Install `runapi-openai-tts`, create `OpenaiTtsClient`, and call `client.text_to_speech.run(model="tts-1", text="Hello")`.

`run()` returns the same typed terminal result whether the request completes directly or is accepted for background processing. Call `subscribe(location)` to resume an accepted request from its opaque Task Result URL.

Model details and pricing: https://runapi.ai/models/openai-tts

Licensed under the Apache License, Version 2.0.
