library · inferred from evidence
replicate-python
A Python library used for interacting with Replicate's services.
- you have not passed an authentication token on replicate-python 0.14.0 and later
If you get `you have not passed an authentication token` on replicate-python 0.14.0 or newer despite having `REPLICATE_API_TOKEN` set, this is the import-time default-client regression from 0.14.0, not a problem with your token. Upgrade to
- replicate.run output changed from URL to base64 data URLs without a client change
If your pinned replicate-python 1.0.x code suddenly gets base64 data where URLs used to be, the API-side rollout of `Prefer: wait` support changed the sync output format under you. Replicate rolled that behavior back, so current responses s
- input_images must be a zip file error when running a training with a file handle
The `input_images must be a zip file` error on a valid zip comes from the client not passing the filename when you give it an open file handle, which broke the model's `.zip` extension check. Upgrade to replicate-python 0.32.1 or later, whi