← 返回
内容创作 Key 中文

Azure Image Gen

Generate images using Azure OpenAI DALL-E. Supports batch generation, custom prompts, and outputs a gallery.
使用 Azure OpenAI DALL‑E 生成图像,支持批量生成、自定义提示词,并输出画廊。
abhibavishi
内容创作 clawhub v1.0.0 1 版本 99916.2 Key: 需要
★ 0
Stars
📥 1,193
下载
💾 28
安装
1
版本
#latest

概述

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

FlagDefaultDescription
----------------------------
--promptRequiredImage description
--count1Number of images to generate
--size1024x1024Image size: 1024x1024, 1792x1024, 1024x1792
--qualitystandardQuality: standard or hd
--stylevividStyle: vivid or natural
--out-dir./azure-imagesOutput directory
--api-version2024-02-01Azure 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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,559
developer-tools

WordPress to Static Site

abhibavishi
将WordPress网站转换为静态站点并部署至Cloudflare Pages。通过SSH镜像HTML,仅提取引用资源(将1.5GB+缩减至约25MB),修复URL,自托管字体,清理冗余数据并完成部署。适用于将WordPress站点迁移至静
★ 4 📥 1,366
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 862 📥 200,282