azure-openai-image-gen-skill

Route image generation and editing requests through Azure OpenAI deployments to produce base64-encoded images.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/MikeChongCan/azure-openai-image-gen-skill --skill azure-openai-image-gen-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-openai-image-gen-skill
Source: https://github.com/MikeChongCan/azure-openai-image-gen-skill/tree/main
Command: npx skills add https://github.com/MikeChongCan/azure-openai-image-gen-skill --skill azure-openai-image-gen-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Generate, edit, batch-generate, or troubleshoot images through Azure OpenAI or Microsoft Foundry deployments using env vars or an env-file.

Core Features & Use Cases

  • Generate new images from prompts against an Azure OpenAI deployment, returning base64-encoded images.
  • Edit existing images with reference inputs or prompts, including batch generation for multiple variants.
  • Troubleshoot image endpoints, deployments, authentication, and env configurations in Azure OpenAI image generation.

Quick Start

Run a simple generate command using your Azure deployment, a prompt, and the default env file to produce an image.

Frequently Asked Questions about azure-openai-image-gen-skill

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

FAQPage Schema
How do I generate images using Azure OpenAI deployments and environment variables?

To generate images using Azure OpenAI, route text prompts through your configured deployment endpoints using environment variables for authentication. The Skill processes these requests and returns base64-encoded image outputs for immediate use.

Can I edit existing images and perform batch generation with Azure OpenAI?

Yes, Azure OpenAI image editing supports modifying existing images using reference inputs or text prompts. You can execute batch generation to produce multiple image variants simultaneously through your configured deployment endpoint.

How do I troubleshoot Azure OpenAI image generation endpoints and credentials?

Troubleshooting Azure OpenAI image generation involves validating your env-file configurations, verifying deployment-based endpoint URLs, and checking authentication credentials. The Skill provides scripts and references to diagnose and resolve these connection issues.

Do I need an env-file to authenticate image generation requests with Azure OpenAI?

Yes, an env-file or environment variables are required to manage authentication for Azure OpenAI image generation. This deployment-based approach ensures secure credential handling and deterministic routing to your specific endpoints.

What format does Azure OpenAI return for generated images?

Azure OpenAI returns generated images as base64-encoded outputs. This format allows deterministic handling of image data directly within your scripts, ensuring reliable asset delivery for new generation and editing tasks.