mingyan
SoundClone - Query Charge Result
Query voice model charge amount and time information by third-party modelId
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.
认证
获取 KeyUse the
Authorization header to pass the API Key:cURL
Authorization: Bearer {{key}}
Base URL
https://zcbservice.aizfw.cn/kyyReactApiServerbaseUrl 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
modelIdquerystringrequiredThird-party voice model ID. It must exactly match
ai_sound_model.model_id. This is not the project table primary key soundModelId.Response Parameters
codeintegerResponse status code.
0 means success, and -1 means failure.msgstringResponse message. Usually
null on success.dataobjectVoice model charge and time information.
null when the request fails.data.amountdecimalAmount charged to the user for model conversion.
data.convertedTimestringConversion time on this platform, in
yyyy-MM-dd HH:mm:ss format.data.expireTimestringPreview model expiration time, in
yyyy-MM-dd HH:mm:ss format.data.createTimestringCreation 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.
