API Documentation
open
- GETGet the version of the API
- GETGenerate video or audio summary from url
- POSTGenerate configurable summary from url based on prompt config
- GETGenerate chapter summary for url
- GETSubmit video summary processing task
- GETCheck task status and get result if completed
- GETOnly returns the video subtitles array in detail
open
Only returns the video subtitles array in detail
GET
/
v1
/
getSubtitle
Copy
curl --request GET \
--url https://api.bibigpt.co/api/v1/getSubtitle \
--header 'Authorization: Bearer <token>'
Copy
{
"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": [
{
"startTime": 123,
"end": 123,
"text": "<string>",
"index": 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>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successful response
The response is of type object
.
Was this page helpful?
Copy
curl --request GET \
--url https://api.bibigpt.co/api/v1/getSubtitle \
--header 'Authorization: Bearer <token>'
Copy
{
"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": [
{
"startTime": 123,
"end": 123,
"text": "<string>",
"index": 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>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.