Free Image Gen for Openclaw

A free AI image generation tool powered by Gitee AI API with support for multiple models and cloud storage integration.

weznai
v1.0.0
Mar 15, 2026
0
819
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install skill-image-gen

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install skill-image-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Free Image Gen?

Free Image Gen is a versatile Openclaw Skills extension designed for developers and AI agents who need cost-effective image generation capabilities. By leveraging the Gitee AI API, users can access high-performance models like Kolors, flux-schnell, and Stable Diffusion without incurring high costs.

The skill provides a seamless bridge between text prompts and visual assets, offering flexible storage options. Whether you need to save assets to a local directory or automate uploads to Tencent Cloud COS (Cloud Object Storage), this tool provides the necessary infrastructure for modern AI workflows.

Free Image Gen Use Cases

  • Creating visual content for blog posts or social media using free AI models.
  • Automating asset generation for web development projects through CLI or Python scripts.
  • Integrating image generation capabilities into AI agents for interactive user experiences.
  • Batch generating artistic styles or realistic photos for data augmentation and creative brainstorming.

How Free Image Gen Works

  1. The user provides a text prompt and optional parameters via the CLI, Python module, or environment variables.
  2. The skill authenticates with Gitee AI using a secure API key found in the Openclaw Skills configuration.
  3. The selected AI model (e.g., Kolors) processes the prompt and generates the image data.
  4. The generator saves the resulting PNG file to the specified local output directory.
  5. If enabled, the COS uploader module transfers the generated image to a Tencent Cloud bucket and returns the remote URL.

Free Image Gen Setup

First, install the necessary Python dependencies:

pip install -r requirements.txt

Run the script for the first time to enter interactive configuration mode:

python scripts/main.py --prompt "a cute dog"

You will be prompted to enter your Gitee AI API Key. Alternatively, you can copy the example configuration to your Openclaw Skills directory:

cp config.example.json ~/.openclaw/skills/skill-image-gen/config.json

Free Image Gen Data Schema & Taxonomy

The skill utilizes a hierarchical configuration and organized output structure:

Component Location / Format Description
Config File ~/.openclaw/skills/skill-image-gen/config.json Stores API keys, model preferences, and cloud settings.
Output Images ./output/ or custom path Images are saved as PNG files by default.
Metadata JSON format When using the --json flag, the skill returns structured data including local paths and COS URLs.
Logs CLI Console Real-time status of generation and upload progress.

Free Image Gen Advanced Features

  • Multi-model support including flux-schnell for speed and Stable Diffusion for artistic variety.
  • Automatic interactive configuration for first-time users within the Openclaw Skills ecosystem.
  • Headless configuration updates via the update_config() method for autonomous AI agents.
  • Batch generation support using the --count parameter for high-volume workflows.
  • Direct integration with Tencent Cloud COS for scalable cloud storage.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*