API 參考
Recover original clone request
/v1/audio-clone/requests/{request_id}Owner-scoped original-request recovery. Queries only the original submitted task. Missing upstream acceptance remains unknown; no retry submission or free refund. Settled output and USD receipt survive process restart without requiring a new generation. Output URLs may expire; no automatic output copy is made. Depleted valid Keys and withdrawn models can still recover their existing owned tasks.
鑑權與許可權
使用當前 GloopAPI Key。模型、功能與許可權以當前 Key 的目錄及介面說明為準。
Authorization: Bearer $GLOOP_API_KEY鑑權方案: BearerAuth
請求
路徑引數
request_idstring必填
響應與錯誤
HTTP 200
Authoritative current execution or quote. Unknown retains its hold.
application/json
- 型別
- object
- 必填欄位
idmodelstatecreated_atresult_deleted
idstring必填modelstring必填statestring必填- 列舉
["unknown","succeeded","failed"]
created_atinteger必填result_deletedboolean必填billingobject選填billing 子欄位(5)
statusstring必填- 列舉
["settled","refunded"]
currencystring必填- 列舉
["USD"]
final_amountstring選填权威最终钱包实收;缺失不代表零费用。
pricing_versionstring選填quote_idstring選填
resultobject選填result 子欄位(6)
file_idstring選填同賬戶同 Key 的託管檔案公開 ID。
storage_statusstring選填歷史檔案封存狀態;新生成的結果不自動轉存,直接使用供應商結果。
audio_urlstring必填生成音訊訪問地址,託管時由儲存層提供簽名 URL。
content_typestring選填結果 MIME 型別。
file_namestring選填公開下載檔名。
file_sizeinteger選填結果檔案位元組數。
request_idstring選填Original Idempotency-Key when supplied. Required for quoted clone requests.
HTTP 202
Authoritative current execution or quote. Unknown retains its hold.
application/json
- 型別
- object
- 必填欄位
idmodelstatecreated_atresult_deleted
idstring必填modelstring必填statestring必填- 列舉
["unknown","succeeded","failed"]
created_atinteger必填result_deletedboolean必填billingobject選填billing 子欄位(5)
statusstring必填- 列舉
["settled","refunded"]
currencystring必填- 列舉
["USD"]
final_amountstring選填权威最终钱包实收;缺失不代表零费用。
pricing_versionstring選填quote_idstring選填
resultobject選填result 子欄位(6)
file_idstring選填同賬戶同 Key 的託管檔案公開 ID。
storage_statusstring選填歷史檔案封存狀態;新生成的結果不自動轉存,直接使用供應商結果。
audio_urlstring必填生成音訊訪問地址,託管時由儲存層提供簽名 URL。
content_typestring選填結果 MIME 型別。
file_namestring選填公開下載檔名。
file_sizeinteger選填結果檔案位元組數。
request_idstring選填Original Idempotency-Key when supplied. Required for quoted clone requests.
HTTP 400
輸入無效。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 401
Key 缺失、無效、過期或已撤銷。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 403
IP、賬戶、模型或工具許可權不足。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 404
未找到本人執行;不能據此判斷未知生成沒有計費。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 409
請求 ID 內容衝突,或在途執行不能刪除。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 429
請求/佇列限流。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 500
鑑權或資料儲存內部失敗。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填
HTTP 503
暫不可用;已提交結果不確定時查詢原請求。
application/json
- 型別
- object
- 必填欄位
error
errorobject必填error 子欄位(4)
codestring選填messagestring選填typestring選填request_idstring選填