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

image-generation

Skill by bytedance

Generates images from structured JSON prompts using a Python script. It suits users who ask for characters, scenes, products or other visual content, with optional reference images to guide the result.

  • Score 94
  • 86k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install image-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/bytedance/deer-flow /tmp/deer-flow && mkdir -p ~/.claude/skills && cp -r /tmp/deer-flow/skills/public/image-generation ~/.claude/skills/image-generation

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

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

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

About

The image-generation skill creates images for an AI assistant. When a user asks for an image, the assistant writes a structured JSON prompt file that describes the subject, style, composition, lighting and colour palette. It then runs a Python script with that file, an output path and an aspect ratio, and can also pass reference images for style or composition guidance.

The skill selects its image provider from environment variables. It supports Gemini, MiniMax, an OpenAI-compatible Images API and BytePlus Agent Plan Seedream, and a provider can be forced with IMAGE_GENERATION_PROVIDER. The skill also includes a character example, a Star Wars scene example and a Doraemon comic template. It is aimed at users who want generated character designs, scenes or product visuals.

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

What it can do

  • Structured JSON promptsWrites a JSON prompt file with subject, style, composition, lighting and colour fields.
  • Reference imagesAccepts one or more reference images to guide style, composition or subject.
  • Script-based generationRuns generate.py with a prompt file, output path and aspect ratio.
  • Provider selectionChooses Gemini, MiniMax, an OpenAI-compatible API or BytePlus Seedream from environment variables.
  • Character and scene examplesIncludes example prompts for character design and a sci-fi scene with reference images.
  • Doraemon comic templateProvides a template file that is read only when the request matches it.
  • Image search for referencesSuggests using the image_search tool to find reference images before generating.

What you need

  • Python
  • One image provider API key: GEMINI_API_KEY, MINIMAX_API_KEY, IMAGE_GENERATION_API_KEY or BYTEPLUS_AGENTPLAN_API_KEY
  • BytePlus Agent Plan tier for the BytePlus provider

Try asking

  • Generate a 1990s Tokyo street portrait of a woman in a trench coat
  • Create a 16:9 sci-fi market scene using these two reference images
  • Make a product visualization of a ceramic mug on a wooden table

Good to know

  • The legacy MiniMax writer can leave an empty file or erase an existing image if decoding fails.
  • Use a fresh output file path to keep a previous image.
  • The default aspect ratio is 16:9.

Security check

A

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

Checked automatically: skills/public/image-generation/SKILL.md, skills/public/image-generation/scripts/generate.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • scripts/generate.py23 KB
  • templates/doraemon.md3 KB

Alternatives to image-generation

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

image-generation: common questions

Which image providers does this skill support?

It supports Gemini, MiniMax, an OpenAI-compatible Images API and BytePlus Agent Plan Seedream. The provider is chosen by which API key environment variable is set, or forced with IMAGE_GENERATION_PROVIDER.

Can I use my own reference images?

Yes. Reference images are passed with the --reference-images option as absolute paths, and the prompt can refer to them as [Image 1] and [Image 2].

Where are generated images saved?

The skill's instructions say images are typically saved in /mnt/user-data/outputs/, and the output path is set with --output-file.

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 MIT licence. The service it connects to may have its own pricing.

Is image-generation safe to use?

It scores 94 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: intelligence-vocabulary, media-use, media_library, speak-summary.

image-generation Install

Add to stack

Loading.