Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

azure-image-gen

bởi abhibavishi

DevOps & Cloud
451Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Generate images using Azure OpenAI DALL-E.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • 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

Cài đặt

clawhub install abhibavishi/azure-image-gen

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết