azure-image-gen
Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- azure-image-gen
- metadata
- { "tags": [ "image generation", "azure", "dall-e", "ai art" ], "author": "kai", "version": "1.0.0" }
- description
- Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery.
03 SKILL.md 正文
Azure Image Gen
Generate images using Azure OpenAI's DALL-E deployment.
Setup
Required Environment Variables
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
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py --prompt "A futuristic city at sunset"
Multiple Images
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
--prompt "Professional blog header for a tech startup" \
--count 4
Custom Size & Quality
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
--prompt "Minimalist illustration of cloud computing" \
--size 1792x1024 \
--quality hd
Specify Output Directory
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.jsonwith prompt-to-file mappingindex.htmlgallery 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.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.