> ## Documentation Index
> Fetch the complete documentation index at: https://supertone-b89202c8.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit custom voice

> 커스텀(클론드) 보이스의 이름이나 설명을 업데이트합니다.

> [!NOTE]
>
> 이 문서는 영어 원문을 기반으로 자동 번역되었습니다. 표현이 어색하거나 모호한 부분이 있을 수 있으니, 정확한 내용은 [영어 원문](https://supertone-b89202c8.mintlify.site/en/api-reference/endpoints/edit-custom-voice.md)을 함께 확인해 주세요.

기존 커스텀 보이스의 메타데이터를 업데이트합니다. 기저 보이스 모델은 **재학습되지 않습니다** — `name`과 `description`만 변경할 수 있습니다.

## 엔드포인트

```http theme={"dark"}
PATCH https://supertoneapi.com/v1/custom-voices/{voice_id}
```

## 경로 파라미터

| Name | Required | Description |
| - | :-: | - |
| `voice_id` | ✅ | 편집할 커스텀 보이스의 ID입니다. |

## 요청 본문

| Field | Required | Description |
| - | :-: | - |
| `name` | — | 새 보이스 이름입니다. 최대 100자. |
| `description` | — | 새 설명입니다. |

최소 한 개의 필드는 반드시 제공해야 합니다.

## 참고사항

* `voice_id`는 변경되지 않습니다. 기존 참조는 그대로 유효합니다.
* 해당 보이스가 다른 계정에 속한 경우 `403 Forbidden`을 반환합니다.

## 함께 보기

> **[Docs: Custom voices](https://supertone-b89202c8.mintlify.site/ko/docs/core-concepts/custom-voices)**
>
> 커스텀 보이스의 전체 라이프사이클입니다.

> **[Delete custom voice](https://supertone-b89202c8.mintlify.site/ko/api-reference/endpoints/delete-custom-voice.md)**
>
> 커스텀 보이스를 영구적으로 제거합니다.


## OpenAPI

````yaml openapi.json patch /v1/custom-voices/{voice_id}
openapi: 3.0.0
info:
  title: Supertone Public API
  description: >-
    Supertone API is a RESTful API for using our state-of-the-art AI voice
    models.
  version: 0.9.6
  contact: {}
servers:
  - url: https://supertoneapi.com
    description: Production
security: []
tags:
  - name: voices
    description: Voice Library API endpoints
  - name: custom_voices
    description: Custom Voice Management API endpoints
  - name: text_to_speech
    description: Text-to-Speech API endpoints
  - name: usage
    description: Usage Analytics API endpoints
paths:
  /v1/custom-voices/{voice_id}:
    patch:
      tags:
        - custom_voices
      summary: Update cloned voice (partial update)
      description: Partially updates properties of a custom (cloned) voice by ID.
      operationId: edit_custom_voice
      parameters:
        - name: voice_id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCustomVoiceRequest'
      responses:
        '200':
          description: Voice updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateCustomVoiceResponse'
        '401':
          description: 'Unauthorized: Invalid API key'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedErrorResponse'
        '404':
          description: 'Not Found: Voice does not exist'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundErrorResponse'
        '500':
          description: 'Internal Server Error: Failed to update cloned voice'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorResponse'
      security:
        - api-key: []
components:
  schemas:
    UpdateCustomVoiceRequest:
      type: object
      properties:
        name:
          type: string
          description: Name of the voice
          example: My Updated Voice
        description:
          type: string
          description: Description of the voice
          example: An updated warm and friendly voice for customer service
    UpdateCustomVoiceResponse:
      type: object
      properties:
        voice_id:
          type: string
          description: Unique identifier for the voice
          example: voice_123456789
        name:
          type: string
          description: Name of the voice
          example: My Updated Voice
        description:
          type: string
          description: Description of the voice
          example: An updated warm and friendly voice for customer service
          nullable: true
      required:
        - voice_id
        - name
    UnauthorizedErrorResponse:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
        message:
          description: Unauthorized error details
          example:
            message: Invalid API Key
            error: Unauthorized
            statusCode: 401
          allOf:
            - $ref: '#/components/schemas/ErrorMessageData'
      required:
        - status
        - message
    NotFoundErrorResponse:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
        message:
          description: Not found error details
          example:
            message: Voice not found
            error: Not Found
            statusCode: 404
          allOf:
            - $ref: '#/components/schemas/ErrorMessageData'
      required:
        - status
        - message
    InternalServerErrorResponse:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
        message:
          description: Internal server error details
          example:
            message: Failed to convert text to speech
            error: Internal Server Error
            statusCode: 500
          allOf:
            - $ref: '#/components/schemas/ErrorMessageData'
      required:
        - status
        - message
    ErrorMessageData:
      type: object
      properties:
        message:
          type: string
          description: Error message
          example: Invalid API Key
        error:
          type: string
          description: Error type
          example: Unauthorized
        status_code:
          type: number
          description: HTTP status code
          example: 401
      required:
        - message
        - error
        - status_code
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: x-sup-api-key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.