Image captioning
For deployment as an inference endpoint, using a Custom task type – a fixed version of this repo (updated to file input of test your endpoint!)
Request payload
{
"inputs": ["/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgICAgMC...."], // base64-encoded image
}
Response payload
{
"captions": ["inferred caption for image"]
}
Inference API (serverless) does not yet support generic models for this pipeline type.