replicate-python
replicate-python copied to clipboard
Python client for Replicate
From the documents I understand that the list of public models can be get through: replicate.models.list() I am interested in the method to get the list of the models associated...
Hello! I want to receive a webhook when the generation is complete. I specify my webhook in the request body. webhook = 'https://my.server.ip.here:8443/replicate/photoresult'; String[] webhook_events_filter = {'completed'}; But I don't...
The Replicate API sometimes returns a "status": "aborted" value for predictions that were interrupted before completion. The current pydantic model does not include this status, which causes a ValidationError: pydantic.v1.error_wrappers.ValidationError:...
Hello, I'm encountering an error when trying to generate 6 images with Kontext Pro using my company API key. However, with the exact same code, I don’t get this error...
**Hi team 👋** I’ve set `REPLICATE_API_TOKEN` in my `.env `file but replicate still throws: `Environment variable REPLICATE_API_TOKEN is required` Using `python-dotenv` and other env variables load fine. Does this lib...
Hi there, Sorry if I missed that, but I can't find any reference in the docs. Thanks in advance!
Hey I am using the replicate in aws serverless lambda and getting this error
Can I get only private model list information with python sdk? Currently, only provide public model list.
Hi, One of my private models took 12+ hours to setup, twice. This incurred high costs for nothing. I can see that the predict function was executed after 12h and...
I’m using the Replicate Python client to create predictions with webhook callbacks. The webhook sends URLs pointing to images on replicate.delivery CDN. My backend downloads these images asynchronously using aiohttp...