---
title: "POST /v2/content/generate"
method: POST
path: "/v2/content/generate"
tags: ["v2"]
---

# POST /v2/content/generate

`POST /v2/content/generate`

## Request

- Base URL: `https://api.inside.ad/api`
- URL: `https://api.inside.ad/api/v2/content/generate`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://api.inside.ad/api/oauth/authorize`, token URL `https://api.inside.ad/api/oauth/token`, scopes: `content:write`)
  - API key in header `authorization`

Synchronously generates a draft caption + image for a channel (nothing is saved). Use this to preview AI-written content before calling create_content/create_post to actually save it.

## Query parameters

- `userId` number, required

## Request body

- object
  - `platform` 'instagram' | 'threads' | 'telegram', required
  - `channelId` string, required
  - `contentType` 'outgoing' | 'account', required

## Response `200`

Default Response

- object
  - `post` string
  - `imageUrl` string, nullable

---

[API](https://skmtc.dev/inside/apis/inside-ad-api-documentation-v2-ai-optimized.md) · [All operations](https://skmtc.dev/inside/apis/inside-ad-api-documentation-v2-ai-optimized/llms.txt) · [OpenAPI document](https://skmtc.dev/inside/apis/inside-ad-api-documentation-v2-ai-optimized/revisions/79912b433f7f?raw)
