Skip to content
Back to skills

Azure Image Gen

ASecurity

Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery.

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
devopspythonbashazureapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill azure-image-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Azure Image Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Azure Image Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-azure-image-gen/badge)](https://www.skillsdirectory.com/skills/dvcrn-azure-image-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: azure-image-gen
description: "Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery."
---

# Azure Image Gen

Generate images using Azure OpenAI's DALL-E deployment.

## Setup

### Required Environment Variables

```bash
export AZURE_OPENAI_ENDPOINT="https://your-resource.openai.azure.com"
export AZURE_OPENAI_API_KEY="your-api-key"
export AZURE_OPENAI_DALLE_DEPLOYMENT="your-dalle-deployment-name"
```

Or create a `.env` file in the skill directory.

### API Version

Default: `2024-02-01` (supports DALL-E 3)

## Usage

### Basic Generation

```bash
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py --prompt "A futuristic city at sunset"
```

### Multiple Images

```bash
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
  --prompt "Professional blog header for a tech startup" \
  --count 4
```

### Custom Size & Quality

```bash
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
  --prompt "Minimalist illustration of cloud computing" \
  --size 1792x1024 \
  --quality hd
```

### Specify Output Directory

```bash
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
  --prompt "Abstract data visualization" \
  --out-dir ./blog-images
```

## Options

| Flag | Default | Description |
|------|---------|-------------|
| `--prompt` | Required | Image description |
| `--count` | 1 | Number of images to generate |
| `--size` | 1024x1024 | Image size: `1024x1024`, `1792x1024`, `1024x1792` |
| `--quality` | standard | Quality: `standard` or `hd` |
| `--style` | vivid | Style: `vivid` or `natural` |
| `--out-dir` | ./azure-images | Output directory |
| `--api-version` | 2024-02-01 | Azure OpenAI API version |

## Output

- PNG images saved to output directory
- `manifest.json` with prompt-to-file mapping
- `index.html` gallery for easy preview

## Blog Image Prompts

For blog headers, try prompts like:

```
# Tech/SaaS
"Minimalist isometric illustration of cloud migration, blue and white color scheme, clean lines, professional"

# Comparison posts
"Split screen illustration showing old vs new technology, warm vs cool colors, modern flat design"

# How-to guides
"Clean illustration of a step-by-step process, numbered steps floating in space, soft gradients"

# Cost/pricing
"Abstract visualization of savings and growth, upward arrows, green accents, professional business style"
```

## Troubleshooting

**401 Unauthorized**: Check your `AZURE_OPENAI_API_KEY`

**404 Not Found**: Verify your `AZURE_OPENAI_DALLE_DEPLOYMENT` name matches exactly

**Content Policy**: Azure has strict content filters. Rephrase prompts that get blocked.

Files in this skill

  • SKILL.md2.6 KB
  • scripts/generate.py8.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…