🔑 Securing access to your data with API authentication.
Authentication enables you to manage all aspects of user identity, such as accessing the API endpoints. YEPIC AI's API employs basic authentication using the API Key, which makes use of the X-Api-KEY
HTTP header.
All API requests must be made over HTTPS, and API requests without authentication will fail and return an error response.
Request the API Key
Request your API key from our support team via [email protected].
Please note the Fast Branch uses a different API key than the rest of the API, so please ensure you are using the correct key and endpoint.
Please keep in mind
Your API keys carry many concessions, so keep them safe and secret! Refrain from sharing your secret API keys with anyone else or on any publicly accessible websites.
Make Your First Call
HTTP Header
Authentication to the API is performed via HTTP Basic Auth. To authenticate with YEPIC AI's API endpoints, you must provide the API Key in the header, as shown below.
'X-Api-Key: YOUR_API_KEY'
For example, you are using the POST - Create a text to speech clip
endpoint to transform script to human-like speech. In this scenario, you can send an API request adding your API Key (YOUR API KEY
) as shown below:
curl --request POST \
--url https://api.yepic.ai/v1/speech \
--header 'X-Api-Key: YOUR_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/*+json' \
--data '
{
"voiceId": "zh-CN_WangWeiVoice",
"script": "Hello! This is the text to speech using YEPIC API",
"soundTemplate": "acousticstrings",
"weightMusic": 0
}
'
API Documentation
To use your API key, you can take advantage of our live API endpoints by inputting it directly into the designated field, and you'll be ready to go.