Ling.AI

企业级 API 网关

多模型接入 全场景调用 稳定高可用

全面兼容 OpenAI、Anthropic、Gemini 等主流协议,覆盖对话推理及图像、语音、向量等多模态调用场景。网关统一鉴权、协议转换与智能路由,满足企业生产环境规模化调用需求。

三种方式,统一接入

优先接入 OpenAI 兼容;需要原生生态时,可使用 Anthropic 或 Gemini 兼容入口。

OpenAI SDK(Chat) POST /v1/chat/completions
from openai import OpenAI

client = OpenAI(
    base_url="https://api.lingyuncx.com/v1",
    api_key="<YOUR_API_KEY>"
)

response = client.chat.completions.create(
    model="<model id from /v1/models>",
    messages=[{"role": "user", "content": "Introduce the Ling.AI API Gateway in three sentences."}],
    stream=False
)
OpenAI SDK(Responses) POST /v1/responses
from openai import OpenAI

client = OpenAI(
    base_url="https://api.lingyuncx.com/v1",
    api_key="<YOUR_API_KEY>"
)

response = client.responses.create(
    model="<model id from /v1/models>",
    input="Summarize the public endpoints and tool capabilities available in this system."
)
HTTP(x-api-key) GET /v1/models
curl -sS https://api.lingyuncx.com/v1/models \
  -H "x-api-key: <YOUR_API_KEY>"

快速进入文档

围绕公开 API、模型能力、工具接入、账户用量和异步任务组织,按当前系统真实可用能力展示。