mcpField
I
image-generation

image-generation

github.com/hyperfx-aiCreative & media107192 installsUpdated 4d ago
Repository

About image-generation

image-generation is a skill for creating and editing images through the Hyper MCP images_generate tool. It supports reference-image composition, model selection, and higher-level workflows for product photoshoots and marketplace listings.

Key features

  1. 01Text-to-image generation
  2. 02Image editing with references
  3. 03Multi-image composition
  4. 04Model, aspect ratio, and quality selection
  5. 05Product and marketplace workflows

Use cases

  1. 01Generate concepts for an ad campaign
  2. 02Create branded compositions from reference images
  3. 03Produce product photoshoot or listing image sets

MCP support

Requires Hyper MCP to provide the images_generate tool. The skill explains invoking tools from MCP clients or Hyper CLI.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hyperfx-ai/marketing-skills --skill image-generation

After installing, type/image-generationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
image-prompting.md
marketplace-cards.md
product-photoshoot.md

Details

From the project README

Image Generation

Generate images with the images_generate tool. It handles text-to-image, image-to-image (pass reference_images), and multi-image composition. By default (model="auto") it picks the best model for the request; set model to choose one.

Requirements

This skill assumes the Hyper MCP is connected to your agent so the images_generate tool is available. For brand-consistent ad creative work, Firecrawl must also be configured under your Hyper integrations.

How to run the tools in this skill

Every tool in this skill is named by its canonical tool name. Run it with the call your surface gives you:

SurfaceFind a toolRun it
MCP client (Claude, Cursor, Codex, ChatGPT)search("<what you want to do>"), then describe("<name>")call("<name>", {...})
Hyper CLIhyperai search "<what you want to do>", then hyperai describe <name>hyperai call <name> --json '{...}'

If a tool is not found, its integration is not connected or not enabled for the workspace: stop and tell the user which integration to connect.

Call shape

images_generate(
    requests=[{"id": "ad1", "prompt": "A polished SaaS ad, clean composition"}],
    aspect_ratio="16:9",     # "1:1" (default), "9:16", "16:9", "4:5", "5:4", "2:3", "3:2", "3:4", "4:3", "21:9"
    quality="standard",      # "draft" | "standard" | "high"
    n=1,                      # 1-4 images per request
    model="auto",            # see "Choosing a model" below
)
  • Image-to-image / brand references: put files in the request: requests=[{"prompt": "Compose into a gift basket", "reference_images": ["file1", "file2"]}].
  • Reproducible output: pass seed=....
  • Ground in real-world search: pass use_search=True.
  • Do not display image URLs — they render automatically in chat.

Choosing a model

model="auto" is the right default. Override only when the task clearly calls for a specific model:

Taskmodel
First-pass concepts / quick ad ideation / everyday generationgpt-image-2.5-flare
Precise edits and branded compositions from reference images, production creativegpt-image-2.5-sunburst
Cheap iteration, image-to-image, the widest aspect ratios (adds 1:4, 1:8, 4:1, 8:1)nano-banana
Readable text inside the image (posters, labels, infographics) or search-grounded scenesnano-banana-pro
Product photography, material/fabric fidelity, accurate spatial depthseedream-4.5

See references/image-prompting.md for per-model prompt-writing tips.

Branded / website ad creatives — extract branding first

If the user gives a website URL and wants on-brand creatives:

  1. Call firecrawl_branding_extract with the URL → returns brand colors, fonts, personality/tone, and saved image files (logo, favicon, og_image).
  2. Optionally firecrawl_urls_scrape with formats=["screenshot"] for visual context.
  3. Write the prompt using the actual hex colors, font names, and tone, and pass the logo file_id in reference_images.

The branding result's file field is a JSON data file, NOT an image — never pass it as a reference. Only logo.file_id and images.*.file_id are usable images.

Higher-level workflows

For multi-shot product or marketplace work, prefer the workflow tools — they preserve product identity and return structured results:

Reminders

  • Do NOT display image URLs to the user — they show automatically in chat.
  • Refine vague prompts unless the user wants verbatim generation.
  • Match aspect_ratio to intent (social, print, web).
  • Use quality="high" for production, "draft"/"standard" while iterating.
  • Generated file_ids can be reused as reference_images in later calls.
  • For website brand work, call firecrawl_branding_extract before generating.

Comments

Markdown supported