Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

generate-image

Skill by tsingyuai

Generates, edits, and batch-creates SEO, marketing, social, and document images using Gemini or OpenAI. It is built for content teams that need illustrations, diagrams, covers, and reference-image edits.

  • Score 82
  • 2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install generate-image

Built from the published package, never by AI.

git clone --depth 1 https://github.com/tsingyuai/growth-lab /tmp/growth-lab && mkdir -p ~/.claude/skills && cp -r /tmp/growth-lab/executors/generate-image ~/.claude/skills/generate-image

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install generate-image in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs a repository-owned, zero-dependency Node.js client that sends image prompts to the OpenAI Images API or the Gemini API. It supports text-to-image generation, edits that use one or more reference images, and JSONL batch jobs with a set concurrency. Credentials are read from the environment or root .env files, and the source says the skill must not call private scripts or read files under ~/.codex.

The skill sets out how to define an asset, list required text verbatim, and specify diagram nodes and arrow order. The assistant must inspect each result at full size for relevance, rendered characters, arrow direction, and artifacts. It is aimed at Growth Lab content loops that need images for pages, posts, and documents, and the source describes it as the only AI image-generation executor in Growth Lab.

Written from the project's SKILL.md and checked against it.

What it can do

  • Text-to-image generationCreates an image from a prompt file using Gemini or OpenAI models.
  • Reference-image editsEdits an image using one or more reference images passed with the ref argument.
  • JSONL batch generationRuns many image jobs from a file with a configurable concurrency setting.
  • Text and structure controlLists required labels verbatim and specifies diagram nodes, arrows, and grouping.
  • Result inspectionChecks each image for relevance, text accuracy, details, crop, and mobile readability.
  • Targeted regenerationRetries once with a single correction when a result fails inspection.
  • Deterministic fallbackSuggests a code-native graphic when repeated attempts cannot render exact text or structure.
  • Asset storage guidanceStores the selected image with a stable filename, compression, dimensions, and alt text.

What you need

  • Node.js
  • Python, for the configuration check script
  • GEMINI_API_KEY or OPENAI_API_KEY

Try asking

  • Generate a cover image for my blog post about remote work tools
  • Edit this product photo to use a plain white background
  • Create a diagram showing a three-step onboarding flow with arrows

Good to know

  • A paid verification call requires separate approval.
  • Model IDs depend on the compatible gateway and must be listed first.
  • Dense text may not render exactly, so a code-native graphic may be needed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: executors/generate-image/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB
  • agents/openai.yaml206 B
  • generate-image.mjs11 KB

Alternatives to generate-image

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

generate-image: common questions

Which image providers does this skill support?

The source says it supports OpenAI and Gemini. Models named gpt-image-* go to the OpenAI Images API, and gemini-*image* or nano-banana* models go to the Gemini API.

Does it need an API key before it can run?

Yes. It reads GEMINI_API_KEY or OPENAI_API_KEY from the environment or root .env files. The source says to never paste a key into the conversation.

Can it edit an existing image?

Yes. Pass one --ref argument for each reference image in an edit, and state in the prompt what must remain unchanged.

How do I install generate-image?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is generate-image free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is generate-image safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to generate-image?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

generate-image Install

Add to stack

Loading.