Metadata-Version: 2.4
Name: supermaker-ai-image-master-2
Version: 1766750.238.33
Summary: High-quality integration for https://supermaker.ai/image/
Home-page: https://supermaker.ai/image/
Author: SuperMaker
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# supermaker-ai-image-master-2

A Python library designed to showcase the capabilities of supermaker-ai-image-master-2 and facilitate seamless integration with the Supermaker AI Image platform. This package provides a simplified interface for interacting with image generation and manipulation features.

## Installation

To install the `supermaker-ai-image-master-2` package, use pip:
bash
pip install supermaker-ai-image-master-2

## Basic Usage

Here are a few examples demonstrating how to use the `supermaker-ai-image-master-2` package:

**1. Generating a Simple Image:**
python
from supermaker_ai_image_master_2 import ImageGenerator

generator = ImageGenerator()
image_path = generator.generate_image(prompt="A majestic wolf howling at the moon")

print(f"Image generated at: {image_path}")

This example utilizes the `ImageGenerator` class to generate an image based on a simple text prompt. The generated image will be saved to the specified path.

**2. Applying a Filter to an Existing Image:**
python
from supermaker_ai_image_master_2 import ImageEditor

editor = ImageEditor()
edited_image_path = editor.apply_filter(image_path="path/to/your/image.jpg", filter_type="sepia")

print(f"Edited image saved at: {edited_image_path}")

This example demonstrates how to apply a "sepia" filter to an existing image using the `ImageEditor` class.  Replace `"path/to/your/image.jpg"` with the actual path to your image file.

**3. Creating a Thumbnail of an Image:**
python
from supermaker_ai_image_master_2 import ImageProcessor

processor = ImageProcessor()
thumbnail_path = processor.create_thumbnail(image_path="path/to/your/image.jpg", size=(128, 128))

print(f"Thumbnail created at: {thumbnail_path}")

This example showcases the creation of a thumbnail from an existing image using the `ImageProcessor` class. The thumbnail will be resized to 128x128 pixels.  Again, replace `"path/to/your/image.jpg"` with the correct path to your image.

**4. Generating Multiple Images with Variations:**
python
from supermaker_ai_image_master_2 import ImageGenerator

generator = ImageGenerator()
image_paths = generator.generate_variations(prompt="A futuristic cityscape", num_images=3)

for i, path in enumerate(image_paths):
    print(f"Image {i+1} generated at: {path}")

This example demonstrates generating multiple variations of an image based on the given prompt, creating three different images of a futuristic cityscape.

**5. Resizing an Image to Specific Dimensions:**
python
from supermaker_ai_image_master_2 import ImageProcessor

processor = ImageProcessor()
resized_image_path = processor.resize_image(image_path="path/to/your/image.jpg", width=800, height=600)

print(f"Resized image saved at: {resized_image_path}")

This example demonstrates how to resize an existing image to a specific width and height (800x600 pixels in this case).

## Features

*   **Image Generation:** Generate images from text prompts.
*   **Image Filtering:** Apply various filters to existing images (e.g., sepia, grayscale).
*   **Image Resizing:** Resize images to specified dimensions.
*   **Thumbnail Creation:** Generate thumbnails of images.
*   **Variation Generation:** Create multiple image variations based on a single prompt.
*   **Simplified API:** Provides an easy-to-use interface for interacting with image processing functionalities.

## License

MIT License

This project is a gateway to the supermaker-ai-image-master-2 ecosystem. For advanced features and full capabilities, please visit: https://supermaker.ai/image/
