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);

開發途徑

開始開發