Model working on free api but not on paid one

Hi guys, I deployed this endpoint:

The problem is, when i try to use it, i get an error that I do not get with the free Inference Api.

–data-binary ‘@kjbed.jpg
-H “Authorization: Bearer my-inferenceapi-key”

this is how i try it on the free inference api and it returns result perfectly, but when i deploy and use the curl or other test methods, i get TypeError: ‘Image’ object is not subscriptable error.

Any ideas?