MCPcopy Create free account

hub / github.com/harry0703/MoneyPrinterTurbo / functions

Functions428 in github.com/harry0703/MoneyPrinterTurbo

Methodtest_search_coverr_allows_explicit_tls_disable_for_proxy
企业自签证书代理场景必须能显式关闭 TLS 校验。
test/services/test_material.py:218
Methodtest_search_coverr_filters_by_min_duration_and_accepts_string
Coverr duration 字段在不同响应里可能是 number 或 string, 两种格式都要接受;低于 minimum_duration 的应被过滤。
test/services/test_material.py:233
Methodtest_search_coverr_returns_empty_on_failure
响应结构异常 / 网络异常时,函数必须返回 [] 而不是抛异常, 与 pexels/pixabay 行为保持一致。
test/services/test_material.py:303
Methodtest_search_coverr_skips_invalid_items
缺 id 或缺 urls.mp4_download 的条目应被跳过,不应抛异常。
test/services/test_material.py:268
Methodtest_search_coverr_uses_mp4_download_url
search_videos_coverr 应把每个 hit 转成 MaterialInfo,并把 urls.mp4_download 直接作为 MaterialInfo.url。 按 Coverr 官方文档 (api.coverr.co/docs/v
test/services/test_material.py:151
Methodtest_search_coverr_uses_tls_verification_by_default
与 pexels/pixabay 一致:未显式配置时 TLS 校验默认开启。
test/services/test_material.py:203
Methodtest_search_pexels_uses_tls_verification_by_default
默认路径必须开启 TLS 校验,避免素材 API key 和返回的素材 URL 在公共网络或不可信代理环境中被中间人攻击截获或篡改。
test/services/test_material.py:28
Methodtest_search_pixabay_allows_explicit_tls_disable_for_proxy
少数企业代理会使用自签证书。该场景必须显式配置关闭 TLS 校验, 不能再由代码硬编码默认关闭。
test/services/test_material.py:60
Methodtest_siliconflow
(self)
test/services/test_voice.py:156
Methodtest_social_metadata_endpoint_response_shape
(self)
test/services/test_llm.py:799
Methodtest_task_local_materials
(self)
test/services/test_task.py:48
Methodtest_task_query_returns_relative_task_url_without_mutating_state
endpoint 未显式配置时,任务查询接口不能使用 Host 派生绝对 URL, 也不能把展示 URL 回写到任务状态里,否则不同 Host 查询会污染结果。
test/services/test_video.py:43
Methodtest_unknown_platform_falls_back_to_tiktok
(self)
test/services/test_llm.py:703
Methodtest_video_params_accepts_disabled_and_colored_subtitle_background
UI 会根据开关向后端传递 False 或颜色字符串。这里验证 schema 仍然 接受这两种值,避免后续依赖或类型调整破坏 WebUI 与合成逻辑的契约。
test/services/test_subtitle_background_settings.py:29
Methodtest_video_script_request_rejects_invalid_advanced_options
API 请求模型需要限制高级 prompt 参数,避免外部调用绕过 WebUI 传入异常段落数或超长提示词,导致模型成本和结果不可控。
test/services/test_llm.py:102
Methodtest_wrap_text
test text wrapping function
test/services/test_video.py:507
Methodtest_write_videofile_does_not_disable_codec_when_fallback_also_fails
如果 libx264 兜底也失败,失败原因更可能是输出路径、权限、文件占用等 通用问题,不能误判为硬件编码器不可用。
test/services/test_video.py:256
Methodtest_write_videofile_falls_back_after_runtime_encoder_failure
FFmpeg 声明支持某个硬件编码器,不代表当前显卡或驱动一定可用。 首次实际编码失败后,应立即用 libx264 重试,并在本进程禁用该编码器。
test/services/test_video.py:226
Functiontext_to_srt
(idx: int, msg: str, start_time: float, end_time: float)
app/utils/utils.py:182
Functionto_json
(obj)
app/utils/utils.py:28
Functiontts
( text: str, voice_name: str, voice_rate: float, voice_file: str, voice_volume: float = 1.
app/services/voice.py:301
Methodupdate_task
( self, task_id: str, state: int = const.TASK_STATE_PROCESSING, progress: int
app/services/state.py:35
Methodupdate_task
( self, task_id: str, state: int = const.TASK_STATE_PROCESSING, progress: int
app/services/state.py:100
Functionupload_bgm_file
(request: Request, file: UploadFile = File(...))
app/controllers/v1/video.py:263
Functionupload_video_material_file
(request: Request, file: UploadFile = File(...))
app/controllers/v1/video.py:315
Functionvalidation_exception_handler
(request: Request, e: RequestValidationError)
app/asgi.py:25
Functionverify_token
(request: Request)
app/controllers/base.py:21
Methodvisit_Call
(self, node)
test/services/test_webui_i18n.py:16
← previous401–428 of 428, ranked by callers