{
  "id": "6ddfdf9c-95ef-43c4-a014-f663b4ef2cca",
  "revision": 0,
  "last_node_id": 10,
  "last_link_id": 12,
  "nodes": [
    {
      "id": 1,
      "type": "PrimitiveString",
      "pos": [
        26,
        562
      ],
      "size": [
        429.6578125,
        80
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            7
          ]
        }
      ],
      "title": "Task ID (paste yours, or leave empty to list the latest tasks)",
      "properties": {
        "Node name for S&R": "PrimitiveString"
      },
      "widgets_values": [
        ""
      ]
    },
    {
      "id": 2,
      "type": "BytePlusVideoQueryTasks",
      "pos": [
        642,
        108
      ],
      "size": [
        340,
        246
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [
        {
          "name": "task_ids",
          "type": "STRING",
          "widget": {
            "name": "task_ids"
          },
          "link": 7
        }
      ],
      "outputs": [
        {
          "name": "task_list_json",
          "type": "STRING",
          "links": [
            9,
            11
          ]
        },
        {
          "name": "total_tasks",
          "type": "INT",
          "links": [
            8
          ]
        }
      ],
      "title": "Look up the task",
      "properties": {
        "Node name for S&R": "BytePlusVideoQueryTasks",
        "cnr_id": "ComfyUI-BytePlus-ModelArk",
        "ver": "0.6.1"
      },
      "widgets_values": [
        1,
        10,
        "all",
        "default",
        "",
        "all",
        2,
        "randomize"
      ]
    },
    {
      "id": 3,
      "type": "PreviewAny",
      "pos": [
        1008,
        108
      ],
      "size": [
        340,
        122
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Tasks found",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 4,
      "type": "RegexExtract",
      "pos": [
        1008,
        636
      ],
      "size": [
        340,
        262
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 9
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            10
          ]
        }
      ],
      "title": "Extract status",
      "properties": {
        "Node name for S&R": "RegexExtract"
      },
      "widgets_values": [
        "",
        "\"status\":\\s*\"([a-z_]+)\"",
        "First Group",
        true,
        false,
        false,
        1
      ]
    },
    {
      "id": 5,
      "type": "PreviewAny",
      "pos": [
        1008,
        284
      ],
      "size": [
        340,
        122
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 10
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Task status",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 6,
      "type": "RegexExtract",
      "pos": [
        1008,
        952
      ],
      "size": [
        340,
        262
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "string",
          "type": "STRING",
          "widget": {
            "name": "string"
          },
          "link": 11
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            12
          ]
        }
      ],
      "title": "Extract model",
      "properties": {
        "Node name for S&R": "RegexExtract"
      },
      "widgets_values": [
        "",
        "\"model\":\\s*\"([^\"]+)\"",
        "First Group",
        true,
        false,
        false,
        1
      ]
    },
    {
      "id": 7,
      "type": "PreviewAny",
      "pos": [
        1008,
        460
      ],
      "size": [
        340,
        122
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 12
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "title": "Model that made it",
      "properties": {
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": []
    },
    {
      "id": 10,
      "type": "MarkdownNote",
      "pos": [
        26,
        108
      ],
      "size": [
        520,
        400
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "How to use",
      "properties": {},
      "widgets_values": [
        "## Seedance task query\n\nA Seedance task keeps running on BytePlus after you close ComfyUI, and its result stays for 24 hours. Paste a **task ID** and this node collects it: how many tasks matched, their status and the model that made them.\n\nWhere to find a task ID: the *Task ID* line in the ComfyUI console while a video runs, the *draft_task_id* output of a Seedance 2.5 Draft node, or leave the ID empty to list your latest tasks (filter with *status* and *model_version*).\n\nNeeds a ModelArk key in Settings > BytePlus."
      ],
      "color": "#432",
      "bgcolor": "#653"
    }
  ],
  "links": [
    [
      7,
      1,
      0,
      2,
      0,
      "STRING"
    ],
    [
      8,
      2,
      1,
      3,
      0,
      "INT"
    ],
    [
      9,
      2,
      0,
      4,
      0,
      "STRING"
    ],
    [
      10,
      4,
      0,
      5,
      0,
      "STRING"
    ],
    [
      11,
      2,
      0,
      6,
      0,
      "STRING"
    ],
    [
      12,
      6,
      0,
      7,
      0,
      "STRING"
    ]
  ],
  "groups": [
    {
      "id": 5,
      "title": "1 · Which task?",
      "bounding": [
        0,
        0,
        572,
        1250
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 6,
      "title": "2 · Collect it (Video Query Tasks)",
      "bounding": [
        616,
        0,
        758,
        1250
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5555555555555556,
      "offset": [
        461.63105468749995,
        54
      ]
    },
    "frontendVersion": "1.53.6"
  },
  "version": 0.4
}
