Bach chorale generation and harmonization
Joint Low-light Enhancement and Deblurring in the Dark
A latent text-to-image diffusion model capable of generating photo-realistic images given any text input
Stable diffusion for real-time music generation
Convert speech in audio to text
Generate Pokémon from a text description
Define your model with Cog, an open-source tool to package a machine learning model in a container:
build:
gpu: true
system_packages:
- "libgl1-mesa-glx"
- "libglib2.0-0"
python_version: "3.8"
python_packages:
- "torch==1.8.1"
predict: "predict.py:Predictor"
Then, push it to Replicate:
$ cog push
Your model can now be run in the cloud on the web and via an API.
Replicate is not open for everyone to create models yet. Join our waitlist and we'll notify you when we're ready for new users.
Run open-source or private models with just a few lines of Python code:
import replicate
model = replicate.models.get("hooli/hotdog-detector")
model.predict(image=open("possible-hot-dog.jpg"))
Or query the API directly using your tools of choice:
curl -s -X POST \
-d '{"version": "...", "input": {"image": "https://example.com/image.jpg"}}' \
-H "Authorization: Token $REPLICATE_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.replicate.com/v1/predictions