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。
每個金鑰的速率限制會依使用方案而調整。請查看定價頁面以了解目前限制。
可以——variant 只是旗標。只要變更 model 參數即可切換。
只要支援串流,RunAPI 就會端到端串流。
請在公開 GitHub repo 提交 issue,或寄信給支援。