---
title: "Generate a caption"
method: POST
path: "/v1/captions/generate"
tags: ["AI Content"]
---

# Generate a caption

`POST /v1/captions/generate`

## Request

- Base URL: `https://www.postquick.ai/api`
- URL: `https://www.postquick.ai/api/v1/captions/generate`
- Auth: HTTP bearer

Generate a social media caption with AI, optionally grounded in a content group's brand profile. Counts as 1 AI text generation.

## Request body

- object
  - `contentGroupId` string, required: Content group whose brand profile grounds the caption
  - `context` string: What the caption is for, e.g. "product launch post". Default: "social media post"
  - `existingContent` string: Existing caption to improve or rewrite

## Response `200`

Generated caption.

- object
  - `success` true, required
  - `data` object, required
    - `caption` string, required

---

[API](https://skmtc.dev/postquick/apis/postquickai-api.md) · [All operations](https://skmtc.dev/postquick/apis/postquickai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postquick/apis/postquickai-api/revisions/d9bc2bcf3042?raw)
