Closed justthecontent closed 3 months ago
Hi @justthecontent. Some Replicate models require a version, while others like stability-ai/stable-diffusion-3
don't. For those that don't, use the Client.createPrediction(model:input:webhook:)
method or Client.run
, passing the model name.
Your question about TLS/SSL pinning is a good one. I just opened https://github.com/replicate/replicate-swift/issues/87 to track that work.
stability-ai/stable-diffusion-3 – Run with an API on Replicate
replicate swift API expects a version but I am unable to find a working version of the above model. I tried passing "latest" but that didn't work.
I attempted finding the latest version with this curl call -
https://api.replicate.com/v1/models/stability-ai/stable-diffusion-3/versions
but got only a404
withThis model is an official model and does not expose a list of versions.
Also, any hooks for ssl pinning would be helpful.