1. API integration explanation
  • Start
    • Product Intrduction
    • Quick to use
    • Using Nexhina in AI Coding Tools
  • API integration explanation
    • Quick Start
    • Getting an API Key
    • Authentication
    • Request URL
    • HTTP Status Codes
    • Streaming Output Guide
  • API Endpoints
    • Chat
      • Chat Completion
    • Models
      • List Available Models
    • Responses
      • Responses API
    • Embeddings
      • Text Embedding
    • Images
      • Text-to-Image
      • Image-to-Image
    • Audio
      • Text-to-Speech (TTS)
      • Speech-to-Text (STT)
      • Audio Translation
    • Video
      • Generate Video
    • Moderation
      • Content Moderation
    • Rerank
      • Rerank
  • Platform-related
    • Platform agreement
    • Privacy Policy
    • General Questions
  1. API integration explanation

Getting an API Key

1
Log in to the Nexhina admin console
image.png
2
Go to the API Keys page
image.png
3
Click [New API Key] and fill in the name and quota
image.png
4
Copy the key starting with `sk-` after successful creation
Note: The Key is only shown once when it's created. Please save it immediately. If you forget it, you'll need to delete it and create a new one.

Key Format#

sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It starts with sk-, followed by a string of random characters. Pass it in the Authorization HTTP header when making calls.

Modified at 2026-07-01 05:42:08
Previous
Quick Start
Next
Authentication
Built with