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/
Metadata
Release files for supermaker-ai-image-master-2 1766750.238.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| supermaker_ai_image_master_2-1766750.238.33.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| supermaker_ai_image_master_2-1766750.238.33-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / supermaker_ai_image_master_2-1766750.238.33.tar.gz
| Download URL | supermaker_ai_image_master_2-1766750.238.33.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
057958ad5af90df211b04ac4984ca7a845895f8f7879346d3a9e2eed76b69e8a
|
|
BLAKE2b-256 checksum How to use checksums |
0661a3004dae2156a84c61086907ab146f0798cb506c3cdefc301ea3a6af3319
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / supermaker_ai_image_master_2-1766750.238.33-py3-none-any.whl
| Download URL | supermaker_ai_image_master_2-1766750.238.33-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b8c9c90ca70c6ef234453edb804247904f0780b563653a83b618cf2c0ff16be
|
|
BLAKE2b-256 checksum How to use checksums |
179e316ba3b5271e3ad876011dbacf5ef74ffdb055ad7f04e4be7c6df96eaa24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|