Files

1 line
354 KiB
JSON

{"repo": "77319199/moneyprinterturbo-1", "files": {"config.example.toml": {"5fb9250fcac3267a64faeb4c04c2e3d6faa7a013": {"t": 1785745379.7917747, "n": 14778, "h": "8916fe8d1711ffc8", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# Use straight ASCII double quotes around each key. Smart quotes copied from rich text will break TOML parsing.\n# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# Use straight ASCII double quotes around each key. Smart quotes copied from rich text will break TOML parsing.\n# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# Coverr API Key\n# Register at https://coverr.co/developers?ctx=header_navigation to get your API key instantly.\n# Free tier (Demo) is limited to 50 requests/hour — sufficient for a few\n# video tasks per hour. Upgrade to Pro/Ultimate subscription for 2000/hour.\n# Coverr provides free HD/4K stock videos (subject to Coverr license terms,\n# see https://coverr.co/license), mostly 16:9 landscape; if\n# you generate 9:16 short-form videos, prefer Pexels/Pixabay as primary\n# and use Coverr to widen the catalog for landscape/cinematic content.\n# You can use multiple keys to avoid rate limits.\n# For example: coverr_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# Use straight ASCII double quotes around each key. Smart quotes copied from rich text will break TOML parsing.\n# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\ncoverr_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# aimlapi (OpenAI-compatible multi-model AI API)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Base URL for Pollinations API.\n# Leave empty to use the default endpoint (https://text.pollinations.ai/openai).\n# Note: the old \"https://pollinations.ai/api/v1\" endpoint no longer accepts\n# requests (returns 405 Method Not Allowed), so only set this if you have a\n# working custom endpoint.\npollinations_base_url = \"\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## AIML API Key\n# AIML API is OpenAI-compatible and can use one API key to access multiple model families.\n# Visit https://aimlapi.com/app/keys to create your API key.\naimlapi_api_key = \"\"\naimlapi_base_url = \"https://api.aimlapi.com/v1\"\naimlapi_model_name = \"openai/gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Groq API Key\n# Visit https://console.groq.com/keys to get your api keys\n# API documentation: https://console.groq.com/docs/api-reference\n# Available models: https://console.groq.com/docs/api-reference#models-list\ngroq_api_key = \"\"\ngroq_model_name = \"llama-3.3-70b-versatile\"\ngroq_base_url = \"https://api.groq.com/openai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "0ab19f79274291a6aa9a978fd59f681f912e86ce": {"t": 1785750867.6804354, "n": 14301, "h": "9653a64ef67ec754", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# Coverr API Key\n# Register at https://coverr.co/developers?ctx=header_navigation to get your API key instantly.\n# Free tier (Demo) is limited to 50 requests/hour — sufficient for a few\n# video tasks per hour. Upgrade to Pro/Ultimate subscription for 2000/hour.\n# Coverr provides free HD/4K stock videos (subject to Coverr license terms,\n# see https://coverr.co/license), mostly 16:9 landscape; if\n# you generate 9:16 short-form videos, prefer Pexels/Pixabay as primary\n# and use Coverr to widen the catalog for landscape/cinematic content.\n# You can use multiple keys to avoid rate limits.\n# For example: coverr_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\ncoverr_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# aimlapi (OpenAI-compatible multi-model AI API)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Base URL for Pollinations API.\n# Leave empty to use the default endpoint (https://text.pollinations.ai/openai).\n# Note: the old \"https://pollinations.ai/api/v1\" endpoint no longer accepts\n# requests (returns 405 Method Not Allowed), so only set this if you have a\n# working custom endpoint.\npollinations_base_url = \"\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## AIML API Key\n# AIML API is OpenAI-compatible and can use one API key to access multiple model families.\n# Visit https://aimlapi.com/app/keys to create your API key.\naimlapi_api_key = \"\"\naimlapi_base_url = \"https://api.aimlapi.com/v1\"\naimlapi_model_name = \"openai/gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Groq API Key\n# Visit https://console.groq.com/keys to get your api keys\n# API documentation: https://console.groq.com/docs/api-reference\n# Available models: https://console.groq.com/docs/api-reference#models-list\ngroq_api_key = \"\"\ngroq_model_name = \"llama-3.3-70b-versatile\"\ngroq_base_url = \"https://api.groq.com/openai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "90cac381bf1e21afb431212df52de22844ac8984": {"t": 1785750868.8195453, "n": 13958, "h": "1a6154c08ca47fc6", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# Coverr API Key\n# Register at https://coverr.co/developers?ctx=header_navigation to get your API key instantly.\n# Free tier (Demo) is limited to 50 requests/hour — sufficient for a few\n# video tasks per hour. Upgrade to Pro/Ultimate subscription for 2000/hour.\n# Coverr provides free HD/4K stock videos (subject to Coverr license terms,\n# see https://coverr.co/license), mostly 16:9 landscape; if\n# you generate 9:16 short-form videos, prefer Pexels/Pixabay as primary\n# and use Coverr to widen the catalog for landscape/cinematic content.\n# You can use multiple keys to avoid rate limits.\n# For example: coverr_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\ncoverr_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Base URL for Pollinations API.\n# Leave empty to use the default endpoint (https://text.pollinations.ai/openai).\n# Note: the old \"https://pollinations.ai/api/v1\" endpoint no longer accepts\n# requests (returns 405 Method Not Allowed), so only set this if you have a\n# working custom endpoint.\npollinations_base_url = \"\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Groq API Key\n# Visit https://console.groq.com/keys to get your api keys\n# API documentation: https://console.groq.com/docs/api-reference\n# Available models: https://console.groq.com/docs/api-reference#models-list\ngroq_api_key = \"\"\ngroq_model_name = \"llama-3.3-70b-versatile\"\ngroq_base_url = \"https://api.groq.com/openai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "e09d161f302ecb66bbcbceb8e3b28259a4b5629e": {"t": 1785750870.1046395, "n": 13735, "h": "3878b3b5dcb87388", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# Coverr API Key\n# Register at https://coverr.co/developers?ctx=header_navigation to get your API key instantly.\n# Free tier (Demo) is limited to 50 requests/hour — sufficient for a few\n# video tasks per hour. Upgrade to Pro/Ultimate subscription for 2000/hour.\n# Coverr provides free HD/4K stock videos (subject to Coverr license terms,\n# see https://coverr.co/license), mostly 16:9 landscape; if\n# you generate 9:16 short-form videos, prefer Pexels/Pixabay as primary\n# and use Coverr to widen the catalog for landscape/cinematic content.\n# You can use multiple keys to avoid rate limits.\n# For example: coverr_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\ncoverr_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Groq API Key\n# Visit https://console.groq.com/keys to get your api keys\n# API documentation: https://console.groq.com/docs/api-reference\n# Available models: https://console.groq.com/docs/api-reference#models-list\ngroq_api_key = \"\"\ngroq_model_name = \"llama-3.3-70b-versatile\"\ngroq_base_url = \"https://api.groq.com/openai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "ee16d99f0cccf4d568153a3ed2672329bf7bb509": {"t": 1785750871.245155, "n": 13672, "h": "8209f59749c7f4b5", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# Coverr API Key\n# Register at https://coverr.co/developers?ctx=header_navigation to get your API key instantly.\n# Free tier (Demo) is limited to 50 requests/hour — sufficient for a few\n# video tasks per hour. Upgrade to Pro/Ultimate subscription for 2000/hour.\n# Coverr provides free CC0 HD/4K stock videos, mostly 16:9 landscape; if\n# you generate 9:16 short-form videos, prefer Pexels/Pixabay as primary\n# and use Coverr to widen the catalog for landscape/cinematic content.\n# You can use multiple keys to avoid rate limits.\n# For example: coverr_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\ncoverr_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Groq API Key\n# Visit https://console.groq.com/keys to get your api keys\n# API documentation: https://console.groq.com/docs/api-reference\n# Available models: https://console.groq.com/docs/api-reference#models-list\ngroq_api_key = \"\"\ngroq_model_name = \"llama-3.3-70b-versatile\"\ngroq_base_url = \"https://api.groq.com/openai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "ed1dc678d5c05cf8b265a34d3e590a17e32b7ecf": {"t": 1785750872.3980649, "n": 13012, "h": "f63697798f76c54c", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Groq API Key\n# Visit https://console.groq.com/keys to get your api keys\n# API documentation: https://console.groq.com/docs/api-reference\n# Available models: https://console.groq.com/docs/api-reference#models-list\ngroq_api_key = \"\"\ngroq_model_name = \"llama-3.3-70b-versatile\"\ngroq_base_url = \"https://api.groq.com/openai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "dd36f6f029f0e3f3798ff91f8d9e02a25d327356": {"t": 1785750873.8305352, "n": 12676, "h": "57c1d2d6110e0006", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed\n# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M3\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "7f612312c66a6b28ff3fa9c12290593b9ddf3cb9": {"t": 1785750875.262761, "n": 12532, "h": "9c1bd81a7380ca69", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n\n# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。\n# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。\n# 可选值: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n\n# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.\n# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.\n# Available values: \"libx264\", \"h264_nvenc\", \"h264_amf\", \"h264_qsv\", \"h264_mf\", \"h264_videotoolbox\"\n# video_codec = \"libx264\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "f29a56e4cef48f259438debb91e8f27a78b3e1cf": {"t": 1785750876.5003123, "n": 12006, "h": "300b40697400a172", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# aihubmix (OpenAI-compatible AI model gateway)\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## AIHubMix API Key\n# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.\n# Visit https://aihubmix.com/?aff=CEve to register and get your API key.\naihubmix_api_key = \"\"\naihubmix_base_url = \"https://aihubmix.com/v1\"\naihubmix_model_name = \"gpt-5.4-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "be2c8e270f119879df2c530a48b413a8f0373bcf": {"t": 1785750877.5946817, "n": 11664, "h": "c743a9f92641e87a", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.\nmimo_tts_model_name = \"mimo-v2.5-tts\"\n# Optional natural language style prompt for MiMo TTS.\nmimo_tts_style_prompt = \"请用自然、清晰、适合短视频旁白的语气朗读。\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "1e715303c63705a2ca280aff0d82a30518cf565c": {"t": 1785750878.7320993, "n": 11457, "h": "6e5cde5b1acd469c", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# mimo (Xiaomi MiMo)\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## Xiaomi MiMo API Key\n# Xiaomi MiMo API is OpenAI-compatible.\n# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.\nmimo_api_key = \"\"\nmimo_base_url = \"https://api.xiaomimimo.com/v1\"\nmimo_model_name = \"mimo-v2.5-pro\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "65fd333a8cf82742fac0643e7222cd9346e5d5b3": {"t": 1785750879.841935, "n": 11157, "h": "58856d0a23d6c2a8", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Grok API Key\ngrok_api_key = \"\"\ngrok_model_name = \"grok-4.3\"\ngrok_base_url = \"https://api.x.ai/v1\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "ef9877a31da26f20b5263b7bf4e35042e708211c": {"t": 1785750881.1036243, "n": 11047, "h": "56f3f8f983c2d8c8", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积\nmax_queued_tasks = 100\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "d5e0701e45058bf54115ae7634bcd5cacfbb0a91": {"t": 1785750882.2212083, "n": 10982, "h": "d430da93a3d5ed2b", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。\n# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。\n# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。\n# 设置为 0 表示禁用超时。\nedge_tts_timeout = 30\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "0eb267c527e2c46a7485d9f5c7e36401f8e12920": {"t": 1785750883.4927545, "n": 10815, "h": "1b44438af692bc10", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# 是否校验外部 API 和素材下载的 TLS 证书。\n# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。\n# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。\ntls_verify = true\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f (disabled by default; set enable_g4f=true only after accepting its risks)\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# g4f relies on reverse-engineered third-party endpoints and is not recommended\n# for production. Prefer official APIs, OpenAI-compatible providers, LiteLLM,\n# Ollama, or local inference.\n# If you still need it, install the optional dependency with:\n# uv sync --extra g4f\nenable_g4f = false\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "35fb1d05d2f50c12664c55b6ab29451d5246190b": {"t": 1785750884.612103, "n": 10309, "h": "7e5e219ef49efa01", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\n# litellm (100+ providers via LiteLLM gateway)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n########## LiteLLM (AI Gateway — 100+ providers)\n# LiteLLM routes to any LLM provider via a unified interface.\n# Use this for providers not directly supported above: Anthropic (native API),\n# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.\n# Visit https://docs.litellm.ai/docs/providers for the full list.\n#\n# LiteLLM reads provider API keys from environment variables automatically:\n# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.\n# Set the appropriate env var for your chosen provider before running.\n#\n# Model name in LiteLLM format: \"provider/model-name\"\n# Examples: \"openai/gpt-4o\", \"anthropic/claude-sonnet-4-20250514\",\n# \"bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0\",\n# \"gemini/gemini-2.5-flash\", \"ollama/llama3\"\nlitellm_model_name = \"openai/gpt-4o-mini\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "520a127157ec44b25a861cb3af3cee343c5ec2b0": {"t": 1785750885.7321377, "n": 9418, "h": "3e96371a988b044b", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\n# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,\n# 例如 OpenRouter 这类提供自定义 base_url 的平台。\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\n# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\n# 如果使用兼容供应商,请填写该平台要求的模型 ID。\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "6bfbc282ae6a9dc59608d6a46ccd8846f257090c": {"t": 1785750886.9859302, "n": 9266, "h": "f1f290ff9ae6f95f", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-2.5-flash\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "cf788ef5ff4371c32f132a39f75d5866ee8e327b": {"t": 1785750888.1005445, "n": 9264, "h": "4b7171852af8bef8", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "6a345a9c8d31a797603126cbb3a99ea33df94d42": {"t": 1785750889.2014704, "n": 8565, "h": "5eacb0e8d9549b5b", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n"}, "3be3c4a98f1687fa2c69cab38a19560dfd6d4a53": {"t": 1785750890.2704062, "n": 8263, "h": "f55159e525762fee", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n# 字幕位置设置 (Subtitle position settings)\n# 可选值 (Available values): \"top\", \"center\", \"bottom\", \"custom\"\n# subtitle_position = \"custom\"\n# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = \"custom\" 时生效\n# Custom position as percentage from top (0-100), only effective when subtitle_position = \"custom\"\n# custom_position = 70.0\n"}, "f2dfcfcd96c91483f2b69eac08ee57a6161a143a": {"t": 1785750891.3623538, "n": 8644, "h": "5ed7899d6680f0e0", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n\n########## Upload-Post (Cross-post to TikTok/Instagram)\n# Upload-Post allows you to automatically cross-post generated videos to TikTok and Instagram.\n# Visit https://upload-post.com to create an account and get your API key.\n# API Documentation: https://docs.upload-post.com\n\n# Enable/disable Upload-Post integration\nupload_post_enabled = false\n\n# Your Upload-Post API key\nupload_post_api_key = \"\"\n\n# Your Upload-Post username\nupload_post_username = \"\"\n\n# Platforms to cross-post to (options: \"tiktok\", \"instagram\")\nupload_post_platforms = [\"tiktok\", \"instagram\"]\n\n# Automatically cross-post videos after generation (if false, you'll need to call the API manually)\nupload_post_auto_upload = false\n"}, "9744c69ed4be6c4902fb6661c41bd3ebb08dc07f": {"t": 1785750892.463554, "n": 8247, "h": "9fc052d0e8b10f72", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimax.io to get your API key\n# MiniMax API is OpenAI-compatible\n# Available models: MiniMax-M2.7 (default), MiniMax-M2.7-highspeed\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M2.7\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "3fe9dc59ed259d8f48f461df1f5cee657c74384c": {"t": 1785750893.7019928, "n": 8180, "h": "7a06ac9683391d00", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# minimax\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## MiniMax API Key\n# Visit https://platform.minimaxi.com to get your API key\n# MiniMax API is OpenAI-compatible\nminimax_api_key = \"\"\nminimax_base_url = \"https://api.minimax.io/v1\"\nminimax_model_name = \"MiniMax-M1\"\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "18be15f4461ccb8d2ec17be89faefa40f25a7c04": {"t": 1785750894.8070912, "n": 7945, "h": "f0b9b750eee3c899", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\n# modelscope (魔搭社区)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "10f177adacceb3b553d1e1d0ff5096afe58fab78": {"t": 1785750895.9021218, "n": 7922, "h": "42e5433af2eb9613", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n\n########## ModelScope API Key\n# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key\n# And note that you need to bind your Alibaba Cloud account before using the API.\nmodelscope_api_key = \"\"\nmodelscope_base_url = \"https://api-inference.modelscope.cn/v1/\"\nmodelscope_model_name = \"Qwen/Qwen3-32B\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "95922908cec8c80497cc9e22fd79b6f3798379c4": {"t": 1785750897.0059562, "n": 7590, "h": "204d40bfbc32a3bf", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\nllm_provider = \"openai\"\n\n########## Pollinations AI Settings\n# Visit https://pollinations.ai/ to learn more\n# API Key is optional - leave empty for public access\npollinations_api_key = \"\"\n# Default base URL for Pollinations API\npollinations_base_url = \"https://pollinations.ai/api/v1\"\n# Default model for text generation\npollinations_model_name = \"openai-fast\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "45f32756a3c43f6d5d92bde4c5f5b50375a11a7e": {"t": 1785750898.104966, "n": 7253, "h": "2cf81f3b84358e83", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\nllm_provider = \"openai\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[siliconflow]\n# SiliconFlow API Key\n# Get your API key at https://siliconflow.cn\napi_key = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "6a19e2bb2953d0cecc65400fe1debc941d6b373d": {"t": 1785750899.2013063, "n": 7158, "h": "223c9b3f4ae5098d", "c": "[app]\nvideo_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n# 是否隐藏配置面板\nhide_config = false\n\n# Pexels API Key\n# Register at https://www.pexels.com/api/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npexels_api_keys = []\n\n# Pixabay API Key\n# Register at https://pixabay.com/api/docs/ to get your API key.\n# You can use multiple keys to avoid rate limits.\n# For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\npixabay_api_keys = []\n\n# 支持的提供商 (Supported providers):\n# openai\n# moonshot (月之暗面)\n# azure\n# qwen (通义千问)\n# deepseek\n# gemini\n# ollama\n# g4f\n# oneapi\n# cloudflare\n# ernie (文心一言)\nllm_provider = \"openai\"\n\n########## Ollama Settings\n# No need to set it unless you want to use your own proxy\nollama_base_url = \"\"\n# Check your available models at https://ollama.com/library\nollama_model_name = \"\"\n\n########## OpenAI API Key\n# Get your API key at https://platform.openai.com/api-keys\nopenai_api_key = \"\"\n# No need to set it unless you want to use your own proxy\nopenai_base_url = \"\"\n# Check your available models at https://platform.openai.com/account/limits\nopenai_model_name = \"gpt-4o-mini\"\n\n########## Moonshot API Key\n# Visit https://platform.moonshot.cn/console/api-keys to get your API key.\nmoonshot_api_key = \"\"\nmoonshot_base_url = \"https://api.moonshot.cn/v1\"\nmoonshot_model_name = \"moonshot-v1-8k\"\n\n########## OneAPI API Key\n# Visit https://github.com/songquanpeng/one-api to get your API key\noneapi_api_key = \"\"\noneapi_base_url = \"\"\noneapi_model_name = \"\"\n\n########## G4F\n# Visit https://github.com/xtekky/gpt4free to get more details\n# Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\ng4f_model_name = \"gpt-3.5-turbo\"\n\n########## Azure API Key\n# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\nazure_api_key = \"\"\nazure_base_url = \"\"\nazure_model_name = \"gpt-35-turbo\" # replace with your model deployment name\nazure_api_version = \"2024-02-15-preview\"\n\n########## Gemini API Key\ngemini_api_key = \"\"\ngemini_model_name = \"gemini-1.0-pro\"\n\n########## Qwen API Key\n# Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n# Visit below links to get more details\n# https://tongyi.aliyun.com/qianwen/\n# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\nqwen_api_key = \"\"\nqwen_model_name = \"qwen-max\"\n\n\n########## DeepSeek API Key\n# Visit https://platform.deepseek.com/api_keys to get your API key\ndeepseek_api_key = \"\"\ndeepseek_base_url = \"https://api.deepseek.com\"\ndeepseek_model_name = \"deepseek-chat\"\n\n# Subtitle Provider, \"edge\" or \"whisper\"\n# If empty, the subtitle will not be generated\nsubtitle_provider = \"edge\"\n\n#\n# ImageMagick\n#\n# Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n# On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n# imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n#\n# FFMPEG\n#\n# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n# RuntimeError: No ffmpeg exe could be found.\n# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n# ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n#########################################################################################\n\n# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\n\n# When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n# endpoint=\"https://xxxx.com\"\nendpoint = \"\"\n\n\n# Video material storage location\n# material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n# material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n# material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n# 视频素材存放位置\n# material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n# material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n# material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\nmaterial_directory = \"\"\n\n# Used for state management of the task\nenable_redis = false\nredis_host = \"localhost\"\nredis_port = 6379\nredis_db = 0\nredis_password = \"\"\n\n# 文生视频时的最大并发任务数\nmax_concurrent_tasks = 5\n\n\n[whisper]\n# Only effective when subtitle_provider is \"whisper\"\n\n# Run on GPU with FP16\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n# Run on GPU with INT8\n# model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n# Run on CPU with INT8\n# model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n# recommended model_size: \"large-v3\"\nmodel_size = \"large-v3\"\n# if you want to use GPU, set device=\"cuda\"\ndevice = \"CPU\"\ncompute_type = \"int8\"\n\n\n[proxy]\n### Use a proxy to access the Pexels API\n### Format: \"http://<username>:<password>@<proxy>:<port>\"\n### Example: \"http://user:pass@proxy:1234\"\n### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n# http = \"http://10.10.1.10:3128\"\n# https = \"http://10.10.1.10:1080\"\n\n[azure]\n# Azure Speech API Key\n# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\nspeech_key = \"\"\nspeech_region = \"\"\n\n[ui]\n# UI related settings\n# 是否隐藏日志信息\n# Whether to hide logs in the UI\nhide_log = false\n"}, "47e4cff75808133bed8751be206681abf7816bfa": {"t": 1785750900.425749, "n": 7893, "h": "cb537e0beb450e19", "c": "[app]\n\n video_source = \"pexels\" # \"pexels\" or \"pixabay\"\n\n # 是否隐藏配置面板\n # hide_config = false\n\n[user]\n # 管理员用户名和密码,用于访问基础设置\n username = \"admin\"\n password = \"admin\"\n email = \"admin@example.com\" # 添加email字段,用于身份验证\n # Pexels API Key\n # Register at https://www.pexels.com/api/ to get your API key.\n # You can use multiple keys to avoid rate limits.\n # For example: pexels_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n # 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\n pexels_api_keys = []\n\n # Pixabay API Key\n # Register at https://pixabay.com/api/docs/ to get your API key.\n # You can use multiple keys to avoid rate limits.\n # For example: pixabay_api_keys = [\"123adsf4567adf89\",\"abd1321cd13efgfdfhi\"]\n # 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开\n pixabay_api_keys = []\n\n # 如果你没有 OPENAI API Key,可以使用 g4f 代替,或者使用国内的 Moonshot API\n # If you don't have an OPENAI API Key, you can use g4f instead\n\n # 支持的提供商 (Supported providers):\n # openai\n # moonshot (月之暗面)\n # oneapi\n # g4f\n # azure\n # qwen (通义千问)\n # gemini\n llm_provider=\"openai\"\n\n ########## Ollama Settings\n # No need to set it unless you want to use your own proxy\n ollama_base_url = \"\"\n # Check your available models at https://ollama.com/library\n ollama_model_name = \"\"\n\n ########## OpenAI API Key\n # Get your API key at https://platform.openai.com/api-keys\n openai_api_key = \"\"\n # No need to set it unless you want to use your own proxy\n openai_base_url = \"\"\n # Check your available models at https://platform.openai.com/account/limits\n openai_model_name = \"gpt-4-turbo\"\n\n ########## Moonshot API Key\n # Visit https://platform.moonshot.cn/console/api-keys to get your API key.\n moonshot_api_key=\"\"\n moonshot_base_url = \"https://api.moonshot.cn/v1\"\n moonshot_model_name = \"moonshot-v1-8k\"\n\n ########## OneAPI API Key\n # Visit https://github.com/songquanpeng/one-api to get your API key\n oneapi_api_key=\"\"\n oneapi_base_url=\"\"\n oneapi_model_name=\"\"\n\n ########## G4F\n # Visit https://github.com/xtekky/gpt4free to get more details\n # Supported model list: https://github.com/xtekky/gpt4free/blob/main/g4f/models.py\n g4f_model_name = \"gpt-3.5-turbo\"\n\n ########## Azure API Key\n # Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details\n # API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference\n azure_api_key = \"\"\n azure_base_url=\"\"\n azure_model_name=\"gpt-35-turbo\" # replace with your model deployment name\n azure_api_version = \"2024-02-15-preview\"\n\n ########## Gemini API Key\n gemini_api_key=\"\"\n gemini_model_name = \"gemini-1.0-pro\"\n\n ########## Qwen API Key\n # Visit https://dashscope.console.aliyun.com/apiKey to get your API key\n # Visit below links to get more details\n # https://tongyi.aliyun.com/qianwen/\n # https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction\n qwen_api_key = \"\"\n qwen_model_name = \"qwen-max\"\n\n\n ########## DeepSeek API Key\n # Visit https://platform.deepseek.com/api_keys to get your API key\n deepseek_api_key = \"\"\n deepseek_base_url = \"https://api.deepseek.com\"\n deepseek_model_name = \"deepseek-chat\"\n\n # Subtitle Provider, \"edge\" or \"whisper\"\n # If empty, the subtitle will not be generated\n subtitle_provider = \"edge\"\n\n #\n # ImageMagick\n #\n # Once you have installed it, ImageMagick will be automatically detected, except on Windows!\n # On Windows, for example \"C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16-HDRI\\magick.exe\"\n # Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe\n\n # imagemagick_path = \"C:\\\\Program Files (x86)\\\\ImageMagick-7.1.1-Q16\\\\magick.exe\"\n\n\n #\n # FFMPEG\n #\n # 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。\n # 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:\n # RuntimeError: No ffmpeg exe could be found.\n # Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n # 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/\n\n # Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.\n # However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:\n # RuntimeError: No ffmpeg exe could be found.\n # Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.\n # In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/\n\n # ffmpeg_path = \"C:\\\\Users\\\\harry\\\\Downloads\\\\ffmpeg.exe\"\n #########################################################################################\n\n # 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口\n # 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n # 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名\n # 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n # endpoint=\"https://xxxx.com\"\n\n # When the video is successfully generated, the API service provides a download endpoint for the video, defaulting to the service's current address and listening port.\n # For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n # If you need to provide the service externally using a domain name (usually done with nginx as a proxy), you can set it to your domain name.\n # For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4\n # endpoint=\"https://xxxx.com\"\n endpoint=\"\"\n\n\n # Video material storage location\n # material_directory = \"\" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project\n # material_directory = \"/user/harry/videos\" # Indicates that video materials will be downloaded to a specified folder\n # material_directory = \"task\" # Indicates that video materials will be downloaded to the current task's folder, this method does not allow sharing of already downloaded video materials\n\n # 视频素材存放位置\n # material_directory = \"\" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos\n # material_directory = \"/user/harry/videos\" #表示将视频素材下载到指定的文件夹中\n # material_directory = \"task\" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材\n\n material_directory = \"\"\n\n # Used for state management of the task\n enable_redis = false\n redis_host = \"localhost\"\n redis_port = 6379\n redis_db = 0\n redis_password = \"\"\n\n # 文生视频时的最大并发任务数\n max_concurrent_tasks = 5\n\n # webui界面是否显示配置项\n # webui hide baisc config panel\n hide_config = false\n\n\n[whisper]\n # Only effective when subtitle_provider is \"whisper\"\n\n # Run on GPU with FP16\n # model = WhisperModel(model_size, device=\"cuda\", compute_type=\"float16\")\n\n # Run on GPU with INT8\n # model = WhisperModel(model_size, device=\"cuda\", compute_type=\"int8_float16\")\n\n # Run on CPU with INT8\n # model = WhisperModel(model_size, device=\"cpu\", compute_type=\"int8\")\n\n # recommended model_size: \"large-v3\"\n model_size=\"large-v3\"\n # if you want to use GPU, set device=\"cuda\"\n device=\"CPU\"\n compute_type=\"int8\"\n\n\n[proxy]\n ### Use a proxy to access the Pexels API\n ### Format: \"http://<username>:<password>@<proxy>:<port>\"\n ### Example: \"http://user:pass@proxy:1234\"\n ### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies\n\n # http = \"http://10.10.1.10:3128\"\n # https = \"http://10.10.1.10:1080\"\n\n[azure]\n # Azure Speech API Key\n # Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices\n speech_key=\"\"\n speech_region=\"\""}}}}