image-generation

Generate images via the LitellmCTL gateway and decode base64 payloads to a local folder.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/0xxmemo/litellmctl --skill image-generation-0xxmemo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/0xxmemo/litellmctl/tree/main/skills/image-generation
Command: npx skills add https://github.com/0xxmemo/litellmctl --skill image-generation-0xxmemo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables generation of visuals via the LitellmCTL gateway, removing the need to manually operate separate image tools and handling model auto-discovery.

Core Features & Use Cases

  • Auto-discovers an image_generation model visible to your API key and runs prompts through the LitellmCTL gateway.
  • Decodes base64-encoded image payloads from the gateway and writes outputs to a local directory.
  • Use Case: Create product visuals, banners, icons, or diagrams by describing the desired image in natural language and generating outputs.

Quick Start

Set PROMPT and optional MODEL, N, SIZE, and OUT_DIR, then run the run.sh script to generate images.

Frequently Asked Questions about image-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images via the LitellmCTL gateway?

To generate images via the LitellmCTL gateway, you set a natural language PROMPT and optional parameters like MODEL, N, SIZE, and OUT_DIR, then run the provided script to execute the automation and save outputs locally.

How does base64 decoding work for automated image generation?

Base64 decoding for automated image generation works by receiving a base64-encoded image payload from the gateway and decoding it to write the raw image files directly into a specified local directory.

Do I need to manually specify a model for image generation?

You do not need to manually specify a model for image generation because the system auto-discovers a suitable image_generation model that is visible to your API key through the gateway.

Can I use natural language prompts to create product visuals and banners?

You can use natural language prompts to create product visuals and banners by describing the desired image, which the gateway processes through an image_generation model to output your requested graphics.

What output management options are available when generating images?

Output management options available when generating images include specifying the number of images via the N parameter and defining the output location by setting the OUT_DIR variable to stream resulting files locally.

Does automated image generation include error handling and validation?

Automated image generation includes robust error handling and validation to manage gateway responses, model discovery, and base64 payload decoding, ensuring reliable visual outputs without manual intervention.