More
Replicate
Replicate is a platform for building and running machine learning models.
Replicate does not have a standarized JSON body format for their inference API, hence it is not possible to use unified API to interact with Replicate. Portkey instead provides a proxy to Replicate, allowing you to use virtual keys and observability features.
Portkey SDK Integration with Replicate
To integrate Replicate with Portkey:
1. Install the Portkey SDK
Add the Portkey SDK to your application to interact with Replicate through Portkey’s gateway.
2. Initialize Portkey with a Virtual Key
To use Replicate with Portkey, get your Replicate API key from here, then add it to Portkey to create your Replicate virtual key.
3. Use the Portkey SDK to interact with Replicate
Was this page helpful?