nexusflow
Online

API Reference

NexusFlow integrates logic into three classes of compatible protocols and one async task interface. OpenAI, Anthropic Messages, and Gemini-compatible requests all share the same model routing, billing, and monitoring pipeline.

Three Protocol Compatibility
OpenAI, Anthropic Messages, and Gemini-compatible share one set of keys, billing, and monitoring.
Streaming Response
Chat interface supports SSE streaming output, suitable for real-time interaction with low-latency experience.
Async Tasks
Image and video use a unified task interface, suitable for high-latency and high-concurrency scenarios.
Pre-launch Checklist
Configure rate limiting, error codes, and monitoring dashboards to help you identify traffic risks before going live.

Compatible Protocols

Public Gateway Protocol Boundaries
AvailableOpenAI Chat / Anthropic Messages / Gemini-compatibleText, reasoning, vision understanding, coding, and professional models should be called via supported_protocols.
AvailableOpenAI Embeddings / Image Generations / NexusFlow TasksEmbedding, image, and video models use the corresponding interface based on capability.

This page only lists currently available public APIs that can be directly requested at https://nexusflow.vip.

Basic Information

Base URL
https://nexusflow.vip
Authentication Method
Authorization: Bearer sk-air-xxx
Request Format
Content-Type: application/json
Response Format
JSON / Server-Sent Events / Task Status

Recommended Integration Methods

Chat
Use /v1/chat/completions by default, compatible with OpenAI SDK.
Protocol
When you already have an Anthropic or Gemini client, use the corresponding compatible interface directly.
Tasks
Image and video models should use /v1/tasks and /v1/tasks/:id first; images also support the OpenAI-style /v1/images/generations.

API Endpoints

POST/v1/chat/completionsChat Completions API, supports multi-turn conversation, streaming output, function calling, etc.
POST/v1/messagesAnthropic Messages compatible interface, suitable for reusing the Anthropic SDK
POST/v1beta/models/{model}:generateContentGemini GenerateContent compatible interface, suitable for migrating existing Gemini SDK
GET/v1/modelsRetrieve available model list and information
POST/v1/embeddingsText Embeddings interface, converts text into embedding representations
POST/v1/tasksAsync Tasks interface (unified submission for image / video)
GET/v1/tasks/:idQuery async task status