新上线 Seedance 2.5 Flash 正式上线,更快、更稳定的视频生成体验 →
Developer Documentation

SDK 与工具

使用统一的 OpenAI 兼容接口,把全球主流 AI 能力接入你的应用。Base URL:https://www.astrollion.com/v1

这是 Astrollion 静态演示文档。接口示例用于展示接入方式,不会发送真实网络请求。

Python 与 Node.js

Astrollion 兼容 OpenAI 官方 SDK,只需更换 Base URL 和 API Key。

example.js
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env.ASTROLLION_API_KEY,
  baseURL: 'https://www.astrollion.com/v1'
});

兼容生态

可接入 LangChain、LlamaIndex、Dify、Cursor 等支持自定义 OpenAI 端点的工具。MCP 用户也可以直接连接 Astrollion MCP 服务。