Skip to main content

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

Project description

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.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowspeech_sdk-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowspeech_sdk-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file flowspeech_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: flowspeech_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for flowspeech_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 edfafe8fd3e2cce3afb8cf7aa63133ac1a3d1a4ac8e92dacfa4891788bf422e1
MD5 305fb429404bd4f77caa133ff4f35e2d
BLAKE2b-256 35412e278ad931a5ce4f9c967c87637159de57c622448a25e90ce4b94b5cf374

See more details on using hashes here.

File details

Details for the file flowspeech_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flowspeech_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for flowspeech_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55baa6ac13492988a5ef742a4ebeebb48064cd6d9e698fb0efc616a6cd8e0e0e
MD5 eaba87780462ba5ab581f270ceb42d31
BLAKE2b-256 37546695c074313e1786d3a92773343494fe04f4cbef060a13e8d2c1b32b00c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page