oelin / node-replicate

A Node.js client for Replicate.
https://npmjs.com/node-replicate
63 stars 4 forks source link

will the anonymous api last? #6

Closed halower closed 1 year ago

halower commented 1 year ago

this project is too nice, will it be a long-term maintenance project

oelin commented 1 year ago

If Replicate.com change their anonymous API, node-replicate will accommodate those changes. However, if they entirely disable their anonymous API, the project will probably be shelved.

So far they haven't announced any plans to take the anonymous endpoints offline though.

booherbg commented 1 year ago

Thank you. What are the terms of the anonymous API? Things are so abstract now I'm not even sure where / when this code is running :P

oelin commented 1 year ago

The anonymous API is a collection of endpoints which implement a subset of the functionalities provided by Replicate's authenticated API. For instance, you can run models, monitor pending predictions or cancel predictions. The models themselves run on high performance GPUs in the cloud. This client is for Node.js only (i.e. not the browser), so any code using node-replicate would probably run on your app's backend. Due to the a lack of CORS support for these anonymous endpoints, this client cannot be implemented client-side yet. Hope this helps!