← 返回
内容创作 Key

AI图片生成

AI生成图片,支持Kolors/FLUX/Qwen-Image等模型(需SiliconFlow API)
AI生成图片,支持Kolors/FLUX/Qwen-Image等模型(需SiliconFlow API)
duyiliu
内容创作 clawhub v1.0.0 1 版本 99454.4 Key: 需要
★ 0
Stars
📥 3,646
下载
💾 1,287
安装
1
版本
#latest

概述

AI 图片生成

使用 SiliconFlow API 调用 Kolors、FLUX、Qwen-Image 等模型生成图片。

Generate Image

curl -X POST "https://api.siliconflow.cn/v1/images/generations" \
  -H "Authorization: Bearer $SILICONFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Kolors/Kolors",
    "prompt": "your image description",
    "image_size": "1024x1024",
    "num_inference_steps": 20
  }'

Available Models

  • Kwai-Kolors/Kolors - High quality image generation (正确ID)
  • black-forest-labs/FLUX.1-schnell - Fast generation
  • black-forest-labs/FLUX.1-dev - FLUX dev version
  • Qwen/Qwen-Image - Qwen image generation

> 注意:模型ID可能更新,可通过 curl -s "https://api.siliconflow.cn/v1/models" -H "Authorization: Bearer $SILICONFLOW_API_KEY" | jq '.data[].id' 查询最新列表

Parameters

  • prompt: Image description (required)
  • image_size: 1024x1024, 1024x1792, 1792x1024 (default: 1024x1024)
  • num_inference_steps: 1-50 (default: 20)
  • negative_prompt: Things to avoid (optional)
  • seed: Random seed (optional)

API Key

Get your API key from: https://cloud.siliconflow.cn

Set environment variable:

export SILICONFLOW_API_KEY="your-api-key"

Or configure in OpenClaw:

{
  skills: {
    entries: {
      "siliconflow-image": {
        enabled: true,
        env: {
          SILICONFLOW_API_KEY: "your-api-key"
        }
      }
    }
  }
}

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 10:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

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

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 141 📥 41,016
content-creation

Humanizer

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