DEV Community

Franco Petitfour
Franco Petitfour

Posted on

SEO Shopify Product Image AI Optimizer

Hello everyone, I'm currently working on an AI Shopify Product Image Optimizer. It renames images for your store using the Gemini API. It also resizes, compresses, and converts them. It then uses GraphQL to replace your store images. You can pick which Product ID to start from.

It uses BASH and it's already entirely functional. Currently looking for help with an ALT text generation script using Gemini. I've been using the rename script to do so and it's obviously not good enough.

AI Shopify Product Image Optimizer - Rename using AI, Generate ALT text, Rename, Resize, Compress, Convert to WEBP.

Set your own dimension and size thresholds, gemini prompt, file text appends and prepends, and webp quality.

Batch replace over the 250 limit using last product processed cursor.

You can read the full article here: https://seo.topmiamisoftware.com/shopify-product-media-seo-ai-image-optimizer/

If anyone feels like they can contribute to the Github repo under the MIT License then please go ahead. Even if it's to open up issues, you'll be helping tremendously.

https://github.com/topmiamisoftware/shopify-seo-image-ai-optimizer

Top comments (0)