Nodes/Tikpan Official Nodes/图片|GPT-Image-2 官方生图
ComfyUI Node

图片|GPT-Image-2 官方生图

GPT-Image-2, official-style, one clean prompt-to-image node

By htrert·Created 5 months ago·Updated 2 months ago· 1
图片|GPT-Image-2 官方生图
    • 🖼️_生成结果图
    • 📄_渲染日志
    💎_源头拿货价福利_💎
    获取密钥请访问
    API_密钥sk-
    生成指令一幅写实的极地极光景观,巨大的冰川倒映在平静的海面上,8k超清,电影感。
    模型gpt-image-2
    分辨率档位1K (1024)
    画面比例1:1
    画质与推理强度均衡质量|medium
    返回格式PNG|png
    跳过错误false

    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 quality parameter.

    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 -C pair. 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.

    Category👑 Tikpan 官方独家节点/01 图片 Image

    Inputs (10)

    NameTypeDefaultDescription
    💎_源头拿货价福利_💎COMBO1 options: 🔥 0.6元 RMB 兑换 👉 1美元余额 | 绝对全网底价
    获取密钥请访问COMBO1 options: 👉 https://tikpan.com (官方授权Key获取点)
    API_密钥STRINGsk-Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取
    生成指令STRING一幅写实的极地极光景观,巨大的冰川倒映在平静的海面上,8k超清,电影感。描述你想生成的画面,越具体越准确,支持中英文
    模型COMBOgpt-image-2本节点使用的官方生图模型,目前仅 gpt-image-2
    分辨率档位COMBO1K (1024)Tikpan gpt-image-2 的输出尺寸档位;档位越高越慢、消耗越高。
    画面比例COMBO1:1画面比例:1:1 通用,16:9 横屏风景,9:16 竖屏短视频
    画质与推理强度COMBO均衡质量|mediumTikpan /v1/images/generations 的 quality 参数。
    返回格式optCOMBOPNG|pngTikpan gpt-image-2 generation 使用 format 字段:png / jpg / webp。
    跳过错误optBOOLEANfalse开启后,网络异常、余额不足或接口异常时返回黑图,避免工作流中断。

    Outputs (2)

    NameTypeDescription
    🖼️_生成结果图IMAGE
    📄_渲染日志STRING