LaunchKit · 2026
Back to Skills

siliconflow-image-gen

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

2
478 downloads
by @lilei0311

Setup & Installation

openclaw skills install @lilei0311/siliconflow-image-gen

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install siliconflow-image-gen

What This Skill Does

Generates images via the SiliconFlow API using models like FLUX.1-schnell, FLUX.1-dev, and Stable Diffusion 3.5. Reads API keys from environment variables or OpenClaw config and saves images locally.

Provides access to both free and paid image generation models through a single API key, with automatic credential detection from existing OpenClaw config.

When to use it

  • Generating product mockup images from text descriptions
  • Creating background art for presentations or documents
  • Quickly prototyping visual concepts with free FLUX.1-schnell
  • Batch-generating images with custom output paths
  • Testing different model quality/cost tradeoffs for image tasks

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Generate an image of a sunset over mountains and save it to my desktop

AGENT
  1. 1Reads SILICONFLOW_API_KEY from environment or ~/.openclaw/openclaw.json
  2. 2Calls SiliconFlow API with the prompt using the default FLUX.1-schnell model
  3. 3Receives image URL or binary from api.siliconflow.cn
  4. 4Downloads and saves the image to the specified output path
OUTPUT

Image file saved to ~/Desktop/sunset.png

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

SILICONFLOW_API_KEY environment variableSiliconFlow account to obtain an API key