siliconflow-image-gen
Generate images using SiliconFlow API (FLUX.1, Stable Diffusion, etc.)
Why use this skill?
Integrate SiliconFlow AI into OpenClaw with the siliconflow-image-gen skill. Generate high-quality images using FLUX.1 and Stable Diffusion easily.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lilei0311/siliconflow-image-genWhat This Skill Does
The siliconflow-image-gen skill enables the OpenClaw AI agent to interface directly with the SiliconFlow API, providing high-quality generative art capabilities. By abstracting the complexity of API endpoints, this skill allows users to transform text prompts into visual assets seamlessly within their existing OpenClaw workflow. Whether you require fast drafts using the FLUX.1-schnell model or high-fidelity, professional-grade outputs from the FLUX.1-dev or Stable Diffusion 3.5 architectures, this skill handles the heavy lifting of authentication, image generation, and local file storage. It acts as a bridge between the agent's reasoning capabilities and the powerful compute resources hosted on SiliconFlow.
Installation
To install this skill, use the clawhub CLI tool provided by your OpenClaw environment. Run the following command in your terminal: clawhub install openclaw/skills/skills/lilei0311/siliconflow-image-gen. Before running, ensure that your SILICONFLOW_API_KEY is exported in your environment variables or correctly configured within your ~/.openclaw/openclaw.json file. Proper setup ensures the agent can authenticate requests to the external API without manual intervention during execution.
Use Cases
- Rapid Prototyping: Designers can generate quick concept art or mood boards for UI/UX projects directly inside their development terminal.
- Content Creation: Automate the creation of custom thumbnails, blog post headers, or social media assets using automated agent triggers.
- Agentic Creative Workflows: Incorporate visual data into agents that manage marketing campaigns or product documentation, allowing them to provide illustrations alongside text summaries.
Example Prompts
- "Generate a minimalist logo for a tech startup that features a stylized blue cloud and geometric shapes."
- "Create an image of a futuristic cyberpunk city at night with neon signs and flying cars, use the FLUX.1-dev model."
- "Draw a peaceful garden scene with blooming cherry blossoms for my project documentation background."
Tips & Limitations
- Cost Management: Be aware that models like FLUX.1-dev and Stable Diffusion 3.5 are paid services. Monitor your API credit usage on the SiliconFlow dashboard to avoid unexpected charges.
- Security: This skill requires external network access to communicate with SiliconFlow. Always review the source code in
scripts/generate.pybefore use, especially if you are operating in a highly restricted or sensitive environment. - Output Quality: For the best results, provide descriptive, high-quality prompts. Including stylistic keywords like 'photorealistic,' 'cinematic lighting,' or 'oil painting' can significantly influence the output quality of the chosen model.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lilei0311-siliconflow-image-gen": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, external-api
Related Skills
wps-office
WPS Office automation skill supporting document creation, Markdown conversion, and image-text layout.
agent-evolver
AI Agent self-evolution engine that enables agents to learn from experience, detect problems, extract insights, and optimize strategies autonomously. Invoke when users need to improve agent performance, analyze execution errors, or implement continuous learning capabilities.
Wps Office
Skill by lilei0311
Imessage
Skill by lilei0311
Baidunetdisk Skill
Skill by lilei0311