curl --request GET \
--url https://api.cloudglue.dev/v1/transcribe/{job_id} \
--header 'Authorization: Bearer <token>'{
"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>",
"segment_summary": [
{
"title": "<string>",
"summary": "<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
}
],
"speech": [
{
"speaker": "<string>",
"text": "<string>",
"start_time": 123,
"end_time": 123
}
],
"audio_description": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
]
},
"error": "<string>"
}Retrieve the current state of a transcription job
curl --request GET \
--url https://api.cloudglue.dev/v1/transcribe/{job_id} \
--header 'Authorization: Bearer <token>'{
"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>",
"segment_summary": [
{
"title": "<string>",
"summary": "<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
}
],
"speech": [
{
"speaker": "<string>",
"text": "<string>",
"start_time": 123,
"end_time": 123
}
],
"audio_description": [
{
"text": "<string>",
"start_time": 123,
"end_time": 123
}
]
},
"error": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the transcription job
Format for the response
json, markdown Successful response with job details
pending, processing, completed, failed, not_applicable The URL of the processed video
Unix timestamp of when the job was created
Configuration for rich transcription from videos
Show child attributes
Whether the user requested to generate video-level and segment-level (moment-level) summaries and titles
Whether the user requested to generate speech transcript
Whether the user requested to generate visual scene description
Whether the user requested to generate scene text
Show child attributes
Content string returned based on formatting, e.g. set to markdown text when response_format=markdown is requested
Generated title of the video; for YouTube videos, this is the title of the video as it appears on YouTube
Generated video level summary; for YouTube videos, this is the summary of the video as it appears on YouTube
Array of summary information for each segment of the video. Only available when enable_summary is set to true in the transcribe configuration.
Error message if status is 'failed'