Image Generate for Openclaw

A streamlined utility for generating images from textual descriptions using specialized Python scripts and API integrations.

zhangsiyuan123123
v1.0.0
Feb 21, 2026
0
3.4k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install image-generate

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 image-generate 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 Image Generate?

The Image Generate skill is a powerful extension for AI agents, enabling the programmatic creation of visual assets directly from text prompts. By utilizing a dedicated Python script and robust backend APIs, this skill bridges the gap between natural language processing and computer vision within the Openclaw Skills framework. It is designed to handle the complexities of API authentication and request handling, providing a simple interface for developers to generate images on the fly.

Image Generate Use Cases

  • Creating custom illustrations for technical documentation or blog posts.
  • Automating the generation of placeholders and assets for frontend development.
  • Integrating visual content generation into multi-agent workflows.
  • Rapidly prototyping visual concepts based on textual brainstorming.

How Image Generate Works

  1. The user prepares a clear and specific prompt describing the desired image.
  2. The system executes the internal Python script located at scripts/image_generate.py.
  3. The skill identifies and prioritizes authentication credentials from environment variables.
  4. The prompt is sent to the Ark or Volcengine API for processing.
  5. The skill returns a direct URL to the generated image or provides an error log if the request fails.

Image Generate Setup

To get started with this skill in the Openclaw Skills ecosystem, ensure your environment is properly configured:

# 1. Navigate to the scripts directory
cd path/to/scripts/

# 2. Configure your API keys (choose one method)
export MODEL_IMAGE_API_KEY="your_api_key"
# OR
export VOLCENGINE_ACCESS_KEY="your_access_key"
export VOLCENGINE_SECRET_KEY="your_secret_key"

# 3. Run the generation command
python image_generate.py "a cute cat playing with a ball of yarn"

Image Generate Data Schema & Taxonomy

The Image Generate skill handles data through specific input/output flows as defined in the Openclaw Skills technical specification:

Feature Details
Input Type Plain text string (prompt)
Output Type Image URL (string)
Primary Auth MODEL_IMAGE_API_KEY / ARK_API_KEY
Fallback Auth VOLCENGINE_ACCESS_KEY + VOLCENGINE_SECRET_KEY
Script Path scripts/image_generate.py

Image Generate Advanced Features

  • Intelligent authentication fallback logic to ensure high availability.
  • CLI-ready architecture for easy integration into existing shell scripts.
  • Support for advanced prompt engineering via standardized script arguments.
  • Direct integration with Ark API for high-fidelity image output within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*