Memesio · Schema
UploadCaptionMemeSuccessResponse
JSON Schema for Memesio UploadCaptionMemeSuccessResponse, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).
MemesMediaImage GenerationContentDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| ok | boolean | |
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-schema/memesio-uploadcaptionmemesuccessresponse-schema.json",
"title": "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"
},
"title": {
"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": "number"
},
"y": {
"type": "number"
},
"fontSize": {
"type": "number"
},
"boxWidthPct": {
"type": "number"
},
"boxHeightPct": {
"type": "number"
},
"maxLines": {
"type": "integer",
"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": "number",
"minimum": 0.6,
"maximum": 3
}
}
}
}
}
}
}