LaoZhang API Image Generation for Openclaw

A cost-effective AI image suite for high-quality text-to-image generation, editing, and multi-image fusion starting at $0.01 per image.

enihsago
v1.1.1
Apr 1, 2026
0
830
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install laozhangapi-image

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 laozhangapi-image 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 LaoZhang API Image Generation?

LaoZhang API Image Generation is a powerful technical tool designed to bring advanced visual synthesis to AI agents. By integrating with the LaoZhang API, this skill allows users to generate visuals from text prompts, edit existing images using natural language, and perform complex tasks like background replacement and style conversion. It is a key addition to the Openclaw Skills ecosystem for developers who need high-performance image manipulation at a fraction of the usual cost.

The skill provides a flexible interface supporting multiple state-of-the-art models, including Sora for cost-effective generation and Gemini Pro for high-fidelity 4K previews. Whether you are automating content creation or building visual search agents, this skill provides the necessary CLI tools to manage the entire image lifecycle.

LaoZhang API Image Generation Use Cases

  • Creating custom AI art from text descriptions for marketing or design.
  • Automating image editing tasks like changing hair color or background elements.
  • Fusing multiple source images into a single cohesive visual composition.
  • Generating high-resolution 4K images for professional presentations and assets.
  • Batch processing style transfers such as converting photos into sketches or cyberpunk art within Openclaw Skills.

How LaoZhang API Image Generation Works

  1. The user provides a text prompt or an image URL to the AI agent.
  2. The skill authenticates with the LaoZhang API using a locally stored token.
  3. Depending on the request, the agent selects the most appropriate model, such as sora_image for speed or gemini-3-pro for quality.
  4. Parameters like aspect ratio and artistic style are applied to the generation request.
  5. The system processes the request and returns either a hosted image URL or downloads the base64 data to a local file path.

LaoZhang API Image Generation Setup

To use this skill, you must first configure your API token. Visit the LaoZhang API website to register and obtain your credentials.

# Configure your API Token
echo "sk-xxx" > ~/.laozhang_api_token

# Run a test generation
python scripts/generate_image.py "A cute cat in a garden"

LaoZhang API Image Generation Data Schema & Taxonomy

The skill manages data through CLI arguments and local file storage. It supports various output formats and metadata configurations as shown below:

Parameter Description Supported Values
--model Selects the AI model sora_image, gpt-4o-image, gemini-3-pro-image-preview
--ratio Sets aspect ratio 1:1, 3:2, 2:3 (Model dependent)
--style Applies artistic filters Cartoon, Oil Painting, Sketch, Cyberpunk
--output Local save path String (e.g., path/to/image.png)
--no-save Skip local download Boolean (returns URL only)

LaoZhang API Image Generation Advanced Features

  • Multi-model support including Sora, GPT-4o, and Gemini series for diverse quality/cost requirements.
  • High-fidelity 4K image generation using Gemini-3-pro-image-preview.
  • Multi-image fusion capabilities for combining several visual inputs into one.
  • Seamless integration with enterprise tools like Feishu (Lark) via direct URL returns in Openclaw Skills.
  • Automated local file management for models returning base64 encoded data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*