← 返回
未分类 Key 中文

Crazyrouter Image Gen

AI image generation via Crazyrouter API. Supports DALL-E 3, GPT Image, Gemini, Imagen 4. Text-to-image with aspect ratio, size, and model selection. Use when...
通过Crazyrouter API生成AI图像,支持DALL‑E 3、GPT Image、Gemini、Imagen 4。支持文本生成图像,可选宽高比、尺寸和模型。使用场景...
xujfcn xujfcn 来源
未分类 clawhub v1.1.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 415
下载
💾 0
安装
1
版本
#latest

概述

Image Generation via Crazyrouter

Generate images using multiple AI models through Crazyrouter — one API key, all providers.

Supported Models

ModelIDBest For
----------------------
DALL-E 3dall-e-3General, creative
GPT Image 1gpt-image-1GPT native, high quality
GPT-4o Imagegpt-4o-imageFast, versatile
Gemini 2.5 Flash Imagegemini-2.5-flash-imageFast, free tier
Gemini 3.1 Flash Imagegemini-3.1-flash-image-previewLatest Gemini
Gemini 3 Pro Imagegemini-3-pro-image-previewPro quality
Imagen 3.0imagen-3.0-generate-002Google Imagen
Imagen 4.0imagen-4.0-generate-001Google's latest
Imagen 4.0 Ultraimagen-4.0-ultra-generate-001Highest quality
Sora Imagesora_imageOpenAI Sora static

Script Directory

Agent Execution:

  1. SKILL_DIR = this SKILL.md file's directory
  2. Script path = ${SKILL_DIR}/scripts/main.mjs

Step 0: Check API Key ⛔ BLOCKING

[ -n "${CRAZYROUTER_API_KEY}" ] && echo "key_present" || echo "not_set"
ResultAction
----------------
key_presentContinue to Step 1
not_setAsk user to set CRAZYROUTER_API_KEY. Get key at https://crazyrouter.com

Step 1: Generate Image

node ${SKILL_DIR}/scripts/main.mjs --prompt "your prompt" --image output.png

Options

OptionDescriptionDefault
------------------------------
--prompt Image description (required)
--image Output file path (required)
--model Model to usedall-e-3
--size Image size1024x1024
--n Number of images (1-4)1
--quality Quality: standard/hdstandard

Examples

# Basic generation
node ${SKILL_DIR}/scripts/main.mjs --prompt "A sunset over mountains" --image sunset.png

# With GPT Image 1
node ${SKILL_DIR}/scripts/main.mjs --prompt "Cyberpunk city" --image city.png --model gpt-image-1

# With Imagen 4.0 Ultra (highest quality)
node ${SKILL_DIR}/scripts/main.mjs --prompt "Professional headshot" --image photo.png --model imagen-4.0-ultra-generate-001

# With Gemini 3 Pro
node ${SKILL_DIR}/scripts/main.mjs --prompt "Landscape" --image wide.png --model gemini-3-pro-image-preview

# Multiple images
node ${SKILL_DIR}/scripts/main.mjs --prompt "Logo concepts" --image logo.png --n 4

Step 2: Verify Output

After generation, confirm the image was saved:

ls -la <output_path>

Show the image to the user or report the file path.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-07 18:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Multi-Model Response Comparator

xujfcn
对比多个AI模型在同一任务下的响应,总结质量、风格、速度及成本的差异,最适用于模型选型。
★ 0 📥 517
developer-tools

API Pricing Comparator

xujfcn
对比各供应商的AI API或模型定价,生成结构化摘要,适用于产品页、博客或购买指南。支持OpenAI兼容接口。
★ 0 📥 497

Crazyrouter Translate

xujfcn
Crazyrouter AI翻译,支持GPT-5、Claude、DeepSeek、Qwen任意语言互译,提供文件翻译和多模式功能...
★ 0 📥 345