mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-20 05:28:13 +02:00
fix: reduce font size to 16, improve TTS sync (3 words/chunk, 0.3s/word)
This commit is contained in:
1 parent
3ce30e71f0
commit
fe638b9895
3 files changed
+6
-6
No files matched your search
@@ -185,7 +185,7 @@ reelsRouter.post('/reels/preview', async (req: Request, res: Response) => {
|
||||
ttsEnabled,
|
||||
ttsVoice,
|
||||
wordDuration = 0.6,
|
||||
fontSize = 24,
|
||||
fontSize = 16,
|
||||
musicVolume = 0.25,
|
||||
drawText = true,
|
||||
} = req.body;
|
||||
@@ -255,7 +255,7 @@ reelsRouter.post('/reels', async (req: Request, res: Response) => {
|
||||
pageIds,
|
||||
scheduledFor,
|
||||
wordDuration = 0.6,
|
||||
fontSize = 24,
|
||||
fontSize = 16,
|
||||
musicVolume = 0.25,
|
||||
drawText = true,
|
||||
} = req.body;
|
||||
|
||||
@@ -83,7 +83,7 @@ export class FFmpegService {
|
||||
tts_enabled: options.ttsEnabled,
|
||||
tts_voice: options.ttsVoice,
|
||||
word_duration: options.wordDuration ?? 0.6,
|
||||
font_size: options.fontSize ?? 24,
|
||||
font_size: options.fontSize ?? 16,
|
||||
music_volume: options.musicVolume ?? 0.25,
|
||||
draw_text: options.drawText ?? true,
|
||||
};
|
||||
@@ -176,7 +176,7 @@ export class FFmpegService {
|
||||
tts_enabled: options.ttsEnabled,
|
||||
tts_voice: options.ttsVoice,
|
||||
word_duration: options.wordDuration ?? 0.6,
|
||||
font_size: options.fontSize ?? 24,
|
||||
font_size: options.fontSize ?? 16,
|
||||
music_volume: options.musicVolume ?? 0.25,
|
||||
draw_text: options.drawText ?? true,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user