跳到正文
TakoAPI
返回技能列表

azure-image-gen

由 abhibavishi 提供

DevOps & Cloud
451下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Generate images using Azure OpenAI DALL-E.

描述

该技能的功能

Generates images via Azure OpenAI's DALL-E deployment using a Python script. Supports batch generation, multiple sizes (up to 1792x1024), HD quality, vivid or natural styles, and outputs PNG files alongside a manifest and HTML gallery.

Teams already provisioned on Azure can generate images without separate OpenAI API credentials or accounts.

何时使用

  • Creating header images for blog posts
  • Batch generating social media graphics
  • Producing illustration sets for documentation
  • Prototyping marketing visuals before a designer is involved
  • Generating cost- or process-themed diagrams for technical articles

示例工作流

输入

User asks: Generate 4 HD blog headers for a cloud migration article

智能体
  1. 1

    Reads AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY, and AZURE_OPENAI_DALLE_DEPLOYMENT from environment

  2. 2

    Runs generate.py with --prompt, --count 4, and --quality hd flags

  3. 3

    Calls the Azure OpenAI DALL-E API for each image in sequence

  4. 4

    Saves PNG files to the output directory and writes manifest.json with prompt-to-file mappings

  5. 5

    Generates index.html for local gallery preview

输出

4 PNG images, a manifest.json, and an index.html gallery saved to the output directory

前置要求

  • Azure OpenAI service with a DALL-E deployment configured
  • AZURE_OPENAI_ENDPOINT environment variable
  • AZURE_OPENAI_API_KEY environment variable
  • AZURE_OPENAI_DALLE_DEPLOYMENT environment variable

安装

clawhub install abhibavishi/azure-image-gen

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接