{
  "openruna_format": "flow-graph-v1",
  "title": "Generate Graphic Wallpaper with Midjourney, GPT-4o-mini and Canvas APIs",
  "slug": "generate-graphic-wallpaper-with-midjourney-gpt-4o-mini-and-canvas-apis",
  "source_filename": "1917_Wait_Code_Create_Webhook.json",
  "nodes": [
    {
      "id": "Midjourney Generator",
      "name": "Midjourney Generator",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "When clicking Test workflow",
      "name": "When clicking Test workflow",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Get Prompt",
      "name": "Get Prompt",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get Midjourney Task",
      "name": "Get Midjourney Task",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Wait for Midjourney Generation",
      "name": "Wait for Midjourney Generation",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Determine Whether the Image URL was Fetched",
      "name": "Determine Whether the Image URL was Fetched",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Check Image  Generation Status",
      "name": "Check Image  Generation Status",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Design in Canvas",
      "name": "Design in Canvas",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get Image Url",
      "name": "Get Image Url",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Gpt-4o-mini API",
      "name": "Gpt-4o-mini API",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Basic Params",
      "name": "Basic Params",
      "integration": "set",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Get Prompt",
      "to": "Midjourney Generator"
    },
    {
      "from": "Basic Params",
      "to": "Gpt-4o-mini API"
    },
    {
      "from": "Get Image Url",
      "to": "Design in Canvas"
    },
    {
      "from": "Gpt-4o-mini API",
      "to": "Get Prompt"
    },
    {
      "from": "Get Midjourney Task",
      "to": "Determine Whether the Image URL was Fetched"
    },
    {
      "from": "Midjourney Generator",
      "to": "Wait for Midjourney Generation"
    },
    {
      "from": "When clicking Test workflow",
      "to": "Basic Params"
    },
    {
      "from": "Check Image  Generation Status",
      "to": "Get Image Url"
    },
    {
      "from": "Wait for Midjourney Generation",
      "to": "Get Midjourney Task"
    },
    {
      "from": "Determine Whether the Image URL was Fetched",
      "to": "Check Image  Generation Status"
    },
    {
      "from": "Determine Whether the Image URL was Fetched",
      "to": "Wait for Midjourney Generation"
    }
  ]
}