Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ffaivideo

Package Overview
Dependencies
Maintainers
0
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffaivideo - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

dist/config/root.d.ts

4

dist/config/config.js

@@ -20,3 +20,3 @@ "use strict";

const defalutVideoConfig = {
provider: 'g4f',
provider: 'gpt4js',
pexels: defaultPexels,

@@ -45,3 +45,3 @@ output: '',

const fconfig = (0, lodash_1.merge)(defalutVideoConfig, config);
fconfig.provider = (_a = fconfig.provider) !== null && _a !== void 0 ? _a : 'g4f';
fconfig.provider = (_a = fconfig.provider) !== null && _a !== void 0 ? _a : 'gpt4js';
fconfig[fconfig.provider] = (0, lodash_1.merge)(llm_config_1.defaultLLMConfig[fconfig.provider], fconfig[fconfig.provider]);

@@ -48,0 +48,0 @@ return fconfig;

@@ -10,2 +10,3 @@ "use strict";

const lodash_1 = require("lodash");
const root_1 = require("./config/root");
const constant_1 = require("./config/constant");

@@ -25,2 +26,3 @@ const config_1 = require("./config/config");

let { videoScript = '', videoTerms, lastTime = 10, output = '', cacheDir = '', removeCache = true, lineSplit = true, subtitleMaxWidth = 9999, } = config;
root_1.Root.currentConfig = config;
videoScript = (0, line_1.normalizeWhitespace)((0, line_1.addPunctuationToParagraph)(videoScript));

@@ -27,0 +29,0 @@ videoScript = await (0, terms_1.addPunctuationWithAI)(videoScript, config);

@@ -6,4 +6,5 @@ import { generateVideo } from './generator';

import { VoiceConfig } from './config/voice-config';
import { getWH } from './config/video-aspect';
import { SubMaker } from './sub-maker';
import { Logger } from './utils/log';
export { generateVideo, VideoConfig, VideoAspect, VideoConcatMode, LLMConfig, VoiceConfig, defaultLLMConfig, SubMaker, Logger, };
export { getWH, generateVideo, VideoConfig, VideoAspect, VideoConcatMode, LLMConfig, VoiceConfig, defaultLLMConfig, SubMaker, Logger, };
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = exports.SubMaker = exports.defaultLLMConfig = exports.VoiceConfig = exports.VideoConcatMode = exports.VideoAspect = exports.generateVideo = void 0;
exports.Logger = exports.SubMaker = exports.defaultLLMConfig = exports.VoiceConfig = exports.VideoConcatMode = exports.VideoAspect = exports.generateVideo = exports.getWH = void 0;
const generator_1 = require("./generator");

@@ -13,2 +13,4 @@ Object.defineProperty(exports, "generateVideo", { enumerable: true, get: function () { return generator_1.generateVideo; } });

Object.defineProperty(exports, "VoiceConfig", { enumerable: true, get: function () { return voice_config_1.VoiceConfig; } });
const video_aspect_1 = require("./config/video-aspect");
Object.defineProperty(exports, "getWH", { enumerable: true, get: function () { return video_aspect_1.getWH; } });
const sub_maker_1 = require("./sub-maker");

@@ -15,0 +17,0 @@ Object.defineProperty(exports, "SubMaker", { enumerable: true, get: function () { return sub_maker_1.SubMaker; } });

@@ -13,3 +13,3 @@ "use strict";

const constant_1 = require("./config/constant");
const video_aspect_1 = require("./utils/video-aspect");
const video_aspect_1 = require("./config/video-aspect");
const utils_1 = require("./utils/utils");

@@ -16,0 +16,0 @@ const file_1 = require("./utils/file");

@@ -10,3 +10,3 @@ "use strict";

const constant_1 = require("./config/constant");
const video_aspect_1 = require("./utils/video-aspect");
const video_aspect_1 = require("./config/video-aspect");
const ffmpeg_2 = require("./utils/ffmpeg");

@@ -13,0 +13,0 @@ const filter_1 = require("./utils/filter");

{
"name": "ffaivideo",
"version": "1.6.5",
"version": "1.6.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -104,2 +104,3 @@ <p align="center">

| g4f | LLMConfig | - | G4F configuration |
| gpt4js | LLMConfig | - | GPT4js simplifies AI model interaction |
| customoAI | LLMConfig | - | custom ai configuration |

@@ -111,2 +112,3 @@ | pexels | MaterialSite | - | Pexels material site |

| videoClipDuration | number | 5 | Video clip duration, default is 5 seconds |
| lineSplit | boolean | true | Use line breaks to split long subtitles |
| termsNum | number | 5 | Number of keywords |

@@ -129,2 +131,3 @@ | output | string | - | Output path |

| lastTime | number | 5 | Last time |
| azureTTSSettings | object | null | Azure TTS settings |
| materialFunc | function | null | A custom material synthesis |

@@ -131,0 +134,0 @@ | removeCache | boolean | true | Whether to remove cache |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc