A powerful Python SDK for advanced image processing and manipulation. Transform your images with professional-grade AI-powered tools including background removal, image upscaling, and background blur effects.
Remove backgrounds from images with precision using state-of-the-art AI technology. Perfect for product photos, portraits, and any image that needs a clean, transparent background.
Enhance image quality and resolution with our advanced upscaling algorithms. Transform low-resolution images into crisp, high-quality visuals without losing detail.
Create professional-looking images with beautiful background blur effects. Ideal for portrait photography, product shots, and artistic compositions.
Install the Miragic SDK using pip:
pip install miragic-sdkfrom miragic_sdk import MiragicSDK
# Initialize the SDK
sdk = MiragicSDK()
# Remove background from an image and return PIL Image
pil_img = sdk.remove_background("input.jpg")
pil_img.save("output.png")
# Upscale an image and return PIL Image
pil_img = sdk.upscale_image("low_res.jpg", scale_factor=2)
pil_img.save("upscaled.png")
# Apply background blur and return PIL Image
pil_img = sdk.blur_background("portrait.jpg", blur_strength=0.8)
pil_img.save("blurred.png")- Python 3.7+
- Compatible with Windows, macOS, and Linux
Miragic SDK offers free access to powerful image processing capabilities. Get started with professional-grade image manipulation tools at no cost.
For detailed API documentation and examples, visit our documentation site.
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.
Transform your images with Miragic SDK - The free, powerful image processing toolkit for Python developers.