# OpenClaudia AI Image Gen

> Unified CLI tool for generating AI images via OpenAI gpt-image-2 and Stability AI with transparency and size controls.

OpenClaudia AI Image Gen is a paid AI agent skill on Agensi by OpenClaudia, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [OpenClaudia](https://www.agensi.io/creators/openclaudia)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/openclaudia-ai-image-gen
- Tags: ai-agents, openai, stability-ai, image-generation, python

## About this skill

Manual image generation often requires juggling API keys, managing different aspect ratios, and wrestling with prompt adherence across providers. This skill provides a unified CLI interface for generating high-quality assets directly through your agent.

### What it does
- **Multi-provider support** executes generation requests via OpenAI (gpt-image series) or Stability AI (SD 3.5 Large).
- **Aspect ratio control** handles square, wide (1536x1024), and tall (1024x1536) formats for various platforms.
- **Transparency handling** generates icons and logos with transparent backgrounds via OpenAI support.
- **Quality tiers** allows switching between low, medium, and high quality to manage cost and detail.
- **Model pinning** supports specific versions like `gpt-image-2` for photorealism or `gpt-image-1-mini` for drafts.

### How it works
1. **Define the prompt** by describing the visual concept, style, and subject matter.
2. **Select the provider** using the `--provider` flag for either OpenAI or Stability AI.
3. **Configure parameters** such as `--size`, `--quality`, and `--model` to match your project requirements.
4. **Execute the script** which handles the API request, processes the response, and saves the file to your local path.

### Frameworks & tools
The skill is built as a Python script utilizing the `requests` library. It interacts with the OpenAI and Stability AI REST APIs using environment variables for authentication.

### Why this beats prompting it yourself
Instead of writing boilerplate code for two different APIs, you get a standardized interface that handles file saving and parameter mapping. It includes built-in support for the 2026 flagship `gpt-image-2` model and provides consistent output regardless of the provider used.

### Use cases
- Generate website hero banners in wide 1536x1024 format.
- Create UI icons with transparent backgrounds for app development.
- Batch produce draft illustrations using the low-cost `gpt-image-1-mini` model.
- Produce photorealistic social media assets using the flagship `gpt-image-2`.

### Known limitations
Requires pre-configured API keys in a specific `.env` file. Stability AI provider is currently limited to 1024x1024 resolution and does not support transparent backgrounds.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the OpenClaudia AI Image Gen skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which AI models and providers are supported by this skill?

The skill supports both OpenAI (including the flagship gpt-image-2 and 1-mini models) and Stability AI (SD 3.5 Large), allowing you to switch providers via a simple CLI flag.

### How does this CLI tool simplify the image generation process compared to using APIs directly?

The tool includes a standardized interface that handles file saving, parameter mapping, and specific aspect ratios (Square, Wide, Tall), saving you from writing boilerplate code for different REST APIs.

### Are API keys included, or do I need to provide my own?

You will need your own API keys for OpenAI and Stability AI, which must be configured in a .env file to authenticate the Python script.

### Can I generate images with transparent backgrounds for UI design?

Yes, when using the OpenAI provider, you can generate icons and logos with transparent backgrounds, though please note this specific feature is not currently supported for Stability AI.

### What are the technical requirements to integrate this skill into my existing AI agent?

The skill is a standalone Python script utilizing the requests library, making it compatible with any AI agent framework that can execute shell commands or run Python code.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
