new.ip233.com|GPT-Image-2 生图
OpenAI's image model inside a ComfyUI graph
- 🖼️_生成结果图
- 📄_渲染日志
OpenAI's GPT-Image-2 has no open weights - there is no local checkpoint to download, no VRAM path, period. The only door is an API, and this node is a door. It calls gpt-image-2 through new.ip233.com, a Chinese relay/reseller for the model (the pack calls it a 中转站, literally "transfer station"), does the async polling for you, and drops finished images back into your graph as a normal IMAGE tensor. You feed it a prompt and a key, it gives you pictures.
It ships in ComfyUI-Tikpan-Pro, the official plugin for Tikpan.com. Note the two-key gotcha: the Tikpan nodes use a key from tikpan.com, but every node in the "new.ip233.com" group - this one included - needs a separate sk- key from https://new.ip233.com. Grab it there, not from Tikpan.
How it works
The node POSTs to https://new.ip233.com/v1/images/generations with your key in the Authorization: Bearer header, async: true, a seed, and the aspect ratio as the size. The relay responds with a task reference, which the node then polls (every 查询间隔秒数 seconds, up to 最长等待秒数) until the images are ready, then converts them to a tensor. It even writes a small recovery record with an idempotency key so a half-failed call leaves a trace instead of vanishing.
The inputs that matter
- API_密钥 - your
sk-key from new.ip233.com. The placeholder is rejected ("请填写有效的 new.ip233.com API 密钥"). - 生成指令 - the prompt. The default is a Chinese aurora/glacier scene, but the node takes English fine.
- 画面比例 -
1:1,3:2,2:3, orauto. Note this is not the free-form size you get from a local sampler - the relay only opens these four. - 生成张数 - 1 to 10 per call.
- 随机种子 - default 888888; set it to reproduce a result.
The fiddly ones live in optional: 校验HTTPS证书 is off by default (the node disables TLS verification to dodge cert issues on the relay - turn it on if you're paranoid), and 跳过错误 makes the node return a black image instead of raising when the API errors, so a flaky relay can't kill a long workflow.
Outputs
- 🖼️_生成结果图 - an IMAGE batch, one frame per generated image, ready for Save Image.
- 📄_渲染日志 - a STRING log with endpoint, ratio, count, seed, and timing.
Install
Standard pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro
or ComfyUI Manager → search Tikpan → Install → restart. No extra dependencies; the node uses stock requests, torch, and numpy.
Gotchas
Three things bite people. First, TLS verification is off by default - fine for most users, but if your network is picky you may want 校验HTTPS证书 on. Second, this is a reseller, not OpenAI: cost, rate limits, and moderation all come from the relay, and the same "you can't abliterate a closed model" rule applies - whatever GPT-Image refuses, you get refused. And third, the pack has essentially zero r/comfyui footprint, so it's an unknown quantity: test with the 1:1 default and a single image before you spend tokens on a 10-image run. The per-call metering is the standing trade for calling a model that was never downloadable.
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| new.ip233.com说明 | COMBO | 1 options: gpt-image-2 | JSON 异步生图 | 支持 1:1、3:2、2:3、auto,单次 1-10 张 | |
| 获取密钥请访问 | COMBO | 1 options: https://new.ip233.com | |
| API_密钥 | STRING | sk- | new.ip233.com API Key,以 sk- 开头。 |
| 生成指令 | STRING | 一幅写实的极地极光景观,巨大的冰川倒映在平静的海面上,电影感,细节丰富。 | 描述你想生成的画面,支持中英文。 |
| 画面比例 | COMBO | 1:1 方形|1:1 | 模型广场仅开放 1:1、3:2、2:3、auto。 |
| 生成张数 | INT | 11–10 | new.ip233.com 模型广场规格:1-10 张。 |
| 随机种子opt | INT | 8888880–2147483647 | — |
| 最长等待秒数opt | INT | 36030–7200 | 异步任务最多等待多久。 |
| 查询间隔秒数opt | INT | 55–60 | — |
| 校验HTTPS证书opt | BOOLEAN | false | 是否校验 new.ip233.com 站点 HTTPS 证书。 |
| 跳过错误opt | BOOLEAN | false | 开启后接口异常时返回黑图,避免工作流中断。 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| 🖼️_生成结果图 | IMAGE | — |
| 📄_渲染日志 | STRING | — |