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

Request URL

Base URL#

 https://token.nexhina.ai

Full URL Pattern#

{Base URL}{Interface Path}
Examples:
InterfaceFull URL
Chat https://token.nexhina.ai/v1/chat/completions
Responses https://token.nexhina.ai/v1/responses
Embeddings https://token.nexhina.ai/v1/embeddings
Images https://token.nexhina.ai/v1/images/generations
TTS https://token.nexhina.ai/v1/audio/speech
STT https://token.nexhina.ai/v1/audio/transcriptions
Translation https://token.nexhina.ai/v1/audio/translations
Video https://token.nexhina.ai/v1/video/generations
Moderation https://token.nexhina.ai/v1/moderations
Rerank https://token.nexhina.ai/v1/rerank
Models https://token.nexhina.ai/v1/models

Setting Base URL in the SDK#

Just set base_url to https://token.nexhina.ai/v1 (note the trailing /v1), and the SDK will automatically concatenate the subsequent path.

Modified at 2026-07-01 01:24:45
Previous
Authentication
Next
HTTP Status Codes
Built with