Ollama T2I for Openclaw

A local AI image generation tool powered by Ollama that transforms text prompts into high-resolution 1024x1024 images.

jiafeimao-gjf
v1.0.0
Mar 22, 2026
0
933
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ollama-t2i

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 ollama-t2i 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 Ollama T2I?

The Ollama T2I skill is a powerful local utility designed for creators and developers who need high-quality image generation without relying on external APIs. By leveraging the x/z-image-turbo model via the Ollama framework, it provides a private and cost-effective way to produce visuals directly on your hardware. As a part of the growing library of Openclaw Skills, this tool integrates seamlessly into AI agent workflows, enabling automated image creation through simple natural language commands or CLI scripts.

Ollama T2I Use Cases

  • Creating custom visuals for blog posts and documentation using local AI.
  • Rapidly prototyping UI concepts or character designs during development.
  • Generating large batches of images from text descriptions for creative datasets.
  • Maintaining data privacy by processing image generation tasks entirely offline within the Openclaw Skills framework.

How Ollama T2I Works

  1. The user initiates a request by providing a text prompt in English or Chinese.
  2. The skill identifies the intent and connects to the local Ollama service via the standard API port.
  3. It sends the prompt to the x/z-image-turbo model for processing.
  4. The system generates a 1024x1024 image, typically completing the task in approximately 90 seconds.
  5. The resulting file is saved to a local directory with a timestamped filename and a performance report is generated.

Ollama T2I Setup

To get started with this skill, ensure your local Ollama environment is ready and the required model is available.

# Pull the required image generation model
ollama pull x/z-image-turbo

# Run the image generation script
python3 ~/.openclaw/openclaw/skills/ollama-t2i/scripts/t2i.py "your text prompt"

Ollama T2I Data Schema & Taxonomy

The skill manages its output and metadata according to the following structure:

Component Detail
Output Directory images/ (automatically created)
File Format PNG
Resolution 1024x1024 pixels
Filename Schema YYYY-MM-DD_HH-MM_image_<random_number>.png
Metadata Includes request duration and generation statistics in the logs

Ollama T2I Advanced Features

  • Support for multi-parameter batching to generate multiple images from a single command.
  • Full compatibility with the Openclaw Skills automation layer for triggered image generation.
  • Built-in time tracking to monitor the performance of your local hardware.
  • Automatic directory management for organized asset storage.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*