{
  "name": "image-generation",
  "display_name": "Image Generation",
  "description": "This MCP server provides image generation capabilities using the Replicate Flux model.",
  "repository": {
    "type": "git",
    "url": "https://github.com/GongRzhe/Image-Generation-MCP-Server"
  },
  "homepage": "https://github.com/GongRzhe/Image-Generation-MCP-Server",
  "author": {
    "name": "GongRzhe"
  },
  "license": "MIT",
  "categories": [
    "Media Creation"
  ],
  "tags": [
    "image",
    "generation",
    "flux",
    "Replicate"
  ],
  "installations": {
    "npm": {
      "type": "npm",
      "command": "npx",
      "args": [
        "@gongrzhe/image-gen-server"
      ],
      "env": {
        "REPLICATE_API_TOKEN": "${REPLICATE_API_TOKEN}",
        "MODEL": "${MODEL}",
        "your-replicate-api-token": "${your_replicate_api_token}",
        "alternative-model-name": "${alternative_model_name}"
      }
    }
  },
  "arguments": {
    "REPLICATE_API_TOKEN": {
      "description": "Your Replicate API token for authentication",
      "required": true,
      "example": "your-replicate-api-token"
    },
    "MODEL": {
      "description": "The Replicate model to use for image generation. Defaults to \"black-forest-labs/flux-schnell\"",
      "required": false,
      "example": "alternative-model-name"
    }
  },
  "tools": [
    {
      "name": "generate_image",
      "description": "Generate an image using the Flux model",
      "inputSchema": {
        "type": "object",
        "properties": {
          "prompt": {
            "type": "string",
            "description": "Prompt for generated image"
          },
          "seed": {
            "type": "integer",
            "description": "Random seed for reproducible generation"
          },
          "aspect_ratio": {
            "type": "string",
            "enum": [
              "1:1",
              "16:9",
              "21:9",
              "3:2",
              "2:3",
              "4:5",
              "5:4",
              "3:4",
              "4:3",
              "9:16",
              "9:21"
            ],
            "description": "Aspect ratio for the generated image",
            "default": "1:1"
          },
          "output_format": {
            "type": "string",
            "enum": [
              "webp",
              "jpg",
              "png"
            ],
            "description": "Format of the output images",
            "default": "webp"
          },
          "num_outputs": {
            "type": "integer",
            "description": "Number of outputs to generate (1-4)",
            "default": 1,
            "minimum": 1,
            "maximum": 4
          }
        },
        "required": [
          "prompt"
        ]
      }
    }
  ]
}