Skip to main content

Create Instant Voice Clone

POST 

https://api.knoxstudio.ai/v1/voices/add

IVC create. name and files are required. Sample uploads stay under 210MB wrapping. Not billed. Guide: Voices.

Request​

Request Headers​

NameTypeRequiredDescription
AuthorizationStringYesBearer <token> Knox API key. xi-api-key is also accepted.
Content-TypeStringYesmultipart/form-data

Request Body​

NameTypeRequiredDescription
nameStringYesVoice name.
filesFileYesAudio recordings used for cloning. Repeat the field for multiple files.
descriptionStringNoOptional description; forwarded.
labelsStringNoJSON object or JSON string.

cURL Example​

curl -X POST https://api.knoxstudio.ai/v1/voices/add \
-H "Authorization: Bearer $KNOXCHAT_API_KEY" \
-F "name=Studio Narrator" \
-F "files=@sample1.wav" \
-F "files=@sample2.wav"

Response​

Success Response (200)​

Created voice JSON, including voice_id.

Error Responses​

Validation uses HTTP 422:

{
"detail": [
{
"loc": ["body", "field"],
"msg": "…",
"type": "value_error"
}
]
}

Other errors use { "detail": "message" }.

StatusWhen
400WebSocket path called without Upgrade: websocket.
401Missing or invalid API key.
402Insufficient credits.
403Token is not allowed to use this model.
404Resource not found.
422Validation error.
429Rate limit exceeded.
500Internal server error.