mhinspeya/module-hyva-aiimages
最新稳定版本:1.0.0
Composer 安装命令:
composer require mhinspeya/module-hyva-aiimages
包简介
Generates AI-based inspiration images in Magento 2 using style, scene, and gender parameters. The module stores generated images in a custom database table and provides a dedicated admin page with filtering options. Includes a daily usage dashboard with limits, partner key authentication, and token-
关键字:
README 文档
README
mhinspeya/module-hyva-aiimages
- Main Functionalities
- Installation
- Configuration
- How It Works
- Generated Image Management
- Specifications
- Attributes
Main Functionalities
The MHinspeya Hyvä AI Inspiration Image Generator module allows Magento 2 merchants to generate AI-powered inspiration images for products based on:
- Style (e.g., Modern, Retro, Streetwear, Minimal)
- Scene (Studio, Outdoor, Lifestyle, Flat Lay)
- Gender (Male, Female, Unisex)
🧠 Important:
This module does not replace product images and does not save images into Magento’s media gallery.
Instead:
- AI-generated images are stored in a custom database table.
- Images are shown in a separate admin section.
- You get a dedicated page to browse all generated images with filters based on style, scene, and gender.
Installation
* For production environments, use: --keep-generated.
Type 1: Zip File Installation
- Extract to:
app/code/MHinspeya/Inspiration - Enable module:
php bin/magento module:enable MHinspeya_Inspiration - Run upgrade:
php bin/magento setup:upgrade - Flush cache:
php bin/magento cache:flush
Type 2: Composer Installation
- Add repository (if private):
composer config repositories.inspeya composer https://repo.inspeya.com/ - Install module:
composer require mhinspeya/module-hyva-aiimages - Enable module:
php bin/magento module:enable MHinspeya_Inspiration - Upgrade:
php bin/magento setup:upgrade - Clear cache:
php bin/magento cache:flush
Configuration
Admin path:
Stores → Configuration → MHinspeya → AI Inspiration Images
Available Settings:
- API Provider (OpenAI, Stable Diffusion, Custom model)
- API Key
- Default Style / Scene / Gender
- Generated image resolution
- Cleanup behavior (keep or auto-delete old generations)
How It Works
- Admin visits product editing page.
- Opens the AI Inspiration Image Generator section.
- Selects:
- Style
- Scene
- Gender
- Clicks Generate Image.
- The module calls the configured AI model API.
- The generated image is:
- Stored in a custom table
- Displayed in the UI for preview
- NOT added to Magento media gallery
Generated Image Management
The module adds a new admin page:
Marketing → AI Inspiration Images
This page shows:
- ✔ All AI-generated images
- ✔ Filters for:
- Style
- Scene
- Gender
- Product
- Date
- ✔ Pagination
- ✔ Large image preview
- ✔ Internal ID, prompt details, and meta information
This lets you review and manage thousands of generated images without touching product media.
Specifications
| Feature | Support |
|---|---|
| Hyvä Compatibility | ✔ |
| AI Image Generation (Style / Scene / Gender) | ✔ |
| Custom database storage | ✔ |
| Separate image listing page | ✔ |
| Filter & search functionality | ✔ |
| No media gallery save | ✔ |
| No product image replacement | ✔ |
| Multi-store Support | ✔ |
| API Extensibility | ✔ |
Attributes
This module does not add product attributes.
Instead, it introduces:
- Custom DB table for AI-generated images
- Admin UI component for image listing
- Filters for:
- Style
- Scene
- Gender
© MHinspeya — All Rights Reserved
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2025-11-27