跳到正文
TakoAPI
返回技能列表

siliconflow-image-gen

由 lilei0311 提供

Git & GitHub
478下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Reads SILICONFLOW_API_KEY from environment or ~/.openclaw/openclaw.json

  2. 2

    Calls SiliconFlow API with the prompt using the default FLUX.1-schnell model

  3. 3

    Receives image URL or binary from api.siliconflow.cn

  4. 4

    Downloads and saves the image to the specified output path

输出

Image file saved to ~/Desktop/sunset.png

前置要求

  • SILICONFLOW_API_KEY environment variable
  • SiliconFlow account to obtain an API key

安装

clawhub install lilei0311/siliconflow-image-gen

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接