← 返回
内容创作 Key

SiliconFlow Image Gen

Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
使用SiliconFlow API(FLUX.1、Stable Diffusion等)生成图像
lilei0311
内容创作 clawhub v1.0.0 1 版本 99843.3 Key: 需要
★ 3
Stars
📥 1,214
下载
💾 71
安装
1
版本
#flux#generation#image#latest#siliconflow

概述

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

ModelCostQualitySpeed
-----------------------------
black-forest-labs/FLUX.1-schnellFreeGoodFast
black-forest-labs/FLUX.1-devPaidExcellentMedium
stabilityai/stable-diffusion-3-5-largePaidExcellentMedium

Security Notes

  • This skill requires an API key to call SiliconFlow services
  • The script reads ~/.openclaw/openclaw.json only to auto-detect API keys
  • No sensitive data is transmitted except to api.siliconflow.cn
  • Review the code at scripts/generate.py before providing credentials

Author

MaxStorm Team

License

MIT

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 06:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Wps Skill

lilei0311
自动化WPS Office任务,包括文档创建、打开、格式转换、批量处理,及管理WPS 365智能表单、文档、表格、流程图...
★ 13 📥 14,021
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,492
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,856