AI Image Generator Skill
Description
Generate high-quality AI images using Google's Gemini API with customizable aspect ratios and artistic themes.
Usage
To generate an image, run the ai-image command.
Syntax:
ai-image "<prompt>" [options]
Options:
--theme <theme>: Artistic theme (default: photorealistic). See Available Styles below.
--ratio <ratio>: Aspect ratio (default: 16:9).
- Supported:
1:1, 4:3, 16:9, 3:2, 2:1, 9:16, 3:4 or any custom ratio (e.g. 21:9).
--style <style>: Additional style parameters to refine the output.
--quality <level>: Quality factor (1-100).
--number <count>: Number of images to generate (default: 1).
--save: Save generated image to file (default: true).
--output-dir <path>: Directory to save image (default: ./output).
--filename <name>: Custom filename (without extension).
Available Styles
The ai-image skill supports a variety of artistic themes to suit your needs. Use the --theme flag to select one.
photorealistic: Lifelike images with realistic lighting, textures, and details. Best for simulating photography.
anime: Japanese animation style with distinct character designs and vibrant colors.
oil-painting: Classic oil painting aesthetic with visible brushstrokes and rich textures.
watercolor: Soft, fluid, and translucent effects mimicking traditional watercolor painting.
digital-art: Modern, crisp digital illustration style often found on ArtStation or DevianArt.
sketch: Rough or polished pencil/charcoal sketches, focusing on lines and shading.
impressionist: Captures the feeling of a scene with loose brushwork and light interaction (e.g., Monet style).
surreal: Dream-like, illogical, and imaginative scenes often combining unrelated elements.
cyberpunk: Futuristic, high-tech, low-life aesthetic with neon lights and urban decay.
fantasy: Magical, mythical, and fairy-tale themes suitable for RPGs or story illustrations.
vintage: Retro, old-school photography or art styles (e.g., sepia tones, film grain).
minimalist: Simple, clean, and uncluttered designs with focus on negative space and core elements.
hand-drawn: Minimalist graphite sketch on rough paper, emphasizing organic lines, texture, and negative space.
comic-sketch: Minimalist black and white comic manuscript style, distinct for its raw, expressionist sketches and multi-panel layout.
shin-hanga: 20th-century Japanese "New Print" style, blending traditional Ukiyo-e woodblock aesthetics with Western impressionist light and mood.
swiss-tech: Swiss Style technical deconstruction illustration, featuring orthographic views, black/white/red color scheme, and vintage plotting paper background.
File Management
Proper file management is crucial for keeping your generated assets organized.
--save: Ensure this is enabled (default) to persist your creations.
--output-dir: Important! Use this to group related images. For example, if you are generating assets for a specific blog post or project, specify a dedicated folder (e.g., --output-dir ./assets/blog-post-1).
--filename: Recommended! By default, filenames are generated based on the prompt, which can be long and unwieldy. Specify a concise, meaningful filename to make it easier to reference the image later (e.g., --filename hero-image).
Examples
1. Basic Photorealistic Landscape
ai-image "a serene mountain landscape at sunset" --theme photorealistic --ratio 16:9
2. Project Asset with Custom Path and Name
# Saves to ./projects/sci-fi/background.png
ai-image "futuristic laboratory interior" \
--theme cyberpunk \
--output-dir ./projects/sci-fi \
--filename background
3. Character Portrait in Anime Style
ai-image "female warrior with magic staff" --theme anime --ratio 3:4 --quality 90
4. Artistic Concept Art
ai-image "floating island in the sky" --theme fantasy --style "dramatic lighting" --filename concept-art-01
Requirements
GEMINI_API_KEY: Environment variable required.
Configuration
- Supported Themes: See Available Styles list above.
- Supported Ratios:
1:1, 4:3, 16:9, 3:2, 2:1, 9:16, 3:4 or any custom W:H ratio.
1---2name: ai-image3description: Generate high-quality AI images using Google's Gemini API with customizable aspect ratios and artistic themes.4---5# AI Image Generator Skill67## Description8Generate high-quality AI images using Google's Gemini API with customizable aspect ratios and artistic themes.91011## Usage12To generate an image, run the `ai-image` command.1314**Syntax**:15```bash16ai-image "<prompt>" [options]17```1819**Options**:20- `--theme <theme>`: Artistic theme (default: `photorealistic`). See [Available Styles](#available-styles) below.21- `--ratio <ratio>`: Aspect ratio (default: `16:9`).22 - Supported: `1:1`, `4:3`, `16:9`, `3:2`, `2:1`, `9:16`, `3:4` or any custom ratio (e.g. `21:9`).23- `--style <style>`: Additional style parameters to refine the output.24- `--quality <level>`: Quality factor (1-100).25- `--number <count>`: Number of images to generate (default: `1`).26- `--save`: Save generated image to file (default: `true`).27- `--output-dir <path>`: Directory to save image (default: `./output`).28- `--filename <name>`: Custom filename (without extension).2930## Available Styles31The `ai-image` skill supports a variety of artistic themes to suit your needs. Use the `--theme` flag to select one.3233- **`photorealistic`**: Lifelike images with realistic lighting, textures, and details. Best for simulating photography.34- **`anime`**: Japanese animation style with distinct character designs and vibrant colors.35- **`oil-painting`**: Classic oil painting aesthetic with visible brushstrokes and rich textures.36- **`watercolor`**: Soft, fluid, and translucent effects mimicking traditional watercolor painting.37- **`digital-art`**: Modern, crisp digital illustration style often found on ArtStation or DevianArt.38- **`sketch`**: Rough or polished pencil/charcoal sketches, focusing on lines and shading.39- **`impressionist`**: Captures the feeling of a scene with loose brushwork and light interaction (e.g., Monet style).40- **`surreal`**: Dream-like, illogical, and imaginative scenes often combining unrelated elements.41- **`cyberpunk`**: Futuristic, high-tech, low-life aesthetic with neon lights and urban decay.42- **`fantasy`**: Magical, mythical, and fairy-tale themes suitable for RPGs or story illustrations.43- **`vintage`**: Retro, old-school photography or art styles (e.g., sepia tones, film grain).44- **`minimalist`**: Simple, clean, and uncluttered designs with focus on negative space and core elements.45- **`hand-drawn`**: Minimalist graphite sketch on rough paper, emphasizing organic lines, texture, and negative space.46- **`comic-sketch`**: Minimalist black and white comic manuscript style, distinct for its raw, expressionist sketches and multi-panel layout.47- **`shin-hanga`**: 20th-century Japanese "New Print" style, blending traditional Ukiyo-e woodblock aesthetics with Western impressionist light and mood.48- **`swiss-tech`**: Swiss Style technical deconstruction illustration, featuring orthographic views, black/white/red color scheme, and vintage plotting paper background.4950## File Management51Proper file management is crucial for keeping your generated assets organized.5253- **`--save`**: Ensure this is enabled (default) to persist your creations.54- **`--output-dir`**: **Important!** Use this to group related images. For example, if you are generating assets for a specific blog post or project, specify a dedicated folder (e.g., `--output-dir ./assets/blog-post-1`).55- **`--filename`**: **Recommended!** By default, filenames are generated based on the prompt, which can be long and unwieldy. Specify a concise, meaningful filename to make it easier to reference the image later (e.g., `--filename hero-image`).5657## Examples5859**1. Basic Photorealistic Landscape**60```bash61ai-image "a serene mountain landscape at sunset" --theme photorealistic --ratio 16:962```6364**2. Project Asset with Custom Path and Name**65```bash66# Saves to ./projects/sci-fi/background.png67ai-image "futuristic laboratory interior" \68 --theme cyberpunk \69 --output-dir ./projects/sci-fi \70 --filename background71```7273**3. Character Portrait in Anime Style**74```bash75ai-image "female warrior with magic staff" --theme anime --ratio 3:4 --quality 9076```7778**4. Artistic Concept Art**79```bash80ai-image "floating island in the sky" --theme fantasy --style "dramatic lighting" --filename concept-art-0181```8283## Requirements84- `GEMINI_API_KEY`: Environment variable required.8586## Configuration87- **Supported Themes**: See [Available Styles](#available-styles) list above.88- **Supported Ratios**: `1:1`, `4:3`, `16:9`, `3:2`, `2:1`, `9:16`, `3:4` or any custom `W:H` ratio.