Skip to main content

image-upscaling.net api client

Project description

image-upscaling.net API Client

A simple Python package to interact with the free image-upscaling.net text to speech API.

Features

  • Submit Text: Send text to the tts service with selected voice and speed (visit the website for voices and character limit).
  • Query Status: Retrieve the processing status of your requests. This will give you the urls to download processed mp3 files.

Installation

Install the package using pip:

pip install text-to-speech-api

Usage

Submit Request

The submit function sends an image for upscaling.

Note: The client_id must be a 32-digit hexadecimal string of your choice to identify your requests.

from text_to_speech_api import submit
res = submit(client_id, "Hello world", "am_adam", speed=1.2)

Parameters:

  • client_id (str): Your 32-digit hexadecimal client ID.
  • text (str): Your text to process
  • voice (str): Select a voice
  • speed (float): set output speed

Querying Processing Status

The get_status function retrieves the status of your requests.

from text_to_speech_api import get_status
results = get_status(client_id)

Returns:

a list of (id, output_path) for your requests

Availability

This project is fully donation-funded. If you find it useful, please consider making a contribution to help cover server costs and ensure its continued availability.

At the moment, the service is free to use, but its future depends on community support. If donations are insufficient to maintain operations, it may not be possible to sustain long-term availability.

Join our Discord for updates, discussions, or support: https://discord.gg/utXujgAT8R

License

This project is licensed under the MIT License.

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

text_to_speech_api-2025.0.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

text_to_speech_api-2025.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file text_to_speech_api-2025.0.1.tar.gz.

File metadata

  • Download URL: text_to_speech_api-2025.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for text_to_speech_api-2025.0.1.tar.gz
Algorithm Hash digest
SHA256 331f6cedae414a63c0c1afa2fe23399e1d79355f170525ca39b2ae090c42daac
MD5 175362f1f2b9ae282e984c6d7322d229
BLAKE2b-256 0942073341daa3e1f8bf968a96ed54eff95ba795768f07c0e3bc98c1ef9988da

See more details on using hashes here.

File details

Details for the file text_to_speech_api-2025.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for text_to_speech_api-2025.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23dbaa52d48f3e3c61fb9ac4097229a3a90bc0b78d816b5d2ea399f144b74c04
MD5 cee06d1548ed4f7ee6af109f6fc9730d
BLAKE2b-256 8ef8f725e0db729b10933861214e7ea84fe396c08da309be0cd4c866b5d31f17

See more details on using hashes here.

Supported by

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