API ReferenceProfiles
Add Profile Sample
Add a sample to a voice profile.
Path Parameters
profile_id*Profile Id
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/profiles/string/samples" \ -F file="string" \ -F reference_text="string"{
"id": "string",
"profile_id": "string",
"audio_path": "string",
"reference_text": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}