Convert local product images (JPG/PNG/WEBP) to descriptions using Grok Vision AI. Requires XAI_API_KEY. Use when generating e-commerce copy from local photo files, batch processing product image folders, or creating multilingual listings from saved product pictures.

AI Product Description from Image (Local Files)

Convert local product images to professional descriptions using Grok Vision AI.

What This Skill Owns

  • Single image description from local file path (JPG/PNG/WEBP)
  • Batch processing of all images in a folder
  • Output in 4 styles and 3 languages

What This Skill Does Not Cover

  • Image URLs (use ai-product-description-generator-from-image)
  • Non-image files (PDF, DOCX, etc.)
  • Publishing to Shopify/WooCommerce directly

Commands

describe

Generate description from a single local image file.

text
XAI_API_KEY=your-key bash scripts/script.sh describe --image ./product.jpg
XAI_API_KEY=your-key bash scripts/script.sh describe --image ./shoe.png --style luxury --lang zh

batch

Process all images in a folder.

text
XAI_API_KEY=your-key bash scripts/script.sh batch --folder ./product-images
XAI_API_KEY=your-key bash scripts/script.sh batch --folder ./products --style seo

Credentials

VariableRequiredDescription
XAI_API_KEYYesGrok API key from console.x.ai

Requirements

  • python3 (standard library only)
  • Internet connection (calls api.x.ai)
  • Local image files: jpg, jpeg, png, webp

Feedback

https://bytesagain.com/feedback/ Powered by BytesAgain | bytesagain.com