搜索

PythonReactSEOPDF
OpenClaw

azure-image-gen

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

abhibavishi0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install abhibavishi/azure-image-gen

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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

来源信息

Source
github
Repository
openclaw/skills
Path
skills/abhibavishi/azure-image-gen
Version
—
Commit
ed1210e6277b93fd8006e93307c870ae22528ebb
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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 ne...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.