{
  "info": {
    "_postman_id": "e9509773-c73f-4ed0-9de7-6ab2a923ece5",
    "name": "FlexAI Token Factory Audio Embeddings API",
    "description": "OpenAI-compatible inference API for FlexAI Token Factory. A single API key provides access to open models across text, code, reasoning, vision, embedding, image, video, and audio modalities, priced by usage per model. The API is a drop-in replacement for the OpenAI API: point the OpenAI SDK (or any OpenAI-compatible client) at the FlexAI base URL and supply a FlexAI API key. This specification captures the endpoints FlexAI documents as supported; some OpenAI endpoints (assistants, threads, runs, files, fine-tuning, batches) are explicitly not served by this endpoint.\n\nContact Support:\n Name: FlexAI",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:40:09.000Z",
    "updatedAt": "2026-07-28T01:40:09.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-e9509773-c73f-4ed0-9de7-6ab2a923ece5"
  },
  "item": [
    {
      "name": "embeddings",
      "item": [
        {
          "name": "Create embeddings",
          "id": "f80b08f1-8ae9-4cef-9fbe-cc7478bf91c8",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\",\n  \"encoding_format\": \"float\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/embeddings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "embeddings"
              ]
            },
            "description": "Generate vector embeddings for the given input using an open embedding model. Billed per token."
          },
          "response": [
            {
              "id": "a0f68cc1-f5f6-4792-997b-592c691652f5",
              "name": "The embedding vectors",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\",\n  \"encoding_format\": \"float\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/embeddings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "embeddings"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "text",
              "header": [],
              "cookie": [],
              "responseTime": null,
              "body": null,
              "createdAt": "2026-07-28T01:40:09.000Z",
              "updatedAt": "2026-07-28T01:40:09.000Z",
              "uid": "35240-a0f68cc1-f5f6-4792-997b-592c691652f5"
            },
            {
              "id": "067e7bf2-2154-4c4b-b3f2-d31405ae0f28",
              "name": "Request validation failure. The error object includes a `param` field indicating the offending path (OpenAI-compatible error envelope).",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\",\n  \"encoding_format\": \"float\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/embeddings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "embeddings"
                  ]
                }
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"type\": \"<string>\",\n    \"param\": \"<string>\",\n    \"code\": \"<string>\",\n    \"doc_url\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T01:40:09.000Z",
              "updatedAt": "2026-07-28T01:40:09.000Z",
              "uid": "35240-067e7bf2-2154-4c4b-b3f2-d31405ae0f28"
            },
            {
              "id": "7b932eb1-887c-42d7-a622-b2171ee3659c",
              "name": "Invalid or missing API key (error code `authentication_error`; includes a `doc_url` extension pointing at the auth docs).",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\",\n  \"encoding_format\": \"float\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/embeddings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "embeddings"
                  ]
                }
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"type\": \"<string>\",\n    \"param\": \"<string>\",\n    \"code\": \"<string>\",\n    \"doc_url\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T01:40:09.000Z",
              "updatedAt": "2026-07-28T01:40:09.000Z",
              "uid": "35240-7b932eb1-887c-42d7-a622-b2171ee3659c"
            },
            {
              "id": "0703fe36-1381-4ff3-9a3e-7f8307a459c5",
              "name": "Account-level rate limit or budget exceeded. Includes `Retry-After` and `x-ratelimit-*` response headers.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: bearer",
                    "key": "Authorization",
                    "value": "Bearer <token>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"model\": \"<string>\",\n  \"input\": \"<string>\",\n  \"encoding_format\": \"float\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/embeddings",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "embeddings"
                  ]
                }
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "Seconds to wait before retrying.",
                    "type": "text/plain"
                  },
                  "key": "Retry-After",
                  "value": "<integer>"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"message\": \"<string>\",\n    \"type\": \"<string>\",\n    \"param\": \"<string>\",\n    \"code\": \"<string>\",\n    \"doc_url\": \"<string>\"\n  }\n}",
              "createdAt": "2026-07-28T01:40:09.000Z",
              "updatedAt": "2026-07-28T01:40:09.000Z",
              "uid": "35240-0703fe36-1381-4ff3-9a3e-7f8307a459c5"
            }
          ],
          "createdAt": "2026-07-28T01:40:09.000Z",
          "updatedAt": "2026-07-28T01:40:09.000Z",
          "uid": "35240-f80b08f1-8ae9-4cef-9fbe-cc7478bf91c8"
        }
      ],
      "id": "95f2fcb2-81dc-45b0-b8d1-46caf3af3f4f",
      "createdAt": "2026-07-28T01:40:09.000Z",
      "updatedAt": "2026-07-28T01:40:09.000Z",
      "uid": "35240-95f2fcb2-81dc-45b0-b8d1-46caf3af3f4f"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://tokens.flex.ai/v1"
    }
  ]
}