Using the API
Rich Transcripts Collection
Entity Collection
Common Collection Operations
Transcription
Transcribe Video
Creates a new transcription job for video content
POST
/
transcribe
curl --request POST \
--url https://api.cloudglue.dev/v1/transcribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"enable_summary": true,
"enable_speech": true,
"enable_visual_scene_description": false,
"enable_scene_text": false
}'
{
"job_id": "<string>",
"status": "pending",
"url": "<string>",
"created_at": 123,
"transcribe_config": {
"enable_summary ": true,
"enable_speech": true,
"enable_visual_scene_description": true,
"enable_scene_text": true
},
"data": {
"content": "<string>",
"title": "<string>",
"summary": "<string>",
"speech": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
],
"visual_scene_description": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
],
"scene_text": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
]
},
"error": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Transcription job parameters
The body is of type object
.
Response
200
application/json
Successful response
The response is of type object
.
curl --request POST \
--url https://api.cloudglue.dev/v1/transcribe \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "<string>",
"enable_summary": true,
"enable_speech": true,
"enable_visual_scene_description": false,
"enable_scene_text": false
}'
{
"job_id": "<string>",
"status": "pending",
"url": "<string>",
"created_at": 123,
"transcribe_config": {
"enable_summary ": true,
"enable_speech": true,
"enable_visual_scene_description": true,
"enable_scene_text": true
},
"data": {
"content": "<string>",
"title": "<string>",
"summary": "<string>",
"speech": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
],
"visual_scene_description": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
],
"scene_text": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
]
},
"error": "<string>"
}