Skip to content
Back to skills

Image Generation

ASecurity

Create AI images with prompt engineering, style control, and provider guides for Midjourney, DALL-E, Stable Diffusion, Flux, and Leonardo.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
documentationrustgoapisecuritydocumentation

Works with

  • api

Security analysis

A100/100

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

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill image-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Generation?

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

Security grade badge for Image Generation
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-image-generation/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-image-generation)

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: Image Generation
slug: image-generation
version: 1.0.2
homepage: https://clawic.com/skills/image-generation
description: Create AI images with prompt engineering, style control, and provider guides for Midjourney, DALL-E, Stable Diffusion, Flux, and Leonardo.
changelog: Added detailed provider endpoints documentation and feedback section
metadata: {"clawdbot":{"emoji":"๐ŸŽจ","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
---

## When to Use

User needs AI-generated images. Agent handles text-to-image, image editing, style transfer, upscaling, and provider selection.

## Architecture

User preferences persist in `~/image-generation/`. See `memory-template.md` for setup.

```
~/image-generation/
โ”œโ”€โ”€ memory.md      # Current provider, style, projects
โ””โ”€โ”€ history.md     # Past generations (optional)
```

## Quick Reference

| Topic | File |
|-------|------|
| Memory setup | `memory-template.md` |
| Prompt techniques | `prompting.md` |
| API handling | `api-patterns.md` |
| OpenAI/DALL-E | `openai.md` |
| Midjourney | `midjourney.md` |
| Stable Diffusion | `stable-diffusion.md` |
| Flux | `flux.md` |
| Leonardo | `leonardo.md` |
| Ideogram | `ideogram.md` |
| Replicate | `replicate.md` |

## Core Rules

### 1. Check Memory First
Read `~/image-generation/memory.md` for user's provider, preferred styles, and project context.

### 2. Draft Before Final
- Start at 512x512 or 1024x1024 to validate prompt
- Generate 4+ variations
- Only upscale the winner

### 3. Provider Selection by Task

| Task | Best Provider |
|------|---------------|
| Photorealism | Midjourney, Flux Pro |
| Text in images | Ideogram, DALL-E 3 |
| Fast iteration | Flux Schnell, Leonardo |
| Maximum control | Stable Diffusion |
| Inpainting/editing | DALL-E 3, Stable Diffusion |
| Budget API | Replicate, Leonardo |

### 4. Prompt Structure
- Subject first: "A red fox" not "In the forest there is a red fox"
- Style keywords: "cinematic lighting", "oil painting", "studio photography"
- Be specific: "golden hour sunlight" not "good lighting"
- Match aspect ratio to content: 1:1 portraits, 16:9 landscapes

### 5. Update Memory
| Event | Action |
|-------|--------|
| User chooses provider | Save to memory.md |
| Style works well | Note in memory.md |
| New project started | Add to memory.md |

## Common Traps

- **Hands/fingers wrong** โ†’ regenerate or use inpainting
- **Text garbled** โ†’ use Ideogram or add text in post-production
- **Faces distorted** โ†’ add "detailed face" to prompt, use face-fix models
- **Style inconsistent** โ†’ lock seed, use reference images
- **Watermarks appearing** โ†’ check model training, use clean models

## Security & Privacy

**Data that leaves your machine:**
- Prompts sent to chosen AI provider for generation

**Data that stays local:**
- Provider preferences in `~/image-generation/`
- No telemetry or analytics

**This skill does NOT:**
- Store generated images (provider handles storage)
- Access files outside `~/image-generation/`

## External Endpoints

| Provider | Endpoint | Data Sent | Purpose |
|----------|----------|-----------|---------|
| OpenAI | api.openai.com | Prompt text | DALL-E generation |
| Midjourney | discord.com | Prompt text | Image generation |
| Stability AI | api.stability.ai | Prompt text | Stable Diffusion |
| Replicate | api.replicate.com | Prompt text | Flux, SD models |
| Leonardo | cloud.leonardo.ai | Prompt text | Leonardo generation |
| Ideogram | api.ideogram.ai | Prompt text | Text-in-image |

Endpoints depend on chosen provider. No other data is sent externally.

## Trust

By using this skill, prompts are sent to third-party AI providers (OpenAI, Midjourney, Stability AI, etc.).
Only install if you trust these services with your prompts.

## Feedback

- If useful: `clawhub star image-generation`
- Stay updated: `clawhub sync`

Files in this skill

  • SKILL.md3.8 KB
  • _meta.json467 B
  • api-patterns.md2.8 KB
  • flux.md1.8 KB
  • ideogram.md1.6 KB
  • leonardo.md1.8 KB
  • memory-template.md1008 B
  • midjourney.md1.4 KB
  • openai.md1.4 KB
  • prompting.md3 KB
  • replicate.md1.8 KB
  • stable-diffusion.md2.1 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.