> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidguy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Re-voice an uploaded clip

> Atomic post-processing, no project needed. Returns the re-voiced audio track. Upload the clip via createAssetUpload (or importAssetFromUrl) and pass the returned key as r2Key. voiceId accepts a preset alias (e.g. 'rachel', 'male-professional') or a raw ElevenLabs voice id.



## OpenAPI

````yaml /openapi.json post /api/v1/post-processing/voice-enhance
openapi: 3.1.0
info:
  title: VidGuy API
  version: 1.0.0
  description: >-
    Make videos, snacks, carousels, images and audio with VidGuy, and post them
    to your connected accounts. Authenticate with a `vf_live_` key as a Bearer
    token.
servers:
  - url: https://www.vidguy.ai
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs
  - name: Credits
  - name: Brands
  - name: Snacks and memes
  - name: Videos
  - name: Carousels and slides
  - name: Images and video models
  - name: Characters
  - name: Editing
  - name: Assets
  - name: Audio
  - name: Social posting
paths:
  /api/v1/post-processing/voice-enhance:
    post:
      tags:
        - Editing
      summary: Re-voice an uploaded clip
      description: >-
        Atomic post-processing, no project needed. Returns the re-voiced audio
        track. Upload the clip via createAssetUpload (or importAssetFromUrl) and
        pass the returned key as r2Key. voiceId accepts a preset alias (e.g.
        'rachel', 'male-professional') or a raw ElevenLabs voice id.
      operationId: voiceEnhanceClip
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VoiceEnhanceClipRequest'
      responses:
        '200':
          description: Re-voiced audio URL.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
        '402':
          description: Insufficient credits.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Invalid source key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Uploaded source not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    VoiceEnhanceClipRequest:
      type: object
      properties:
        r2Key:
          type: string
          minLength: 1
          description: >-
            Key from createAssetUpload/importAssetFromUrl (api-uploads/… or
            api-imports/…).
        voiceId:
          type: string
          minLength: 1
      required:
        - r2Key
        - voiceId
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key in the Authorization header: `Bearer vf_live_...`'

````

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