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.
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.
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
| Variable | Required | Description |
|---|---|---|
| XAI_API_KEY | Yes | Grok 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