replicate / replicate-python

Python client for Replicate
https://replicate.com
Apache License 2.0
696 stars 194 forks source link

Use Bearer authorization scheme #295

Closed mattt closed 2 months ago

mattt commented 2 months ago

Replicate's API now supports the standard Bearer authentication scheme.

https://replicate.com/changelog/2024-04-03-bearer-tokens

For compatibility with existing clients, the existing Token scheme will be supported indefinitely. But going forward, the new Bearer scheme is preferred.