SiliconFlow Image Gen
v1.0.0生成 images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
运行时依赖
安装命令
点击复制技能文档
SiliconFlow Image Generation 技能
生成 images using SiliconFlow API with support for FLUX.1, Stable Diffusion, and more.
Features 🎨 Multiple 模型s: FLUX.1-schnell (free), FLUX.1-dev, Stable Diffusion 3.5 🔑 Auto API Key 检测ion: Reads from 环境 or OpenClaw config 💾 Auto 下载: Saves 生成d images locally 📱 OpenClaw Ready: De签名ed for OpenClaw 代理 integration Requirements 环境 Variable: SILICONFLOW_API_KEY Optional Config File: ~/.OpenClaw/OpenClaw.json (for auto-检测) 安装ation npx ClawHub 安装 siliconflow-image-gen
Configuration
设置 your SiliconFlow API key:
导出 SILICONFLOW_API_KEY="your-API-key"
Or 配置 in OpenClaw:
{ "模型s": { "提供者s": { "siliconflow": { "APIKey": "your-API-key" } } } }
Usage Command Line # 生成 with default 模型 (FLUX.1-schnell) python3 scripts/生成.py "A cup of coffee on wooden table"
# Specify 模型 python3 scripts/生成.py "Sun设置 over mountAIns" --模型 "black-forest-labs/FLUX.1-dev"
# Save to file python3 scripts/生成.py "Cute cat" --输出 ~/桌面/cat.png
AvAIlable 模型s 模型 Cost 质量 Speed black-forest-labs/FLUX.1-schnell Free Good Fast black-forest-labs/FLUX.1-dev PAId Excellent Medium stabilityAI/stable-diffusion-3-5-large PAId Excellent Medium Security Notes This 技能 requires an API key to call SiliconFlow 服务s The script reads ~/.OpenClaw/OpenClaw.json only to auto-检测 API keys No sensitive data is transmitted except to API.siliconflow.cn Review the code at scripts/生成.py before providing 凭证s Author
MaxStorm Team
License
MIT