Anand
Anand11mo ago

Error with Stability AI

"error": { "error": { "name": "ApiError", "request": {}, "response": {} }, "label": "Stability AI Image Generation", "message": "Request to https://api.replicate.com/v1/predictions failed with status 401 Unauthorized: {"title":"Unauthenticated","detail":"You did not pass a valid authentication token","status":401}\n." }, I am passing a valid api key of stabilty AI
4 Replies
Gaurav Chadha
Gaurav Chadha11mo ago
@Anand Could you run the node in the test mode? The Stability AI node is working fine. Seeing from your logs, the API key is not validating, you'll require to regenerate it from Replicate.
No description
Anand
Anand11mo ago
@Gaurav Chadha Just before I have created new api key and tested with that. Same error in testing and also with postman
No description
Gaurav Chadha
Gaurav Chadha11mo ago
@Anand It requires the Replicate API key -https://replicate.com/account/api-tokens
Anand
Anand11mo ago
@Gaurav Chadha with replicate api key I am getting following error: "Request to https://api.replicate.com/v1/predictions failed with status 422 Unprocessable Entity: {"title":"Invalid version or not permitted","detail":"The specified version does not exist (or perhaps you don't have permission to use it?)","status":422}\n."