360 Secure SkillHub
360 安全技能中心

Ai Product Description From Image

读取本地 JPG/PNG/WEBP 商品图片,调用 Grok 视觉 API 生成电商产品描述;支持单张图片、文件夹批量处理,可选 4 种文案风格与 3 种输出语言,需要 XAI_API_KEY 与联网。

分类:营销
loutai0307-prog
loutai0307-prog
热度 31.76
最近更新 2026-05-11 17:44:10

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add loutai0307-prog/ai-product-description-from-image
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
ai-product-description-from-image
description
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.
version
2.0.1
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills
tags
["ecommerce","product","image","vision","batch","local"]
env
[{"name":"XAI_API_KEY","required":true,"description":"Grok API key from console.x.ai"}]

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