image-generation
Skill by langchain-ai
Generate original illustrations, scenes, textures and transparent cut-outs with the generate_image host tool. Built for campaign concepts that follow the brand, with real type and logos added in HTML afterwards.
Install image-generation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langchain-ai/design-agent /tmp/design-agent && mkdir -p ~/.claude/skills && cp -r /tmp/design-agent/skills/image-generation ~/.claude/skills/image-generationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langchain-ai/design-agent /tmp/design-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/design-agent/skills/image-generation ~/.gemini/antigravity-cli/skills/image-generationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Image generation is an agent skill for producing original artwork with the generate_image host tool. It covers illustrations, scenes, textures, hero objects, look plates for storyboards and transparent cut-outs. The skill tells the assistant when another route is better, such as layouts, logos, exact copy, charts or product UI, and points to HTML or other tools for those.
The image model runs on the host, so no provider key enters the sandbox. Prompts are grounded in the brand's graphic language, voice and colour tokens. Work follows a cheap exploration, one high-quality final, and then composition with real type and logos in HTML. Each call spends money, so the skill explores at low quality and finishes once at high. It is aimed at campaign concepts and brand artwork.
Written from the project's SKILL.md and checked against it.
What it can do
- generate_imageGenerates images from a prompt and writes them to sandbox paths on the host.
- Transparent cut-outsCreates subjects on alpha backgrounds and reports whether each file really has alpha.
- Brand groundingBuilds prompts from the brand's graphic language, voice and colour tokens.
- Surface compositingGenerates a blank surface, then composites verified artwork onto it with image-ops or HTML.
- Review before deliveryExplores variants cheaply, reviews them against a rubric and limits correction rounds.
- Campaign explorationCompares two to four visual directions side by side before spending on a final.
What you need
- The generate_image host tool
- An image model provider configured on the host
- Brand files in /workspace/brand, such as graphic-language.md, voice.md and tokens.json
Try asking
- Generate three low-quality hero object concepts for our spring campaign
- Make a transparent cut-out of a ceramic mug for a sticker layout
- Create a paper-textured background illustration in our brand palette
Good to know
- Not for layouts, logos, exact copy, charts or product UI
- With Google, there is no transparent background, so generate on a plain ground and cut out
- Every call spends money
- A prompt that describes a backdrop can produce an opaque image even when transparency is requested
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/image-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to image-generation
All alternatives →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.
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.
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.
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.
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.
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.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
image-generation: common questions
Can this skill generate a company logo?
No. The source says never to generate a logo, wordmark or any real mark, because models render fake letterforms. The real SVG is composited afterwards.
How do I get a transparent PNG?
Pass background="transparent" and output_format="png", and describe an isolated object on a transparent alpha. The tool reports whether the file has alpha, and the assistant must report that result as it is.
Does generating images cost money?
Yes. The source says every call spends money, so it recommends exploring at low quality and finishing once at high quality.
How do I install image-generation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is image-generation free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is image-generation safe to use?
It scores 76 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 image-generation?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
