create video chapters
Developing
POST
/projects/{projId}/videos/{videoId}/chapters
Create video chapters for a video under a project
{
"language": "en",
"chapters": [
{
"label": "introduction",
"start": 1,
"end": 10
},
{
"label": "Details video",
"start": 11,
"end": 20
}
]
}
POST
/projects/<project_id>/videos/<video_id>/chapters
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.vidinfra.com/v1/projects/f32a0116-fe11-454c-8e6a-5ff4101882e5/videos/aa88b7e7-b2d8-49b9-905c-cdf9b3bd9778/chapters' \
--header 'Content-Type: application/json' \
--data-raw '{
"language": "en",
"kind" : "subtitles",
"chapters": [
{
"label": "introduction",
"start": 1,
"end": 9
},
{
"label": "after intro",
"start": 10,
"end": 111
},
{
"label": "Details video",
"start": 9223372036854775806,
"end": 9223372036854775807
}
]
}'
Response Response Example
200 - OK - Success
{"message":"Videos create.","result":{"name":"myvideo2","vod_transcoding_profiles_id":"00000000-0000-0000-0000-000000000000","status":"uploading","upload_id":null,"description":null,"source":null,"raw_size":null,"duration":null,"transcoding_size":null,"external_video_id":null,"category":null,"id":"e61f7879-3fb3-45ff-86d9-e266447ddf68","collection_id":"16f1b34c-8238-4945-b3be-726ff670ce94","user_id":"00000000-0000-0000-0000-000000000000","project_id":"16f1b34c-8238-4945-b3be-726ff670ce94","is_public":false,"mp4_support":false,"created_at":"2024-02-11T10:28:30.174844307Z","updated_at":"2024-02-11T10:28:30.174844377Z","deleted_at":null,"created_by":"c23c6582-47cf-4960-ad0e-2aa218e78e64","updated_by":"c23c6582-47cf-4960-ad0e-2aa218e78e64","deleted_by":null},"success":true}
Request
Path Params
projId
stringÂ
required
Example:
f32a0116-fe11-454c-8e6a-5ff4101882e5
videoId
stringÂ
required
Example:
aa88b7e7-b2d8-49b9-905c-cdf9b3bd9778
Body Params application/json
Responses
Modified at 2025-06-19 04:59:01