mingyan
SoundClone - Query Records
Query voice cloning model records with filters for conversion status, model ID, and time ranges
SoundClone Query Records
Query voice cloning model records for the current account, with filters for conversion status, the
modelId returned by the preview task, and time ranges.Authentication
Get KeyAll requests must include a Bearer token in the request header:
cURL
Authorization: Bearer {{key}}
Request Info
| Item | Description |
|---|---|
| Method | POST |
| URL | https://zcbservice.aizfw.cn/kyyAccountCenter/account/sound-model/list |
| Content-Type | application/json |
| Data scope | Only records owned by the current Bearer token's account can be queried. |
Request Parameters
isConvertedbodyintegerConversion status:
0 for not converted, 1 for converted. Omit to query all records.modelIdbodystringmodelId returned by the preview task. Exact match.createStartTimebodystringCreation start time in
yyyy-MM-dd HH:mm:ss format.createEndTimebodystringCreation end time in
yyyy-MM-dd HH:mm:ss format.convertedStartTimebodystringConversion start time in
yyyy-MM-dd HH:mm:ss format.convertedEndTimebodystringConversion end time in
yyyy-MM-dd HH:mm:ss format.pagebodyintegerPage number. Defaults to
1.pageSizebodyintegerNumber of records per page. Defaults to
20, maximum 200.Sorting
Records are sorted by creation time in descending order. If creation times are equal, records are sorted by voice model ID in descending order:
sql
ORDER BY create_time DESC, sound_model_id DESC
Response Parameters
codeintegerResponse status code.
0 indicates success.msgstringResponse message.
dataobjectPaginated data.
data.recordsarrayRecords on the current page.
data.totalintegerTotal number of records.
data.sizeintegerRecords per page.
data.currentintegerCurrent page number.
data.pagesintegerTotal number of pages.
data.ordersarraySorting information.
data.optimizeCountSqlbooleanWhether count query optimization is enabled.
data.searchCountbooleanWhether count query is executed.
data.maxLimitintegerMaximum records per page.
data.countIdstringCount query ID.
soundModelIdstringVoice model ID in this project. UUID.
projectIdstringPreview task ID that produced this model.
modelIdstringmodelId returned by the preview task.sampleAudioUrlstringSample audio URL.
isConvertedintegerConversion status:
0 for not converted, 1 for converted.convertTransactionIdstringTransaction ID for the conversion fee charged to the user.
amountnumberConversion fee charged to the user.
convertedTimestringConversion time in this project, in
yyyy-MM-dd HH:mm:ss format.expireTimestringPreview model expiration time in
yyyy-MM-dd HH:mm:ss format.createTimestringCreation time in
yyyy-MM-dd HH:mm:ss format.updateTimestringUpdate time in
yyyy-MM-dd HH:mm:ss format.
