
Getting Started Guide
How to Use Replicate
A practical guide to get you up and running with Replicate. Written by Delv Editorial, Delv Team.
Getting started with Replicate
In this guide, you'll learn how to run open-source AI models in the cloud using Replicate. You’ll be able to make API calls for various tasks like image, video, audio, and text generation.Step 1: Sign up and set up
- Go to Replicate's website.
- Click on the "Sign Up" button in the top right corner.
- Enter your email and create a password, then confirm your account via the email link sent to you.
- Once logged in, navigate to the "API" section from the left sidebar to find your API key. This key will allow you to authenticate your API requests.
Step 2: Your first model call
- In the "Models" tab, browse through the available models or use the search bar to find a specific one (e.g., "Stable Diffusion" for image generation).
- Click on the model you want to use, then click the "Try it" button to see an example API call.
- Copy the example API request provided in the "API" section.
- Open a code editor or a tool like Postman. Paste the copied API request.
- Replace the placeholder values with your desired input and your API key.
- Send the request, and you will receive a response with the generated output.
Step 3: Get better results
- Explore the model parameters listed under the model's documentation to fine-tune your requests. For instance, if you’re using a text generation model, adjust the "temperature" parameter to control creativity.
- Always check the "Examples" section for sample inputs and outputs to understand how the model behaves.
- Use the "Version" dropdown to select the latest or most suitable version of the model for better performance.