Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/harry0703/MoneyPrinterTurbo
/ functions
Functions
428 in github.com/harry0703/MoneyPrinterTurbo
⨍
Functions
428
◇
Types & classes
89
↳
Endpoints
16
Method
check_status
Check the status of an upload request. Args: request_id (str): The request ID from upload Returns:
app/services/upload_post.py:104
Method
close
(self)
test/services/test_video.py:392
Method
close
(self)
test/services/test_material.py:104
Function
combine_videos
( combined_video_path: str, video_paths: List[str], audio_file: str, video_aspect: VideoAspect
app/services/video.py:500
Method
create
(self, **kwargs)
test/services/test_voice.py:424
Function
create_audio
( background_tasks: BackgroundTasks, request: Request, body: AudioRequest )
app/controllers/v1/video.py:130
Method
create_queue
(self)
app/controllers/manager/memory_manager.py:8
Method
create_queue
(self)
app/controllers/manager/redis_manager.py:26
Function
create_subtitle
( background_tasks: BackgroundTasks, request: Request, body: SubtitleRequest )
app/controllers/v1/video.py:123
Function
create_video
( background_tasks: BackgroundTasks, request: Request, body: TaskVideoRequest )
app/controllers/v1/video.py:116
Function
cross_post_video
Convenience function to cross-post a video. Args: video_path (str): Path to the video file title (str): Video title/capt
app/services/upload_post.py:137
Method
delete_task
(self, task_id: str)
app/services/state.py:56
Function
delete_video
(request: Request, task_id: str = Path(..., description="Task ID"))
app/controllers/v1/video.py:217
Method
dequeue
(self)
app/controllers/manager/memory_manager.py:14
Method
dequeue
(self)
app/controllers/manager/redis_manager.py:43
Function
download_video
download video :param request: Request request :param file_path: video file path, eg: /cd1727ed-3473-42a2-a7da-4faafafec72b/final-1.mp4
app/controllers/v1/video.py:381
Method
duration
(self)
test/services/test_video.py:400
Method
duration
(self)
test/services/test_video.py:422
Method
enqueue
(self, task: Dict)
app/controllers/manager/memory_manager.py:11
Method
enqueue
(self, task: Dict)
app/controllers/manager/redis_manager.py:29
Function
exception_handler
(request: Request, e: HttpException)
app/asgi.py:18
Function
fadein_transition
(clip: Clip, t: float)
app/services/utils/video_effects.py:5
Function
fadeout_transition
(clip: Clip, t: float)
app/services/utils/video_effects.py:10
Method
fake_generate_response
(prompt)
test/services/test_llm.py:86
Method
fake_run
(command, capture_output, text, check)
test/services/test_video.py:296
Method
fake_run
(command, capture_output, text, check)
test/services/test_voice.py:71
Function
font_dir
(sub_dir: str = "")
app/utils/utils.py:98
Function
format_record
(record)
app/config/__init__.py:17
Function
format_record
(record)
webui/Main.py:184
Function
generate_social_metadata
生成短视频发布文案元数据。 返回结构固定为 `{"title": str, "caption": str, "hashtags": List[str]}`。 如果 LLM 不可用或返回格式异常,会降级为通用启发式结果,保证 API 调用方始终拿到可展示、可发布前编
app/services/llm.py:976
Function
generate_video
( video_path: str, audio_path: str, subtitle_path: str, output_file: str, params: VideoPar
app/services/video.py:796
Function
generate_video_script
(request: Request, body: VideoScriptRequest)
app/controllers/v1/llm.py:25
Function
generate_video_social_metadata
( request: Request, body: VideoSocialMetadataRequest )
app/controllers/v1/llm.py:57
Function
generate_video_terms
(request: Request, body: VideoTermsRequest)
app/controllers/v1/llm.py:42
Function
get_all_songs
()
webui/Main.py:133
Function
get_all_tasks
(request: Request, page: int = Query(1, ge=1), page_size: int = Query(10, ge=1))
app/controllers/v1/video.py:167
Method
get_all_tasks
(self, page: int, page_size: int)
app/services/state.py:28
Method
get_all_tasks
(self, page: int, page_size: int)
app/services/state.py:68
Function
get_bgm_list
(request: Request)
app/controllers/v1/video.py:238
Function
get_default_ollama_base_url
返回 Ollama 的默认 OpenAI-compatible base_url。 用户显式配置 `ollama_base_url` 时不会走这里;这里只处理“未配置时的 最佳默认值”。容器内默认指向宿主机,普通本机运行默认指向 localhost。
app/config/config.py:99
Function
get_ffmpeg_binary
解析当前进程应该使用的 FFmpeg 可执行文件。 增加原因: 1. 视频编码、静音音频生成、pydub 音频转码都依赖 FFmpeg; 2. Windows 便携包、Docker 和用户自定义安装目录经常出现 PATH 不一致; 3. 集中解析可以让所有
app/utils/utils.py:125
Function
get_ffmpeg_binary
兼容历史上直接从 video 服务读取 FFmpeg 路径的调用方。 真正的解析逻辑已经抽到 `app.utils.utils.get_ffmpeg_binary()`,视频、语音 和后续新增链路都应复用同一套优先级;这里保留薄包装,避免外部脚本或 旧测试直接导入
app/services/video.py:126
Function
get_gemini_voices
获取Gemini TTS的声音列表 Returns: 声音列表,格式为 ["gemini:Zephyr-Female", "gemini:Puck-Male", ...]
app/services/voice.py:85
Function
get_mimo_voices
获取 Xiaomi MiMo V2.5 TTS 的预置音色列表。 当前只接入官方文档里的 `mimo-v2.5-tts` 预置音色模式。音色设计 `mimo-v2.5-tts-voicedesign` 和音色复刻 `mimo-v2.5-tts-voiceclone`
app/services/voice.py:118
Function
get_response
(status: int, data: Any = None, message: str = "")
app/utils/utils.py:17
Function
get_siliconflow_voices
获取硅基流动的声音列表 Returns: 声音列表,格式为 ["siliconflow:FunAudioLLM/CosyVoice2-0.5B:alex", ...]
app/services/voice.py:59
Function
get_system_locale
()
app/utils/utils.py:285
Function
get_task
( request: Request, task_id: str = Path(..., description="Task ID"), query: TaskQueryRequest = Dep
app/controllers/v1/video.py:183
Method
get_task
(self, task_id: str)
app/services/state.py:53
Method
get_task
(self, task_id: str)
app/services/state.py:121
Function
get_uuid
(remove_hyphen: bool = False)
app/utils/utils.py:61
Function
get_video_materials_list
(request: Request)
app/controllers/v1/video.py:285
Method
is_queue_empty
(self)
app/controllers/manager/memory_manager.py:17
Method
is_queue_empty
(self)
app/controllers/manager/redis_manager.py:60
Function
load_locales
(i18n_dir)
app/utils/utils.py:297
Function
log_received
(msg)
webui/Main.py:1477
Function
make_textclip
(text)
app/services/video.py:941
Function
md5
(text)
app/utils/utils.py:279
Function
normalize_script_for_subtitle_matching
清理字幕匹配前的脚本文本。 用户可能手动输入 Markdown 分隔符、标题强调或 `_` 这类格式符号。 这些字符通常不会出现在 TTS/Whisper 的识别结果里;如果继续参与 字幕逐行匹配,脚本行数量会大于真实字幕行数量,最终可能补出 `00:00
app/utils/utils.py:246
Function
parse_extension
(filename)
app/utils/utils.py:310
Function
ping
(request: Request)
app/controllers/ping.py:12
Function
position
(current_time: float)
app/services/utils/video_effects.py:21
Function
preprocess_video
(materials: List[MaterialInfo], clip_duration=4)
app/services/video.py:992
Function
public_dir
(sub_dir: str = "")
app/utils/utils.py:116
Method
queue_size
(self)
app/controllers/manager/memory_manager.py:20
Method
queue_size
(self)
app/controllers/manager/redis_manager.py:63
Function
resolve_path_within_directory
( base_dir: str, unsafe_path: str, *, require_file: bool = True, )
app/utils/file_security.py:4
Function
run
()
app/utils/utils.py:162
Function
run_in_background
(func, *args, **kwargs)
app/utils/utils.py:161
Method
run_task
(self, func: Callable, *args: Any, **kwargs: Any)
app/controllers/manager/base_manager.py:52
Function
save_config
()
app/config/config.py:150
Function
search_videos_coverr
Coverr (https://coverr.co) - free HD/4K stock videos, subject to Coverr license terms (https://coverr.co/license). Coverr API notes (bas
app/services/material.py:168
Function
search_videos_pexels
( search_term: str, minimum_duration: int, video_aspect: VideoAspect = VideoAspect.portrait, )
app/services/material.py:55
Function
search_videos_pixabay
( search_term: str, minimum_duration: int, video_aspect: VideoAspect = VideoAspect.portrait, )
app/services/material.py:112
Method
setUp
(self)
test/services/test_llm.py:118
Method
setUp
(self)
test/services/test_llm.py:844
Method
setUp
(self)
test/services/test_video.py:36
Method
setUp
(self)
test/services/test_video.py:83
Method
setUp
(self)
test/services/test_voice.py:41
Method
setUp
(self)
test/services/test_material.py:18
Method
setUp
(self)
test/services/test_material.py:139
Method
setUp
(self)
test/services/test_task.py:16
Function
shutdown_event
()
app/asgi.py:76
Function
slidein_transition
(clip: Clip, t: float, side: str)
app/services/utils/video_effects.py:15
Function
slideout_transition
(clip: Clip, t: float, side: str)
app/services/utils/video_effects.py:44
Function
song_dir
(sub_dir: str = "")
app/utils/utils.py:107
Function
speech_synthesizer_word_boundary_cb
(evt: speechsdk.SessionEventArgs)
app/services/voice.py:861
Function
split_string_by_punctuations
(s)
app/utils/utils.py:204
Function
startup_event
()
app/asgi.py:81
Function
str_contains_punctuation
(word)
app/utils/utils.py:197
Function
stream_video
(request: Request, file_path: str)
app/controllers/v1/video.py:338
Function
task_dir
(sub_dir: str = "")
app/utils/utils.py:89
Method
tearDown
(self)
test/services/test_llm.py:121
Method
tearDown
(self)
test/services/test_llm.py:851
Method
tearDown
(self)
test/services/test_video.py:39
Method
tearDown
(self)
test/services/test_video.py:89
Method
tearDown
(self)
test/services/test_voice.py:45
Method
tearDown
(self)
test/services/test_material.py:22
Method
tearDown
(self)
test/services/test_material.py:143
Method
tearDown
(self)
test/services/test_task.py:19
← previous
next →
201–300 of 428, ranked by callers