---
title: "Upload an image, place top or bottom caption boxes, and store the hosted meme"
method: POST
path: "/api/v1/memes/caption-upload"
tags: ["developer-api", "memes", "uploads"]
---

# Upload an image, place top or bottom caption boxes, and store the hosted meme

`POST /api/v1/memes/caption-upload`

## Response `201`

Uploaded meme created

- UploadCaptionMemeSuccessResponse
  - `ok` true, required
  - `data` object, required
    - `slug` string, required
    - `shareSlug` string, required
    - `templateSlug` string, required
    - `title` string, required
    - `visibility` 'private' | 'public', required
    - `sourceImageUrl` string, required
    - `imageUrl` string, required
    - `canonicalImageUrl` string, required
    - `altText` string, required
    - `tags` string[], required
    - `apiUrl` string, required
    - `pageUrl` string, required
    - `ownerToken` string, required
    - `captions` CaptionInput[], required
      - `id` string
      - `text` string, required
      - `x` number
      - `y` number
      - `fontSize` number
      - `boxWidthPct` number
      - `boxHeightPct` number
      - `maxLines` integer
      - `textAlign` 'left' | 'center' | 'right'
      - `fontFamily` 'impact' | 'arial' | 'poster'
    - `watermark` FreeMemeWatermark, required — 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.
      - `enabled` boolean
      - `text` string
      - `position` 'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
      - `scale` number

## Other responses

- `400` — Validation error
- `401` — Invalid API key when one is provided
- `415` — Unsupported upload content
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/memesio/apis/memesio-api-contracts.md) · [All operations](https://skmtc.net/memesio/apis/memesio-api-contracts/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memesio/memesio-api-contracts/revisions/826e6edbf294/schema)
