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选填