siliconflow-image-gen

Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "siliconflow-image-gen" with this command: npx skills add lilei0311/siliconflow-image-gen

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

电商直播贴片生成器 / Ecommerce Livestream Overlay Generator

电商直播贴片生成器 / 电商直播视觉包装工具。 适用于淘宝直播、抖音直播带货、拼多多直播、快手直播等电商直播场景。 输入品牌、产品、促销信息或产品照片,自动生成完整电商直播视觉包装: 背景、标题栏、主播形象、价格卡、产品货架、福利条、促销贴片。 支持绿幕抠图、自动合成预览、打包交付。 E-commerce liv...

Registry SourceRecently Updated
1981Profile unavailable
General

BigModel Image Video Generator

使用 BigModel (CogView/CogVideoX) API 生成高质量图片和视频。当用户需要"生成图片"、"制作视频"、"AI 绘画"、"创建封面"、"设计海报"、"视觉内容生成"、或任何需要创建图像/视频内容的场景时使用此技能。即使没有明确提到"生成",只要用户需要创建、设计或制作视觉内容(如小说封...

Registry SourceRecently Updated
880Profile unavailable
General

Image Prompt Engineer

Expert photography prompt engineering skill for AI image generation. Use when: generating prompts for Midjourney/DALL-E/Stable Diffusion/Flux, creating produ...

Registry SourceRecently Updated
2410Profile unavailable
General

Nano Banana Pro

Generate or edit AI images with the NanoPhoto.AI Nano Banana Pro API. Use when: (1) User wants text-to-image generation from a prompt, (2) User wants image-t...

Registry SourceRecently Updated
1.6K3Profile unavailable