openai-compatible-imagegen

Automates image generation, editing, and batch creation via OpenAI-compatible API with Python.

25|2|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/Syh1906/openai-compatible-imagegen --skill openai-compatible-imagegen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-compatible-imagegen
Source: https://github.com/Syh1906/openai-compatible-imagegen/tree/main
Command: npx skills add https://github.com/Syh1906/openai-compatible-imagegen --skill openai-compatible-imagegen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of generating, editing, and batch-creating images through a local OpenAI-compatible image API, enabling agents to create, modify, and process images efficiently.

Core Features & Use Cases

  • Image Generation: Generate images from text prompts or modify existing images.
  • Image Editing: Apply transformations to reference images, such as resizing, cropping, and color adjustments.
  • Batch Creation: Create multiple images at once with batch processing capabilities.
  • Use Case: Create a set of game assets, including icons, sprites, and UI elements, using a combination of text prompts and reference images.

Quick Start

Use the openai-compatible-imagegen skill to generate an image from the prompt 'a futuristic cityscape at sunset with a glowing city skyline'.

Frequently Asked Questions about openai-compatible-imagegen

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

FAQPage Schema
How do I automate batch image generation using an OpenAI-compatible image API?

You can automate batch image generation by providing multiple text prompts to an OpenAI-compatible image API, which processes them to create and output multiple images at once.

Can I edit and resize existing images through an OpenAI-compatible image API?

Yes, you can edit existing images through an OpenAI-compatible image API by applying transformations such as resizing, cropping, and color adjustments to reference images.

What do I need to set up local text-to-image generation with an OpenAI-compatible API?

To set up local text-to-image generation, you need Python installed, the requests and Pillow libraries, and a running OpenAI-compatible image API endpoint to handle processing.

How do I adjust aspect ratio and quality when generating images via an image API?

You can adjust aspect ratio, quality, and format by configuring the specific parameters in your request payload before sending it to the OpenAI-compatible image API.

What is the best way to generate game assets using a local image API?

The best way to generate game assets is using batch processing with an OpenAI-compatible image API, combining text prompts and reference images to create icons, sprites, and UI elements.