Overview
- Skill Key
- duyiliu/gen-image
- Author
- duyiliu
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/duyiliu/gen-image
- Latest Commit SHA
- 58e08960f8166735c0af15f698093ed8b858f302
AI生成图片,支持Kolors/FLUX/Qwen-Image等模型(需SiliconFlow API)
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 gen-image 技能。 若已安装,则直接安装 gen-image 技能。
# 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"
}
}
}
}
}
```
human-pages-ai
Search and hire real humans for tasks — photography, delivery, research, and more
zseven-w
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
capt-marbles
Attio CRM integration for managing companies, people, deals, notes, tasks, and custom objects. Use when working with Attio CRM data, searching contacts, managing sales pipelines, adding notes to records, creating tasks, or syncing prospect information.
capt-marbles
Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.
caqlayan
Tweet Processor Skill
carlosarturoleon
Connect to Windsor.ai MCP for natural language access to 325+ data sources including Facebook Ads, GA4, HubSpot, Shopify, and more.