ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified browser automation Safety 3/5

chatgpt-image-generation

Generate images from ChatGPT using Playwright browser automation. Opens ChatGPT, sends prompts, waits for generation, and saves the resulting images.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/amian/chatgpt-image-generation
Or

What This Skill Does

The chatgpt-image-generation skill provides a robust automation layer for interacting with the ChatGPT web interface to produce AI-generated imagery. By leveraging the Playwright framework, this skill programmatically navigates the browser, manages session authentication, inputs complex prompts, and extracts the resulting image artifacts directly to your local file system. It bridges the gap between programmatic workflows and the DALL-E 3 capabilities integrated into the ChatGPT UI, allowing for batch processing of image creation tasks that would otherwise be tedious to perform manually.

Installation

To integrate this skill into your environment, ensure you have Node.js installed. First, install the necessary browser automation dependencies by running npm install playwright and npx playwright install chromium. Then, utilize the OpenClaw CLI to fetch the package: clawhub install openclaw/skills/skills/amian/chatgpt-image-generation. Once installed, you will need to perform a one-time manual login via the opened browser instance to cache your authentication session for future headless operations.

Use Cases

This skill is ideal for content creators, developers, and designers needing to generate large batches of assets. Common use cases include: 1. Generating consistent illustration sets for a series of blog posts. 2. Automating the creation of placeholder images for web development projects. 3. Batch processing creative prompts during off-hours to utilize your ChatGPT Plus subscription effectively.

Example Prompts

  1. "Generate a series of futuristic cityscapes using the image generation skill for my batch processing job."
  2. "Use the chatgpt-image-generation skill to create five isometric icons for my new mobile application, saving them to the icons folder."
  3. "Start the image generation process using the prompts.json file located in my project root, and output the results to the ./assets/generated folder."

Tips & Limitations

  • Authentication Persistence: The skill relies on Playwright's ability to save browser cookies. If you encounter login loops, ensure you are not clearing your browser cache/storage automatically.
  • Headless Mode: While headless mode is efficient for background tasks, complex Captcha challenges occasionally triggered by OpenAI may require a non-headless session to resolve.
  • Rate Limits: Remember that your OpenAI account's DALL-E 3 usage caps still apply; the skill does not bypass these limitations.
  • Error Handling: The tool creates a results.jsonl log. Always check this file if a batch run finishes with missing files, as it identifies which prompts failed to generate correctly.

Metadata

Author@amian
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-amian-chatgpt-image-generation": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#browser-automation#image-generation#playwright#ai-art#automation
Safety Score: 3/5

Flags: network-access, file-write, file-read