chatgpt-image-generation

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "chatgpt-image-generation" with this command: npx skills add Amian/chatgpt-image-generation

ChatGPT Image Generation Skill

Use Playwright to automate ChatGPT web UI for image generation.

Prerequisites

npm install playwright
npx playwright install chromium

Usage

# Generate images from prompts file
node generate.js --prompts prompts.json --output ./images

# Resume from a specific index
node generate.js --prompts prompts.json --output ./images --start 5

# Run in headless mode
node generate.js --prompts prompts.json --output ./images --headless

Prompt File Format

["prompt 1", "prompt 2"]

or

{ "prompts": ["prompt 1", "prompt 2"] }

How It Works

  1. Opens ChatGPT in a Chrome browser
  2. Sends each prompt from the prompts file
  3. Waits for the response to be generated
  4. Finds the generated image in the page
  5. Saves the image to the output directory
  6. Repeats for all prompts

Output

  • Numbered image files: 001.png, 002.png, etc.
  • results.jsonl — log of results per prompt

Login (One-Time)

If not logged into ChatGPT:

  1. Run the script (browser will open visible)
  2. Sign into ChatGPT
  3. Session is saved for future runs

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Virtual Desktop Pro v4 -- Universal Browser Execution

Persistent authenticated browser for OpenClaw via kasmweb/chrome Docker sidecar. Principal logs in once via noVNC — sessions saved permanently in Docker volu...

Registry SourceRecently Updated
330Profile unavailable
Automation

Photo Retouching

Execute RunningHub ComfyUI workflows via API. Use when you need to run ComfyUI workflows on RunningHub cloud platform, submit tasks, query status, and retrie...

Registry SourceRecently Updated
360Profile unavailable
Automation

AutoClaw Browser Automation

Complete browser automation skill with MCP protocol support and Chrome extension

Registry SourceRecently Updated
3530Profile unavailable
Automation

shellbot-creative

Opinionated creative production system for image/video generation, image editing, motion scenes, voiceovers, music, and Remotion assembly. Combines Freepik,...

Registry SourceRecently Updated
1740Profile unavailable