Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.86 KB

File metadata and controls

54 lines (35 loc) · 1.86 KB

iLoveIMG API - Python Library

PyPI version Python versions License

A Python library for iLoveIMG API to automate image processing tasks such as compressing, resizing, converting, cropping, watermarking, removing backgrounds, and more.

You can sign up for an iLoveIMG account at https://developer.iloveimg.com

Develop and automate image processing tasks like Compress, Convert, Crop, Resize, Rotate, Watermark, Remove Background, and Upscale. Each task supports several settings to get your desired results.


Requirements

  • Python 3.10 to 3.14

Installation

You can install the library via PIP. Run the following command:

pip install iloveimg

For other install options (source, pre-release), see INSTALL.md.

Quick Start

  1. Get your API keys from https://developer.iloveimg.com
  2. Run a task:
from iloveimg import CompressTask

task = CompressTask(public_key="your_public_key", secret_key="your_secret_key")
task.add_file("input.jpg")
task.execute()
task.download("output_folder")

Project Structure & Documentation

For full API docs, visit developer.iloveimg.com