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 API. This client provides two key functions for uploading images for processing and querying their processing status.

Features

  • Upload Images: Send images to the upscaling service with 2 enhancement options.
  • Query Status: Retrieve the processing status of your images, categorized as waiting, completed, or in progress. This will give you the urls to download processed images.

Full Example Notebook:

https://github.com/dercodeKoenig/image-upscaling.net_API/blob/main/upscale_api/image_upscaling_api_demo.ipynb

Installation

Install the package using pip:

pip install image-upscaling-api

Usage

Uploading an Image

The upload_image 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 image_upscaling_api import upload_image

# Example usage:
upload_image("r1.png", "481d40602d3f4570487432044df03a52", 
             use_face_enhance=False,
			 scale = 4)

Parameters:

  • image_path (str): Path to the image file.
  • client_id (str): Your 32-digit hexadecimal client ID.
  • scale (int): target scale, can be 1/2/3/4
  • use_face_enhance (bool): Enable to improve facial features (faces will not always match original faces).

Querying Processing Status

The get_uploaded_images function retrieves the status of your uploaded images.

from image_upscaling_api import get_uploaded_images

# Example usage:
waiting, completed, in_progress = get_uploaded_images("481d40602d3f4570487432044df03a52")

Returns:

  • waiting (list): Images queued for processing.
  • completed (list): Images that have been processed.
  • in_progress (list): Images currently being processed.

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.

Source code:

https://github.com/dercodeKoenig/image-upscaling.net_API

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

image_upscaling_api-2025.0.11.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

image_upscaling_api-2025.0.11-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file image_upscaling_api-2025.0.11.tar.gz.

File metadata

File hashes

Hashes for image_upscaling_api-2025.0.11.tar.gz
Algorithm Hash digest
SHA256 15f1862e8021303de9dd34ee0beabf39daaa0396fe6fc4a8afd3b4683d23b4ce
MD5 cb9a2a2baf903947ded52994e7e8ad78
BLAKE2b-256 da3f03d8b3eb0a4886c11ef1093c2077c3385678b25487563c2147337d34d86b

See more details on using hashes here.

File details

Details for the file image_upscaling_api-2025.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for image_upscaling_api-2025.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 55985176daa2a74091c40c01b9726719a0840b4b2157c9d607d735c517a2fa74
MD5 d4ac0bf1d8431c09b65047217503c04f
BLAKE2b-256 c5267a7a8c5cc4b8684e02abe8155e36c6cf8fc6db892f3898ea9cf15a1fab05

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