-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcortex.json
More file actions
80 lines (80 loc) · 3.66 KB
/
Copy pathcortex.json
File metadata and controls
80 lines (80 loc) · 3.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "cortex-plugin-video-processor",
"version": "1.0.0",
"description": "Transcribe, translate, caption, clip video/audio files",
"kind": "esm",
"entryPoint": "mod.ts",
"runtime": "deno",
"author": "CortexPrism",
"license": "MIT",
"repository": "https://github.com/CortexPrism/cortex-plugin-video-processor",
"capabilities": [
"tools",
"shell:run",
"fs:read"
],
"tools": [
{
"name": "video_transcribe",
"description": "Transcribe video/audio to text or subtitles",
"params": [
{ "name": "file_path", "type": "string", "description": "Path to video or audio file", "required": true },
{ "name": "language", "type": "string", "description": "Language code", "default": "en" },
{ "name": "output", "type": "enum", "description": "Output format", "options": ["text", "srt", "vtt", "json"] },
{ "name": "model", "type": "enum", "description": "Whisper model size", "options": ["tiny", "base", "small", "medium", "large"] }
]
},
{
"name": "video_translate",
"description": "Translate transcript to another language",
"params": [
{ "name": "transcript", "type": "string", "description": "Transcript text", "required": true },
{ "name": "target_language", "type": "string", "description": "Target language ISO code", "required": true },
{ "name": "source_language", "type": "string", "description": "Source language ISO code", "default": "en" }
]
},
{
"name": "video_generate_captions",
"description": "Generate subtitle captions for video",
"params": [
{ "name": "file_path", "type": "string", "description": "Path to video file", "required": true },
{ "name": "language", "type": "string", "description": "Language code", "default": "en" },
{ "name": "format", "type": "enum", "description": "Subtitle format", "options": ["srt", "vtt", "ass"] }
]
},
{
"name": "video_extract_clip",
"description": "Extract a clip from video",
"params": [
{ "name": "file_path", "type": "string", "description": "Path to video file", "required": true },
{ "name": "start_time", "type": "string", "description": "Start time (HH:MM:SS)", "required": true },
{ "name": "duration", "type": "string", "description": "Duration in seconds or HH:MM:SS", "required": true },
{ "name": "output_path", "type": "string", "description": "Output file path", "required": true }
]
},
{
"name": "video_extract_highlights",
"description": "Extract highlight reel from video",
"params": [
{ "name": "file_path", "type": "string", "description": "Path to video file", "required": true },
{ "name": "transcript", "type": "string", "description": "Transcript for highlight detection", "required": true },
{ "name": "max_duration", "type": "number", "description": "Maximum highlight reel duration in seconds", "default": 60 }
]
}
],
"ui": {
"section": "Processing",
"fields": [
{ "key": "ffmpegPath", "label": "FFmpeg Path", "type": "text", "description": "Path to ffmpeg executable", "default": "ffmpeg" },
{ "key": "whisperModel", "label": "Whisper Model", "type": "select", "description": "Default Whisper model size", "default": "base", "options": [{ "label": "Tiny", "value": "tiny" }, { "label": "Base", "value": "base" }, { "label": "Small", "value": "small" }, { "label": "Medium", "value": "medium" }, { "label": "Large", "value": "large" }] }
]
},
"dependencies": {},
"peerDependencies": {
"cortex": ">=1.0.0"
},
"aiDisclosure": {
"tools": ["Claude Code (Anthropic)"],
"humanReview": true
}
}