Image generation

From ionclaw-org/ionclaw · View interactive version

Image generation is an AI agent skill from the GitHub repository ionclaw-org/ionclaw. Generate images from text descriptions using AI. Use when the user asks to create, generate, draw, or design an image, illustration, icon, or any visual content.

How to use this skill

Skill file

Image Generation

Generate images using the generate_image tool.

Parameters

| Parameter | Type | Required | Description |

|-----------|------|----------|-------------|

| prompt | string | yes | Detailed description of the image |

| filename | string | yes | Output filename (e.g. poster.png) |

| aspect_ratio | string | no | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9 |

| size | string | no | 1K (default), 2K, 4K |

| reference_images | array | no | Storage paths to reference images |

| style | string | no | Style hint (e.g. photorealistic, illustration) |

| negative_prompt | string | no | What to avoid (e.g. blurry, watermark) |

| google_search | boolean | no | Enable real-time data grounding |

Prompt Structure

Build prompts with these 5 components:

  1. Style/medium — photograph, illustration, watercolor, digital art, vector, 3D render
  2. Subject — who or what, with specific details (pose, clothing, expression, material)
  3. Setting — location, time of day, atmosphere, weather
  4. Action — what is happening in the scene
  5. Composition — camera angle, framing (close-up, wide shot, bird's eye, low angle)

Example: "Cinematic photograph of a futuristic city skyline at golden hour, with flying vehicles crossing between skyscrapers, shot from a rooftop balcony with shallow depth of field, warm amber tones"

Aspect Ratio Guide

Choose based on the intended use:

Reference Images

Reference images provide visual context. The model sees them BEFORE the text prompt.

For logos and brand assets:

For style references:

For editing existing images:

Text in Images

Google Search Grounding

Set google_search: true when the image needs real-time or factual data:

Example: "Visualize the Bitcoin price trend over the last 7 days as an infographic"

Quality Tips

What NOT to Do

After Generation

Always share the saved file URL with the user so they can preview the result.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.