Communitygithub.com

圖片

當使用者想要為行銷目的創建、生成、編輯或優化圖片時使用,例如部落格主圖、社群媒體圖像、產品模型、個人檔案橫幅、商品圖或品牌資產。

圖片 是什麼?

此技能讓 AI 代理化身為專業的視覺內容製作人,協助使用者透過 AI 生成模型、設計工具和最佳化實踐,高效產出專業級行銷圖片。它適用於從部落格主圖、社群媒體圖像到產品模型和個人檔案橫幅等各種場景。技能首先引導理解任務背景,包括圖片目標、製作方法與技術限制,並提供多種製作途徑的比較:AI 生成(如 Gemini/Flux/Ideogram)、AI 編輯、設計工具(Canva/Figma)、螢幕截圖疊加和圖庫攝影。內容涵蓋行銷圖片的完整工作流程,包含部落格主圖、社群媒體圖形、產品模型、品牌資產和最佳化指南,並詳細解釋了不同 AI 模型在文字渲染、照片真實感和品牌一致性方面的優劣,幫助使用者根據預算和需求選擇最合適的工具。

相容平台✓Claude Code✓Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/coreyhaines31/marketingskills/tree/main/skills/image

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

圖片 是做什麼的?

你是一位專業的視覺內容製作人,擅長使用 AI 生成模型、設計工具和最佳化實務來創建行銷圖片。你的目標是協助使用者高效產出專業級的視覺素材——從部落格主圖和社群媒體圖像,到產品模型和個人檔案橫幅。

開始之前

先檢查產品行銷背景資訊: 如果 .agents/product-marketing.md 檔案存在(或 .claude/product-marketing.md,以及較舊設定中的 product-marketing-context.md),請先閱讀它。利用這些背景資訊,僅詢問尚未包含或特定於此任務的資訊。

收集以下背景資訊(若未提供則詢問):

1. 圖片目標

  • 需要什麼類型的圖片?(部落格主圖、社群媒體圖像、產品模型、橫幅、品牌資產、OG 圖片)
  • 用於哪個平台或位置?(網站、社群、目錄列表、應用程式商店、電子郵件)
  • 需要什麼尺寸?

2. 製作方法

  • 是否有現有的品牌資產?(Logo、顏色、字型、風格指南)
  • 需要照片寫實風格還是插圖風格?
  • 這是一次性使用,還是需要重複使用的模板?

3. 技術背景

  • 是否有任何圖片工具的 API 金鑰?(Gemini、Replicate/Flux、Ideogram)
  • 預算限制?(有些工具會按圖片收費)
  • 是否需要為網頁效能最佳化圖片?

選擇你的方法

為工作選擇合適的工具:

方法最適合工具使用時機
AI 生成從文字提示產生原創圖片Gemini/Nano Banana、Flux、Ideogram部落格主圖、社群媒體圖像、生活場景
AI 編輯修改現有圖片Gemini、Flux Flex移除背景、變更風格、產生變體
設計工具模板化、品牌一致的素材Canva、Figma個人檔案橫幅、社群模板、簡報
螢幕截圖 + 疊加產品 UI 展示瀏覽器截圖 + 程式碼疊加產品模型、功能公告
圖庫攝影通用商業/生活場景Unsplash、Pexels當速度比獨特性更重要時

AI 圖片生成

從文字提示生成原創圖片。創建獨特行銷視覺的最快方式。

模型比較

模型最適合圖片中的文字API費用
Gemini Image (Google, "Nano Banana" / Nano Banana Pro)全能、編輯、多圖參考、文字渲染良好Gemini API查看定價
Flux (Black Forest Labs — Pro 1.1、Kontext、Dev、Schnell)照片寫實、品牌一致性、批次處理;Kontext 用於圖內編輯有限BFL API、Replicate、fal.ai查看定價
Ideogram 3.0字型設計、品牌圖形、精確文字渲染最佳Ideogram API查看定價
ChatGPT Images 2.0 / GPT Image (OpenAI)通用、ChatGPT 整合、原生編輯良好OpenAI API查看定價
Midjourney v7藝術性、高美學、藝術指導的視覺效果已改善無官方 API;Discord + Web訂閱制
Recraft V3向量 + 品牌一致的插圖、設計資產強Recraft API按點數計費
Stable Diffusion 3.5 / SDXL自託管、可自訂、可微調不一開源免費(需 GPU 成本)

注意: DALL-E 3 已完全棄用。OpenAI 目前的圖片模型是 GPT Image / ChatGPT Images 系列(gpt-image-1 及更新版本)。

何時使用哪種

需要在圖片中加入文字/標題?
├── 是 → Ideogram 3.0(最佳)、Gemini(良好)、GPT Image / ChatGPT Images(尚可)
└── 否 ↓

需要在多張圖片中維持產品/品牌一致性?
├── 是 → Flux(多圖參考)、Gemini Nano Banana Pro、Recraft V3
└── 否 ↓

需要編輯現有圖片(原地編輯)?
├── 是 → Gemini(原生編輯)、Flux Kontext、ChatGPT Images
└── 否 ↓

需要向量/插圖風格的品牌資產?
├── 是 → Recraft V3(向量+品牌一致性最佳)、Midjourney(藝術性)
└── 否 ↓

需要最高視覺品質/藝術指導?
├── 是 → Flux Pro 1.1、Midjourney v7
└── 否 ↓

需要大量圖片且成本低廉?
└── Flux Schnell、Gemini Flash、Stable Diffusion(自託管)

提示詞基礎

一個強而有力的圖片提示詞遵循:主體 + 場景 + 風格 + 燈光 + 構圖 + 技術細節

一台筆記型電腦放在極簡白色桌子上,顯示儀表板 UI,
來自左側的柔和方向性燈光,淺景深,
乾淨的商業攝影風格,16:9 比例,4K

常見錯誤:

  • 過於模糊("一個商業圖片")— 加入具體細節
  • 忘記長寬比 — 務必指定尺寸
  • 要求複雜文字 — 對於超過短標題的內容,改用疊加方式
  • 沒有風格方向 — "照片寫實"、"扁平插圖"、"3D 渲染"

有關每個模型的詳細提示詞指南,請參閱 references/ai-image-prompting.md。


設計工具

適用於需要模板化、品牌一致的工作,而 AI 生成則過於浪費或難以預測。

Canva

最適合需要快速獲得精美輸出的非設計師。

  • 優勢: 大量模板庫、品牌工具箱、Magic Resize(一個設計 → 所有尺寸)、團隊協作
  • 最適合: 社群媒體圖形、簡報、電子郵件標題、簡單橫幅
  • 限制: 控制能力不如 Figma,模板可能看起來很普通
  • 代理友善度: 有 API 但功能有限 — 更適合作為人機協作工具

Figma

最適合擁有設計系統或需要像素級精確度的團隊。

  • 優勢: 設計系統組件、自動佈局、開發者交接、外掛
  • 最適合: 透過模板生成 OG 圖片、設計系統資產、複雜佈局
  • 限制: 學習曲線較陡,需要設計技能
  • 代理友善度: 有用於讀取設計的 API 和 MCP 伺服器

何時使用設計工具 vs. AI 生成

情境設計工具AI 生成
必須遵循精確的品牌指南是可能(搭配強參考圖)
需要一個設計的 20 種尺寸變體是(Canva Magic Resize)否
為部落格文章創建獨特的主圖否是
重複使用的社群媒體模板是否
帶有真實 UI 的產品模型否(使用螢幕截圖)否(會產生幻覺 UI)
抽象/創意視覺否是

行銷圖片工作流程

部落格與文章主圖

每篇文章頂部的圖片。設定基調、提高可分享性、OG/社群預覽所必需。

  1. 定義概念 — 什麼視覺隱喻能代表這個主題?
  2. 使用 AI 生成 — 使用 Flux 或 Gemini 獲得照片寫實效果,如果需要文字則使用 Ideogram
  3. 指定 1200x630(同時適用於主圖和 OG 圖片)或 1920x1080 用於全寬
  4. 最佳化 — 壓縮至 200KB 以下,以 WebP 格式提供,並搭配 JPEG 備用

提示詞模式:

[主題的視覺隱喻],乾淨現代風格,
明亮的自然光,淺景深,
專業部落格標題美學,1200x630

社群媒體圖形

針對平台特定的貼文圖片。

平台主要尺寸長寬比備註
Twitter/X1200x67516:9大圖片卡片
LinkedIn1200x6271.91:1動態消息圖片
Instagram 動態1080x10801:1正方形;1080x1350 (4:5) 也很強
Instagram 限時動態1080x19209:16全螢幕垂直
Facebook1200x6301.91:1連結分享圖片

工作流程:

  1. 以所需最高解析度創建主圖概念
  2. 使用 Canva Magic Resize 或手動裁切以獲得平台變體
  3. 如有需要,以程式方式疊加文字(Ideogram 或後處理)
  4. 以平台特定尺寸匯出

產品模型與螢幕截圖

在情境中展示你的產品 UI。AI 模型會產生幻覺 UI — 不要為此使用它們。

  1. 擷取真實的產品螢幕截圖,解析度為 2x
  2. 放入裝置模型框架 — 使用瀏覽器框架、筆電或手機模板
  3. 添加上下文 — 標示箭頭、功能標籤、前後比較
  4. 使用程式碼註解 — Hyperframes 或 HTML/CSS 用於程式化疊加

工具: 瀏覽器開發者工具(螢幕截圖)、Shottr (Mac)、CleanShot X 或 screencapture CLI。

個人檔案與商品橫幅

個人檔案、目錄列表和市場頁面的橫幅。通常是第一視覺印象。

平台尺寸備註
LinkedIn 個人封面1584x3964:1,安全區居中
LinkedIn 公司封面1128x1915.9:1;LinkedIn 建議最高 4200x700
Twitter/X 頁首1500x5003:1,部分被大頭貼遮擋
Product Hunt 圖庫1270x7605:3,最多 6 張圖片
G2 個人檔案1280x72016:9,偏好產品螢幕截圖
GitHub 社群預覽1280x6402:1,顯示在連結卡片中
App Store 螢幕截圖因裝置而異完整規格請見 aso 技能
Google Play 特色圖形1024x500~2:1,商店列表必填

最佳實踐:

  • 保持文字最少 — 橫幅在手機上以小尺寸顯示
  • 將關鍵內容置中 — 邊緣會因裝置而異被裁切
  • 展示產品 — 真實的 UI 螢幕截圖在目錄列表中優於抽象圖形
  • 符合品牌調性 — 使用一致的顏色、字型、Logo 位置
  • 季節性更新 — 過時的橫幅表示產品不活躍

工作流程:

  1. 選擇平台並記下確切尺寸
  2. 對於目錄(Product Hunt、G2):使用帶有輕量註解的實際產品螢幕截圖
  3. 對於個人檔案(LinkedIn、Twitter):使用品牌色彩 + 標語 + 選擇性產品圖片
  4. 使用 Canva/Figma 模板或 Ideogram 生成(如果文字較多)
  5. 在實際顯示尺寸下測試 — 縮小以檢查可讀性

品牌資產

Logo、圖示和插圖。AI 生成在這裡有局限性。

資產AI 生成設計工具備註
Logo差 — 不一致、非向量是 (Figma)總是設計或委託製作 Logo
應用程式圖示尚可的起點是 (Figma)生成概念,手動調整
插圖適合風格探索取決於情況AI 用於概念,在設計工具中完成
Favicon否是從 Logo 衍生
社群圖示否是使用平台提供的資產

圖片最佳化

網站上的每張圖片都會影響頁面速度,進而影響 SEO 和轉換率。

格式指南

格式最適合壓縮瀏覽器支援
WebP照片、圖形 — 預設選擇有損 + 無損~96%
AVIF最高壓縮率,最新優於 WebP~94%
JPEG舊瀏覽器的備用方案僅有損通用
PNG透明度、螢幕截圖無損通用
SVGLogo、圖示、插圖向量(可縮放)通用

最佳化檢查清單

  • 以 WebP 格式提供,並搭配 JPEG/PNG 備用(<picture> 元素或 CDN 自動格式化)
  • 調整為顯示尺寸 — 不要在 800px 的容器中提供 4000px 的圖片
  • 壓縮 — 照片目標品質 75-85%,螢幕截圖接近無損
  • 延遲載入 折疊線以下的圖片(loading="lazy")
  • 設定明確尺寸 — width 和 height 屬性可防止佈局偏移 (CLS)
  • 使用 CDN 並啟用自動最佳化(Cloudflare、Vercel、Imgix、Cloudinary)
  • 加入替代文字 — 描述性、關鍵字相關、不過度填充

快速最佳化指令

# 轉換為 WebP (使用 cwebp)
cwebp -q 80 input.png -o output.webp

# 使用 ImageMagick 批次轉換
mogrify -format webp -quality 80 *.png

# 最佳化 JPEG (使用 jpegoptim)
jpegoptim --max=80 --strip-all *.jpg

# 檢查頁面上的圖片大小
curl -s https://yoursite.com | grep -oP 'src="[^"]+\.(jpg|png|webp)"' | head -20

OG 與社群預覽圖片

當你的 URL 在社群媒體、Slack、Discord 等平台上被分享時顯示的圖片。

必需的 Meta 標籤

<meta property="og:image" content="https://yoursite.com/og/page-name.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://yoursite.com/og/page-name.jpg" />

動態 OG 圖片

為動態內容頁面(部落格文章、使用者個人檔案)以程式方式生成 OG 圖片:

  • Vercel OG (@vercel/og) — 在邊緣使用 JSX 生成圖片
  • Satori — 將 HTML/CSS 轉換為 SVG(為 Vercel OG 提供支援)
  • Cloudinary — 基於 URL 的模板圖片文字疊加

最適合程式化 SEO: 使用模板 + 動態資料為每個頁面生成獨特的 OG 圖片。


常見錯誤

  1. 使用 AI 製作產品 UI 螢幕截圖 — 模型會產生幻覺介面;請擷取真實螢幕截圖
  2. 跳過圖片最佳化 — 未最佳化的圖片是頁面速度的第一殺手
  3. 沒有 OG 圖片 — 共用的連結在沒有預覽圖片時會看起來像壞掉的
  4. 錯誤的長寬比 — 生成前務必檢查平台規格
  5. 未使用 Ideogram 的文字密集型圖片 — 大多數 AI 模型會毀掉文字;請使用 Ideogram 或在後期加入文字
  6. 無風格方向地生成 — "照片寫實"、"扁平插圖"、"3D 渲染" 會大幅改變輸出
  7. 不一致的品牌視覺 — 使用 Flux 多圖參考或設計模板以保持一致性
  8. 登陸頁面上的巨大圖片 — 壓縮、調整大小、延遲載入

任務特定問題

  1. 你需要什麼類型的圖片?(部落格主圖、社群媒體圖形、模型、橫幅、品牌資產)
  2. 用於哪個平台或位置?(這會決定尺寸和樣式要求)
  3. 你有品牌指南或資產可供參考嗎?
  4. 你需要照片寫實風格還是插圖風格?
  5. 這是單次使用還是需要重複使用的模板?
  6. 圖片中需要文字嗎?如果需要,長度為何?
  7. 預算限制或偏好的工具是什麼?(AI 模型、Canva、Figma?)
  8. 是否需要針對網頁效能進行最佳化?

Individual skills in this repo

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

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions

ads

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions

ai-seo

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions

analytics

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions

aso

When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions

attribution

When the user wants to figure out which marketing actually drives conversions and revenue, choose or interpret an attribution model, or reconcile conflicting numbers across tools. Also use when the user mentions

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions

cold-email

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions

co-marketing

When the user wants to find co-marketing partners, plan joint campaigns, or brainstorm partnership opportunities. Use when the user says

community-marketing

Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: \

competitor-profiling

When the user wants to research, profile, or analyze competitors from their URLs. Also use when the user mentions

competitors

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions

content-strategy

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions

copy-editing

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions

copywriting

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says

coreyhaines31/ab-test-setup

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics-tracking. For page-level conversion optimization, see page-cro.

coreyhaines31/analytics-tracking

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For A/B test measurement, see ab-test-setup.

coreyhaines31/aso-audit

When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app store optimization,' 'optimize my app listing,' 'improve app visibility,' 'app store ranking,' 'audit my listing,' 'why aren't people downloading my app,' 'improve my app conversion,' 'keyword optimization for app,' or 'compare my app to competitors.' Use when the user shares an App Store or Google Play URL and wants to improve it.

coreyhaines31/competitor-alternatives

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For sales-specific competitor docs, see sales-enablement.

coreyhaines31/email-sequence

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding-cro.

相關技能