Metadata-Version: 2.4
Name: flowspeech-sdk
Version: 0.1.0
Summary: Small Python SDK for the FlowSpeech text-to-speech API
Author: FlowSpeech
License-Expression: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# flowspeech-sdk

Python SDK for the FlowSpeech text-to-speech API.

The SDK does not contain provider credentials. It accepts a user-owned
FlowSpeech API key and sends it as a bearer token when configured.

```python
from flowspeech_sdk import FlowSpeechClient

client = FlowSpeechClient(api_key="fs_...")
result = client.synthesize("Hello from FlowSpeech", voice="Kore")
Path("speech.wav").write_bytes(result.audio)
```

## API Shape

- Default endpoint: `https://flowspeech.io/api/ai/text-to-speech`
- Authentication: optional `Authorization: Bearer <FlowSpeech API key>`
- Response: JSON envelope with `data.audioBase64` and `data.mimeType`

