{
  "id": "ed2091cf-5b27-45a9-b3ea-42396f95b256",
  "version": 12,
  "is_active": true,
  "name": "Flux AI Image Generator",
  "description": "Transform ideas into breathtaking images with this AI-powered Image Generator. Using cutting-edge Flux AI technology, the tool crafts highly detailed, photorealistic visuals from simple text prompts. Perfect for artists, marketers, and content creators, this generator produces unique images tailored to user specifications. From fantastical scenes to lifelike portraits, users can unleash creativity with professional-quality results in seconds. Easy to use and endlessly versatile, bring imagination to life with the AI Image Generator today!",
  "instructions": null,
  "recommended_schedule_cron": null,
  "nodes": [
    {
      "id": "7482c59d-725f-4686-82b9-0dfdc4e92316",
      "block_id": "cc10ff7b-7753-4ff2-9af6-9399b1a7eddc",
      "input_default": {
        "text": "Press the \"Advanced\" toggle and input your replicate API key.\n\nYou can get one here:\nhttps://replicate.com/account/api-tokens\n"
      },
      "metadata": {
        "position": {
          "x": 872.8268131538296,
          "y": 614.9436919065381
        }
      },
      "input_links": [],
      "output_links": [],
      "graph_id": "ed2091cf-5b27-45a9-b3ea-42396f95b256",
      "graph_version": 12,
      "webhook_id": null,
      "webhook": null
    },
    {
      "id": "0d1dec1a-e4ee-4349-9673-449a01bbf14e",
      "block_id": "363ae599-353e-4804-937e-b2ee3cef3da4",
      "input_default": {
        "name": "Generated Image"
      },
      "metadata": {
        "position": {
          "x": 1453.6844137728922,
          "y": 963.2466395125115
        }
      },
      "input_links": [
        {
          "id": "06665d23-2f3d-4445-8f22-573446fcff5b",
          "source_id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
          "sink_id": "0d1dec1a-e4ee-4349-9673-449a01bbf14e",
          "source_name": "result",
          "sink_name": "value",
          "is_static": false
        }
      ],
      "output_links": [],
      "graph_id": "ed2091cf-5b27-45a9-b3ea-42396f95b256",
      "graph_version": 12,
      "webhook_id": null,
      "webhook": null
    },
    {
      "id": "6f24c45f-1548-4eda-9784-da06ce0abef8",
      "block_id": "c0a8e994-ebf1-4a9c-a4d8-89d09c86741b",
      "input_default": {
        "name": "Image Subject",
        "value": "Otto the friendly, purple \"Chief Automation Octopus\" helping people automate their tedious tasks.",
        "description": "The subject of the image"
      },
      "metadata": {
        "position": {
          "x": -314.43009631839783,
          "y": 962.935949165938
        }
      },
      "input_links": [],
      "output_links": [
        {
          "id": "1077c61a-a32a-4ed7-becf-11bcf835b914",
          "source_id": "6f24c45f-1548-4eda-9784-da06ce0abef8",
          "sink_id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
          "source_name": "result",
          "sink_name": "prompt_values_#_TOPIC",
          "is_static": true
        }
      ],
      "graph_id": "ed2091cf-5b27-45a9-b3ea-42396f95b256",
      "graph_version": 12,
      "webhook_id": null,
      "webhook": null
    },
    {
      "id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
      "block_id": "90f8c45e-e983-4644-aa0b-b4ebe2f531bc",
      "input_default": {
        "prompt": "dog",
        "output_format": "png",
        "replicate_model_name": "Flux Pro 1.1"
      },
      "metadata": {
        "position": {
          "x": 873.0119949791526,
          "y": 966.1604399052493
        }
      },
      "input_links": [
        {
          "id": "a17ec505-9377-4700-8fe0-124ca81d43a9",
          "source_id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
          "sink_id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
          "source_name": "response",
          "sink_name": "prompt",
          "is_static": false
        }
      ],
      "output_links": [
        {
          "id": "06665d23-2f3d-4445-8f22-573446fcff5b",
          "source_id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
          "sink_id": "0d1dec1a-e4ee-4349-9673-449a01bbf14e",
          "source_name": "result",
          "sink_name": "value",
          "is_static": false
        }
      ],
      "graph_id": "ed2091cf-5b27-45a9-b3ea-42396f95b256",
      "graph_version": 12,
      "webhook_id": null,
      "webhook": null
    },
    {
      "id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
      "block_id": "1f292d4a-41a4-4977-9684-7c8d560b9f91",
      "input_default": {
        "model": "gpt-4o-mini",
        "prompt": "Generate an incredibly detailed, photorealistic image prompt about {{TOPIC}}, describing the camera it's taken with and prompting the diffusion model to use all the best quality techniques.\n\nOutput only the prompt with no additional commentary.",
        "prompt_values": {}
      },
      "metadata": {
        "position": {
          "x": 277.3057034159709,
          "y": 962.8382498113764
        }
      },
      "input_links": [
        {
          "id": "1077c61a-a32a-4ed7-becf-11bcf835b914",
          "source_id": "6f24c45f-1548-4eda-9784-da06ce0abef8",
          "sink_id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
          "source_name": "result",
          "sink_name": "prompt_values_#_TOPIC",
          "is_static": true
        }
      ],
      "output_links": [
        {
          "id": "a17ec505-9377-4700-8fe0-124ca81d43a9",
          "source_id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
          "sink_id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
          "source_name": "response",
          "sink_name": "prompt",
          "is_static": false
        }
      ],
      "graph_id": "ed2091cf-5b27-45a9-b3ea-42396f95b256",
      "graph_version": 12,
      "webhook_id": null,
      "webhook": null
    }
  ],
  "links": [
    {
      "id": "1077c61a-a32a-4ed7-becf-11bcf835b914",
      "source_id": "6f24c45f-1548-4eda-9784-da06ce0abef8",
      "sink_id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
      "source_name": "result",
      "sink_name": "prompt_values_#_TOPIC",
      "is_static": true
    },
    {
      "id": "06665d23-2f3d-4445-8f22-573446fcff5b",
      "source_id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
      "sink_id": "0d1dec1a-e4ee-4349-9673-449a01bbf14e",
      "source_name": "result",
      "sink_name": "value",
      "is_static": false
    },
    {
      "id": "a17ec505-9377-4700-8fe0-124ca81d43a9",
      "source_id": "0d1bca9a-d9b8-4bfd-a19c-fe50b54f4b12",
      "sink_id": "50bc23e9-f2b7-4959-8710-99679ed9eeea",
      "source_name": "response",
      "sink_name": "prompt",
      "is_static": false
    }
  ],
  "forked_from_id": null,
  "forked_from_version": null,
  "sub_graphs": [],
  "user_id": "",
  "created_at": "2024-12-20T18:46:11.492Z",
  "input_schema": {
    "type": "object",
    "properties": {
      "Image Subject": {
        "advanced": false,
        "secret": false,
        "title": "Image Subject",
        "description": "The subject of the image",
        "default": "Otto the friendly, purple \"Chief Automation Octopus\" helping people automate their tedious tasks."
      }
    },
    "required": []
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "Generated Image": {
        "advanced": false,
        "secret": false,
        "title": "Generated Image"
      }
    },
    "required": [
      "Generated Image"
    ]
  },
  "has_external_trigger": false,
  "has_human_in_the_loop": false,
  "trigger_setup_info": null,
  "credentials_input_schema": {
    "properties": {
      "replicate_api_key_credentials": {
        "credentials_provider": [
          "replicate"
        ],
        "credentials_types": [
          "api_key"
        ],
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          },
          "provider": {
            "const": "replicate",
            "title": "Provider",
            "type": "string"
          },
          "type": {
            "const": "api_key",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "provider",
          "type"
        ],
        "title": "CredentialsMetaInput[Literal[<ProviderName.REPLICATE: 'replicate'>], Literal['api_key']]",
        "type": "object",
        "discriminator_values": []
      },
      "openai_api_key_credentials": {
        "credentials_provider": [
          "openai"
        ],
        "credentials_types": [
          "api_key"
        ],
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          },
          "provider": {
            "const": "openai",
            "title": "Provider",
            "type": "string"
          },
          "type": {
            "const": "api_key",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "provider",
          "type"
        ],
        "title": "CredentialsMetaInput[Literal[<ProviderName.OPENAI: 'openai'>], Literal['api_key']]",
        "type": "object",
        "discriminator": "model",
        "discriminator_mapping": {
          "Llama-3.3-70B-Instruct": "llama_api",
          "Llama-3.3-8B-Instruct": "llama_api",
          "Llama-4-Maverick-17B-128E-Instruct-FP8": "llama_api",
          "Llama-4-Scout-17B-16E-Instruct-FP8": "llama_api",
          "Qwen/Qwen2.5-72B-Instruct-Turbo": "aiml_api",
          "amazon/nova-lite-v1": "open_router",
          "amazon/nova-micro-v1": "open_router",
          "amazon/nova-pro-v1": "open_router",
          "claude-3-7-sonnet-20250219": "anthropic",
          "claude-3-haiku-20240307": "anthropic",
          "claude-haiku-4-5-20251001": "anthropic",
          "claude-opus-4-1-20250805": "anthropic",
          "claude-opus-4-20250514": "anthropic",
          "claude-opus-4-5-20251101": "anthropic",
          "claude-sonnet-4-20250514": "anthropic",
          "claude-sonnet-4-5-20250929": "anthropic",
          "cohere/command-r-08-2024": "open_router",
          "cohere/command-r-plus-08-2024": "open_router",
          "deepseek/deepseek-chat": "open_router",
          "deepseek/deepseek-r1-0528": "open_router",
          "dolphin-mistral:latest": "ollama",
          "google/gemini-2.0-flash-001": "open_router",
          "google/gemini-2.0-flash-lite-001": "open_router",
          "google/gemini-2.5-flash": "open_router",
          "google/gemini-2.5-flash-lite-preview-06-17": "open_router",
          "google/gemini-2.5-pro-preview-03-25": "open_router",
          "google/gemini-3-pro-preview": "open_router",
          "gpt-3.5-turbo": "openai",
          "gpt-4-turbo": "openai",
          "gpt-4.1-2025-04-14": "openai",
          "gpt-4.1-mini-2025-04-14": "openai",
          "gpt-4o": "openai",
          "gpt-4o-mini": "openai",
          "gpt-5-2025-08-07": "openai",
          "gpt-5-chat-latest": "openai",
          "gpt-5-mini-2025-08-07": "openai",
          "gpt-5-nano-2025-08-07": "openai",
          "gpt-5.1-2025-11-13": "openai",
          "gryphe/mythomax-l2-13b": "open_router",
          "llama-3.1-8b-instant": "groq",
          "llama-3.3-70b-versatile": "groq",
          "llama3": "ollama",
          "llama3.1:405b": "ollama",
          "llama3.2": "ollama",
          "llama3.3": "ollama",
          "meta-llama/Llama-3.2-3B-Instruct-Turbo": "aiml_api",
          "meta-llama/Llama-3.3-70B-Instruct-Turbo": "aiml_api",
          "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo": "aiml_api",
          "meta-llama/llama-4-maverick": "open_router",
          "meta-llama/llama-4-scout": "open_router",
          "microsoft/wizardlm-2-8x22b": "open_router",
          "mistralai/mistral-nemo": "open_router",
          "moonshotai/kimi-k2": "open_router",
          "nousresearch/hermes-3-llama-3.1-405b": "open_router",
          "nousresearch/hermes-3-llama-3.1-70b": "open_router",
          "nvidia/llama-3.1-nemotron-70b-instruct": "aiml_api",
          "o1": "openai",
          "o1-mini": "openai",
          "o3-2025-04-16": "openai",
          "o3-mini": "openai",
          "openai/gpt-oss-120b": "open_router",
          "openai/gpt-oss-20b": "open_router",
          "perplexity/sonar": "open_router",
          "perplexity/sonar-deep-research": "open_router",
          "perplexity/sonar-pro": "open_router",
          "qwen/qwen3-235b-a22b-thinking-2507": "open_router",
          "qwen/qwen3-coder": "open_router",
          "v0-1.0-md": "v0",
          "v0-1.5-lg": "v0",
          "v0-1.5-md": "v0",
          "x-ai/grok-4": "open_router",
          "x-ai/grok-4-fast": "open_router",
          "x-ai/grok-4.1-fast": "open_router",
          "x-ai/grok-code-fast-1": "open_router"
        },
        "discriminator_values": [
          "gpt-4o-mini"
        ]
      }
    },
    "required": [
      "replicate_api_key_credentials",
      "openai_api_key_credentials"
    ],
    "title": "FluxAIImageGeneratorCredentialsInputSchema",
    "type": "object"
  }
}