Invalid response from endpoint 'get /v1/voices/:voice_id'
status: 200 OK
cause:
[
{
"code": "invalid_type",
"expected": "string",
"received": "null",
"path": [
"fine_tuning",
"model_id"
],
"message": "Expected string, received null"
},
{
"code": "invalid_type",
"expected": "string",
"received": "null",
"path": [
"fine_tuning",
"language"
],
"message": "Expected string, received null"
},
{
"code": "invalid_type",
"expected": "array",
"received": "null",
"path": [
"fine_tuning",
"verification_attempts"
],
"message": "Expected array, received null"
},
{
"code": "invalid_type",
"expected": "array",
"received": "null",
"path": [
"fine_tuning",
"slice_ids"
],
"message": "Expected array, received null"
},
{
"code": "invalid_type",
"expected": "object",
"received": "null",
"path": [
"fine_tuning",
"manual_verification"
],
"message": "Expected object, received null"
},
{
"code": "invalid_type",
"expected": "string",
"received": "null",
"path": [
"preview_url"
],
"message": "Expected string, received null"
},
{
"code": "invalid_type",
"expected": "object",
"received": "null",
"path": [
"settings"
],
"message": "Expected object, received null"
},
{
"code": "invalid_type",
"expected": "object",
"received": "null",
"path": [
"sharing"
],
"message": "Expected object, received null"
}
]
received:
{
"voice_id": "9YXpMb9pAsnObE1AEL6A",
"name": "My test voice",
"samples": [
{
"sample_id": "GCCGpI1KQkfdYbXQFR1A",
"file_name": "1689357774442.mp3",
"mime_type": "audio/mpeg",
"size_bytes": 104557,
"hash": "6f0cd1654547c301d14901eb047dbe10"
},
{
"sample_id": "MsWPzZaq87g9jAabeUcB",
"file_name": "1689357786420.mp3",
"mime_type": "audio/mpeg",
"size_bytes": 109873,
"hash": "6fccac4015d75ee5d9a106918214aa56"
},
{
"sample_id": "cAFaDZFm7HYPQvI0y94T",
"file_name": "1689357766138.mp3",
"mime_type": "audio/mpeg",
"size_bytes": 100102,
"hash": "d99ce9dbdb5ad9d3d62f1cb82f376e23"
}
],
"category": "cloned",
"fine_tuning": {
"model_id": null,
"language": null,
"is_allowed_to_fine_tune": false,
"fine_tuning_requested": false,
"finetuning_state": "not_started",
"verification_attempts": null,
"verification_failures": [],
"verification_attempts_count": 0,
"slice_ids": null,
"manual_verification": null,
"manual_verification_requested": false
},
"labels": {},
"description": "sdfsdfsdf",
"preview_url": null,
"available_for_tiers": [],
"settings": null,
"sharing": null
}
{
...,
"VoiceResponseModel": {
"title": "VoiceResponseModel",
"required": [
"voice_id",
"name",
"samples",
"category",
"fine_tuning",
"labels",
"description",
"preview_url",
"available_for_tiers",
"settings",
"sharing"
],
"type": "object",
"properties": {
"voice_id": {
"title": "Voice Id",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"samples": {
"title": "Samples",
"type": "array",
"items": {
"$ref": "#/components/schemas/SampleResponseModel"
}
},
"category": {
"title": "Category",
"type": "string"
},
"fine_tuning": {
"$ref": "#/components/schemas/FineTuningResponseModel"
},
"labels": {
"title": "Labels",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"description": {
"title": "Description",
"type": "string"
},
"preview_url": {
"title": "Preview Url",
"type": "string"
},
"available_for_tiers": {
"title": "Available For Tiers",
"type": "array",
"items": {
"type": "string"
}
},
"settings": {
"$ref": "#/components/schemas/VoiceSettingsResponseModel"
},
"sharing": {
"$ref": "#/components/schemas/VoiceSharingResponseModel"
}
}
},
"FineTuningResponseModel": {
"title": "FineTuningResponseModel",
"required": [
"model_id",
"language",
"is_allowed_to_fine_tune",
"fine_tuning_requested",
"finetuning_state",
"verification_attempts",
"verification_failures",
"verification_attempts_count",
"slice_ids",
"manual_verification",
"manual_verification_requested"
],
"type": "object",
"properties": {
"model_id": {
"title": "Model Id",
"type": "string"
},
"language": {
"title": "Language",
"type": "string"
},
"is_allowed_to_fine_tune": {
"title": "Is Allowed To Fine Tune",
"type": "boolean"
},
"fine_tuning_requested": {
"title": "Fine Tuning Requested",
"type": "boolean"
},
"finetuning_state": {
"title": "Finetuning State",
"enum": [
"not_started",
"is_fine_tuning",
"fine_tuned"
],
"type": "string"
},
"verification_attempts": {
"title": "Verification Attempts",
"type": "array",
"items": {
"$ref": "#/components/schemas/VerificationAttemptResponseModel"
}
},
"verification_failures": {
"title": "Verification Failures",
"type": "array",
"items": {
"type": "string"
}
},
"verification_attempts_count": {
"title": "Verification Attempts Count",
"type": "integer"
},
"slice_ids": {
"title": "Slice Ids",
"type": "array",
"items": {
"type": "string"
}
},
"manual_verification": {
"$ref": "#/components/schemas/ManualVerificationResponseModel"
},
"manual_verification_requested": {
"title": "Manual Verification Requested",
"type": "boolean"
}
}
},
}