### Admin Settings Get Source: https://api.opusmax.pro/docs Retrieves the current administrative settings. ```APIDOC ## GET /api/admin/settings ### Description Retrieves the current administrative settings. ### Method GET ### Endpoint /api/admin/settings ``` -------------------------------- ### Keys Get by ID Source: https://api.opusmax.pro/docs Retrieves details for a specific API key by its ID. ```APIDOC ## GET /api/keys/{id} ### Description Retrieves details for a specific API key by its ID. ### Method GET ### Endpoint /api/keys/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Users Get by ID Source: https://api.opusmax.pro/docs Retrieves details for a specific user by their ID. ```APIDOC ## GET /api/users/{id} ### Description Retrieves details for a specific user by their ID. ### Method GET ### Endpoint /api/users/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the user. ``` -------------------------------- ### Admin Prompts Create Source: https://api.opusmax.pro/docs Creates a new prompt. ```APIDOC ## POST /api/admin/prompts ### Description Creates a new prompt. ### Method POST ### Endpoint /api/admin/prompts ``` -------------------------------- ### Admin Plans Create Source: https://api.opusmax.pro/docs Creates a new plan. ```APIDOC ## POST /api/admin/plans ### Description Creates a new plan. ### Method POST ### Endpoint /api/admin/plans ``` -------------------------------- ### Keys Create Source: https://api.opusmax.pro/docs Creates a new API key. ```APIDOC ## POST /api/keys ### Description Creates a new API key. ### Method POST ### Endpoint /api/keys ``` -------------------------------- ### Reseller Keys Create Source: https://api.opusmax.pro/docs Creates a new API key for the reseller. ```APIDOC ## POST /api/reseller/keys ### Description Creates a new API key for the reseller. ### Method POST ### Endpoint /api/reseller/keys ``` -------------------------------- ### Admin Plans List Source: https://api.opusmax.pro/docs Retrieves a list of available plans. ```APIDOC ## GET /api/admin/plans ### Description Retrieves a list of available plans. ### Method GET ### Endpoint /api/admin/plans ``` -------------------------------- ### OpenAICompat Chat Completions Source: https://api.opusmax.pro/docs Generates chat completions using an OpenAI-compatible API. ```APIDOC ## POST /v1/chat/completions ### Description Generates chat completions using an OpenAI-compatible API. ### Method POST ### Endpoint /v1/chat/completions ### Request Body - **model** (string) - Required - The model to use for generating completions. - **messages** (array) - Required - A list of message objects representing the conversation. - **role** (string) - Required - The role of the message author (e.g., 'user', 'assistant'). - **content** (string) - Required - The content of the message. ``` -------------------------------- ### Admin Resellers Create Source: https://api.opusmax.pro/docs Creates a new reseller. ```APIDOC ## POST /api/admin/resellers ### Description Creates a new reseller. ### Method POST ### Endpoint /api/admin/resellers ``` -------------------------------- ### Admin Prompts List Source: https://api.opusmax.pro/docs Retrieves a list of all prompts. ```APIDOC ## GET /api/admin/prompts ### Description Retrieves a list of all prompts. ### Method GET ### Endpoint /api/admin/prompts ``` -------------------------------- ### Admin Reseller Keys Create Source: https://api.opusmax.pro/docs Creates a new API key for a specific reseller. ```APIDOC ## POST /api/admin/resellers/{id}/keys ### Description Creates a new API key for a specific reseller. ### Method POST ### Endpoint /api/admin/resellers/{id}/keys ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the reseller. ``` -------------------------------- ### Reseller Plans List Source: https://api.opusmax.pro/docs Retrieves a list of available plans for the reseller. ```APIDOC ## GET /api/reseller/plans ### Description Retrieves a list of available plans for the reseller. ### Method GET ### Endpoint /api/reseller/plans ``` -------------------------------- ### Auth Login Source: https://api.opusmax.pro/docs Authenticates a user and obtains access tokens. ```APIDOC ## POST /auth/login ### Description Authenticates a user and obtains access tokens. ### Method POST ### Endpoint /auth/login ### Request Body - **username** (string) - Required - The user's username. - **password** (string) - Required - The user's password. ``` -------------------------------- ### Proxy Models List Source: https://api.opusmax.pro/docs Retrieves a list of available models. ```APIDOC ## GET /v1/models ### Description Retrieves a list of available models. ### Method GET ### Endpoint /v1/models ``` -------------------------------- ### Reseller Keys List Source: https://api.opusmax.pro/docs Retrieves a list of API keys for the reseller. ```APIDOC ## GET /api/reseller/keys ### Description Retrieves a list of API keys for the reseller. ### Method GET ### Endpoint /api/reseller/keys ``` -------------------------------- ### Keys List Source: https://api.opusmax.pro/docs Retrieves a list of all API keys. ```APIDOC ## GET /api/keys ### Description Retrieves a list of all API keys. ### Method GET ### Endpoint /api/keys ``` -------------------------------- ### Users List Source: https://api.opusmax.pro/docs Retrieves a list of all users. ```APIDOC ## GET /api/users ### Description Retrieves a list of all users. ### Method GET ### Endpoint /api/users ``` -------------------------------- ### Admin Resellers List Source: https://api.opusmax.pro/docs Retrieves a list of resellers. ```APIDOC ## GET /api/admin/resellers ### Description Retrieves a list of resellers. ### Method GET ### Endpoint /api/admin/resellers ``` -------------------------------- ### Users Create Sub-user Source: https://api.opusmax.pro/docs Creates a new sub-user. ```APIDOC ## POST /api/users/sub-user ### Description Creates a new sub-user. ### Method POST ### Endpoint /api/users/sub-user ``` -------------------------------- ### Reseller Usage Source: https://api.opusmax.pro/docs Retrieves the usage statistics for the reseller. ```APIDOC ## GET /api/reseller/usage ### Description Retrieves the usage statistics for the reseller. ### Method GET ### Endpoint /api/reseller/usage ``` -------------------------------- ### Admin Keys List Source: https://api.opusmax.pro/docs Retrieves a list of all API keys managed by admin. ```APIDOC ## GET /api/admin/keys ### Description Retrieves a list of all API keys managed by admin. ### Method GET ### Endpoint /api/admin/keys ``` -------------------------------- ### Admin Prompts Update by ID Source: https://api.opusmax.pro/docs Updates an existing prompt by its ID. ```APIDOC ## PATCH /api/admin/prompts/{id} ### Description Updates an existing prompt by its ID. ### Method PATCH ### Endpoint /api/admin/prompts/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the prompt. ``` -------------------------------- ### Admin Settings Update Source: https://api.opusmax.pro/docs Updates the administrative settings. ```APIDOC ## PATCH /api/admin/settings ### Description Updates the administrative settings. ### Method PATCH ### Endpoint /api/admin/settings ``` -------------------------------- ### Key Status Source: https://api.opusmax.pro/docs Retrieves the status of the API key. ```APIDOC ## GET /api/key-status ### Description Retrieves the status of the API key. ### Method GET ### Endpoint /api/key-status ``` -------------------------------- ### Reseller Dashboard Source: https://api.opusmax.pro/docs Retrieves the reseller dashboard information. ```APIDOC ## GET /api/reseller/dashboard ### Description Retrieves the reseller dashboard information. ### Method GET ### Endpoint /api/reseller/dashboard ``` -------------------------------- ### Proxy General Endpoint Source: https://api.opusmax.pro/docs A general proxy endpoint for various HTTP methods and paths. ```APIDOC ## GET /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method GET ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` ```APIDOC ## POST /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method POST ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` ```APIDOC ## PUT /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method PUT ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` ```APIDOC ## DELETE /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method DELETE ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` ```APIDOC ## PATCH /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method PATCH ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` ```APIDOC ## OPTIONS /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method OPTIONS ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` ```APIDOC ## HEAD /v1/{path} ### Description A general proxy endpoint for various HTTP methods and paths. ### Method HEAD ### Endpoint /v1/{path} ### Parameters #### Path Parameters - **path** (string) - Required - The specific path to access. ``` -------------------------------- ### Keys Usage by ID Source: https://api.opusmax.pro/docs Retrieves the usage statistics for a specific API key. ```APIDOC ## GET /api/keys/{id}/usage ### Description Retrieves the usage statistics for a specific API key. ### Method GET ### Endpoint /api/keys/{id}/usage ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Tools Understand Image Source: https://api.opusmax.pro/docs Analyzes and understands the content of an image. ```APIDOC ## POST /tools/understand_image ### Description Analyzes and understands the content of an image. ### Method POST ### Endpoint /tools/understand_image ### Request Body - **imageUrl** (string) - Required - The URL of the image to analyze. ``` -------------------------------- ### Proxy Model by ID Source: https://api.opusmax.pro/docs Retrieves details for a specific model by its ID. ```APIDOC ## GET /v1/models/{modelId} ### Description Retrieves details for a specific model by its ID. ### Method GET ### Endpoint /v1/models/{modelId} ### Parameters #### Path Parameters - **modelId** (string) - Required - The ID of the model to retrieve. ``` -------------------------------- ### Admin Resellers Update by ID Source: https://api.opusmax.pro/docs Updates an existing reseller by their ID. ```APIDOC ## PATCH /api/admin/resellers/{id} ### Description Updates an existing reseller by their ID. ### Method PATCH ### Endpoint /api/admin/resellers/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the reseller. ``` -------------------------------- ### Admin Plans Update by ID Source: https://api.opusmax.pro/docs Updates an existing plan by its ID. ```APIDOC ## PATCH /api/admin/plans/{id} ### Description Updates an existing plan by its ID. ### Method PATCH ### Endpoint /api/admin/plans/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the plan. ``` -------------------------------- ### Admin Upstream Usage Source: https://api.opusmax.pro/docs Retrieves the upstream usage statistics. ```APIDOC ## GET /api/admin/upstream-usage ### Description Retrieves the upstream usage statistics. ### Method GET ### Endpoint /api/admin/upstream-usage ``` -------------------------------- ### Tools Web Search Source: https://api.opusmax.pro/docs Performs a web search using the provided query. ```APIDOC ## POST /tools/web_search ### Description Performs a web search using the provided query. ### Method POST ### Endpoint /tools/web_search ### Request Body - **query** (string) - Required - The search query. ``` -------------------------------- ### Admin Prompts Delete by ID Source: https://api.opusmax.pro/docs Deletes a prompt by its ID. ```APIDOC ## DELETE /api/admin/prompts/{id} ### Description Deletes a prompt by its ID. ### Method DELETE ### Endpoint /api/admin/prompts/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the prompt. ``` -------------------------------- ### Admin Stats Source: https://api.opusmax.pro/docs Retrieves administrative statistics. ```APIDOC ## GET /api/admin/stats ### Description Retrieves administrative statistics. ### Method GET ### Endpoint /api/admin/stats ``` -------------------------------- ### Reseller Keys Update by ID Source: https://api.opusmax.pro/docs Updates an existing API key for the reseller by its ID. ```APIDOC ## PATCH /api/reseller/keys/{id} ### Description Updates an existing API key for the reseller by its ID. ### Method PATCH ### Endpoint /api/reseller/keys/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Admin Plans Delete by ID Source: https://api.opusmax.pro/docs Deletes a plan by its ID. ```APIDOC ## DELETE /api/admin/plans/{id} ### Description Deletes a plan by its ID. ### Method DELETE ### Endpoint /api/admin/plans/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the plan. ``` -------------------------------- ### Users Update by ID Source: https://api.opusmax.pro/docs Updates an existing user by their ID. ```APIDOC ## PATCH /api/users/{id} ### Description Updates an existing user by their ID. ### Method PATCH ### Endpoint /api/users/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the user. ``` -------------------------------- ### Admin Resellers Delete by ID Source: https://api.opusmax.pro/docs Deletes a reseller by their ID. ```APIDOC ## DELETE /api/admin/resellers/{id} ### Description Deletes a reseller by their ID. ### Method DELETE ### Endpoint /api/admin/resellers/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the reseller. ``` -------------------------------- ### Admin Keys Update by ID Source: https://api.opusmax.pro/docs Updates an existing API key by its ID. ```APIDOC ## PATCH /api/admin/keys/{id} ### Description Updates an existing API key by its ID. ### Method PATCH ### Endpoint /api/admin/keys/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Keys Update by ID Source: https://api.opusmax.pro/docs Updates an existing API key by its ID. ```APIDOC ## PATCH /api/keys/{id} ### Description Updates an existing API key by its ID. ### Method PATCH ### Endpoint /api/keys/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Admin Upstream Token Source: https://api.opusmax.pro/docs Retrieves the upstream token for administrative purposes. ```APIDOC ## GET /api/admin/upstream-token ### Description Retrieves the upstream token for administrative purposes. ### Method GET ### Endpoint /api/admin/upstream-token ``` -------------------------------- ### Admin Keys Delete by ID Source: https://api.opusmax.pro/docs Deletes an API key by its ID. ```APIDOC ## DELETE /api/admin/keys/{id} ### Description Deletes an API key by its ID. ### Method DELETE ### Endpoint /api/admin/keys/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Keys Delete by ID Source: https://api.opusmax.pro/docs Deletes an API key by its ID. ```APIDOC ## DELETE /api/keys/{id} ### Description Deletes an API key by its ID. ### Method DELETE ### Endpoint /api/keys/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the API key. ``` -------------------------------- ### Users Delete by ID Source: https://api.opusmax.pro/docs Deletes a user by their ID. ```APIDOC ## DELETE /api/users/{id} ### Description Deletes a user by their ID. ### Method DELETE ### Endpoint /api/users/{id} ### Parameters #### Path Parameters - **id** (string) - Required - The ID of the user. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.