mingyan

SoundClone - Query Charge Result

Query voice model charge amount and time information by third-party modelId

GET/kyyReactApiServer/account/sound-model/detail

SoundClone Query Charge Result

Query voice model details by third-party modelId, including the model conversion charge amount, conversion time, expiration time, and creation time.
This API uses API Key authentication and isolates data by the user associated with the API Key. It can only query voice model records that belong to the API Key owner.
Use the Authorization header to pass the API Key:
cURL
Authorization: Bearer {{key}}

Base URL

https://zcbservice.aizfw.cn/kyyReactApiServer
baseUrl is the shared prefix for all public APIs. The api field in the current page frontmatter shows the full endpoint. Use this baseUrl as the common prefix when reading or composing request paths.

Query Parameters

modelIdquerystringrequired
Third-party voice model ID. It must exactly match ai_sound_model.model_id. This is not the project table primary key soundModelId.

Response Parameters

codeinteger
Response status code. 0 means success, and -1 means failure.
msgstring
Response message. Usually null on success.
dataobject
Voice model charge and time information. null when the request fails.
data.amountdecimal
Amount charged to the user for model conversion.
data.convertedTimestring
Conversion time on this platform, in yyyy-MM-dd HH:mm:ss format.
data.expireTimestring
Preview model expiration time, in yyyy-MM-dd HH:mm:ss format.
data.createTimestring
Creation time, in yyyy-MM-dd HH:mm:ss format.

Notes

If modelId exists but does not belong to the user associated with the current API Key, the API returns the same not-found result.