图片|GPT-Image-2 官方生图
GPT-Image-2, official-style, one clean prompt-to-image node
- 🖼️_生成结果图
- 📄_渲染日志
Sometimes the best node is the boring one. TikpanGptImage2OfficialNode is the pack's plain, no-surprises GPT-Image-2 text-to-image node: prompt in, gpt-image-2 via Tikpan's /v1/images/generations, image out. Where the pack surrounds this model with benefit channels, legacy -C compatibility nodes, and a 15-reference multipart editor, this node is the "official" middle lane - the one the author describes as showing only the core parameters Apifox has recorded, which is another way of saying it's the maintained, front-line version. If you want one reliable GPT-Image-2 generation node and don't need multi-reference fusion, this is the default choice.
How it works
Synchronous /v1/images/generations call: payload (prompt, model, resolution tier, aspect ratio, quality, optional output format), decode the returned image, save it locally, emit 🖼️_生成结果图 (IMAGE) plus 📄_渲染日志 (STRING). It's mid-graph (is_output_node: false), so wire the IMAGE into a Save Image or downstream compositor.
The inputs that actually matter
- API_密钥 - sk- from tikpan.com (the header hints at the 0.6 RMB ≈ $1 virtual-token entry, a reminder this is metered).
- 生成指令 - the prompt. Default is a photorealistic aurora scene with "8k超清,电影感" - GPT-Image-2 renders detailed, text-heavy prompts well, so be specific.
- 模型 -
gpt-image-2, the only option in this node. - 分辨率档位 - 512 / 1K (1024, default) / 2K (2048) / 4K (3840). The tooltip is blunt: higher = slower and more expensive. For most web/social use, 1K–2K is the sweet spot.
- 画面比例 - nine options, 1:1 through 9:21 (default 1:1).
- 画质与推理强度 - auto / low / medium (default) / high, mapping to the
qualityparameter.
Optional: 返回格式 (png / jpg / webp - png default for quality, jpeg for size) and 跳过错误 (on failure, return a black image instead of killing the workflow - handy for unattended runs, but spot-check for black frames).
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro
restart (or Manager → "Tikpan"). No models, no heavy dependencies - relay + decode/save.
Where people get burned
- It's still a relay call. The clean UI doesn't change the economics: every generation meters, and your prompt leaves the machine for a third-party server. The KB's API-nodes essay is the place to set expectations on both.
跳过错误hides failures. A black image is a silent error. Leave it off while building, on for batch.- Quality/resolution is the cost dial. 4K + high on every draft is the fastest way to empty the meter. Draft at 1K/medium, re-render the keepers.
- No reference images here. If you need multi-reference or editing, this node won't do it - that's the Gemini 14-ref node, the V2 editor, or the legacy
-Cpair. This one is deliberately single-purpose.
That's the whole pitch, and it's a good one: the "official" GPT-Image-2 node is the one you can trust to do exactly what it says, with the fewest knobs to mis-set. Sometimes the boring node is the one that earns the install.
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| 💎_源头拿货价福利_💎 | COMBO | 1 options: 🔥 0.6元 RMB 兑换 👉 1美元余额 | 绝对全网底价 | |
| 获取密钥请访问 | COMBO | 1 options: 👉 https://tikpan.com (官方授权Key获取点) | |
| API_密钥 | STRING | sk- | Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取 |
| 生成指令 | STRING | 一幅写实的极地极光景观,巨大的冰川倒映在平静的海面上,8k超清,电影感。 | 描述你想生成的画面,越具体越准确,支持中英文 |
| 模型 | COMBO | gpt-image-2 | 本节点使用的官方生图模型,目前仅 gpt-image-2 |
| 分辨率档位 | COMBO | 1K (1024) | Tikpan gpt-image-2 的输出尺寸档位;档位越高越慢、消耗越高。 |
| 画面比例 | COMBO | 1:1 | 画面比例:1:1 通用,16:9 横屏风景,9:16 竖屏短视频 |
| 画质与推理强度 | COMBO | 均衡质量|medium | Tikpan /v1/images/generations 的 quality 参数。 |
| 返回格式opt | COMBO | PNG|png | Tikpan gpt-image-2 generation 使用 format 字段:png / jpg / webp。 |
| 跳过错误opt | BOOLEAN | false | 开启后,网络异常、余额不足或接口异常时返回黑图,避免工作流中断。 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| 🖼️_生成结果图 | IMAGE | — |
| 📄_渲染日志 | STRING | — |