@danhachuel/thunderbolt 0.3.84 → 0.3.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -775,6 +775,11 @@ def _moneyprinter_cli_args(task: dict[str, Any], route: str, settings: dict[str,
775
775
  clip_duration = generation_settings.get("maximum_clip_duration")
776
776
  if str(clip_duration or "").strip().isdigit() and int(clip_duration) > 0:
777
777
  args.extend(["--video-clip-duration", str(int(clip_duration))])
778
+ elif route in {"pexels", "pixabay"} and len(script) >= 1_200:
779
+ # Vídeos longos com o padrão de 5 s podem exigir dezenas de downloads
780
+ # sequenciais. Para manter variedade e terminar de forma previsível,
781
+ # adoptamos 15 s apenas quando não há escolha explícita do utilizador.
782
+ args.extend(["--video-clip-duration", "15"])
778
783
  if bool(generation_settings.get("match_visuals_to_script_order")):
779
784
  args.append("--match-materials-to-script")
780
785
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/thunderbolt",
3
- "version": "0.3.84",
3
+ "version": "0.3.85",
4
4
  "description": "Thunderbolt — interface local para operação de canais faceless e motor MoneyPrinterTurbo",
5
5
  "license": "MIT",
6
6
  "main": "scripts/cli.mjs",