Using Replicate clip_prefix_caption error in request

Hi all,

I was testing the model here: rmokady/clip_prefix_caption – API reference
using PowerShell to test it. However it keeps saying the following error

Invoke-WebRequest : { “error”: { “code”: null, “message”: “Additional properties are not allowed (‘input’, ‘version’ were unexpected)”,
“param”: null, “type”: “invalid_request_error” } }

The PowerShell code for the request payload is shown below

$body = @"
“version”: “9a34a6339872a03f45236f114321fb51fc7aa8269d38ae0ce5334969981e4cd8”,
“input”: {
“image”: “data:image/jpeg;base64,/9j/4AAQSkZJRgABA”

Is someone able to please help? I’ve also tried passing an incorrect API Token and I still get the same error instead of a 401 error that I was expection. So, I’m not even sure at this point at which level is this error originating?

Thank you.