Claude Skill

image-generation

Generate images through the Hyper MCP with the unified `images_generate` tool — text-to-image, image-to-image, and branded ad creatives — choosing the model (gpt-image-2.5-flare, gpt-image-2.5-sunburst, nano-banana, nano-banana-pro, seedream-4.5) per task. Use when the user asks

LLM Mart · 0 points · 5 views 0 listing impressions 0 install-command copies
Download hyperfx-ai-marketing-skills-skills_image-generation-70b0b30.zip · 6 KB

Install

skills CLI npx skills add https://github.com/hyperfx-ai/marketing-skills/tree/main/skills/image-generation
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install hyperfx-ai-marketing-skills@llmmart
Git git clone https://github.com/hyperfx-ai/marketing-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole hyperfx-ai/marketing-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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:

Surface Find a tool Run it
Hyper chat Call the tool by its name; search_tools(queries=["<provider> <action>"]) shows its parameters <name>(...)
MCP client (Claude, Cursor, Codex, ChatGPT) search("<what you want to do>"), then describe("<name>") call_read("<name>", {...}), call_write or call_destructive: the one that describe names in call_with
Hyper CLI hyperai search "<what you want to do>", then hyperai describe <name> hyperai call <name> --json '{...}'

If a tool is not found: in Hyper chat, find its toolkit id with discover_toolkits and pass it to enable_toolkit. On an MCP client or the CLI, tell the user which integration to connect in Hyper.

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:

Task model
First-pass concepts / quick ad ideation / everyday generation gpt-image-2.5-flare
Precise edits and branded compositions from reference images, production creative gpt-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 scenes nano-banana-pro
Product photography, material/fabric fidelity, accurate spatial depth seedream-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.
Files (marketing-skills)
  • references
    • image-prompting.md 2.4 KB
      Loading…
    • marketplace-cards.md 2.6 KB
      Loading…
    • product-photoshoot.md 2.9 KB
      Loading…
  • SKILL.md 5.1 KB
    ---
    name: image-generation
    description: Generate images through the Hyper MCP with the unified `images_generate` tool — text-to-image, image-to-image, and branded ad creatives — choosing the model (gpt-image-2.5-flare, gpt-image-2.5-sunburst, nano-banana, nano-banana-pro, seedream-4.5) per task. Use when the user asks to generate an image, create an ad creative, do an image-to-image edit, render text inside an image, or produce a print-quality poster.
    metadata:
      version: 1.0.0
    requires_toolkits:
      - image_gen
    icon: image_gen
    short_description: Generate and edit images with one tool and a model choice, from ad creatives to product shots.
    ---
    
    # 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](https://app.hyperfx.ai/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:
    
    | Surface | Find a tool | Run it |
    | --- | --- | --- |
    | Hyper chat | Call the tool by its name; `search_tools(queries=["<provider> <action>"])` shows its parameters | `<name>(...)` |
    | MCP client (Claude, Cursor, Codex, ChatGPT) | `search("<what you want to do>")`, then `describe("<name>")` | `call_read("<name>", {...})`, `call_write` or `call_destructive`: the one that `describe` names in `call_with` |
    | Hyper CLI | `hyperai search "<what you want to do>"`, then `hyperai describe <name>` | `hyperai call <name> --json '{...}'` |
    
    If a tool is not found: in Hyper chat, find its toolkit id with `discover_toolkits` and pass it to `enable_toolkit`. On an MCP client or the CLI, tell the user which integration to connect in Hyper.
    
    ## Call shape
    
    ```python
    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:
    
    | Task | `model` |
    |------|---------|
    | First-pass concepts / quick ad ideation / everyday generation | `gpt-image-2.5-flare` |
    | Precise edits and branded compositions from reference images, production creative | `gpt-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 scenes | `nano-banana-pro` |
    | Product photography, material/fabric fidelity, accurate spatial depth | `seedream-4.5` |
    
    See [references/image-prompting.md](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:
    
    - `images_product_photoshoots_create` — multi-shot product photography (studio,
      lifestyle, hero, carousel, ad pack). See
      [references/product-photoshoot.md](references/product-photoshoot.md).
    - `images_marketplace_cards_create` — marketplace listing image sets (Amazon main +
      secondary, A+ modules, Shopify). See
      [references/marketplace-cards.md](references/marketplace-cards.md).
    
    ## 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_id`s can be reused as `reference_images` in later calls.
    - For website brand work, call `firecrawl_branding_extract` before generating.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.