humanpages
Search and hire real humans for tasks — photography, delivery, research, and more
AI生成图片,支持Kolors/FLUX/Qwen-Image等模型(需SiliconFlow API)
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install duyiliu/gen-image打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
使用 SiliconFlow API 调用 Kolors、FLUX、Qwen-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
}'
Kwai-Kolors/Kolors - High quality image generation (正确ID)black-forest-labs/FLUX.1-schnell - Fast generationblack-forest-labs/FLUX.1-dev - FLUX dev versionQwen/Qwen-Image - Qwen image generation注意:模型ID可能更新,可通过
curl -s "https://api.siliconflow.cn/v1/models" -H "Authorization: Bearer $SILICONFLOW_API_KEY" | jq '.data[].id'查询最新列表
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)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"
}
}
}
}
}
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# AI 图片生成
使用 SiliconFlow API 调用 Kolors、FLUX、Qwen-Image 等模型生成图片。
## Generate Image
```bash
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:
```bash
export SILICONFLOW_API_KEY="your-api-key"
```
Or configure in OpenClaw:
```json5
{
skills: {
entries: {
"siliconflow-image": {
enabled: true,
env: {
SILICONFLOW_API_KEY: "your-api-key"
}
}
}
}
}
```Search and hire real humans for tasks — photography, delivery, research, and more
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...
Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...