---
title: "Summarize content"
method: POST
path: "/projects/{project_id}/content/{id}/summarize"
tags: ["Content"]
---

# Summarize content

`POST /projects/{project_id}/content/{id}/summarize`

Generates a script summary for a content item using the project script settings.

## Request body

- RequestBodyContentSummarize
  - `model` 'gpt-4o-mini', nullable — The model of AI. Possible values are `gpt-4o-mini`
  - `prompt` string, nullable — The AI prompt
  - `temperature` number, nullable
  - `limit_token_usage` integer, nullable

## Response `200`

successful

- SegmentSummaryModel[]
  - `section` string — The section type of the segment
  - `content_type` 'text' | 'audio' | 'image' | 'video' — The content type of the segment. Possible values are `text`, `audio`, `image`, or `video`. Images and videos appear in generated videos
  - `text` string, nullable — The plain text for this segment. Required if content_type is `text`
  - `audio_url` string, nullable — The URL of the uploaded audio file for this segment. Required if content_type is `audio`
  - `image_url` string, nullable — The URL of the uploaded image file for this segment. Required if content_type is `image`
  - `video_url` string, nullable — The URL of the uploaded video file for this segment. Required if content_type is `video`

---

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