← 返回
内容创作 中文

Chatgpt Image Generation

Generate images from ChatGPT using Playwright browser automation. Opens ChatGPT, sends prompts, waits for generation, and saves the resulting images.
利用 Playwright 浏览器自动化技术,通过 ChatGPT 生成图片。自动打开 ChatGPT、发送提示词、等待生成并保存结果图片。
amian
内容创作 clawhub v1.0.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 935
下载
💾 70
安装
1
版本
#chatgpt#image#latest#playwright

概述

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

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-30 07:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,123
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,226
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,391