Memesio · Schema

CaptionInput

JSON Schema for Memesio CaptionInput, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).

MemesMediaImage GenerationContentDeveloper Tools

Properties

Name Type Description
id string
text string
x number
y number
fontSize number
boxWidthPct number
boxHeightPct number
maxLines integer
textAlign string
fontFamily string
View JSON Schema on GitHub

JSON Schema

memesio-caption-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memesio/main/json-schema/memesio-captioninput-schema.json",
  "title": "CaptionInput",
  "description": "JSON Schema for Memesio CaptionInput, extracted from https://memesio.com/api/openapi (Memesio API Contracts v0.1.0).",
  "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"
      ]
    }
  }
}