replicate / replicate-go

Go client for Replicate
https://replicate.com
Apache License 2.0
65 stars 9 forks source link

Use Bearer authorization scheme #61

Closed mattt closed 4 months ago

mattt commented 4 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.