API 介面影片介面Sora
Sora · 取得影片內容
任務完成後依任務 ID 取得 Sora 生成的影片檔案位址
最後更新於:
影片(Videos)Veo(OpenAI 相容)
GET /videos/{task_id}/content
驗證
將 API Key 存入環境變數 AICENTOS_API_KEY;shell 範例會將其值展開至 Authorization: Bearer 標頭。
在控制台「權杖管理」取得的 API 金鑰
位置:header
Path 參數
task_id*string
回應主體
export AICENTOS_API_KEY="sk-your-aicentos-api-key"
curl -X GET "https://aicentos.com/v1/videos/string/content" \
-H "Authorization: Bearer $AICENTOS_API_KEY"{
"url": "string",
"expires_at": 0
}