replicate-python icon indicating copy to clipboard operation
replicate-python copied to clipboard

Make Python client work for both Cog and Replicate

Open bfirsh opened this issue 3 years ago • 0 comments

The Replicate HTTP API is the same as the Cog HTTP API. (Or, is intended to be.) It'd be neat if under the hood, there was a single Python client that worked with both Replicate and Cog models.

Some design work is needed here: is it a Cog or a Replicate client? Is Cog some subset of Replicate? Maybe a "version" in Replicate is actually a Cog "model" under the hood? (But then the nouns clash...)

bfirsh avatar May 25 '22 00:05 bfirsh