Skip to content
Agentmart
Submit a tool

image-gen

Skill by TylerGarlick

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tylergarlick-image-gen

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
image-gen
Description
None
License
MIT
Instructions
72 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • invalid YAML frontmatter: Nested mappings are not allowed in compact mappings at line 4, column 14:
  • name: missing
  • description: missing

Files (2)

  • README.md
  • SKILL.md

SKILL.md (first lines)

## Overview

Image generation skill using HuggingFace Pro with Fal-AI provider. Automatically reads the HF token from the secrets manager.

## Models by Use Case

| Use Case | Model | Notes |
|----------|-------|-------|
| Portraits, People | `black-forest-labs/FLUX.1-dev` | Best quality, natural skin tones |
| Concept Art | `stabilityai/stable-diffusion-3.5-large` | Environments, objects, scenes |
| Stylized/Illustration | `prompthero/openjourney-v4` | Midjourney-like aesthetic |
| Photorealistic | `black-forest-labs/FLUX.1-pro` | If available on your account |
| Fast Iteration | `THUDM/CogView-4` | Quick generation for testing |

## Usage

### Generate Image
```bash
python3 /root/.openclaw/workspace/skills/image-gen/generate.py "Your prompt here" --preset portrait
```

### Presets
- `portrait` — Best for people/portraits (1024x1280)
- `concept` — Concept art & environments (1024x1024)
- `illustration` — Stylized illustrations (1024x1024)
- `photo` — Photorealistic (1024x1024)
- `fast` — Quick iteration (1024x1024)

### With Options
```bash
python3 /root/.openclaw/workspace/skills/image-gen/generate.py "A cyberpunk cityscape" \
  --preset concept \
  --output /path/to/output .png \
  --count 4
```

### Batch Generation
```bash
python3 /root/.openclaw/workspace/skills/image-gen/generate.py --batch prompts.txt --output-dir ./images/
```

## Secrets Integration

The skill automatically reads `HF_TOKEN` from the secrets manager:
- Secret key: `huggingface-image-gen:hf_token`
- Location: `/root/.openclaw/workspace/secrets/secrets-store.json`
- Decryption happens automatically via the wrapper script

## Output

- **Format**: PNG (default)
- **Location**: `/tmp/generated-<timestamp>.png` or specified path
- **Metadata**: Prompt, model, settings saved in `.meta.json`
- **Return**: Absolute path to generated image

## Dependencies

- Python 3.8+
- `huggingface_hub` package
- `Pillow` (PIL)
- HuggingFace Pro account with Fal-AI provider

## Cost

- Pay-per-use via Fal-AI: ~$0.002-0.01 per image
- Billed through your HuggingFace Pro account

## MCP tools

The Python script was replaced by `generate_image` (`mcp/src/tools/creative.ts`; requires `HF_TOKEN`). The `generate.py` examples above map to this tool.

From TylerGarlick/abraxas, MIT.

More from TylerGarlick/abraxas

Signals

Stars
5
Forks
2
Open issues
58
Last commit (this folder)
Oct 23, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from TylerGarlick

Cite this page

image-gen skill. Agent Mart. https://agentmart.dev/skills/tylergarlick-image-gen (last updated 2026-10-24)