API keys

Get API keys to use Velvet.

The Velvet AI Gateway requires a velvet-auth header. This authorizes your application with the gateway.

*️⃣

Get your API keys

Email [email protected] to get API keys. While in beta, the Velvet team will generate them for you.

The Velvet API key format looks like:

sk_velvet_prod_3pxqend6w5_1jksp411xdadb7xcpdeh7t8b4wm3gh6b
|____________| |________| |______________________________|
  Environment   Unique ID             Secret
  • environment: sk_velvet_prod or sk_velvet_dev
  • unique id: 10 character non-secret identifier
  • secret: 32 character secret token

We recommend storing the API Key as VELVET_API_KEY in your environment variables.


What’s Next

Update your OpenAI config to use Velvet