Tooluck logoTooluck
SKILL.md

hive.image-generation

Agent skill fromaden-hive/hive

Required before calling image_generate. Create and edit images from a prompt — generate an image, make a picture / logo / illustration / icon / banner / poster / thumbnail / hero image / mockup / product shot / social graphic, or edit / restyle / combine existing images from reference images. Uses OpenAI gpt-image-2 through the Hive image service, billed to the user's Hive credits like an LLM call (no API key needed). Teaches the exact call shape, the quality/cost tradeoff (quality="low" is the default and cheapest), reference-image editing, how to show the result to the user with attach_file, and the failure modes (out of credits, model unavailable, moderation).

How to install hive.image-generation

install hive.image-generation
# install the hive pack with the skills CLI
npx skills add aden-hive/hive

# or add only this skill to Claude Code: copy the folder

core/framework/skills/_default_skills/image-generation/

# into

~/.claude/skills/image-generation/ (all projects)

.claude/skills/image-generation/ (one project)

core/framework/skills/_default_skills/image-generation/SKILL.md

Apache-2.0Full file
1# Image generation
2
3`image_generate` turns a text prompt into an image (and can edit existing
4images). It routes through the Hive image service to OpenAI's **gpt-image-2**;
5the cost is billed to the user's Hive credits exactly like an LLM call, so there
6is **no API key to configure**. Each generated image is also saved to disk.
7
8## The call
9
10```
11image_generate(
12 prompt: str, # required — what to draw
13 reference_images: list[str] = None,# local paths or http(s) URLs to edit/condition on
14 size: str = "1024x1024", # 1024x1024 | 1536x1024 (landscape) | 1024x1536 (portrait) | auto
15 quality: str = "low", # low only (medium & high disabled)
16 n: int = 1, # 1–4; each image is billed separately
17 output_format: str = "png", # png | jpeg | webp
18 model: str = "gpt-image-2",
19)
20```
21
22Defaults are deliberately cheap and fast. **`quality` is locked to `low`** —
23`medium` and `high` are disabled for cost control, and any request for a higher
24tier is automatically forced to `low`. Only raise `n` when the user explicitly
25wants variations.
26
27### Writing the prompt
28Be concrete: name the subject, style (photo, flat vector, 3D, watercolor…),
29composition/framing, color palette, mood, and any **text to render** (gpt-image-2
30renders text well — quote it exactly, e.g. `the words "Launch Day" in bold`).
31
32## Reference-image editing
33
34Pass `reference_images` to edit, restyle, or compose from existing images —
35…

Excerpt shown under the repository's Apache-2.0 license.

More skills in hive

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates