Transform any image into brand-consistent visuals or edit them using AI, with specialized features for e-commerce products.
- Style Transfer Tool: Upload images and transform them with AI using custom prompts
- Brand Kit Manager: Create and manage brand colors, fonts, and style guidelines
- One-Click Generation: Simple and intuitive interface for quick content generation
- Media Library Integration: AI Edit button directly in WordPress media library
- Generation History: Track and manage all your AI-generated images
- Product Variation Images: Generate multiple unique images for product variations
- Background Removal/Scene Generation: Remove backgrounds and create lifestyle shots
- Category Banner Generation: Create branded banners for product categories
- Product Gallery Integration: Add generated images directly to product galleries
- Together AI Integration: Powered by FLUX models for high-quality image generation
- REST API: Full REST API for advanced integrations
- User Permissions: Capability-based access control
- Usage Tracking: Monitor generation limits and usage statistics
- Error Handling: Comprehensive error handling and user feedback
- Download the plugin files
- Upload to your WordPress
/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to 'SNN AI Images' β 'Settings' to configure your API key
- Visit Together AI
- Create an account and get your API key
- Go to WordPress Admin β SNN AI Images β Settings
- Enter your API key and test the connection
- Choose your preferred AI model (FLUX.1 Schnell, Dev, or Pro)
- Set usage limits per user
- Configure allowed file types
- Go to SNN AI Images β Brand Kits
- Create brand kits with your colors, fonts, and style guidelines
- Use these for consistent branding across all generated images
- Go to SNN AI Images β Dashboard
- Upload images using drag & drop
- Enter your transformation prompt
- Optionally add style description and select brand kit
- Click "Generate AI Images"
- Go to Media Library
- Edit any image
- Scroll to "AI Edit" section
- Enter prompt and generate variations
- Use generated images or download them
- Edit any product
- Find "AI Product Images" meta box
- Generate variations, remove backgrounds, or create lifestyle shots
- Add generated images to product gallery
POST /wp-json/snn-ai/v1/generate
GET /wp-json/snn-ai/v1/brand-kits
POST /wp-json/snn-ai/v1/brand-kits
PUT /wp-json/snn-ai/v1/brand-kits/{id}
DELETE /wp-json/snn-ai/v1/brand-kits/{id}
GET /wp-json/snn-ai/v1/history
GET /wp-json/snn-ai/v1/usage
The plugin adds the following capabilities:
use_snn_ai_images- Generate AI imagesmanage_snn_ai_brand_kits- Create and manage brand kitsview_snn_ai_history- View generation history
id- Primary keyuser_id- Owner of the brand kitname- Brand kit namecolors- JSON array of brand colorsfonts- JSON array of brand fontsstyle_guidelines- Text description of brand stylecreated_at- Creation timestampupdated_at- Last update timestamp
id- Primary keyuser_id- User who generated the imageoriginal_image_id- WordPress attachment ID of original imagegenerated_image_id- WordPress attachment ID of generated imageprompt- Generation promptstyle_description- Style descriptionbrand_kit_id- Associated brand kitgeneration_type- Type of generationstatus- Generation status (pending, completed, failed)error_message- Error message if failedcreated_at- Creation timestamp
snn-ai-images/
βββ snn-ai-images.php # Main plugin file
βββ README.md # Documentation
βββ assets/
β βββ css/
β β βββ admin.css # Admin styles
β βββ js/
β βββ admin.js # Main admin JavaScript
β βββ media-library.js # Media library integration
β βββ woocommerce.js # WooCommerce integration
β βββ brand-kits.js # Brand kit management
βββ includes/
β βββ class-admin.php # Admin functionality
β βββ class-api.php # REST API endpoints
β βββ class-together-ai.php # Together AI integration
β βββ class-media-library.php # Media library integration
β βββ class-woocommerce.php # WooCommerce integration
β βββ class-brand-kit.php # Brand kit manager
β βββ class-image-processor.php # Image processing
βββ templates/
βββ dashboard.php # Main dashboard template
βββ brand-kits.php # Brand kits management
βββ history.php # Generation history
βββ settings.php # Settings page
- WordPress 5.0+
- PHP 7.4+
- WooCommerce 3.0+ (optional, for e-commerce features)
The plugin is built with extensibility in mind:
- All templates can be overridden in your theme
- Custom CSS can be added through WordPress hooks
- REST API endpoints can be extended
- Custom generation types can be added