Concepts

Base URLs and Endpoints

API domains, SDK base URLs, and the main endpoint map.

TENSORAXIS uses a dedicated API domain for model calls while keeping the legacy API entry under the main site.

Use CaseURL
API Originhttps://api.tensoraxis.com
OpenAI SDK base_url / baseURLhttps://api.tensoraxis.com/v1
Legacy compatible originhttps://www.tensoraxis.com/v1
Docs, model plaza, and consolehttps://www.tensoraxis.com

Do not rely on 301/302 redirects for POST API requests. Production integrations should call https://api.tensoraxis.com directly.

OpenAI SDK Example

from openai import OpenAI

client = OpenAI(
    api_key="your-tensoraxis-api-key",
    base_url="https://api.tensoraxis.com/v1",
)
import OpenAI from 'openai'

const client = new OpenAI({
  apiKey: process.env.TENSORAXIS_API_KEY,
  baseURL: 'https://api.tensoraxis.com/v1',
})

Endpoint Overview

MethodPathPurposeType
GET/v1/modelsList available modelsSync
GET/v1/models/{model}Retrieve model detailsSync
POST/v1/chat/completionsChat CompletionsSync/streaming
POST/v1/completionsLegacy CompletionsSync/streaming
POST/v1/responsesResponses APISync/streaming
POST/v1/responses/compactResponses context compactionSync
POST/v1/embeddingsText embeddingsSync
POST/v1/rerankDocument rerankingSync
POST/v1/images/generationsImage generationSync/model-dependent
POST/v1/images/editsImage editingSync/model-dependent
POST/v1/audio/transcriptionsSpeech to textSync
POST/v1/audio/translationsSpeech translationSync
POST/v1/audio/speechText to speechSync/streaming
GET/v1/realtimeRealtime WebSocketWebSocket
POST/v1/video/generationsSubmit a video generation taskAsync task
GET/v1/video/generations/{task_id}Fetch a video taskAsync task
POST/v1/videosOpenAI/Sora-style video task submitAsync task
GET/v1/videos/{task_id}OpenAI/Sora-style video task fetchAsync task
GET/v1/videos/{task_id}/contentProxy video content downloadSync proxy
POST/v1/messagesClaude-native MessagesSync/streaming
POST/v1beta/models/{model}:{action}Gemini-native callSync/streaming

The first API Reference pass focuses on OpenAI-compatible APIs and asynchronous video tasks. Claude-native and Gemini-native APIs are listed here first; use their SDKs and model-specific notes for request details.