{
  "info": {
    "name": "Apiframe — mcp.ai",
    "description": "REST API for the Apiframe 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/apiframe",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "apiframe_generate_image",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/image",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "image"
          ]
        },
        "description": "Submit a paid image generation job that consumes Apiframe credits based on the selected model and controls. Call List Models for pricing and controls, then Get Job with the returned job_id to retrieve",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"generation\": {},\n  \"idempotency_key\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apiframe_generate_music",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/music",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "music"
          ]
        },
        "description": "Submit a paid music generation job that consumes Apiframe credits, with cost and output count varying by model. Call List Models for pricing and controls, then Get Job with the returned job_id to retr",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"generation\": {},\n  \"idempotency_key\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apiframe_generate_video",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/generate/video",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "generate",
            "video"
          ]
        },
        "description": "Submit a paid video generation job that consumes Apiframe credits based on the selected model and controls. Call List Models for pricing and controls, then Get Job with the returned job_id to retrieve",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"generation\": {},\n  \"idempotency_key\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apiframe_get_account",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/account",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "account"
          ]
        },
        "description": "Return the authenticated Apiframe user, team plan and credit balance, role, and active API-key metadata.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apiframe_get_job",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/job",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "job"
          ]
        },
        "description": "Get the current status, progress, provider-specific result, cost, and error details for one Apiframe generation job.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"job_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apiframe_list_jobs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/jobs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "jobs"
          ]
        },
        "description": "Return one page of generation jobs, optionally filtered by status, model, job ID, or ownership scope.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"model\": \"\",\n  \"scope\": \"\",\n  \"search\": \"\",\n  \"status\": \"\",\n  \"next_cursor\": \"\",\n  \"include_models\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "apiframe_list_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "models"
          ]
        },
        "description": "List Apiframe's current image, video, or music models with pricing and the complete live model-specific control metadata needed to construct generation requests.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"modality\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}