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,
"segmentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"segmentation_config": {
"strategy": "uniform",
"uniform_config": {
"window_seconds": 31,
"hop_seconds": 30.5
},
"shot_detector_config": {
"threshold": 1,
"min_seconds": 31,
"max_seconds": 31,
"detector": "adaptive"
},
"start_time_seconds": 1,
"end_time_seconds": 1
}
}'
{
"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>"
}
Creates a new transcription job for video content
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,
"segmentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"segmentation_config": {
"strategy": "uniform",
"uniform_config": {
"window_seconds": 31,
"hop_seconds": 30.5
},
"shot_detector_config": {
"threshold": 1,
"min_seconds": 31,
"max_seconds": 31,
"detector": "adaptive"
},
"start_time_seconds": 1,
"end_time_seconds": 1
}
}'
{
"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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Transcription job parameters
The body is of type object
.
Successful response
The response is of type object
.