โœ“ Verified ๐Ÿ’ป Development โœ“ Enhanced Data

Siliconflow Image Gen

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

Rating
5 (374 reviews)
Downloads
1,829 downloads
Version
1.0.0

Overview

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

โœจKey Features

1

๐ŸŽจ Multiple Models: FLUX.1-schnell (free), FLUX.1-dev, Stable Diffusion 3.5

2

๐Ÿ”‘ Auto API Key Detection: Reads from environment or OpenClaw config

3

๐Ÿ’พ Auto Download: Saves generated images locally

4

๐Ÿ“ฑ OpenClaw Ready: Designed for OpenClaw Agent integration

Complete Documentation

View Source โ†’

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

bash
npx clawhub install siliconflow-image-gen

Configuration

Set your SiliconFlow API key:

bash
export SILICONFLOW_API_KEY="your-api-key"

Or configure in OpenClaw:

json
{
  "models": {
    "providers": {
      "siliconflow": {
        "apiKey": "your-api-key"
      }
    }
  }
}

Usage

Command Line

bash
# 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

Installation

Terminal bash

openclaw install siliconflow-image-gen
    
Copied!

๐Ÿ’ปCode Examples

npx clawhub install siliconflow-image-gen

npx-clawhub-install-siliconflow-image-gen.txt
## Configuration

Set your SiliconFlow API key:

}

.txt
## Usage

### Command Line
example.json
{
  "models": {
    "providers": {
      "siliconflow": {
        "apiKey": "your-api-key"
      }
    }
  }
}
example.sh
# 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

โš™๏ธConfiguration Options

Option Type Default Description
SILICONFLOW_API_KEYstringyour-api-key-

Tags

#git_and-github #api

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author lilei0311
Last Updated 3/10/2026
๐Ÿš€
Optimized for
Claude 3.5
๐Ÿง 

Ready to Install?

Get started with this skill in seconds

openclaw install siliconflow-image-gen