openbotx
An open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler,...
Generate images from ChatGPT using Playwright browser automation. Opens ChatGPT, sends prompts, waits for generation, and saves the resulting images.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install amian/chatgpt-image-generation打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Use Playwright to automate ChatGPT web UI for image generation.
npm install playwright
npx playwright install chromium
# 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 1", "prompt 2"]
or
{ "prompts": ["prompt 1", "prompt 2"] }
001.png, 002.png, etc.results.jsonl — log of results per promptIf not logged into ChatGPT:
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# ChatGPT Image Generation Skill
Use Playwright to automate ChatGPT web UI for image generation.
## Prerequisites
```bash
npm install playwright
npx playwright install chromium
```
## Usage
```bash
# 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
```json
["prompt 1", "prompt 2"]
```
or
```json
{ "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 runsAn open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler,...
OpenClaw skill for 知识星球 / ZSXQ digests with token-first auth and browser recovery.
🌐 OpenClaw skill for Browser-Use — AI-powered browser automation for complex multi-step workflows (login, form filling, scraping, posting)
OpenClaw skill to crosspost X/Twitter posts to Reddit via browser automation