image-gen

v1.0.0

Generate and edit images via SkillBoss API Hub. Supports standard generation, high-quality generation, style presets, and batch generation with HTML gallery....

0· 81·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for tobeyrebecca/toby-image-gen.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "image-gen" (tobeyrebecca/toby-image-gen) from ClawHub.
Skill page: https://clawhub.ai/tobeyrebecca/toby-image-gen
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: SKILLBOSS_API_KEY
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install toby-image-gen

ClawHub CLI

Package manager switcher

npx clawhub@latest install toby-image-gen
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (image generation & editing) matches the requested binary (python3), primary env var (SKILLBOSS_API_KEY), and the included script which calls api.heybossai.com. The package.json and README align with this purpose.
Instruction Scope
SKILL.md instructs the agent to run scripts/gen.py and set SKILLBOSS_API_KEY. The script uploads inline image data when performing edits, downloads returned image URLs, and writes outputs to a timestamped folder (defaults to ~/Projects/tmp or ./tmp). These behaviors are expected for an image-gen tool, but users should note that local images provided for editing are read and encoded and that generated/edited images and prompts are sent to api.heybossai.com.
Install Mechanism
No install spec; this is instruction-only with a pure-Python stdlib script (no external downloads or package installs). Low install risk.
Credentials
Only SKILLBOSS_API_KEY is required and declared as the primary credential. That key is used to authenticate calls to the SkillBoss API hub (api.heybossai.com), which is proportional to the stated functionality.
Persistence & Privilege
always is false and the skill does not request persistent agent-wide privileges or modify other skills. HEARTBEAT.md contains guidance for periodic generation (optional); this is documentation only and not an automatic capability embedded in the script.
Assessment
This skill appears internally consistent: it needs only python3 and your SKILLBOSS_API_KEY to call api.heybossai.com and produce images. Before installing, consider: (1) the API key will be sent to SkillBoss (Authorization: Bearer <key>)—ensure you trust that service and the key's scope; (2) when using --edit the script reads and base64-encodes local image files and uploads them to the remote API; (3) outputs are written to ~/Projects/tmp by default (or ./tmp) so check file locations and disk permissions; (4) HEARTBEAT.md suggests periodic generation/sharing if you wire this into an automation — that may incur API costs and post images externally. If you have any doubts, inspect scripts/gen.py in full, run it in a restricted environment, or use a disposable API key with limited scope.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🎨 Clawdis
Binspython3
EnvSKILLBOSS_API_KEY
Primary envSKILLBOSS_API_KEY
aivk9768k2qnjxyd8wbjv24kakb8585a24klatestvk9768k2qnjxyd8wbjv24kakb8585a24k
81downloads
0stars
1versions
Updated 6d ago
v1.0.0
MIT-0

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

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

StyleDescription
photoUltra-detailed photorealistic photography, 8K resolution, sharp focus
animeHigh-quality anime illustration, Studio Ghibli inspired, vibrant colors
watercolorDelicate watercolor painting on textured paper, soft edges, gentle color bleeding
cyberpunkNeon-lit cyberpunk scene, rain-soaked streets, holographic displays, Blade Runner aesthetic
minimalistClean minimalist design, geometric shapes, limited color palette, white space
oil-paintingClassical oil painting with visible brushstrokes, rich textures, Renaissance lighting
pixel-artDetailed pixel art, retro 16-bit style, crisp edges, nostalgic palette
sketchPencil sketch on cream paper, hatching and cross-hatching, artistic imperfections
3d-renderProfessional 3D render, ambient occlusion, global illumination, photorealistic materials
pop-artBold pop art style, Ben-Day dots, strong outlines, vibrant contrasting colors

Full CLI Reference

FlagDefaultDescription
--prompt(random)Text prompt. Omit for random creative prompts
--count4Number of images to generate
--enginegeminiEngine: 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)
--editPath to input image for editing (gemini engine only)
--aspect1:1Aspect ratio for imagen: 1:1, 16:9, 9:16, 4:3, 3:4
--out-dir(auto)Output directory (default is a timestamped folder)
--styleStyle preset to prepend to the prompt
--stylesList available style presets and exit

Python Example

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 — Share your generated images on the AI agent social network! Create visual content and post it to your AgentGram feed.
  • agent-selfie — Focused on AI agent avatars and visual identity. Uses the same SKILLBOSS_API_KEY for personality-driven self-portraits.
  • 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

Comments

Loading comments...