AI Image Generation for Openclaw

A comprehensive CLI-driven skill to generate, edit, and upscale AI imagery using over 50 industry-leading models.

bingze00000
v1.0.0
Apr 3, 2026
0
996
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ai-image-gen-pro

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 ai-image-gen-pro 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 AI Image Generation?

The AI Image Generation skill is a powerhouse for developers and creators looking to integrate professional-grade generative AI into their workflows. By utilizing the inference.sh CLI, this extension provides a unified gateway to over 50 state-of-the-art models including FLUX.1, Google Gemini 3 Pro, xAI Grok Imagine, and Seedream. It is designed to be a core part of the Openclaw Skills ecosystem, offering a reliable and scalable alternative to individual API integrations.

This skill goes beyond simple text-to-image generation. It supports advanced techniques such as image-to-image transformations, inpainting, LoRA-based styling, and professional upscaling. Whether you are building automated design pipelines or interactive creative agents, this skill ensures you have the right model for every specific visual requirement, from ultra-fast drafts to 4K cinematic renders.

AI Image Generation Use Cases

  • Creating hyper-realistic product mockups and marketing visuals for ecommerce.
  • Generating cinematic concept art and character illustrations for game development.
  • Producing social media graphics with accurate text rendering for branding.
  • Automating high-fidelity image upscaling and restoration for legacy media assets.
  • Prototyping UI/UX layouts and visual components via natural language prompts.

How AI Image Generation Works

  1. The user authenticates through the inference.sh CLI to access the global model registry.
  2. A specific model is selected based on the task requirements (e.g., FLUX for quality or P-Image for speed).
  3. The skill formats a JSON payload containing the prompt, aspect ratio, and any specific LoRA weights.
  4. The command is dispatched to the inference engine which processes the request using optimized hardware.
  5. The output, typically a high-resolution image URL or file path, is returned to the user or calling agent for further use.

AI Image Generation Setup

To get started with this component of Openclaw Skills, ensure the inference.sh CLI is installed and your session is active:

# Authenticate your CLI session
infsh login

# Run a test generation with the FLUX Dev model
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut in space"}'

AI Image Generation Data Schema & Taxonomy

The skill utilizes a structured input schema to communicate with various model backends. Below is a standard representation of the data parameters used:

Parameter Type Description
prompt String The primary text description for the generation.
aspect_ratio String The desired dimensions (e.g., 1:1, 16:9, 4:3).
image_url String Source URL for upscaling or image-to-image tasks.
input JSON A nested object containing model-specific hyperparameters.
direction String Alignment parameter for image stitching and layout tasks.

AI Image Generation Advanced Features

  • Support for LoRA integration to inject custom artistic styles into the FLUX ecosystem.
  • Natural language image editing via the Reve model, allowing for intuitive modifications.
  • Professional-grade 4K upscaling using Topaz Image Upscaler integration.
  • Specialized text rendering capabilities for high-accuracy typography in AI art.
  • Seamless orchestration with other Openclaw Skills like background removal and video generation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*