Community图像github.com

OpenRouter 产品拍摄

通过 OpenRouter 生成品牌级产品图片:影棚拍摄、生活场景、手持特写、Pinterest 图钉、主视觉横幅、轮播图、广告创作包、虚拟试穿、概念/CGI 及风格重塑。

OpenRouter 产品拍摄 是什么?

此技能利用 OpenRouter 的图像生成模型(默认 `bytedance-seed/seedream-5-0-pro` 用于写实产品,`openai/gpt-image-2.6-sunburst` 用于带文字的图形/横幅),在本地组装专业摄影提示,取代了已停用的 Higgsfield 后端提示增强器。用户只需选择一种模式(从影棚拍摄到概念 CGI),填写 `references/mode-prompts.md` 中的模板,附加具体细节即可生成。支持最多 4 个问题的目标导向访谈,以明确用户意图、数量和风格;生成时每个变体仅改变一个轴(角度、光线或色调),并通过批量脚本(`or-media.sh image`)调用 OpenRouter API,输出直接写入磁盘。此技能适用于产品摄影、生活场景、Pinterest 图钉、横幅、轮播图、广告创意、虚拟试穿、风格重塑等任务,但不适用于市场列表、缩略图、品牌标识或纯文生图场景。

兼容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/seanjr2847/openrouter-skills/tree/HEAD/openrouter-product-photoshoot

Installed? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

产品拍摄(OpenRouter)

Higgsfield 曾运行一个私有后端增强器来组装拍摄提示。 该功能在此已不存在。相反:选择一种模式,填写 references/mode-prompts.md 中的模式模板, 附加用户的具体信息,然后提交给 bytedance-seed/seedream-5-0-pro(默认写实产品)或 openai/gpt-image-2.6-sunburst(带文字的图形/横幅)。

前提条件

OPENROUTER_API_KEY、curl、jq。辅助脚本: openrouter-media/scripts/or-media.sh image。

UX 规则

  1. 简洁明了:每个变体仅提供图像路径或 URL 加一行摘要。
  2. 使用用户的语言回复;模式名称保持英文。
  3. 生成前最多问 4 个简短问题,仅限带标签的选项。
  4. 跳过从上传图像或先前对话中已明显看出的问题。
  5. 从模板组装提示,不要自编摄影词汇。
  6. 轮询静默执行;文件写入磁盘后再交付。

模式

模式用户需求默认比例
product_shot中性/影棚/目录背景下的产品1:1
lifestyle_scene真实环境中使用中的产品、氛围感4:5
closeup_product_with_person手持或面部局部的特写裁切4:5
moodboard_pin纵向 Pinterest 原生美学2:3
hero_banner宽幅网站/邮件/活动横幅16:9
social_carousel3-10 张连贯幻灯片4:5
ad_creative_pack协调的静态广告变体1:1 + 9:16 组合
virtual_model_tryout渲染模特穿着或使用产品3:4
conceptual_product超现实/CGI/悬浮/溅射效果1:1
restyle变换现有图像的美学风格匹配源图

模式选择依据意图而非关键词:Pinterest -> moodboard_pin,横幅 -> hero_banner,多幻灯片 -> social_carousel,手持产品 -> closeup_product_with_person。

访谈(最多 4 个,带标签选项)

A. 上传了产品照片,要求“生成图片” - 数量 [1/3/5],风格/氛围 [简洁影棚 / 生活场景 / 概念 / 带模特],使用场景 [Shopify / Instagram / Pinterest / 付费广告 / 网站主视觉],品牌色(如不明确)。

B. 产品照片 + 指定用例 - 仅询问缺失信息:数量、优惠/氛围/卖点、 需强调的内容。

C. 仅文字描述 - 可以上传照片吗(保真度更高)?如果不能:类别、 包装、颜色、显著特征、风格、摆放方式。

D. 现有图像,要求“重做/不同感觉” -> restyle:目标美学风格 [干净女孩 / 田园风 / 低调奢华 / 暗黑学院 / Y2K / 其他],季节背景, 保留与改变的内容。

E. 模特穿着 -> virtual_model_tryout:模特原型,环境 [影棚洁净 / 户外 / 街拍 / 时装 / 居家],取景 [全身 / 四分之三 / 半身 / 特写]。

F. 模糊需求 - 什么产品,目标 [销售 / 品牌认知 / 广告 / 网站], 上传参考,然后路由到 A-E。

生成

  1. 读取 references/mode-prompts.md,获取该模式的模板块。
  2. 根据访谈结果填充 {{subject}}、{{brand}}、{{surface}}、{{palette}}、{{extras}}。 保留模板中的相机、光线和材质术语。
  3. 每个变体提交一次调用(不要依赖 n——许多模型每次调用只返回一张图片), 每个变体仅改变一个轴:角度、光线或色调。
bash "$HOME/.claude/skills/openrouter-media/scripts/or-media.sh" image \
  --model bytedance-seed/seedream-5-0-pro \
  --prompt "<组装的提示>" \
  --ref ./product.jpg --ratio 4:5 --resolution 2K --out ./shots

轮播图与广告包:先生成第 1 张幻灯片,然后将其作为 --ref 用于其余部分, 以保持视觉体系稳定,并在每个提示中保持相同的色调和光线描述。

分辨率与比例

最终输出用 2K(Seedream 支持 1K/1.5K/2K),草稿用 1K。 openai/gpt-image-2.6-sunburst 没有 resolution 字段——请改用 --quality high, 否则调用会返回 400。比例:1:1、4:5、5:4、3:4、4:3、2:3、 3:2、9:16、16:9。仅在用户要求或版位需要时覆盖默认比例。

交付

简短的文件列表。无 JSON、无任务 ID、无模型名称、无提示转储。 如果一个变体失败,用一行说明。

3 张生活场景图已准备就绪:
- ./shots/image-1.png
- ./shots/image-2.png
- ./shots/image-3.png

常见错误

  • 自行编写摄影提示,而不是填写模式模板。
  • 用户要求 Pinterest 图钉或横幅时,却使用了 product_shot 模式。
  • 一条消息中问了五个问题。
  • 将组装的提示原样粘贴回用户那里——他们想要的是图片。
  • 生成 5 个仅种子不同的变体;务必有意识地改变一个轴。

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

openrouter-marketplace-cards

Marketplace product image sets through OpenRouter: compliant main image, secondary product images, infographics, multi-angle and detail shots, lifestyle listing shots, and A+ style content modules. The original Higgsfield backend held private marketplace compliance templates; this skill ships its own asset templates in references/asset-templates.md. Use when: "marketplace listing images", "product detail cards", "secondary product images", "product infographic", "lifestyle listing shot", "A+ content", "marketplace image set", "sales-ready product visuals". NOT for: brand photography without a listing context (openrouter-product-photoshoot), thumbnails (openrouter-youtube-thumbnail), brand identity (openrouter-brandkit), video/UGC ads (openrouter-generate).

openrouter-websites

Build and ship a real website locally: design brief, reference boards, asset system, React/Next.js implementation, optional scroll-scrubbed film site, SEO and OG metadata, QA, then deploy to Vercel. Media (stills, the scroll film) is generated through OpenRouter instead of the Higgsfield website platform. Use when: "build me a website", "make a landing page", "portfolio", "marketing site", "scroll website", "scroll-scrub landing page", "make the page play a video as I scroll", "deploy this site". NOT for: single image/video generation (use openrouter-generate), product photos (openrouter-product-photoshoot), marketplace cards (openrouter-marketplace-cards), thumbnails (openrouter-youtube-thumbnail), brand systems (openrouter-brandkit).

相关技能