Artifacts & CachingΒΆ
Every edit or transcribe run saves artifacts to ~/.praisonai/editor/{filename}/.
What is savedΒΆ
~/.praisonai/editor/{filename}/
βββ probe.json β media metadata
βββ transcript.json β word-level timestamps (CACHED)
βββ transcript.srt β SRT subtitles
βββ transcript.txt β plain text
βββ plan.json β edit decisions (keep/remove segments)
βββ content_blocks.json β detection blocks (only with --detector)
~/.praisonai/editor/.demix_cache/{sha256}/
βββ vocals.wav β separated vocals (CACHED)
βββ no_vocals.wav β instruments (CACHED)
Caching behaviourΒΆ
sequenceDiagram
participant CLI
participant Cache
participant API
CLI->>Cache: Is transcript.json present?
alt Cache hit
Cache-->>CLI: β» Load transcript
else Cache miss
CLI->>API: Call Whisper API
API-->>CLI: Transcript
CLI->>Cache: Save transcript.json
end
CLI->>Cache: Is .demix_cache/{hash} present?
alt Stem cache hit
Cache-->>CLI: β» Reuse vocals.wav + no_vocals.wav
else Cache miss
CLI->>CLI: Run Demucs (~10 min)
CLI->>Cache: Save stems
end
Disable artifact savingΒΆ
Clear cachesΒΆ
# Remove transcript cache for a specific file
rm ~/.praisonai/editor/podcast/transcript.json
# Remove all stem caches
rm -rf ~/.praisonai/editor/.demix_cache/
# Remove everything
rm -rf ~/.praisonai/editor/
probe.json exampleΒΆ
{
"path": "podcast.mp3",
"duration": 1823.45,
"has_video": false,
"audio_codec": "mp3",
"audio_sample_rate": 44100,
"audio_channels": 2,
"size_bytes": 44352512
}
plan.json exampleΒΆ
{
"original_duration": 1823.4,
"edited_duration": 1680.2,
"removed_duration": 143.2,
"removal_summary": {"filler": 12.3, "silence": 122.8, "repetition": 8.1},
"segments": [
{"start": 0, "end": 5.2, "action": "keep", "category": "content"},
{"start": 5.2, "end": 5.8, "action": "remove", "category": "filler", "reason": "Filler: 'um'"}
]
}