360 Secure SkillHub
360 安全技能中心

Ai Product Description From Image

核心功能:支持JPG/PNG/WEBP格式的本地商品图片,通过Grok Vision AI生成专业描述,可单张处理或批量处理文件夹内图片,输出含4种风格、3种语言可选。典型场景:电商文案创作、批量生成商品图描述、创建多语言商品列表。需配置XAI_API_KEY,通过命令行调用,仅处理本地图片,不支持图片URL及非图片文件。

loutai0307-prog
loutai0307-prog
热度 40.90
最近更新 2026-05-11 17:44:10
分类:营销依赖:读写文件 / 第三方 API应用场景:文案创作 / 翻译 / 购物

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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