Pipio's Avatar API uses API keys for authentication.

You can create and access your API key in your Pipio account settings under the tab API Keys.

The following cURL command demonstrates, the API key should be passed as a header value on each request:

curl -X POST \
    -H 'Authorization: Key ${API_Key}' \
    -H 'Content-Type: application/json' \
    https://generate.pipio.ai/single-clip \
    -d '{
        "actorId": "7528735effb7cde8cd5474dc110905c2",
        "voiceId": "b2c11ebef1e47591f75bceef56635435",
        "script": "Hello, world!",
        "transparent": true
    }'