Initial CutScript release - Open-source AI-powered text-based video editor
CutScript is a local-first, Descript-like video editor where you edit video by editing text. Delete a word from the transcript and it's cut from the video. Features: - Word-level transcription with WhisperX - Text-based video editing with undo/redo - AI filler word removal (Ollama/OpenAI/Claude) - AI clip creation for shorts - Waveform timeline with virtualized transcript - FFmpeg stream-copy (fast) and re-encode (4K) export - Caption burn-in and sidecar SRT generation - Studio Sound audio enhancement (DeepFilterNet) - Keyboard shortcuts (J/K/L, Space, Delete, Ctrl+Z/S/E) - Encrypted API key storage - Project save/load (.aive files) Architecture: - Electron + React + Tailwind (frontend) - FastAPI + Python (backend) - WhisperX for transcription - FFmpeg for video processing - Multi-provider AI support Performance optimizations: - RAF-throttled time updates - Zustand selectors for granular subscriptions - Dual-canvas waveform rendering - Virtualized transcript with react-virtuoso Built on top of DataAnts-AI/VideoTranscriber, completely rewritten as a desktop application. License: MIT
This commit is contained in:
55
shared/project-schema.json
Normal file
55
shared/project-schema.json
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "AI Video Editor Project",
|
||||
"type": "object",
|
||||
"required": ["version", "videoPath", "words", "segments", "deletedRanges", "language", "createdAt", "modifiedAt"],
|
||||
"properties": {
|
||||
"version": { "type": "integer", "const": 1 },
|
||||
"videoPath": { "type": "string" },
|
||||
"words": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["word", "start", "end", "confidence"],
|
||||
"properties": {
|
||||
"word": { "type": "string" },
|
||||
"start": { "type": "number" },
|
||||
"end": { "type": "number" },
|
||||
"confidence": { "type": "number" },
|
||||
"speaker": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"segments": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "start", "end", "text", "words"],
|
||||
"properties": {
|
||||
"id": { "type": "integer" },
|
||||
"start": { "type": "number" },
|
||||
"end": { "type": "number" },
|
||||
"text": { "type": "string" },
|
||||
"words": { "$ref": "#/properties/words" },
|
||||
"speaker": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"deletedRanges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["id", "start", "end", "wordIndices"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"start": { "type": "number" },
|
||||
"end": { "type": "number" },
|
||||
"wordIndices": { "type": "array", "items": { "type": "integer" } }
|
||||
}
|
||||
}
|
||||
},
|
||||
"language": { "type": "string" },
|
||||
"createdAt": { "type": "string", "format": "date-time" },
|
||||
"modifiedAt": { "type": "string", "format": "date-time" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user