Using Gemini API to Generate Dynamic Product Descriptions for E-commerce?

I’m exploring the Gemini API to generate dynamic and SEO-friendly product descriptions for an eCommerce site I manage:“Modified by moderator”

I’d like to:

  • Input structured product data (brand, model, features)
  • Get a concise, readable product description under 8th-grade reading level
  • Ensure keyword optimization for search

So far, I’m using the /v1beta/models/gemini-pro:generateContent endpoint, but responses are sometimes too long or not SEO-optimized.

Has anyone implemented Gemini for this kind of structured → natural language output?
Any prompt tips or formatting ideas for consistent eComm content?

Thanks!

Sure I did this for a PIM.

Just tell it to write a good ecommerce description for this product. There is no real specific prompt needed.

Pass in the meta data about your product if you have it, like product name, type of product, product category, attributes like colors, sizes etc. and then tell it what kind of tone it should use, like informational, funny, etc.

You can also tell it to “write 5 paragraphs” or something like that to adjust the length.