Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install azure-image-gen或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install azure-image-gen⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/azure-image-gen/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: azure-image-gen description: Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery. metadata: author: kai version: "1.0.0" tags: - image generation - azure - dall-e - ai art ---
Generate images using Azure OpenAI's DALL-E deployment.
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.
Default: 2024-02-01 (supports DALL-E 3)
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py --prompt "A futuristic city at sunset"
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
--prompt "Professional blog header for a tech startup" \
--count 4
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
--prompt "Minimalist illustration of cloud computing" \
--size 1792x1024 \
--quality hd
python3 /Users/abhi/clawd/skills/azure-image-gen/scripts/generate.py \
--prompt "Abstract data visualization" \
--out-dir ./blog-images
| 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 |
manifest.json with prompt-to-file mappingindex.html gallery for easy previewFor 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"
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.
安装 Azure Image Gen 后,可以对 AI 说这些话来触发它
Help me get started with Azure Image Gen
Explains what Azure Image Gen does, walks through the setup, and runs a quick demo based on your current project
Use Azure Image Gen to generate images using Azure OpenAI DALL-E
Invokes Azure Image Gen with the right parameters and returns the result directly in the conversation
What can I do with Azure Image Gen in my design & creative workflow?
Lists the top use cases for Azure Image Gen, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/azure-image-gen/ 目录(个人级,所有项目可用),或 .claude/skills/azure-image-gen/(项目级)。重启 AI 客户端后,用 /azure-image-gen 主动调用,或让 AI 根据上下文自动发现并使用。
Azure Image Gen 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Azure Image Gen 可免费安装使用。请查阅仓库了解许可证信息。
Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery.
Azure Image Gen 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Azure Image Gen
Identifies repetitive steps in your workflow and sets up Azure Image Gen to handle them automatically