Community图像github.com

OpenRouter 市场卡片

通过 OpenRouter 生成符合市场合规要求的产品图片集:主图、副图、信息图、多角度和细节图、生活方式场景图以及 A+ 内容模块。

OpenRouter 市场卡片 是什么?

该技能旨在帮助开发者和电商卖家快速创建符合各大在线市场(如亚马逊等)合规要求的产品图片集。它通过 OpenRouter 的 API 调用图像生成模型,并使用内置的资产模板(定义在 `references/asset-templates.md`)来确保每张图片都满足市场对背景、裁剪、文本叠加和缩放一致性的苛刻要求。技能支持四种范围:仅主图、产品图片集(主图 + 5 张副图)、A+ 内容模块以及完整套装(主图 + 5 副图 + 7 A+ 模块)。工作流程首先确认产品和范围,然后按模板顺序生成资产,并以首张主图为参考保持风格一致。生成后还会对照检查清单进行验证,并对失败项重新生成。对于需要清晰重叠文本的资产(如信息图、A+ 横幅),它会选择特定的模型(如 `openai/gpt-image-2.6-sunburst`)。最终交付时只输出文件路径和简短标签,不输出 JSON 或提示词。注意,它不保证与特定市场当前政策 100% 匹配,也不生成视频或 UGC 内容。

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

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

在你喜欢的 AI 中提问

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

文档

Market cards(OpenRouter)

市场拒绝图片的原因通常是具体且无聊的:杂乱的背景、产品被裁剪、主图上叠加文字、虚假徽章、整个图集比例不一致。references/asset-templates.md 中的模板对这些约束进行了编码。

前置条件

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

UX 规则

  1. 使用用户的语言回复。
  2. 执行前最多问一次确认问题。
  3. 优先使用真实产品照片作为 --ref。仅当产品明确无误时,才仅凭文字生成。
  4. 根据资产模板组合提示词;不要自由发挥合规规则。
  5. 最终答案:文件路径加简短标签。不要 JSON、任务 ID 或提示词转储。

范围

范围产出
main1 张市场主图
product-images主图 + 5 张副图
aplus主图 + 7 个 A+ 模块
full-set主图 + 5 张副图 + 7 个 A+ 模块

资产:main_image、infographic、multi_angle、detail_shot、lifestyle、 whats_in_box、aplus_hero_banner、aplus_pain_points、aplus_features、 aplus_ingredients、aplus_efficacy、aplus_how_to_use、aplus_endorsement。

工作流程

  1. 确认产品、市场和范围。如果用户提供了 listing URL,则从中读取标题和关键声明——不要编造认证。
  2. 首先生成 main_image。后续所有资产都将它作为 --ref,以保持比例、调色板和光线一致。
  3. 按模板顺序生成剩余资产,每次调用生成一个。
  4. 在交付前,对照模板的检查清单检查每个输出;对失败项用更严格的约束重新生成一次,而不是直接交付。
bash "$HOME/.claude/skills/openrouter-media/scripts/or-media.sh" image \
  --model bytedance-seed/seedream-5-0-pro \
  --prompt "<main_image template, filled>" \
  --ref ./product.jpg --ratio 1:1 --resolution 2K --out ./cards

模型选择:bytedance-seed/seedream-5-0-pro 用于逼真产品图, openai/gpt-image-2.6-sunburst 用于需要清晰叠加文本的资产(信息图、A+ 横幅)。需要检查的正是包含文本的资产——标签和数字必须与用户提供的事实完全一致。

交付

Marketplace cards ready:
- Main image: ./cards/image-1.png
- Infographic: ./cards/image-2.png
- Lifestyle: ./cards/image-3.png

本技能不做什么

  • 它不能保证符合特定市场的当前政策。列出它遵循的检查清单;告知用户在上传前对照最新的 listing 规则进行验证。
  • 它不生成视频广告或 UGC 内容。

Individual skills in this repo

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

openrouter-product-photoshoot

Brand-quality product images through OpenRouter: studio shot, lifestyle scene, hands-on closeup, Pinterest pin, hero banner, carousel, ad creative pack, virtual try-on, conceptual/CGI, restyle. Mode templates live in this skill (the original Higgsfield backend prompt enhancer is gone), so you assemble the prompt locally and submit it to an OpenRouter image model. Use when: "product photo", "studio shot", "lifestyle image", "Pinterest pin", "hero/banner", "carousel", "ad creative", "Meta ads", "virtual try-on", "model wearing", "person holding product", "closeup with hands", "levitating/floating/splash product", "CGI/surreal product", "restyle", "seasonal/aesthetic variation". NOT for: marketplace listing sets (openrouter-marketplace-cards), thumbnails (openrouter-youtube-thumbnail), brand identity work (openrouter-brandkit), plain text-to-image with no product (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).

相关技能