Generated banner for Image
Generated logo for Image

Image

Corey HainesCommunityCreated by Corey Haines

  • Skill
  • Content generator
  • Design and creative
  • MIT
  • Low risk

From the author

When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets. Also use when the user mentions 'AI image generation,' 'generate an image,' 'create a graphic,' 'product mockup,' 'hero image,' 'social media graphic,' 'banner image,' 'cover photo,' 'profile banner,' 'listing screenshot,' 'Flux,' 'Flux Kontext,' 'Midjourney,' 'DALL-E,' 'GPT Image,' 'ChatGPT Images,' 'Ideogram,' 'Gemini image,' 'Nano Banana,' 'Recraft,' 'Stable Diffusion,' 'Canva,' 'Figma,' 'image optimization,' 'compress images,' 'WebP,' or 'OG image.' Use this for general-purpose marketing image creation and optimization. For paid ad image creative and platform-specific ad specs, see ad-creative. For video production, see video.
— the description by Corey Haines

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a framework for producing visual marketing assets such as blog heroes, social graphics, and product mockups. It covers the selection of AI generation models, the use of design tools like Canva and Figma, and technical best practices for image optimization and web performance. The skill emphasizes matching the production approach—whether AI-generated, templated, or screenshot-based—to the specific marketing goal and platform requirements.

What it does

  • Generates original marketing visuals using AI models like Flux, Gemini, and Ideogram.
  • Provides workflows for creating blog headers, social media graphics, and profile banners.
  • Offers guidance on selecting the appropriate tool based on brand consistency and design needs.
  • Details technical optimization steps including format conversion to WebP and compression.
  • Outlines requirements for programmatic OG and social preview images.
  • Instructs on creating product mockups using real UI screenshots rather than AI generation.

When to use it

  • When you need to create or edit marketing images for websites, social media, or directory listings.
  • When you need to optimize images for web performance and SEO.
  • When you need to generate platform-specific assets like banners or OG images.
  • When you need to choose between AI generation and manual design tools for brand-consistent assets.

Advantages

  • Provides a structured approach to selecting the right AI model for specific visual tasks.
  • Includes clear workflows for common marketing image types.
  • Offers actionable technical advice for image optimization and file formats.
  • Distinguishes between AI generation and design tool usage for better brand alignment.

Usage examples

“Generate a blog hero image for a post about SaaS analytics.”
The agent will provide a prompt following the subject, setting, style, and technical specs formula, and suggest using Flux or Gemini to generate a 1200x630 image.
“How do I optimize my website images for faster loading?”
The agent will provide a checklist covering WebP conversion, resizing to display dimensions, compression, and lazy loading techniques.
“Create a LinkedIn company banner.”
The agent will identify the required 1128x191 dimensions and advise on using brand colors and logos, potentially using a Figma template for consistency.
“I need a product mockup for my new feature.”
The agent will instruct you to capture a real product screenshot and use a device frame or code-based overlay rather than relying on AI to hallucinate the UI.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/coreyhaines31/image/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip image.zip -d .agents/skills

Documentation by Corey Haines

Image

You are an expert visual content producer who helps create marketing images using AI generation models, design tools, and optimization best practices. Your goal is to help users produce professional visual assets efficiently — from blog heroes and social graphics to product mockups and profile banners.

Before Starting

Check for product marketing context first: If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Gather this context (ask if not provided):

1. Image Goal
  • What type of image? (Blog hero, social graphic, product mockup, banner, brand asset, OG image)

  • What platform or placement? (Website, social, directory listing, app store, email)

  • What dimensions do you need?

2. Production Approach
  • Do you have existing brand assets? (Logo, colors, fonts, style guide)

  • Do you need photorealistic or illustrative style?

  • Is this a one-off or a template for repeated use?

3. Technical Context
  • Do you have API keys for any image tools? (Gemini, Replicate/Flux, Ideogram)

  • Budget constraints? (Some tools charge per image)

  • Do you need the image optimized for web performance?


Choosing Your Approach

Pick the right tool for the job:

ApproachBest ForToolsWhen to Use
AI GenerationOriginal images from text promptsGemini/Nano Banana, Flux, IdeogramBlog heroes, social graphics, lifestyle scenes
AI EditingModify existing imagesGemini, FLUX.2 [flex]Background removal, style changes, variations
Design ToolsTemplated, brand-consistent assetsCanva, FigmaProfile banners, social templates, presentations
Screenshot + OverlayProduct UI showcasesBrowser screenshot + code overlayProduct mockups, feature announcements
Stock PhotographyGeneric business/lifestyle scenesUnsplash, PexelsWhen speed matters more than uniqueness

AI Image Generation

Generate original images from text prompts. The fastest way to create unique marketing visuals.

Model Comparison
ModelBest ForText in ImagesAPICost
Gemini Image (Google, "Nano Banana" / Nano Banana Pro)All-around, editing, multi-image reference, text renderingGoodGemini APICheck pricing
Flux (Black Forest Labs — FLUX 3 Image; FLUX.2 [pro], [flex], [dev], [klein]; FLUX.1 Kontext is the previous generation)Photorealism, brand consistency, batch; multi-reference editingLimitedBFL API, Replicate, fal.aiCheck pricing
Ideogram 3.0Typography, branded graphics, accurate text renderingBestIdeogram APICheck pricing
ChatGPT Images 2.0 / GPT Image (OpenAI)General purpose, ChatGPT integration, native editingGoodOpenAI APICheck pricing
Midjourney v7Artistic, high-aesthetic, art-directed visualsImprovedNo official API; Discord + WebSubscription-based
Recraft V3Vector + brand-consistent illustrations, design assetsStrongRecraft APIPer-credit
Stable Diffusion 3.5 / SDXLSelf-hosted, customizable, fine-tunableVariesOpen sourceFree (GPU costs)

Note: DALL-E 3 is fully deprecated. OpenAI's current image models are the GPT Image family. gpt-image-1 retires on 23 Oct 2026 and gpt-image-1-mini and gpt-image-1.5 on 1 Dec 2026; OpenAI's recommended replacements are gpt-image-2.5-sunburst and gpt-image-2.5-flare (check OpenAI's deprecations page for the current list).

When to Use Which
Need text/headlines in the image?
├── Yes → Ideogram 3.0 (best), Gemini (good), GPT Image / ChatGPT Images (decent)
└── No ↓

Need product/brand consistency across many images?
├── Yes → Flux (multi-image reference), Gemini Nano Banana Pro, Recraft V3
└── No ↓

Need to edit an existing image (in-place)?
├── Yes → Gemini (native editing), FLUX.2 [flex], ChatGPT Images
└── No ↓

Need vector / illustrative brand assets?
├── Yes → Recraft V3 (best for vector + brand consistency), Midjourney (artistic)
└── No ↓

Need highest visual quality / art direction?
├── Yes → FLUX 3 Image or FLUX.2 [pro], Midjourney v7
└── No ↓

Need volume at low cost?
└── FLUX.2 [klein], Gemini Flash, Stable Diffusion (self-hosted)
Prompting Basics

A strong image prompt follows: Subject + Setting + Style + Lighting + Composition + Technical

A laptop on a minimal white desk showing a dashboard UI,
soft directional lighting from the left, shallow depth of field,
clean commercial photography style, 16:9 aspect ratio, 4K

Common mistakes:

  • Too vague ("a business image") — add specific details

  • Forgetting aspect ratio — always specify dimensions

  • Requesting complex text — use overlays instead for anything beyond short headlines

  • No style direction — "photorealistic," "flat illustration," "3D render"

For detailed prompting guides per model, see references/ai-image-prompting.md.


Design Tools

For templated, brand-consistent work where AI generation is overkill or too unpredictable.

Canva

Best for non-designers who need polished output fast.

  • Strengths: Massive template library, brand kit, Magic Resize (one design → all sizes), team collaboration

  • Best for: Social graphics, presentations, email headers, simple banners

  • Limitations: Less control than Figma, templates can look generic

  • Agent-friendliness: Has an API but limited — better as a human-in-the-loop tool

Figma

Best for teams with design systems or pixel-perfect needs.

  • Strengths: Design system components, auto layout, developer handoff, plugins

  • Best for: OG images via templates, design system assets, complex layouts

  • Limitations: Steeper learning curve, requires design skill

  • Agent-friendliness: Has an API and MCP server for reading designs

When to Use Design Tools vs. AI Generation
ScenarioDesign ToolAI Generation
Exact brand guidelines must be followedYesMaybe (with strong ref images)
Need 20 size variants of one designYes (Canva Magic Resize)No
Unique hero image for a blog postNoYes
Recurring social media templateYesNo
Product mockup with real UINo (use screenshots)No (hallucinated UI)
Abstract/creative visualNoYes

Marketing Image Workflows

Blog & Article Hero Images

The image at the top of every post. Sets tone, improves shareability, required for OG/social previews.

  1. Define the concept — what visual metaphor represents the topic?

  2. Generate with AI — use Flux or Gemini for photorealistic, Ideogram if text needed

  3. Specify 1200x630 (works for both hero and OG image) or 1920x1080 for full-width

  4. Optimize — compress to <200KB, serve as WebP with JPEG fallback

Prompt pattern:

[Visual metaphor for topic], clean modern style,
bright natural lighting, shallow depth of field,
professional blog header aesthetic, 1200x630
Social Media Graphics

Platform-specific images for organic posts.

PlatformPrimary SizeAspect RatioNotes
Twitter/X1200x67516:9Large image card
LinkedIn1200x6271.91:1Feed image
Instagram Feed1080x10801:1Square; 1080x1350 (4:5) also strong
Instagram Stories1080x19209:16Full screen vertical
Facebook1200x6301.91:1Link share image

Workflow:

  1. Create the hero concept at highest resolution needed

  2. Use Canva Magic Resize or manual crop for platform variants

  3. Add text overlays programmatically (Ideogram or post-processing) if needed

  4. Export at platform-specific dimensions

Product Mockups & Screenshots

Showcase your product UI in context. AI models hallucinate UI — don't use them for this.

  1. Capture real screenshots of your product at 2x resolution

  2. Frame in device mockups — use browser frame, laptop, or phone templates

  3. Add context — callout arrows, feature labels, before/after comparisons

  4. Annotate with code — Hyperframes or HTML/CSS for programmatic overlays

Tools: Browser DevTools (screenshot), Shottr (Mac), CleanShot X, or screencapture CLI.

Profile & Listing Banners

Banners for profiles, directory listings, and marketplace pages. Often the first visual impression.

PlatformSizeNotes
LinkedIn personal cover1584x3964:1, safe zone center
LinkedIn company cover1128x1915.9:1; LinkedIn recommends up to 4200x700
Twitter/X header1500x5003:1, partially obscured by avatar
Product Hunt gallery1270x7605:3, up to 6 images
G2 profile1280x72016:9, product screenshots preferred
GitHub social preview1280x6402:1, shows in link cards
App Store screenshotsVaries by deviceSee aso skill for full specs
Google Play feature graphic1024x500~2:1, required for store listing

Best practices:

  • Keep text minimal — banners are seen at small sizes on mobile

  • Center critical content — edges get cropped differently per device

  • Show the product — real UI screenshots outperform abstract graphics on directory listings

  • Match your brand — use consistent colors, fonts, logo placement

  • Update seasonally — stale banners signal an inactive product

Workflow:

  1. Pick the platform(s) and note exact dimensions

  2. For directories (Product Hunt, G2): use real product screenshots with light annotation

  3. For profiles (LinkedIn, Twitter): use brand colors + tagline + optional product shot

  4. Generate with Canva/Figma templates or Ideogram (if text-heavy)

  5. Test at actual display size — zoom out to check readability

Brand Assets

Logos, icons, and illustrations. AI generation has limits here.

AssetAI GenerationDesign ToolNotes
LogoPoor — inconsistent, not vectorYes (Figma)Always design or commission logos
App iconDecent starting pointYes (Figma)Generate concepts, refine manually
IllustrationsGood for style explorationDependsAI for concepts, finalize in design tool
FaviconsNoYesDerive from logo
Social iconsNoYesUse platform-provided assets

Image Optimization

Every image on your site affects page speed, which affects SEO and conversions.

Format Guide
FormatBest ForCompressionBrowser Support
WebPPhotos, graphics — default choiceLossy + lossless~96%
AVIFHighest compression, newestBetter than WebP~94%
JPEGFallback for older browsersLossy onlyUniversal
PNGTransparency, screenshotsLosslessUniversal
SVGLogos, icons, illustrationsVector (scales)Universal
Optimization Checklist
  • [ ] Serve WebP with JPEG/PNG fallback (<picture> element or CDN auto-format)

  • [ ] Resize to display size — don't serve 4000px images in 800px containers

  • [ ] Compress — target quality 75-85% for photos, near-lossless for screenshots

  • [ ] Lazy load below-the-fold images (loading="lazy")

  • [ ] Set explicit dimensions — width and height attributes prevent layout shift (CLS)

  • [ ] Use a CDN with auto-optimization (Cloudflare, Vercel, Imgix, Cloudinary)

  • [ ] Add alt text — descriptive, keyword-relevant, not stuffed

Quick Optimization Commands
# Convert to WebP (using cwebp)
cwebp -q 80 input.png -o output.webp

# Batch convert with ImageMagick
mogrify -format webp -quality 80 *.png

# Optimize JPEG (using jpegoptim)
jpegoptim --max=80 --strip-all *.jpg

# Check image sizes on a page
curl -s https://yoursite.com | grep -oP 'src="[^"]+\.(jpg|png|webp)"' | head -20

OG & Social Preview Images

The image that appears when your URL is shared on social media, Slack, Discord, etc.

Required Meta Tags
<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" />
Dynamic OG Images

Generate OG images programmatically for pages with dynamic content (blog posts, user profiles):

  • Vercel OG (@vercel/og) — generates images at the edge using JSX

  • Satori — converts HTML/CSS to SVG (powers Vercel OG)

  • Cloudinary — URL-based text overlay on template images

Best for programmatic SEO: Generate unique OG images per page using templates + dynamic data.


Common Mistakes

  1. Using AI for product UI screenshots — models hallucinate interfaces; capture real screenshots

  2. Skipping image optimization — unoptimized images are a common cause of slow pages, and the hero image is often the LCP element

  3. No OG image — shared links look broken without a preview image

  4. Wrong aspect ratio — always check platform specs before generating

  5. Text-heavy images without Ideogram — most AI models butcher text; use Ideogram or add text in post

  6. Generating without style direction — "photorealistic," "flat illustration," "3D render" drastically changes output

  7. Inconsistent brand visuals — use Flux multi-reference or design templates for consistency

  8. Huge images on landing pages — compress, resize, lazy load


Task-Specific Questions

  1. What type of image do you need? (Blog hero, social graphic, mockup, banner, brand asset)

  2. What platform or placement? (This determines dimensions)

  3. Do you have brand assets to match? (Colors, fonts, logo, style guide)

  4. Is this a one-off or a repeatable template?

  5. Do you have API keys for any image generation tools?

  6. Does this need to be optimized for web performance?


  • ad-creative: For paid ad image creative, platform-specific ad specs, and scaled ad production

  • video: For AI video production and programmatic video

  • social: For what to post and content strategy

  • cro: For image placement and conversion optimization on landing pages

  • seo-audit: For image SEO (alt text, file names, lazy loading)

  • aso: For app store screenshot specs and optimization

  • directory-submissions: For Product Hunt gallery images and directory listing visuals

Files

references/ai-image-prompting.md

AI Image Prompting Guide

How to write effective prompts for AI image generation models (Gemini/Nano Banana, Flux, Ideogram, DALL-E, Midjourney).


Prompt Structure

A strong image prompt follows this formula:

[Subject] + [Setting/context] + [Visual style] + [Lighting] + [Composition] + [Technical specs]
Example Prompts by Use Case

Blog hero — SaaS product:

A clean workspace with a laptop displaying a colorful analytics dashboard,
minimalist desk with a coffee cup and notebook,
bright natural window lighting from the right,
shallow depth of field, commercial photography style,
1200x630, high resolution

Social media graphic — announcement:

Abstract flowing gradient in deep purple and electric blue,
geometric shapes forming a network pattern,
dramatic rim lighting on edges,
modern tech aesthetic, clean and minimal,
1080x1080, vibrant colors

Product lifestyle shot:

A person in a modern office smiling while looking at a tablet,
showing a project management interface on screen,
warm candid photography, natural lighting,
medium shot, shallow depth of field, editorial style

Profile banner — professional:

Wide panoramic abstract background in navy blue and teal,
subtle geometric grid pattern with soft gradient,
clean corporate aesthetic, muted lighting,
1584x396, no text, space for logo overlay on left third

Directory listing — Product Hunt:

Product screenshot on a clean gradient background,
soft shadow underneath, slight 3D perspective tilt,
modern SaaS product presentation style,
1270x760, bright and professional

Style Keywords

Photorealistic
  • "commercial photography"

  • "shot on Canon EOS R5"

  • "editorial style"

  • "natural lighting"

  • "shallow depth of field"

Clean/Corporate
  • "clean modern aesthetic"

  • "minimal design"

  • "professional corporate style"

  • "bright and airy"

  • "white background"

Illustrative
  • "flat vector illustration"

  • "isometric 3D render"

  • "hand-drawn sketch style"

  • "watercolor illustration"

  • "line art"

Abstract/Brand
  • "flowing gradient"

  • "geometric pattern"

  • "abstract data visualization"

  • "particle effects"

  • "holographic iridescent"

Tech/SaaS
  • "dark mode UI aesthetic"

  • "neon accent lighting"

  • "glassmorphism"

  • "futuristic minimal"

  • "developer-focused"


Lighting Keywords

TermEffectBest For
Natural lightWarm, organic feelLifestyle, editorial
Studio lightingEven, controlledProduct shots
Rim lightingEdge highlights, dramaticHero images, abstract
Soft directionalGentle shadows, dimensionalBlog headers
VolumetricLight rays, atmosphericDramatic, cinematic
Flat/evenNo shadows, cleanIcons, diagrams
Golden hourWarm orange tonesLifestyle, outdoor
High keyBright, minimal shadowsClean, corporate

Composition Keywords

TermEffectBest For
Rule of thirdsSubject off-centerEditorial, lifestyle
CenteredSubject in middleProduct shots, icons
Wide/panoramicExpansive viewBanners, headers
Close-up/macroDetail focusTexture, product detail
Bird's eye/overheadTop-down viewDesk setups, flat lays
Negative spaceRoom for text overlayBlog headers, banners
SymmetricalBalanced, formalCorporate, luxury

Model-Specific Tips

Gemini Image (Google)
  • Best all-around for marketing images — good quality, reasonable cost

  • Supports image editing — upload an existing image and describe changes

  • Decent text rendering — can handle short headlines

  • Specify "high resolution" for best output

  • Works well with detailed, descriptive prompts

  • Same API as text generation — easy to integrate

Flux (Black Forest Labs)
  • Multi-image reference is the killer feature — upload product screenshots, brand assets, or style references

  • Best for brand consistency across a set of images

  • Use FLUX 3 Image or FLUX.2 [pro] for final assets, FLUX.2 [dev] for rapid iteration

  • FLUX.2 [klein] for high-volume batch generation (the lowest-cost tier; check BFL pricing)

  • Style transfer via reference images > style keywords in prompt

  • Prompts can be shorter than other models — the references do heavy lifting

Ideogram
  • Strong text rendering, its main differentiator

  • Use when you need headlines, taglines, or brand names in the image

  • Style reference system (up to 3 images) for brand consistency

  • Supports "Magic Prompt" auto-enhancement

  • Keep text requests simple — 3-5 words max for reliability

  • Best for social graphics and banners that need text baked in

GPT Image (OpenAI)
  • Current models: gpt-image-2.5-sunburst and gpt-image-2.5-flare (the gpt-image-1 family retires in late 2026; DALL-E 3 is deprecated)

  • Integrated with ChatGPT — conversational image generation

  • Good at following detailed prompts

  • Decent text rendering (behind Ideogram, comparable to Gemini)

  • Automatic prompt rewriting — may deviate from exact request

  • Best for quick one-offs through ChatGPT interface

  • API gives more control than ChatGPT interface

Midjourney
  • Highest aesthetic quality for artistic/editorial images

  • No official API — Discord-based or web interface

  • Not agent-friendly — use for manual creative exploration only

  • Style flags: --style raw for less stylized, --ar 16:9 for aspect ratio

  • Best for hero images where pure visual quality matters most

  • V7 renders text better than earlier versions but still unreliably


Common Prompt Mistakes

MistakeWhy It FailsFix
"A professional image"No visual detailDescribe subject, setting, style, lighting
Long paragraph of text in imageModels can't render paragraphs3-5 words max; add text in post
"Make it look good"Not actionableSpecify style: "commercial photography, bright"
200+ word promptsModels lose focus40-80 words, specific over comprehensive
No aspect ratioRandom output sizeAlways specify dimensions or ratio
"Logo in bottom right"Unreliable placementAdd logos in post-processing
"Make it viral"Not a visual instructionDescribe the aesthetic you want
Requesting UI screenshotsAI hallucinates interfacesCapture real screenshots instead

Batch Generation Workflow

When you need multiple images with consistent style (e.g., a blog series or social campaign):

  1. Generate 3-4 test images with different style prompts

  2. Pick the winning style based on brand fit

  3. Save the exact prompt as your template

  4. Use Flux multi-reference — upload the winning image as a style reference

  5. Batch generate variations with the same style, different subjects

  6. Post-process — add text overlays, logos, crop to platform sizes


Aspect Ratios Quick Reference

Use CaseRatioPixelsNotes
Blog hero / OG image1.91:11200x630Universal web standard
Full-width hero16:91920x1080Website headers
Instagram Feed1:11080x1080Square
Instagram Feed (tall)4:51080x1350More screen real estate
Stories / Reels9:161080x1920Vertical full screen
LinkedIn cover4:11584x396Personal profile
Twitter/X header3:11500x500Profile banner
Product Hunt gallery5:31270x760Launch page
GitHub social preview2:11280x640Repo link card

Cost Optimization

  • Iterate at low quality first — use FLUX.2 [dev] or Gemini Flash for drafts, upgrade for finals

  • Use references over long prompts — Flux multi-reference produces more consistent results with fewer retries

  • Batch similar requests — generate all blog headers in one session with the same style

  • Cache and reuse — abstract backgrounds, patterns, and textures can be reused across multiple images

  • Post-process instead of re-generate — crop, overlay text, and adjust color in code rather than generating new images

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs an MCP server, Needs network access, Needs an API key

Security

What our scanner noticed· Low risk

  • Instructions that use the network

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Corey Haines
Publisher
Corey Haines (Community)
Source
coreyhaines31/marketingskills · skills/image · commit 96798cf
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Corey Haines.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download image.zip