Skip to content

ShortsFlow 0.7.8

Choose a tag to compare

@ghost1412 ghost1412 released this 13 Nov 13:00
· 168 commits to main since this release
  • Scheduled runs (the daily channel workflow) pick their mode by a weighted rotation, not by dice: every 4-hour slot gets the next mode, the weights are met exactly and the same mode never comes twice in a row. Random draws had given streaks (three "spot the lie" runs in a row). SCHEDULED_MODE still sets a fixed mode or your own weights.
  • Clip benchmark: recall and precision against a gold set now match a clip and a moment when they overlap by half of the shorter of the two. The old rule asked a 30 s clip to cover half of a moment that can be 60 s long, so the numbers were capped by the moment lengths (a pick starting at the same second as a moment scored 0).
  • Groq: a "429 Too Many Requests" (the per-minute token allowance of a free key) no longer switches the AI picking off for the whole run. The call now waits for the allowance (Retry-After, at most 65 s, four tries) and asks again; a request above a model's limit moves to the next model instead of waiting.
  • Clips can now be 1:1, 4:5 or 16:9 as well as 9:16 (--aspect_ratio, the Output shape in the browser app): the crop, layouts, captions, templates and covers follow the frame. It used to print "not implemented" and make 9:16.
  • Browser app: a "Look: template and covers" section on Start here and on the Clip tab (visual template with a preview picture, intro and outro covers, text for the template). It works for shorts and for the highlights video.
  • Highlights video (long, landscape): --visual_template, --intro_animation and --outro_animation now work on it. Short transparent pieces for the start and end are rendered with the animated renderer and laid over the video with FFmpeg, so a long video is never rendered frame by frame in the browser.
  • --segment_transition fade|slide|wipe|flip|clock-wipe|iris joins the background clips or photos of photo reels and idea-to-video modes with Remotion's @remotion/transitions (pinned 4.0.509, like the other Remotion packages); the default stays the crossfade.
  • Highlights video: eight more FFmpeg transitions between moments (--transitions iris|blinds|panels|wipe|radial|slice|pixelize|squeeze); docs/TEMPLATES.md now lists what the highlights video supports.
  • Intro and outro transitions: --intro_animation / --outro_animation (tiles that break apart and join, panels, iris, blinds, fade) with --animation_color; also settable per clip template. Previews in docs/templates/.
  • Visual templates: --visual_template (10 designs: podcast-card, neon-frame, news-banner, minimal-line, title-bars, retro-vhs, film-bars, polaroid, episode-badge, story-progress) draws a designed skin over the picture, with optional text slots (--template_text KEY=VALUE) and an accent colour. Re-renders keep it. Previews in docs/templates/.
  • Clip templates: six new built-in --auto_edit styles (minimal, news, storytime, motivation, tutorial, cinematic) and your own as JSON files in templates/ or ~/.shortsflow/templates/ (a template can start from another with based_on; a bad file is skipped with a warning). They show up in the command line and in the browser app's Auto-edit list. See docs/TEMPLATES.md.
  • Removed the hosted-dashboard job reporting (Supabase job status, per-user YouTube credentials, --user_id, decrypt_secret, the cryptography dependency). --video_id stays as an optional session-folder name. Supabase storage is still used only for Instagram Reel hosting (falls back to file.io).
  • The hook-cue bonus needs a short number, price or percent (a year no longer counts); "No. 5" is not a sentence end; a closing curly quote after "..." is recognised; a sliver at the end of a pause no longer cuts a quiet stretch short.
  • Browser app: a clip picked by the failsafe (analysis failed, fixed window) shows a warning on its card; fallback: true is written to the results file.