For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
主导航

API 平台

开发者快速入门

几分钟内发出您的第一个 API 请求。了解 OpenAI 平台的基础知识。

import OpenAI from "openai";
const client = new OpenAI();

const response = await client.responses.create({
  model: "gpt-6-astra",
  input: "Write a short bedtime story about a unicorn.",
});

console.log(response.output_text);

开发路径

开始开发