Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计通过

productai-skill产品技能

Agent Skill

productai-skill 用于处理图像、截图、视觉识别或图片素材相关工作,适合在 OpenClaw 中需要让 Agent 分析图片、整理视觉素材或辅助图像流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

13,744

周安装

556

GitHub Stars

公开资料未说明

下载量

4,315
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:productai-skill(产品技能)
来源仓库:https://github.com/shapes/productai-skill
安装命令:
openclaw skills install productai-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install productai-skill

简介

使用 ProductAI.photo 服务生成专业的 AI 产品照片。当用户需要创建、增强或转换产品图像以进行电子商务、营销时使用

SKILL.md

name
productai
description
Generate professional AI product photos using ProductAI.photo service. Use when users need to create, enhance, or transform product images for e-commerce, marketing, catalogs, or campaigns. Supports background replacement, product placement, scene generation, adaptive templates, and video ads. Use for tasks involving product photography, lifestyle shots, mockups, or marketing visuals.

ProductAI Integration

ProductAI.photo is an AI-powered service that generates professional product photos from existing images. It enables e-commerce businesses, marketers, and designers to create studio-quality product photography without hiring photographers.

Quick Start

1. Get Your API Key

Visit ProductAI StudioAPI Access → Copy your API key

2. Run Setup

cd ~/.openclaw/workspace/productai
scripts/setup.py
# Paste your API key when prompted

3. Generate Images

# Generate product photo with custom background
scripts/generate_photo.py \
  --image https://example.com/product.jpg \
  --prompt "modern living room with natural lighting" \
  --output result.png

# Use multiple reference images (nanobanana/seedream support 2 images)
scripts/generate_photo.py \
  --image https://example.com/product1.jpg https://example.com/product2.jpg \
  --prompt "Put the first image on top of the second image" \
  --output result.png

# High quality with Nano Banana Pro
scripts/generate_photo.py \
  --image https://example.com/product.jpg \
  --prompt "white studio background" \
  --model nanobananapro \
  --output hq.png

# Upscale an image (20 tokens)
scripts/upscale_image.py \
  --image https://example.com/photo.jpg \
  --output upscaled.png

Core Capabilities

Photo Generation (/api/generate)

  • Background replacement with AI-generated scenes
  • Product placement in realistic environments
  • Multi-image compositing (up to 2 reference images with certain models)
  • Custom prompts for full creative control

Image Upscaling (/api/upscale)

  • Professional AI upscaling (Magnific Precision Upscale)
  • Preserves image details without distortion
  • 20 tokens per upscale

Models Available

  • gpt-low — GPT Low Quality (2 tokens)
  • gpt-medium — GPT Medium Quality (3 tokens)
  • gpt-high — GPT High Quality (8 tokens)
  • kontext-pro — Kontext Pro (3 tokens)
  • nanobanana — Nano Banana (3 tokens) — DEFAULT
  • nanobananapro — Nano Banana Pro (8 tokens)
  • seedream — Seedream (3 tokens)

Multi-Image Support: nanobanana, nanobananapro, and seedream support up to 2 reference images for advanced compositing.

Configuration

API Setup

Step 1: Get Your API Key

  1. Visit ProductAI Studio
  2. Navigate to API Access section
  3. Click Generate API Key or copy existing key

Step 2: Run Setup Script

cd ~/.openclaw/workspace/productai
scripts/setup.py

This will interactively create config.json with your credentials:

{
  "api_key": "your-api-key-here",
  "api_endpoint": "https://api.productai.photo/v1",
  "default_model": "nanobanana",
  "default_resolution": "1024x1024",
  "plan": "standard"
}

The config file is automatically secured with 600 permissions.

Installation

The integration scripts require Python 3.7+ with these dependencies:

pip install requests pillow

All dependencies are handled automatically by the scripts.

Usage Examples

E-commerce Product Photos

Generate clean product shots for online stores:

scripts/generate_photo.py \
  --image https://example.com/raw-product.jpg \
  --prompt "white studio background with soft shadows" \
  --output store-listing.png

Marketing Campaign Visuals

Create lifestyle shots for advertising:

scripts/generate_photo.py \
  --image https://example.com/bottle.jpg \
  --prompt "outdoor picnic scene with blanket and basket, golden hour lighting" \
  --output campaign-hero.png \
  --model kontext-pro

Multi-Image Compositing

Combine multiple products into one scene:

scripts/generate_photo.py \
  --image https://example.com/product1.jpg https://example.com/product2.jpg \
  --prompt "Place the lipstick on top of the cosmetics box" \
  --model nanobanana \
  --output composite.png

High-Quality Output

Use Nano Banana Pro for premium results:

scripts/generate_photo.py \
  --image https://example.com/product.jpg \
  --prompt "luxury marble countertop setting with morning light" \
  --model nanobananapro \
  --output premium.png

Image Upscaling

Upscale images for print or high-res displays:

scripts/upscale_image.py \
  --image https://example.com/product.jpg \
  --output upscaled.png

Async Workflow (No Wait)

Start generation and check later:

# Start job (prints job ID)
scripts/generate_photo.py \
  --image https://example.com/product.jpg \
  --prompt "studio background" \
  --no-wait

# Output: Job created: 12345

# Later, resume and download
scripts/generate_photo.py \
  --job-id 12345 \
  --output result.png

API Reference

See API.md for complete endpoint documentation, request/response formats, and authentication details.

Pricing & Token Costs

ProductAI uses a token-based pricing system:

OperationToken Cost
GPT Low Quality Generation2 tokens
GPT Medium Quality Generation3 tokens
GPT High Quality Generation8 tokens
Kontext Pro3 tokens
Nano Banana Pro8 tokens
Nano Banana3 tokens
Seedream3 tokens
Magnific Precision Upscale20 tokens

Subscription Plans:

Visit ProductAI.photo for current plans and token packages.

Rate Limits:

  • 15 requests per minute
  • Daily limits based on subscription plan

Note: Tokens are deducted when each operation starts (not on completion).

Troubleshooting

API Key Issues

  • Verify config.json exists: cat ~/.openclaw/workspace/productai/config.json
  • Check API key in ProductAI Studio → API Access
  • Regenerate key if needed

OUT_OF_TOKENS Error

  • Check your token balance in ProductAI Studio
  • Purchase more tokens or upgrade plan
  • Remember: tokens are deducted when jobs start, not on completion

Rate Limit (429)

  • Maximum 15 requests per minute
  • Wait before retrying
  • Use --no-wait for batch jobs and check status later

Job Failed (ERROR status)

  • Check image URL is accessible and under 10MB
  • Verify image format (PNG, JPG, or WebP only)
  • Check prompt length and content
  • Try a different model

Multi-Image Not Working

  • Only nanobanana, nanobananapro, and seedream support multiple images
  • Maximum 2 reference images
  • Use array format: --image url1 url2

Support

  • Website: https://www.productai.photo
  • Documentation: See references/API.md
  • Contact: support@productai.photo (or team contact when available)

Advanced Topics

For detailed API specifications, authentication flows, webhook integration, and batch processing patterns, see API.md.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

74.35%
按下载量换算3,208

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills