🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

image-gen

by @tobeyrebecca

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

πŸ’‘ Examples

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

πŸ“‹ Tips & Best Practices

  • 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.
  • View on ClawHub
    TERMINAL
    clawhub install toby-image-gen

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’