Skip to main content
This service provides OpenAI-compatible AI model APIs. Tools that already use the OpenAI SDK or support the OpenAI protocol can connect by simply replacing the endpoint address and API Key.

Endpoint Address

Get an API Key

  1. Log in to https://t.ato2.nodesms.com.
  2. Go to the token management page and create a new token.
  3. Copy the generated Key (starts with sk-).
An API Key is equivalent to your account password. Do not expose it in frontend code, public repositories, or client applications.

Authentication

All requests must include the API Key in the request header:

Quick Test

Model names in the documentation are examples only. For actual available models, call the Models endpoint (GET /v1/models).

Use in the SDK

In third-party clients (such as Cherry Studio, LobeChat, NextChat, etc.), select the OpenAI type and set the API address to https://t.ato2.nodesms.com (some clients require the full address with /v1).

Error Handling

When an API error occurs, it returns an OpenAI-compatible error structure:
Each API documentation page has an API Playground embedded on the right. Fill in your API Key to debug APIs directly online.

API List

Models

Models

GET /v1/models

Chat

ChatCompletions Format

POST /v1/chat/completions

Responses Format

POST /v1/responses

Text Completions

POST /v1/completions

Embeddings and Reranking

Embeddings

POST /v1/embeddings

Rerank

POST /v1/rerank

Images

Image Generation

POST /v1/images/generations

Image Editing

POST /v1/images/edits/

Audio

Audio Speech

POST /v1/audio/speech

Audio Transcription

POST /v1/audio/transcriptions

Audio Translation

POST /v1/audio/translations

Video

Create Video Generation Task

POST /v1/video/generations

Get Video Generation Task Status

GET /v1/video/generations/{task_id}

Moderation

Moderation

POST /v1/moderations
Last modified on October 28, 2026