diff options
Diffstat (limited to 'internal/cli/video_runner.go')
| -rw-r--r-- | internal/cli/video_runner.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/internal/cli/video_runner.go b/internal/cli/video_runner.go deleted file mode 100644 index 9e888fb..0000000 --- a/internal/cli/video_runner.go +++ /dev/null @@ -1,21 +0,0 @@ -package cli - -import ( - "codeberg.org/snonux/totalrecall/internal/video" -) - -// GenerateSelectedVideos is the CLI runner that animates gallery PNG files -// into MP4 clips using Google's Veo model. It delegates to the video package -// so GUI and tests can keep using the cli entry point without importing video -// directly. -// -// apiKey is the Google/Gemini API key passed by the caller. -// selectedPaths contains the absolute (or relative) paths of the PNGs to animate. -// -// Each page prints a "Generating…" line before the API call and a "Video saved:" -// line with the output path on success. The MP4 is written next to its source -// PNG so that gallery images and their videos stay in the same directory. -// The function stops and returns on the first error so the caller can log it. -func GenerateSelectedVideos(apiKey string, selectedPaths []string) error { - return video.GenerateSelectedVideos(apiKey, selectedPaths) -} |
