Product Photo Generation 标志

Product Photo Generation

组织
eachlabs
Product Photo Generation

Generate professional product photography using each::sense API for e-commerce, marketing, and catalog imagery

Add to TypingMind

概览

发布者eachlabs
代码仓库skills
技能名称Product Photo Generation
星标数
46
复刻数
7
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 eachlabs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Product Photo Generation AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/eachlabs/skills/tree/main/skills/product-photo-generation
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eachlabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/product-photo-generation .claude/skills/eachlabs-product-photo-generation
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Product Photo Generation,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Product Photo Generation。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Product Photo Generation 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Product Photo Generation

Generate professional product photography with the each::sense API. Create e-commerce ready images, lifestyle shots, and studio-quality product visuals for any item.

Overview

The each::sense API enables generation of high-quality product photography suitable for:

  • E-commerce product shots - Clean, professional images for online stores
  • Lifestyle context images - Products shown in real-world settings
  • White background photography - Standard catalog and marketplace images
  • Studio lighting setups - Professional lighting for premium product presentation
  • Marketing visuals - Eye-catching images for ads and promotions

You can also provide your own product images via image_urls to place your actual products into professionally styled scenes.

Quick Start

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Generate a professional product photo of a minimalist ceramic coffee mug on a white background with soft studio lighting"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Product Photo Styles

StyleDescriptionBest For
White BackgroundClean, isolated product on pure whiteE-commerce, marketplaces, catalogs
LifestyleProduct in real-world context or environmentSocial media, brand storytelling
Flat LayTop-down view with arranged propsFashion, food, accessories
In-ContextProduct being used or in its natural settingMarketing campaigns, ads
Hero ShotDramatic lighting and angles for impactHomepage banners, featured products
Detail ShotClose-up focusing on texture and craftsmanshipLuxury goods, handmade items

Use Case Examples

White Background Product Shot

Standard e-commerce product photography with clean white background.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Professional product photo of a stainless steel water bottle on pure white background, centered composition, soft box lighting from above and sides, no shadows, e-commerce style, 4K quality"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Lifestyle Context Shot

Product shown in an aspirational real-world setting.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Lifestyle product photography of premium wireless headphones on a modern wooden desk, morning light through window, MacBook and coffee cup in soft focus background, warm and inviting atmosphere"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Flat Lay Composition

Top-down arrangement with complementary props.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Flat lay product photography of a leather wallet, arranged with sunglasses, car keys, and a fountain pen on marble surface, overhead shot, even lighting, editorial style composition"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Hero Shot with Dramatic Lighting

High-impact product image for marketing materials.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Hero shot of a luxury perfume bottle, dramatic side lighting creating elegant shadows, dark moody background with subtle gradient, glass reflections and caustics, premium advertising quality"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Detail/Macro Shot

Close-up focusing on product texture and craftsmanship.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Macro detail shot of handcrafted leather bag stitching, extreme close-up showing texture and quality of leather grain, shallow depth of field, warm directional lighting highlighting craftsmanship"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

In-Use/Action Shot

Product being actively used or demonstrated.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Action product shot of running shoes in motion, dynamic angle showing flexibility, slight motion blur on background, athletic track setting, energetic and sporty atmosphere"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Seasonal/Themed Shot

Product styled for specific season or holiday.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Holiday themed product photo of a scented candle surrounded by pine branches, dried oranges, and cinnamon sticks, warm cozy lighting, festive winter atmosphere, gift-ready presentation"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Size Comparison Shot

Product shown with reference objects for scale.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Product scale photo of a compact Bluetooth speaker next to a smartphone and coffee cup for size reference, clean white background, even lighting, showing portable dimensions clearly"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Packaging Shot

Product with its packaging for unboxing experience.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Product and packaging photo of premium skincare bottle emerging from elegant black box, tissue paper visible, unboxing moment, luxury presentation, soft lighting on neutral background"}],
    "model": "eachsense/beta",
    "stream": true,
    "mode": "max"
  }'

Using Your Own Product Images

Provide actual product photos via image_urls to place your products into professionally styled scenes.

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Place this product in a modern kitchen setting, morning light, marble countertop, lifestyle photography style"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-product.jpg"],
    "mode": "max"
  }'

Product with Custom Background

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Put this product on a pure white background with professional studio lighting, remove existing background, e-commerce ready"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/raw-product-photo.jpg"],
    "mode": "max"
  }'

Best Practices for Product Photography

Lighting Guidelines

  • Soft box lighting - Even illumination for e-commerce shots
  • Rim lighting - Creates separation from background
  • Natural window light - Warm, authentic lifestyle feel
  • Dramatic side lighting - Adds depth and premium look
  • Diffused overhead - Minimizes harsh shadows

Composition Tips

  • Center important products for e-commerce
  • Use rule of thirds for lifestyle shots
  • Leave negative space for text overlay
  • Consider the platform aspect ratio requirements
  • Include context elements that tell a story

Background Selection

  • Pure white (#FFFFFF) for marketplace requirements
  • Gradient backgrounds for premium products
  • Contextual environments for lifestyle appeal
  • Complementary colors that enhance product
  • Textured surfaces for artisanal products

Prompt Tips

Effective prompts for product photography include:

Lighting descriptors:

  • "soft box lighting", "natural window light", "dramatic side lighting"
  • "rim light", "backlit", "diffused overhead lighting"
  • "golden hour warmth", "cool studio lighting"

Angle specifications:

  • "eye-level shot", "45-degree angle", "overhead flat lay"
  • "low angle hero shot", "three-quarter view", "straight-on"

Background details:

  • "pure white background", "gradient gray backdrop"
  • "marble surface", "wooden table", "concrete texture"

Style references:

  • "e-commerce style", "editorial quality", "magazine advertisement"
  • "catalog photography", "Instagram aesthetic", "premium brand look"

Props and context:

  • "minimalist props", "lifestyle elements", "seasonal decorations"
  • "complementary accessories", "natural elements"

Mode Selection

ModeBest ForOutput Quality
maxHero shots, marketing materials, premium productsHighest quality, detailed rendering
ecoQuick iterations, bulk catalog photos, testing conceptsFast generation, good quality

Use max mode for final marketing assets and hero images. Use eco mode for rapid prototyping and generating multiple variations quickly.

Multi-Turn Sessions for Product Series

Use session_id to maintain consistency across a product line or catalog series.

Start a product series session

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Generate a product photo of a blue ceramic coffee mug on white background with soft natural lighting, minimalist style"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "product-catalog-2024",
    "mode": "max"
  }'

Continue with consistent style

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Now generate the matching red ceramic mug in the same style and lighting setup"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "product-catalog-2024",
    "mode": "max"
  }'

Add variations

bash
curl -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a lifestyle version showing both mugs on a breakfast table with croissants"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "product-catalog-2024",
    "mode": "max"
  }'

Error Handling

ErrorCauseSolution
401 UnauthorizedInvalid or missing API keyVerify X-API-Key header is set correctly
400 Bad RequestMalformed request bodyCheck JSON syntax and required fields
429 Rate LimitedToo many requestsImplement exponential backoff
500 Server ErrorService temporarily unavailableRetry after a brief delay

Retry with exponential backoff

bash
for i in 1 2 3; do
  response=$(curl -s -w "%{http_code}" -X POST "https://eachsense-agent.core.eachlabs.run/v1/chat/completions" \
    -H "Content-Type: application/json" \
    -H "X-API-Key: $EACHLABS_API_KEY" \
    -H "Accept: text/event-stream" \
    -d '{
      "messages": [{"role": "user", "content": "Professional product photo of wireless earbuds on white background"}],
      "model": "eachsense/beta",
    "stream": true,
      "mode": "max"
    }')

  http_code="${response: -3}"
  if [ "$http_code" -eq 200 ]; then
    echo "${response%???}"
    break
  fi
  sleep $((2**i))
done

Related Skills

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Product Photo Generation AI 技能有什么作用?

Generate professional product photography using each::sense API for e-commerce, marketing, and catalog imagery

为什么在 TypingMind 中使用 Product Photo Generation?

因为您只需安装一次,就能搭配任何模型使用。Product Photo Generation 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Product Photo Generation?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/eachlabs/skills/tree/main/skills/product-photo-generation。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Product Photo Generation?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Product Photo Generation 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Product Photo Generation 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Product Photo Generation AI 技能免费吗?

eachlabs 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇