ChatGPT Image Generation for Openclaw

A specialized skill for Openclaw Skills that automates image generation by controlling a logged-in ChatGPT browser session.

sonim1
v1.0.0
Mar 4, 2026
0
988
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install chatgpt-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 chatgpt-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 ChatGPT Image Generation?

The ChatGPT Image Generation skill allows developers to harness the power of DALL-E 3 directly through a standard browser interface. By utilizing the browser relay system of Openclaw Skills, this tool interacts with an authenticated ChatGPT tab, allowing you to bypass complex API configurations and bot detection. This approach ensures that you can use your existing ChatGPT Plus or Pro subscription features while maintaining a fully automated workflow.

This skill is built for reliability and speed, using a direct Chrome extension relay. It treats your real browser as the execution environment, making it perfect for tasks that require the native ChatGPT UI experience. Whether you are generating marketing assets or prototyping UI designs, this extension for Openclaw Skills provides a seamless bridge between your CLI and the web.

ChatGPT Image Generation Use Cases

  • Automating recurring image generation tasks directly within a ChatGPT Pro session.
  • Integrating DALL-E image creation into larger AI agent pipelines using Openclaw Skills.
  • Scripting the interaction with ChatGPT to generate, preview, and download images without manual clicking.
  • Bypassing API limitations by leveraging your existing logged-in browser authentication.

How ChatGPT Image Generation Works

  1. The user authenticates their ChatGPT session in a standard Chrome or Brave browser.
  2. The OpenClaw extension is attached to the tab, enabling the relay service.
  3. The Openclaw Skills CLI queries active tabs to find the correct target ID for chatgpt.com.
  4. A snapshot command is issued to retrieve element references (refs) for the input box and buttons.
  5. The skill sends a type command with the prompt and the --submit flag to trigger DALL-E.
  6. After a brief waiting period, a new snapshot is taken to verify the image and locate the download element.

ChatGPT Image Generation Setup

First, install the OpenClaw Browser Relay extension from the Chrome Web Store. Open chatgpt.com in your browser and log in. Click the extension icon to ensure the badge shows ON. Then, verify your gateway is active using the following command:

openclaw gateway restart

To confirm connection, list your active tabs via Openclaw Skills:

openclaw browser tabs

ChatGPT Image Generation Data Schema & Taxonomy

Field Description Type
target-id Unique identifier or prefix for the ChatGPT browser tab String
ref Positional reference for UI elements (e.g., e23) identified in snapshots String
profile Specifies the browser environment, typically set to chrome Parameter
format The output structure for snapshots, usually set to ai for agent readability Parameter

ChatGPT Image Generation Advanced Features

  • Efficient snapshots that prioritize AI-readable element trees over heavy DOM data.
  • Unique prefix support for --target-id, allowing users to use short IDs (e.g., 4535) instead of full strings.
  • Integrated --submit flag within the type command to streamline the workflow for Openclaw Skills.
  • Real-session persistence, keeping you logged in and avoiding the overhead of headless browser authentication.
  • Direct element interaction via positional arguments for faster CLI execution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*