image-generation

image-generation is a skill for Claude Code, Codex from bytedance/deer-flow. It costs 42 tokens per session (3,267 once invoked), scanned A, original, MIT.

A skill for creating images from written descriptions, with optional reference images to guide their style or composition. It supports subjects such as characters, scenes, and products.

In plain words
What is it for?
Use it to create visual assets, illustrations, character designs, scenes, or product images from prompts and reference images.
Why use it?
It provides a defined process for turning an image idea into a structured prompt and a generated image. Reference images can help guide the result.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create visual assets, illustrations, character designs, scenes, or product images from prompts and reference images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bytedance/deer-flow/image-generation
About the project

DeerFlow is an open-source super-agent harness that coordinates sub-agents, memory, tools, sandboxes, and extensible skills to handle research, coding, and content-creation tasks that may run for minutes or hours. It is intended for long-running, multi-step work performed by AI agents. The catalogue entries are skills, agents, and instructions that support its workflows.

bytedance/deer-flow · 86,136 stars · on GitHub · deerflow.tech

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bytedance/deer-flow --skill image-generation
Clone the repo
git clone --depth 1 https://github.com/bytedance/deer-flow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for image-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/deer-flow/image-generation/github.svg)](https://agentmods.dev/skills/bytedance/deer-flow/image-generation)
Your own site
<a href="https://agentmods.dev/skills/bytedance/deer-flow/image-generation"><img src="https://agentmods.dev/badge/skills/bytedance/deer-flow/image-generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for image-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/bytedance/deer-flow/image-generation"><img src="https://agentmods.dev/badge/skills/bytedance/deer-flow/image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,267 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk warn 27 Nov 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
  • Socket pass 27 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.03267
Opus 5.5 $0.00017 $0.01307
Sonnet 5.5 $0.00008 $0.00653
Haiku 4.5 $0.00004 $0.00327

Measured 7d ago against content hash 86cdd9864b17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

image-generation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/public/image-generation/SKILL.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Image Generation Skill

Overview

This skill generates high-quality images using structured prompts and a Python script. The workflow includes creating JSON-formatted prompts and executing image generation with optional reference images.

Core Capabilities

  • Create structured JSON prompts for AIGC image generation
  • Support multiple reference images for style/composition guidance
  • Generate images through automated Python script execution
  • Handle various image generation scenarios (character design, scenes, products, etc.)

Workflow

Step 1: Understand Requirements

When a user requests image generation, identify:

  • Subject/content: What should be in the image
  • Style preferences: Art style, mood, color palette
  • Technical specs: Aspect ratio, composition, lighting
  • Reference images: Any images to guide generation
  • You don't need to check the folder under /mnt/user-data

Step 2: Create Structured Prompt

Generate a structured JSON file in /mnt/user-data/workspace/ with naming pattern: {descriptive-name}.json

Step 3: Execute Generation

Call the Python script:

python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/prompt-file.json \
  --reference-images /path/to/ref1.jpg /path/to/ref2.png \
  --output-file /mnt/user-data/outputs/generated-image.jpg \
  --aspect-ratio 16:9

Parameters:

  • --prompt-file: Absolute path to JSON prompt file (required)
  • --reference-images: Absolute paths to reference images (optional, space-separated)
  • --output-file: Absolute path to output image file (required)
  • --aspect-ratio: Aspect ratio of the generated image (optional, default: 16:9)

[!NOTE] Do NOT read the python file, just call it with the parameters.

Optional Templates

Templates are examples for matching requests. Preserve the user's subject, characters, panel count, layout and style; do not import an example's content into unrelated images. Read only the relevant template.

Read the full file on GitHub · 263 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +9 lines 86cdd9864b17
  2. 8d ago Changed · +5 lines 3d999eaed363
  3. 9d ago Changed e4e4faac01ec
  4. 13d ago Changed · +8 lines 37e3ad6b3ce4
  5. 17d ago Changed · +8 lines 33e725ae84e1
  6. 25d ago Changed · +4 lines 9ba8b2fcac41
  7. 2mo ago Changed · +20 lines 9e5f4d09a844
  8. 3mo ago First seen · 209 lines · 42 tokens per session scan A f4d330fa3548

Subscribe to this mod's changes

image-generation is a skill published in the GitHub repository bytedance/deer-flow (86,136 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 3,267 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

image-generation compared with skills from other repositories

image-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-generationbytedance/deer-flowSkill86ktodayMITA42Claude Code, Codex
skill-creatorfullstack455/deer-flowSkill33mo agoMITA64Claude Code, Codex
github-deep-researchfullstack455/deer-flowSkill33mo agoMITA68Claude Code, Codex
claude-to-deerflowfullstack455/deer-flowSkill33mo agoMITA111Claude Code, Codex
video-generationfullstack455/deer-flowSkill33mo agoMITA29Claude Code, Codex
api-testinglaragentic/agentsSkill148mo agononeA14Claude Code, Codex
data-analysislaragentic/agentsSkill148mo agononeA13Claude Code, Codex