Aliang Product Detail Photos logo

Aliang Product Detail Photos

Community
aliang2052
aliang-product-detail-photos

高质量商品详情图生成。将产品图片去背景,根据产品特点生成多角度、多场景商品详情图。

Add to TypingMind

Overview

Publisheraliang2052
Repositoryaliang-skills
Skill namealiang-product-detail-photos
Stars
30
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by aliang2052 on GitHub. Read the source before you install it.

Installation

Install the Aliang Product Detail Photos AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aliang2052/aliang-skills/tree/main/skills/aliang-product-detail-photos
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aliang2052/aliang-skills.git /tmp/aliang-skills
mkdir -p .claude/skills
cp -r /tmp/aliang-skills/skills/aliang-product-detail-photos .claude/skills/aliang-product-detail-photos
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Aliang Product Detail Photos in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Aliang Product Detail Photos on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Aliang Product Detail Photos is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

商品详情图生成器

依赖: 阿里云百炼 CLI (bl),需配置 DASHSCOPE_API_KEY。

触发词

当用户提到"商品详情图"、"电商主图"、"产品图"、"去掉背景"、"做产品宣传图"时使用。

工作流

第一步:确认需求

向用户确认:

  • 图片数量 — 需要几张(用户必须指定)
  • 产品图片 — 原图路径
  • 图片比例 — 1:1 方图 / 3:4 竖图 / 16:9 横图(默认 3:4)
  • 风格偏好 — 简约 / 温馨 / 自然 / 科技感 等(默认简约)
  • 输出目录 — 默认 输出/

第二步:产品理解与场景规划

用 bl text chat 分析产品,规划拍摄方案:

bash
bl text chat --message "你是一位专业的电商摄影师。请分析产品图片,规划商品详情图拍摄方案。

产品图片:{product_image_path}
需要生成:{n}张,风格:{style}

请输出规划表,将{n}张图片拆分为「角度」+「场景」的组合,每张说明展示角度、场景背景、构图要点、光线氛围。"

向用户展示规划表,等待确认。

第三步:去除产品背景

bash
bl image edit \
  --image {product_image_path} \
  --prompt "Remove the background completely, keep only the product itself with clean edges, output on solid white background" \
  --model qwen-image-2.0-pro \
  --out-dir {output_dir} \
  --out-prefix "product_no_bg"

第四步:逐张生成详情图

对每张图,用去背景后的产品图放入场景(效果比纯文本生成更准确):

bash
bl image edit \
  --image {product_no_bg_path} \
  --prompt "Place this product naturally in {scene_description}, {composition_details}, {lighting_details}, professional product photography, sharp focus, no text, no watermark, no logo" \
  --model qwen-image-2.0-pro \
  --size "{ratio}" \
  --out-dir {output_dir} \
  --out-prefix "product_{index}"

场景建议:

  • 食品/饮料 → 餐桌、厨房、自然光线
  • 服装/鞋帽 → 模特穿搭、纯色背景、生活场景
  • 数码产品 → 简约科技风、办公桌面
  • 儿童用品 → 温馨家居、明亮色彩
  • 户外用品 → 自然风光、使用场景

第五步:整理输出

输出报告:

✅ 商品详情图生成完成

📁 输出目录:{output_dir}/{product_name}/
📊 共生成 {n} 张图片:
  - product_no_bg.png — 去背景产品图
  - product_01.png — [角度] + [场景]
  ...

关键命令

操作命令
去背景bl image edit --image <path> --prompt "Remove background..." --model qwen-image-2.0-pro
产品入场景bl image edit --image <no_bg_path> --prompt "Place in {scene}..." --model qwen-image-2.0-pro --size "1:1"
纯文本生成bl image generate --prompt "<description>" --model qwen-image-2.0-pro --size "3:4"
产品分析bl text chat --message "<analysis prompt>"

Frequently asked questions

What does the Aliang Product Detail Photos AI skill do?

高质量商品详情图生成。将产品图片去背景,根据产品特点生成多角度、多场景商品详情图。

Why use Aliang Product Detail Photos on TypingMind?

Because you install it once and use it with any model. Aliang Product Detail Photos is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Aliang Product Detail Photos in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aliang2052/aliang-skills/tree/main/skills/aliang-product-detail-photos. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Aliang Product Detail Photos?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Aliang Product Detail Photos?

As many as you like. As long as a model supports skills, you can use Aliang Product Detail Photos with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Aliang Product Detail Photos AI skill free?

Yes. It is published on GitHub by aliang2052 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇