{
  "id": "083c898c-0a6e-4f9a-b9c1-7e8ce36506da",
  "revision": 0,
  "last_node_id": 21,
  "last_link_id": 19,
  "nodes": [
    {
      "id": 5,
      "type": "LoadImage",
      "pos": [
        -6230,
        2080
      ],
      "size": [
        370,
        370
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            16
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.20.1"
      },
      "widgets_values": [
        "example.png",
        "image"
      ],
      "widgets_values_named": {
        "image": "example.png",
        "upload": "image"
      }
    },
    {
      "id": 19,
      "type": "SaveText",
      "pos": [
        -5384,
        2080
      ],
      "size": [
        580,
        580
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 19
        }
      ],
      "outputs": [
        {
          "name": "text",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "Node name for S&R": "SaveText"
      },
      "widgets_values": [
        "Text/GPT",
        "txt"
      ],
      "widgets_values_named": {
        "filename_prefix": "Text/GPT",
        "format": "txt"
      }
    },
    {
      "id": 20,
      "type": "OpenAIChatNodeV2",
      "pos": [
        -5822,
        2080
      ],
      "size": [
        400,
        302
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "model.images.image_1",
          "shape": 7,
          "type": "IMAGE",
          "link": 16
        },
        {
          "name": "model.images.image_2",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "model.system_prompt",
          "type": "STRING",
          "widget": {
            "name": "model.system_prompt"
          },
          "link": 17
        },
        {
          "name": "model.files",
          "shape": 7,
          "type": "OPENAI_INPUT_FILES",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            19
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "OpenAIChatNodeV2"
      },
      "widgets_values": [
        "gpt-6.2-sol",
        "Describe this image",
        "medium",
        32768,
        42,
        "randomize",
        ""
      ],
      "widgets_values_named": {
        "model": "gpt-6.2-sol",
        "model.prompt": "Describe this image",
        "model.reasoning_effort": "medium",
        "model.max_output_tokens": 32768,
        "model.seed": 42,
        "control_after_generate": "randomize",
        "model.system_prompt": ""
      },
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 21,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -6240,
        2510
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            17
          ]
        }
      ],
      "properties": {
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "You are an AI specialized in image-to-text prompt generation. Analyze the given image carefully and describe it in a detailed, structured, and prompt-friendly format. Include elements such as subject, clothing, style, environment, lighting, composition, color palette, mood, camera angle, and any other relevant visual details. Your output should resemble a high-quality text-to-image prompt that can help recreate the image. Use concise, descriptive language. Do not include explanations, just output the prompt."
      ],
      "widgets_values_named": {
        "value": "You are an AI specialized in image-to-text prompt generation. Analyze the given image carefully and describe it in a detailed, structured, and prompt-friendly format. Include elements such as subject, clothing, style, environment, lighting, composition, color palette, mood, camera angle, and any other relevant visual details. Your output should resemble a high-quality text-to-image prompt that can help recreate the image. Use concise, descriptive language. Do not include explanations, just output the prompt."
      }
    }
  ],
  "links": [
    [
      16,
      5,
      0,
      20,
      0,
      "IMAGE"
    ],
    [
      17,
      21,
      0,
      20,
      2,
      "STRING"
    ],
    [
      19,
      20,
      0,
      19,
      0,
      "STRING"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.5131581182307069,
      "offset": [
        7866.892691734433,
        -1594.5647175853767
      ]
    },
    "frontendVersion": "1.59.10",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}
