GET
/
open2
/
{apiToken}
curl --request GET \
  --url https://api.bibigpt.co/api/open2/{apiToken}
{
  "success": true,
  "id": "<string>",
  "service": "bilibili",
  "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": [
      {
        "end": 123,
        "text": "<string>",
        "index": 123,
        "startTime": 123,
        "words": [
          {
            "start": 123,
            "end": 123,
            "text": "<string>",
            "punctuation": "<string>"
          }
        ],
        "speaker_id": 123
      }
    ],
    "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>"
  }
}

Generate summary from url

Path Parameters

apiToken
string
required

The API token associated with the user (e.g., /api/open/alzp32Ml2a2G)

Query Parameters

url
string
required

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

includeDetail
boolean

Response

200
application/json
Successful response
success
boolean
required
id
string
required
service
enum<string>
required
Available options:
bilibili,
youtube,
podcast,
douyin,
tiktok,
online-media,
url-media,
import-file,
local-video,
local-audio,
local-subtitle,
webpage,
meeting
sourceUrl
string
required
htmlUrl
string
required
costDuration
number
required
remainingTime
number
required
summary
string
detail
object