I am trying to make a custom gpt that will write poems on images generated from actions available to it. I am using the cataas.com API.
Tried to create actions with this schema
{
"openapi": "3.0.0",
"info": {
"title": "Random Cat Image API",
"version": "1.0.0",
"description": "API that returns a random cat image"
},
"servers": [
{
"url": "https://cataas.com"
}
],
"paths": {
"/cat": {
"get": {
"summary": "Get a random cat image",
"description": "Returns a random cat image",
"operationId": "getRandomCat",
"responses": {
"200": {
"description": "A random cat image",
"content": {
"image/jpeg": {
"schema": {
"type": "string",
"format": "binary"
}
}
}
}
}
}
}
}
}
which generates a random cat image.
But everytime I try something it’s failing. Am I making some kind of mistake in the schema or the actions at this time just doesn’t support image/jpeg as response.