Meme Master
Meme Master · GPT Actions
Meme Generator API
Adds custom text captions to images to create memes and returns a URL to the processed image.
POST /add-text-to-image/CreateMemeAdds a text caption to an image and returns a URL to the processed image stored in Google Cloud Storage.
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Meme Generator API",
"description": "Adds custom text captions to images to create memes and returns a URL to the processed image.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://meme-maker-405701-4qxtorocgq-uc.a.run.app"
}
],
"paths": {
"/add-text-to-image/": {
"post": {
"description": "Adds a text caption to an image and returns a URL to the processed image stored in Google Cloud Storage.",
"operationId": "CreateMeme",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MemeRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "URL to the processed image",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"image_url": {
"type": "string",
"format": "uri",
"description": "URL of the processed image"
}
}
}
}
}
},
"400": {
"description": "Invalid request"
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"MemeRequest": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL of the image to which the caption will be added"
},
"caption": {
"type": "string",
"description": "Text caption to be added to the image"
}
},
"required": [
"url",
"caption"
]
}
}
}
}Meme Generator API
Adds custom text captions to images to create memes and returns a URL to the processed image.
POST /add-text-to-image/CreateMemeAdds a text caption to an image and returns a URL to the processed image stored in Google Cloud Storage.
原始 API 定义
{
"openapi": "3.1.0",
"info": {
"title": "Meme Generator API",
"description": "Adds custom text captions to images to create memes and returns a URL to the processed image.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://meme-maker-405701-4qxtorocgq-uc.a.run.app"
}
],
"paths": {
"/add-text-to-image/": {
"post": {
"description": "Adds a text caption to an image and returns a URL to the processed image stored in Google Cloud Storage.",
"operationId": "CreateMeme",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/MemeRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "URL to the processed image",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"image_url": {
"type": "string",
"format": "uri",
"description": "URL of the processed image"
}
}
}
}
}
},
"400": {
"description": "Invalid request"
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"MemeRequest": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL of the image to which the caption will be added"
},
"caption": {
"type": "string",
"description": "Text caption to be added to the image"
}
},
"required": [
"url",
"caption"
]
}
}
}
}