Skip to main content
The examples below use OpenAI Chat Completions. First confirm the selected model and protocol in the API and model capability matrix. For optional fields and full schemas, use the Apifox API reference.

Core settings

  • Base URL: https://nexusapi.link/v1
  • API key: create it in the NexusAPI console
  • Model ID: copy the exact ID from the Model Marketplace for the current key’s group

Python

JavaScript

cURL

Do not put an actual key in source code or commit it to a repository. Image generation uses a different endpoint; see the image model guide.