{
  "info": {
    "name": "ImageRouter — mcp.ai",
    "description": "REST API for the ImageRouter MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/imagerouter",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "imagerouter_create_chat_completion",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/chat/completion",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "chat",
            "completion"
          ]
        },
        "description": "Create a non-streaming OpenAI-compatible chat completion with a paid text model. Call IMAGEROUTER_LIST_MODELS, IMAGEROUTER_GET_MODEL, and IMAGEROUTER_GET_CREDITS first to verify availability, context,",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model\": \"\",\n  \"tools\": \"\",\n  \"top_p\": 0,\n  \"messages\": \"\",\n  \"max_tokens\": 0,\n  \"temperature\": 0,\n  \"tool_choice\": \"\",\n  \"response_format\": {},\n  \"reasoning_effort\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_create_response",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/response",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "response"
          ]
        },
        "description": "Create a non-streaming OpenAI Responses API result from plain text or structured multimodal input with a selected ImageRouter text model. Call IMAGEROUTER_LIST_MODELS and IMAGEROUTER_GET_CREDITS first",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"text\": {},\n  \"input\": \"\",\n  \"model\": \"\",\n  \"tools\": \"\",\n  \"top_p\": 0,\n  \"reasoning\": {},\n  \"temperature\": 0,\n  \"tool_choice\": \"\",\n  \"instructions\": \"\",\n  \"max_output_tokens\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_edit_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/edit/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "edit",
            "image"
          ]
        },
        "description": "Transform or inpaint one or more existing images supplied as URLs or data URIs. Call IMAGEROUTER_LIST_MODELS and inspect the selected model first to verify image and optional mask input support, accep",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"size\": \"\",\n  \"masks\": \"\",\n  \"model\": \"\",\n  \"images\": \"\",\n  \"prompt\": \"\",\n  \"quality\": \"\",\n  \"output_format\": \"\",\n  \"response_format\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_generate_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "image"
          ]
        },
        "description": "Generate an image from a text prompt with a selected ImageRouter model. Call IMAGEROUTER_LIST_MODELS and inspect the selected model first because pricing, supported sizes and quality levels, and fundi",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"size\": \"\",\n  \"model\": \"\",\n  \"prompt\": \"\",\n  \"quality\": \"\",\n  \"output_format\": \"\",\n  \"response_format\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_generate_video",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/video",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "video"
          ]
        },
        "description": "Generate a video from text and optional URL or data-URI image inputs. Call IMAGEROUTER_LIST_MODELS and inspect the selected model first because pricing, accepted modalities, quality levels, sizes, and",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"size\": \"\",\n  \"model\": \"\",\n  \"images\": \"\",\n  \"prompt\": \"\",\n  \"quality\": \"\",\n  \"seconds\": 0,\n  \"response_format\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_get_credits",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/credits",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "credits"
          ]
        },
        "description": "Inspect remaining credits, cumulative usage, deposits, and optional per-key usage before making potentially paid generation calls.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"by_api_key\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_get_model",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/model",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "model"
          ]
        },
        "description": "Get current capabilities, accepted parameters, and pricing for one exact ImageRouter model ID before generation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"model_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "imagerouter_list_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "models"
          ]
        },
        "description": "Discover current ImageRouter model IDs, modalities, supported parameters, and pricing before generation. Filters may be combined. limit truncates results and cannot be continued; omit it for an exhaus",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"free\": false,\n  \"name\": \"\",\n  \"sort\": \"\",\n  \"limit\": 0,\n  \"fields\": \"\",\n  \"provider\": \"\",\n  \"input_modality\": \"\",\n  \"output_modality\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}