Community影像github.com

openrouter-product-photoshoot

透過 OpenRouter 生成品牌級產品影像:棚拍、生活場景、手持特寫、Pinterest 圖釘、主視覺橫幅、輪播圖、廣告創意組合、虛擬試穿、概念/CGI 與風格重塑。

openrouter-product-photoshoot 是什麼?

這項技能讓 AI 代理利用 OpenRouter 上的影像生成模型(例如 bytedance-seed/seedream-5-0-pro 或 openai/gpt-image-2.6-sunburst),將產品照片轉換為專業級的行銷素材。它提供多種模式模板,涵蓋從棚拍、生活場景、手持特寫到 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],風格/氛圍 [Clean studio / Lifestyle / Conceptual / With a model],使用場合 [Shopify / Instagram / Pinterest / Paid ads / Website hero],品牌色(若不明顯則詢問)。

B. 產品照片 + 指定用途 – 僅詢問不足之處:數量、提案/氛圍/訴求、需要強調的部分。

C. 僅文字描述 – 能否請他們上傳照片(品質高得多)?若無:產品類別、包裝、顏色、特色、風格、擺放方式。

D. 現有影像,要求「重做/換風格」 → restyle:目標風格 [Clean girl / Cottagecore / Quiet luxury / Dark academia / Y2K / Other],季節背景,保留與變更的項目。

E. 模特兒穿著產品 → virtual_model_tryout:模特兒類型、環境 [Studio clean / Outdoor / Street / Editorial / Home]、構圖 [Full body / Three-quarter / Waist up / Closeup]。

F. 模糊需求 – 什麼產品、目標 [Sell / Awareness / Ads / Website]、上傳參考圖,然後導向 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

輪播圖與廣告組合:先生成第一張幻燈片,然後以它作為 --ref 生成其餘部分,以保持視覺系統一致,並在每個提示詞中維持相同的色調與燈光語言。

解析度與比例

Seedream 最終成品使用 2K(resolution 支援 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).

相關技能