Skip to main content
Version: 2.0.0

Update a preset

This endpoint updates an existing voice settings preset. You can only update your own custom presets (not default/public presets).

Authorization

  • Only the preset owner can update their presets
  • Default/public presets cannot be modified
  • Returns 403 error if you attempt to update a preset you don't own

HTTP Request

PATCH https://app.resemble.ai/api/v2/voice_settings_presets/:uuid
URL ParametersTypeDescription
uuidstringUUID of the preset to update

Request Body

All parameters are optional. Only provided parameters will be updated; others remain unchanged.

ParameterTypeRequiredValidationDescription
namestringNoMax 30 charactersPreset name (must be unique)
pacenumberNo0.2 - 2.0Speech pace/speed
temperaturenumberNo0.1 - 5.0Voice variation
pitchnumberNo-10 to 10Voice pitch adjustment
useHdbooleanNotrue/falseUse HD quality
exaggerationnumberNo0.0 - 1.0Emotional exaggeration
descriptionstringNoMax 1000 charactersVoice style prompt

HTTP Response

Success Response (200)

{
"success": true,
"data": {
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"name": "Updated Name",
"settings": {
"pace": 1.5,
"temperature": 1.1,
"pitch": 0.5,
"useHd": false,
"exaggeration": 0.7,
"description": "Updated description"
},
"is_public": false,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z"
},
"message": "Preset updated successfully"
}

Error Response (403 Forbidden)

{
"success": false,
"message": "You are not authorized to perform this action"
}

Error Response (404 Not Found)

{
"success": false,
"message": "Preset not found"
}

Error Response (422 Validation Error)

{
"success": false,
"errors": ["Name must be unique", "pace must be between 0.2 and 2.0"],
"message": "Failed to update preset"
}

Notes

  • Partial updates are supported - you only need to include the fields you want to change
  • The updated_at timestamp will be automatically updated
  • Cannot update is_public flag or other system-managed fields

Examples

NodeJS
1 Coming soon...

Try it out

API Key:
JSON Body: