---
title: "Get Comment"
method: GET
path: "/api/v1/ai/comment"
tags: ["AI PWA Content Generation"]
---

# Get Comment

`GET /api/v1/ai/comment`

Get a comment from the AI with nested replies

## Query parameters

- `amount_of_comments` integer
- `context` string
- `generate_images` boolean
- `generate_replies` boolean
- `max_reply_depth` integer
- `model` 'gpt-3.5-turbo' | 'gpt-4' | 'gpt-4o-mini'
- `temperature` number
- `max_tokens` integer
- `top_p` number
- `frequency_penalty` number
- `presence_penalty` number

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pwapps/apis/curie-api.md) · [All operations](https://skmtc.dev/pwapps/apis/curie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pwapps/curie-api/revisions/b0af9064dfef/schema)
