siliconflow-image-gen
Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- env
- [ "SILICONFLOW_API_KEY" ]
- name
- siliconflow-image-gen
- files
- { "config": [ "~/.openclaw/openclaw.json" ] }
- description
- Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
03 SKILL.md 正文
SiliconFlow Image Generation Skill
Generate images using SiliconFlow API with support for FLUX.1, Stable Diffusion, and more.
Features
- 🎨 Multiple Models: FLUX.1-schnell (free), FLUX.1-dev, Stable Diffusion 3.5
- 🔑 Auto API Key Detection: Reads from environment or OpenClaw config
- 💾 Auto Download: Saves generated images locally
- 📱 OpenClaw Ready: Designed for OpenClaw Agent integration
Requirements
- Environment Variable:
SILICONFLOW_API_KEY - Optional Config File:
~/.openclaw/openclaw.json(for auto-detect)
Installation
npx clawhub install siliconflow-image-gen
Configuration
Set your SiliconFlow API key:
export SILICONFLOW_API_KEY="your-api-key"
Or configure in OpenClaw:
{
"models": {
"providers": {
"siliconflow": {
"apiKey": "your-api-key"
}
}
}
}
Usage
Command Line
# Generate with default model (FLUX.1-schnell)
python3 scripts/generate.py "A cup of coffee on wooden table"
# Specify model
python3 scripts/generate.py "Sunset over mountains" --model "black-forest-labs/FLUX.1-dev"
# Save to file
python3 scripts/generate.py "Cute cat" --output ~/Desktop/cat.png
Available Models
| Model | Cost | Quality | 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 skill requires an API key to call SiliconFlow services
- The script reads
~/.openclaw/openclaw.jsononly to auto-detect API keys - No sensitive data is transmitted except to
api.siliconflow.cn - Review the code at
scripts/generate.pybefore providing credentials
Author
MaxStorm Team
License
MIT
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.