Nodes/ComfyUI-Tikpan-Pro/工具|API 多模型并发生图引擎
ComfyUI Node

工具|API 多模型并发生图引擎

📝 API 多模型并发生图引擎:一次任务跨多个模型 + 多个中转站并发出图,支持 failover/race/parallel_all 三种策略。适合 A/B 测试、批量出图、容灾备份。

By htrert·Created 4 months ago·Updated about a month ago· 0
工具|API 多模型并发生图引擎
    • Images
    • Stage_Log
    • Result_JSON
    API_Keysk-
    PromptA cinematic commercial product image, precise details, realistic lighting.
    Modelsgrok-imagine-image grok-imagine-image-pro
    Relay_Hostshttps://tikpan.com
    Size1024x1024
    Images_Per_Model1
    Max_Concurrency3
    Strategyfailover
    Response_Format云端链接|url
    Timeout_Seconds240
    Skip_Errortrue
    Category👑 Tikpan 官方独家节点/06 任务与并发 Tools/并发引擎 Parallel Engine

    Inputs (11)

    NameTypeDefaultDescription
    API_KeySTRINGsk-Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取
    PromptSTRINGA cinematic commercial product image, precise details, realistic lighting.对所有模型/中转站同时下发的提示词
    ModelsSTRINGgrok-imagine-image grok-imagine-image-pro每行一个模型 ID;以 # 开头的行会被忽略
    Relay_HostsSTRINGhttps://tikpan.com每行一个中转站地址;引擎会用每个模型轮流尝试每个中转站
    SizeCOMBO1024x1024出图尺寸(统一应用到所有模型)
    Images_Per_ModelINT11–4每个模型在每个中转站生成几张
    Max_ConcurrencyINT31–12最大并发请求数;越大越快但更容易触发限流
    StrategyCOMBOfailoverfailover=失败再轮下一个;parallel_all=全部一起跑;race_first_success=谁先成功用谁
    Response_FormatoptCOMBO云端链接|urlurl=返回云端链接(推荐);b64_json=返回 Base64
    Timeout_SecondsoptINT24030–1800单个请求等待上限秒数
    Skip_ErroroptBOOLEANtrue开启后异常时跳过坏任务,不打断整批

    Outputs (3)

    NameTypeDescription
    ImagesIMAGE
    Stage_LogSTRING
    Result_JSONSTRING