# Text To Speech Source: https://docs.voicv.com/api-reference/endpoint/openapi-v1/text-to-speech POST /v1/tts Generate a speech from a text ## Pricing * **Cost**: 1 credits per character > ⚠️ **Important Notes** > > * The generated audio file will expire after 12 hours. Please download and save it promptly. # Voice Clone Source: https://docs.voicv.com/api-reference/endpoint/openapi-v1/voice-clone POST /v1/voice-clone Clone a voice ## Pricing * **Cost**: 1000 credits per request # Get API Credits Source: https://docs.voicv.com/api-reference/endpoint/wallet/get-api-credits GET /v1/user/credits # Quick Start Source: https://docs.voicv.com/api-reference/quickstart How to use the Voicv API ## Authentication The Voicv API uses API keys to authenticate requests. You can obtain your API key from your [Voicv Dashboard](https://voicv.com/my/api). ### Using Your API Key All API requests must include your API key in the request headers. Add the following header to your requests: ```http theme={null} X-API-KEY: your-api-key ``` Keep your API key secure and never share it publicly. If you believe your API key has been compromised, you can generate a new one from your dashboard. ## Base URL All API requests should be made to: [https://api.voicv.com](https://api.voicv.com)