← 返回
未分类 Key 中文

Image Generator

AI image generation skill using DALL-E, Stable Diffusion, or Midjourney API. Generate, edit, and vary images from text prompts.
AI图像生成技能,支持 DALL‑E、Stable Diffusion、Midjourney API,可根据文本提示生成、编辑和变换图像。
jpengcheng523-netizen jpengcheng523-netizen 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 357
下载
💾 0
安装
1
版本
#latest

概述

Image Generator

Generate AI images using DALL-E, Stable Diffusion, or other providers.

When to Use

  • User wants to generate an image from text
  • Create variations of existing images
  • Edit images with AI inpainting
  • Generate thumbnails or illustrations

Configuration

# OpenAI DALL-E
export OPENAI_API_KEY="sk-xxx"

# Stability AI
export STABILITY_API_KEY="sk-xxx"

# Replicate (for SDXL, etc.)
export REPLICATE_API_TOKEN="r8_xxx"

Usage

Generate image

python3 scripts/generate_image.py \
  --prompt "A serene mountain landscape at sunset" \
  --size "1024x1024" \
  --output "./output.png"

Generate variations

python3 scripts/generate_image.py \
  --vary "./input.png" \
  --count 4 \
  --output-dir "./variations"

Edit image (inpainting)

python3 scripts/generate_image.py \
  --edit "./input.png" \
  --mask "./mask.png" \
  --prompt "Add a rainbow in the sky"

With style presets

python3 scripts/generate_image.py \
  --prompt "A futuristic city" \
  --style "cyberpunk" \
  --negative "blurry, low quality"

Output

{
  "success": true,
  "image_path": "./output.png",
  "revised_prompt": "A serene mountain landscape..."
}

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 10:33 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving Agent (Proactive Self-Reflection)

jpengcheng523-netizen
自我反思、自我批评、自主学习与自组织记忆。智能体能评估自身工作、发现错误并实现永久性改进。
★ 0 📥 1,093
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,131
design-media

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 426 📥 116,348