Skip to main content
GET
/
v1
/
summarizeByChapter
Generate chapter summary for url
curl --request GET \
  --url https://api.bibigpt.co/api/v1/summarizeByChapter \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "id": "<string>",
  "service": "<string>",
  "sourceUrl": "<string>",
  "htmlUrl": "<string>",
  "summary": "<string>",
  "costDuration": 123,
  "remainingTime": 123,
  "detail": {
    "summary": "<string>",
    "dbId": "<string>",
    "id": "<string>",
    "embedId": "<string>",
    "pageId": "<string>",
    "url": "<string>",
    "rawLang": "<string>",
    "translationUrls": [
      {
        "code": "<string>",
        "url": "<string>"
      }
    ],
    "audioUrl": "<string>",
    "playUrl": "<string>",
    "type": "bilibili",
    "title": "<string>",
    "cover": "<string>",
    "author": "<string>",
    "authorId": "<string>",
    "duration": 123,
    "publishedDate": "<any>",
    "subtitlesArray": [
      {
        "startTime": 123,
        "end": 123,
        "text": "<string>",
        "index": 123,
        "words": [
          {
            "start": 123,
            "end": 123,
            "text": "<string>",
            "punctuation": "<string>"
          }
        ],
        "speaker_id": 123,
        "_isGrouped": true,
        "_originalSubtitles": [
          "<any>"
        ]
      }
    ],
    "descriptionText": "<string>",
    "contentText": "<string>",
    "aiImages": [
      {
        "startTime": 123,
        "endTime": 123,
        "image": "<string>",
        "prompt": "<string>"
      }
    ],
    "chapters": [
      {
        "from": 123,
        "to": 123,
        "content": "<string>",
        "type": 123,
        "imgUrl": "<string>"
      }
    ],
    "local_path": "<string>",
    "status": "<string>"
  },
  "url": "<string>",
  "title": "<string>",
  "chapterSummary": "<string>",
  "chapters": [
    {
      "start": 123,
      "end": 123,
      "text": "<string>",
      "contents": [
        [
          "<any>"
        ]
      ],
      "summary": "<string>",
      "title": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

url
string
required

The URL to the video (e.g., ?url=https://www.bilibili.com/video/BV1Sk4y1x7r2)

includeDetail
boolean
outputLanguage
string

Response

Successful response

success
boolean
required
id
string
required
service
string
required
sourceUrl
string
required
htmlUrl
string
required
costDuration
number
required
remainingTime
number
required
url
string
required
title
string
required
chapters
object[]
required
summary
string
detail
object
  • Option 1
  • Option 2
chapterSummary
string
I