AI Product Video + Product Video Pop-up
AI Product Video + Product Video Pop-up
An OpenCart 3 and ocStore 3 module that generates product videos with Gemini Omni using up to six photos and a prompt. Supports manual processing or CRON, automatic MP4 saving, and pop-up video playback on product pages.
Promo code will be applied automatically when you add the product to cart
Enter domain without www, http, https (e.g. example.com)
Description
AI Product Video — product video generation with Gemini Omni
AI Product Video is a module for OpenCart 3 and ocStore 3 that creates short product videos from photos and a text prompt. The completed MP4 file is automatically downloaded to the store server and linked to the corresponding product.
The current version works with Gemini Omni 1.1 Flash using a standard Gemini API key. The key is created in Google AI Studio and saved in the module settings.
The main package includes the “Product Video in a Pop-up Window” integration: manage generated and manually added videos on the product editing page and display them in the default theme’s gallery.
Key features
- Product video generation with Gemini Omni 1.1 Flash.
- Three input modes: text only, the main photo, or the main photo together with additional images.
- Up to six images per job, including the main photo.
- Portrait 9:16 and landscape 16:9 formats.
- 360p, 720p, 1080p, and 4K resolutions.
- Duration from 3 to 10 seconds; one video per job.
- Automatic saving of the MP4 file and linking the video to the product.
- Queue processing from the admin panel without page reloads or via CRON.
- A global prompt template and a custom prompt for an individual product.
According to Google’s specifications, the model generates videos at 24 frames per second. Videos in 1080p and 4K are produced using upscaling. Learn more: Gemini Omni Flash specifications and Google API release notes.
Main photo and additional images
The settings let you choose which input data to use for generation:
- Text only — the video is generated from a prompt without sending any photos.
- Main image — only the product’s main photo is sent.
- Additional images — the main photo and images from the product gallery are sent in their sort order.
Prompt and product information
The prompt is created from your template. You can insert the required product data using these variables:
{name}— product name;{description}— product description;{model}— model;{sku}— SKU;{attributes}— attributes and specifications.
When adding an individual product to the queue, you can enter a custom prompt. If you leave the field empty, the global template from the settings is used.
You can separately configure instructions for added text, the language of text and speech, preservation of existing labels and logos, and audio: silent, ambient sounds, or background music. The “What to Avoid” field is appended to the prompt as an additional instruction.
These settings are sent to the model through the prompt. They do not physically remove the audio track or guarantee that added text will be blocked. How accurately the product’s appearance is preserved and instructions are followed depends on the model and the source materials.
Selecting products for generation
You can add the following to the queue:
- an individual product selected through autocomplete;
- products with an exact model match;
- products from a selected category;
- products from a selected manufacturer;
- products without videos;
- all store products that match the specified filters.
You can filter by product status and creation date, and set a limit on the number of products to add. Products that already have an active job are not added to the queue again.
Queue and manual processing
Adding products to the queue does not start generation by itself. Processing begins after clicking “Process Queue” or when CRON is called.
- Sequential batch processing in the admin panel without page reloads.
- Display of job statuses, error messages, and Google operation IDs.
- Configurable number of jobs per worker call and concurrent Google operations.
- Generation settings saved for each job when it is added.
- Resume processing an existing operation by its ID without starting a new generation.
- Delete individual jobs, cancel them locally, and clear the queue.
The “Stop” button prevents further manual worker calls from the browser. Cancelling a job locally does not cancel a paid operation already running on Google’s side. If the outcome of a start request is unknown, check the operation before creating a new job.
Automatic processing via CRON
The module provides a URL with a secret key and a command for your hosting scheduler. CRON has a separate enable/disable setting, so you can turn off automatic processing while keeping manual queue processing available.
Each call processes a limited number of jobs: it checks previously started operations, downloads completed results, and starts new jobs when capacity is available. The amount of work depends on the configured limits. The schedule is configured separately in your hosting control panel.
Manual processing and CRON use a shared worker protected against concurrent calls. After temporary polling or download errors, the existing operation is checked again. Queue processing does not run when the module itself is disabled.
Generated videos and file names
The “Generated Videos” tab lets you preview results, access the MP4 file, open the product or its editing page, and delete generated videos.
Files are saved in a selected folder within image/catalog/, for example image/catalog/ai-video/. File names are generated from a template using {name}, {model}, {sku}, {product_id}, and {number}.
For example, you can use the template {name}-{model}. Invalid characters are replaced with hyphens. Suffixes such as -2, -3, and so on are added only when names collide, to avoid overwriting another file.
Managing product videos
A “Video” tab is added to the product editing page. It lets you manage both AI-generated videos and videos added manually.
- Add multiple videos to one product.
- Support for local and external video files, YouTube, YouTube Shorts, and Vimeo.
- Enable, disable, and sort videos individually.
- Preview videos in the admin panel.
- Select a local video file through the OpenCart file manager.
- Automatically convert YouTube, Shorts, and Vimeo links into video IDs.
Videos on the product page
In the default theme, videos appear among the additional product images and open in a pop-up window. YouTube and Vimeo videos use video thumbnails; local and AI-generated videos use the product image. Both portrait and landscape videos are supported.
Schema.org VideoObject structured data is added to the product page, including information about the video, its thumbnail, and a link to the player or video file.
Theme compatibility
The extension is compatible with the standard default theme. Other themes may require adaptation, which is a paid service.
Google API access and billing
Generation requires a Gemini API key and an enabled paid tier with access to Gemini Omni Flash. Google API usage is paid for separately by the store owner and is not included in the module price.
The cost depends on the input data, generation settings, and actual API usage. Current rates are published on the official Google Gemini API Pricing page.
Requirements and operating details
- OpenCart 3 or ocStore 3.
- PHP with the cURL and mbstring extensions.
- GD with WebP support if the source photos are in WebP format.
- Outbound HTTPS access to the Google API.
- A writable output folder within
image/catalog/. - A CRON scheduler for automatic queue processing.
The generated prompt and selected product photos are sent to Google. Processing time, generation availability, and API limits depend on Google’s service and your account. Review the result before using it; a new generation may differ from the previous one.
Installation
- Upload the
ai_product_video_v_1_1_oc3.ocmod.ziparchive through “Extensions → Installer”. - Refresh modifications and clear the theme cache.
- Under “Extensions → Extensions → Modules”, find “AI Product Video” and click “Install”.
- Open the settings and enter your Gemini API key, video settings, image mode, and prompt template. Enable the module and save your changes.
- Add products to the queue and click “Process Queue” to start manual processing.
- For automatic processing, enable CRON in the module settings and add its URL or command to your hosting scheduler.
The required tables are created when the module is installed.
Disabling and uninstalling the module
Disabling the module stops queue processing but does not delete completed product videos. Uninstalling the module from the admin panel removes its settings and queue history; saved video files and their product associations are retained.
License
One license covers one domain and its subdomains.
Google Gemini API services, video generation charges, third-party hosting configuration, and adaptation for custom themes are not included in the module license price.
Specifications
- OpenCart Version
- 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5
- Module Localization
- Ukrainian, English, Russian
- Support Language
- Ukrainian, English, Russian
- Activation Method
- Automatic activation
- Ioncube Loader
- No (not required)
- Developer Server Connection
- No
- If Developer Server Unavailable
- Extension works
- PHP Version
- 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
- Compatible with Templates
- Default
Reviews (0)
Please log in to leave a review.
Log inNo reviews yet
Be the first to review this product!
Questions (0)
Please log in to ask a question.
Log inNo questions yet
Be the first to ask a question about this product!