Endpoint 涵蓋範圍
開放 1 個公開 endpoint:live。
curl -X POST https://runapi.ai/v1/live \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-live-1",
"prompt": "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."
}'
import { GptClient } from "@runapi.ai/gpt";
const client = new GptClient();
const result = await client.live.run({
model: "gpt-live-1",
prompt: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations.",
});
import os
import requests
response = requests.post(
"https://runapi.ai/v1/live",
headers={"Authorization": f"Bearer {os.environ['RUNAPI_API_KEY']}"},
json={"model":"gpt-live-1","prompt":"Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."}
)
response.raise_for_status()
<?php
$client = curl_init("https://runapi.ai/v1/live");
curl_setopt_array($client, [
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("RUNAPI_API_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'gpt-live-1',
'prompt' => 'Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations.',
])
]);
$response = curl_exec($client);
RunApi client = new RunApi(System.getenv("RUNAPI_API_KEY"));
Task task = client.live().run({"model":"gpt-live-1","prompt":"Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."});
task.waitForResult();
require "runapi/gpt"
client = RunApi::Gpt::Client.new
result = client.live.run(
model: "gpt-live-1",
prompt: "Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."
)
client := runapi.NewClient(os.Getenv("RUNAPI_API_KEY"))
task, err := client.live.Run({"model":"gpt-live-1","prompt":"Analyze this quarterly revenue data and produce a summary with key trends, anomalies, and three recommendations."})
if err != nil { log.Fatal(err) }
task.Wait()
$ runapi generate \
--model gpt-live-1 \
--endpoint live \
--wait
17 個版本可用
選擇任意模型,數秒內即可開始生成。
目前沒有可用的模型。
| 提供者 | OpenAI |
| 模型 ID | gpt-live-1 |
| 模態 | Audio & Music |
| 任務類型 | Asynchronous |
| API 端點 | /v1/live |
| 計費單位 | minute |
| 目錄狀態 | 可正常運作 |
免費註冊後,在控制台建立 gpt-live-1 的 API 金鑰。
向 /v1/live 發送 POST 請求,並傳入 gpt-live-1 模型 ID 和參數。
輪詢工作或按照回呼取得已完成的 gpt-live-1 結果。
開放 1 個公開 endpoint:live。
按 minute 計量,無需訂閱。
此端點尚未發布請求參數。
生成同集數氛圍匹配的免版稅背景音樂,無需付授權費。
為程序生成關卡製作可自適應的環境音景同音效。
無需錄音室,都可以為客戶廣告生成自訂旁白同音效。
傳入 quickstart 顯示嘅 model ID。
每個 key 的 rate limit 會按使用層級而定。請查看定價頁了解最新限制。
可以——variant 只係一個旗標。只要更改 model 參數就可以切換。
在可用 streaming 的情況下,RunAPI 會端到端串流。
可以在公開 GitHub repo 開 issue,或者電郵支援團隊。