Synthocode AI Companion adds AI-powered buttons to your WooCommerce product editor:
- Generate description with AI — uses Groq Llama 3 or OpenAI GPT to write an SEO-optimized product description from the product title.
- Generate product image with AI (fal.ai) — uses fal.ai FLUX to generate a photorealistic product image, automatically uploads it to the Media Library, and sets it as the featured image.
- Generate reviews summary with AI — uses Groq or OpenAI to summarize the product's approved customer reviews (strengths, weaknesses, final recommendation). The result is stored and displayed via the "Resume IA des avis" block.
Non-blocking architecture
The
fal.ai queue polling is done in the browser (JavaScript), not in PHP. The server is never blocked by a long-running
sleep call. No risk of PHP timeouts or 504 errors, even with multiple concurrent users.
Security
- Nonces on every AJAX endpoint.
edit_products capability check for product actions, manage_options for settings.
- Anti-SSRF: only HTTPS URLs hosted on
queue.fal.run are accepted by the status/finalize endpoints.
- API keys stored in WordPress options, never exposed to the frontend.
BYOK (Bring Your Own Key)
This plugin contacts external AI providers using
your own API keys. No data is ever sent to Synthocode. You stay in full control of your usage and costs.