Skip to content
Back to skills

128 Toby Image Gen

ASecurity

Generate and edit images via SkillBoss API Hub. Supports standard generation, high-quality generation, style presets, and batch generation with HTML gallery. Zero dependencies — pure Python stdlib.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
documentationpythongobashgitapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add winlem2024/workbuddy-skills --skill 128-toby-image-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 128 Toby Image Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 128 Toby Image Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/winlem2024-128-toby-image-gen/badge)](https://www.skillsdirectory.com/skills/winlem2024-128-toby-image-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gemini-image-gen
description: Generate and edit images via SkillBoss API Hub. Supports standard generation, high-quality generation, style presets, and batch generation with HTML gallery. Zero dependencies — pure Python stdlib.
homepage: https://github.com/IISweetHeartII/gemini-image-gen
metadata:
  openclaw:
    emoji: "🎨"
    category: creative
    requires:
      bins:
        - python3
      env:
        - SKILLBOSS_API_KEY
    primaryEnv: SKILLBOSS_API_KEY
    tags:
      - image-generation
      - ai-art
      - creative
      - editing
      - batch
      - gallery
---

# Gemini Image Gen

Generate and edit images via SkillBoss API Hub using pure Python stdlib. Supports standard generation + editing, high-quality generation, batch runs, and an HTML gallery output.

## Quick Start

```bash
export SKILLBOSS_API_KEY="your-key-here"

# Default: 4 random prompts
python3 scripts/gen.py

# Custom prompt
python3 scripts/gen.py --prompt "a cyberpunk cat riding a neon motorcycle through Tokyo at night"

# High-quality engine
python3 scripts/gen.py --engine imagen --count 4 --aspect 16:9

# Edit an existing image (gemini engine only)
python3 scripts/gen.py --edit path/to/image.png --prompt "change the background to a sunset beach"

# Use a style preset
python3 scripts/gen.py --style watercolor --prompt "floating islands above a calm sea"

# List available styles
python3 scripts/gen.py --styles
```

## Style Presets

| Style | Description |
| --- | --- |
| `photo` | Ultra-detailed photorealistic photography, 8K resolution, sharp focus |
| `anime` | High-quality anime illustration, Studio Ghibli inspired, vibrant colors |
| `watercolor` | Delicate watercolor painting on textured paper, soft edges, gentle color bleeding |
| `cyberpunk` | Neon-lit cyberpunk scene, rain-soaked streets, holographic displays, Blade Runner aesthetic |
| `minimalist` | Clean minimalist design, geometric shapes, limited color palette, white space |
| `oil-painting` | Classical oil painting with visible brushstrokes, rich textures, Renaissance lighting |
| `pixel-art` | Detailed pixel art, retro 16-bit style, crisp edges, nostalgic palette |
| `sketch` | Pencil sketch on cream paper, hatching and cross-hatching, artistic imperfections |
| `3d-render` | Professional 3D render, ambient occlusion, global illumination, photorealistic materials |
| `pop-art` | Bold pop art style, Ben-Day dots, strong outlines, vibrant contrasting colors |

## Full CLI Reference

| Flag | Default | Description |
| --- | --- | --- |
| `--prompt` | (random) | Text prompt. Omit for random creative prompts |
| `--count` | 4 | Number of images to generate |
| `--engine` | gemini | Engine: `gemini` (supports edit) or `imagen` (high-quality). Both routed via SkillBoss API Hub |
| `--model` | (auto) | Model hint (informational; SkillBoss auto-routes to the best model) |
| `--edit` | | Path to input image for editing (gemini engine only) |
| `--aspect` | 1:1 | Aspect ratio for imagen: `1:1`, `16:9`, `9:16`, `4:3`, `3:4` |
| `--out-dir` | (auto) | Output directory (default is a timestamped folder) |
| `--style` | | Style preset to prepend to the prompt |
| `--styles` | | List available style presets and exit |

## Python Example

```python
import subprocess

subprocess.run(
    [
        "python3",
        "scripts/gen.py",
        "--prompt",
        "a serene mountain landscape at golden hour",
        "--count",
        "4",
        "--style",
        "photo",
    ],
    check=True,
)
```

## Troubleshooting

- Missing API key: set `SKILLBOSS_API_KEY` in your environment and retry.
- Rate limits / 429 errors: wait a bit and retry, reduce `--count`, or switch engines.
- Model errors: SkillBoss API Hub auto-routes to the best available model; retry or adjust `--engine`.

## Integration with Other Skills

- **[AgentGram](https://clawhub.org/skills/agentgram)** — Share your generated images on the AI agent social network! Create visual content and post it to your AgentGram feed.
- **[agent-selfie](https://clawhub.org/skills/agent-selfie)** — Focused on AI agent avatars and visual identity. Uses the same SKILLBOSS_API_KEY for personality-driven self-portraits.
- **[opencode-omo](https://clawhub.org/skills/opencode-omo)** — Run deterministic image-generation pipelines with Sisyphus workflows.

## Changelog

- v1.3.1: Added workflow integration guidance for opencode-omo.
- v1.1.0: Added style presets, `--style` and `--styles` flags, expanded documentation.
- v1.0.0: Initial release with standard + high-quality generation support, batch generation, and HTML gallery.

## Repository

https://github.com/IISweetHeartII/gemini-image-gen

Files in this skill

  • .clawhub/origin.json264 B
  • HEARTBEAT.md1014 B
  • INSTALL.md1.5 KB
  • README.md2.8 KB
  • SKILL.md4.6 KB
  • _meta.json133 B
  • package.json2.4 KB
  • scripts/gen.py12.4 KB
  • skill-card.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.