Memesio · JSON Structure
Memesio Upload Caption Meme Success Response Structure
JSON Schema for Memesio UploadCaptionMemeSuccessResponse, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).
Type: object
Properties: 2
Required: 2
MemesMediaImage GenerationContentDeveloper Tools
UploadCaptionMemeSuccessResponse is a JSON Structure definition published by Memesio, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
ok
data
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-structure/memesio-uploadcaptionmemesuccessresponse-structure.json",
"name": "UploadCaptionMemeSuccessResponse",
"description": "JSON Schema for Memesio UploadCaptionMemeSuccessResponse, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).",
"type": "object",
"required": [
"ok",
"data"
],
"properties": {
"ok": {
"type": "boolean",
"const": true
},
"data": {
"type": "object",
"required": [
"slug",
"shareSlug",
"templateSlug",
"title",
"visibility",
"sourceImageUrl",
"imageUrl",
"canonicalImageUrl",
"altText",
"tags",
"apiUrl",
"pageUrl",
"ownerToken",
"captions",
"watermark"
],
"properties": {
"slug": {
"type": "string"
},
"shareSlug": {
"type": "string"
},
"templateSlug": {
"type": "string"
},
"name": {
"type": "string"
},
"visibility": {
"type": "string",
"enum": [
"private",
"public"
]
},
"sourceImageUrl": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"canonicalImageUrl": {
"type": "string"
},
"altText": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"apiUrl": {
"type": "string"
},
"pageUrl": {
"type": "string"
},
"ownerToken": {
"type": "string"
},
"captions": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"id": {
"type": "string",
"maxLength": 64
},
"text": {
"type": "string",
"maxLength": 300
},
"x": {
"type": "double"
},
"y": {
"type": "double"
},
"fontSize": {
"type": "double"
},
"boxWidthPct": {
"type": "double"
},
"boxHeightPct": {
"type": "double"
},
"maxLines": {
"type": "int32",
"minimum": 1
},
"textAlign": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"fontFamily": {
"type": "string",
"enum": [
"impact",
"arial"
]
}
}
}
},
"watermark": {
"type": "object",
"description": "Caption API requests accept watermark input, but non-premium callers are forced to the default Memesio watermark. Premium callers can customize enabled, text, position, and scale.",
"properties": {
"enabled": {
"type": "boolean"
},
"text": {
"type": "string",
"maxLength": 64
},
"position": {
"type": "string",
"enum": [
"top_left",
"top_right",
"bottom_left",
"bottom_right"
]
},
"scale": {
"type": "double",
"minimum": 0.6,
"maximum": 3
}
}
}
}
}
}
}