API Reference

API Reference Overview

A quick reference for public TENSORAXIS API endpoints.

All APIs use the API origin https://api.tensoraxis.com. For OpenAI SDKs, set base_url to https://api.tensoraxis.com/v1.

Endpoint support varies by model. Before sending production traffic, check Model List or the Model Library for model capabilities.

Core Endpoints

APIMethodPathType
Chat CompletionsPOST/v1/chat/completionsSync, streaming optional
Text CompletionsPOST/v1/completionsSync, streaming optional
ResponsesPOST/v1/responsesSync, streaming optional
EmbeddingsPOST/v1/embeddingsSync
ImagesPOST/v1/images/generationsSync, streaming depends on model
Image EditsPOST/v1/images/editsSync
AudioPOST/v1/audio/speechSync, streaming depends on model
Audio TranscriptionsPOST/v1/audio/transcriptionsSync
Audio TranslationsPOST/v1/audio/translationsSync
RerankPOST/v1/rerankSync
VideoPOST/v1/video/generationsAsync task
ModelsGET/v1/modelsSync

Compatible and Native APIs

TypePathNotes
OpenAI-compatible/v1/*Use OpenAI SDKs with base_url=https://api.tensoraxis.com/v1
Claude native/v1/messagesUse x-api-key and anthropic-version
Gemini native/v1beta/models/*Use x-goog-api-key or ?key=
OpenAI/Sora video/v1/videosOpenAI/Sora-style video task compatibility endpoints

For authentication, errors, rate limits and Base URL details, see Concepts.