---
title: "Generate Ai Comment"
method: POST
path: "/api/social-boost/generate-comment"
tags: ["social-boost", "social-boost"]
---

# Generate Ai Comment

`POST /api/social-boost/generate-comment`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/social-boost/generate-comment`
- Auth: none declared

Generate an AI comment for a post.

## Request body

- GenerateCommentRequest: Request to generate an AI comment.
  - `platform` string, required
  - `post_text` string, required
  - `author_name` string

## Response `200`

Successful Response

- CommentGenerationResponse: AI comment generation result.
  - `comment` string, required
  - `model_used` string, required
  - `tokens_used` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
