返回顶部
a

azure-image-gen

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

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
657
下载量
0
收藏
概述
安装方式
版本历史

azure-image-gen

# 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.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 azure-image-gen-1776419953 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 azure-image-gen-1776419953 技能

通过命令行安装

skillhub install azure-image-gen-1776419953

下载 Zip 包

⬇ 下载 azure-image-gen v1.0.0

文件大小: 5.07 KB | 发布时间: 2026-4-17 18:36

v1.0.0 最新 2026-4-17 18:36
Initial release: Azure OpenAI DALL-E image generation with batch support and HTML gallery output

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部