Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

feat: modernize WebUI and generation workflows

harry0703b1588e1fdc6c
diff --git a/.gitignore b/.gitignore
index 2d72dd0d..e1575a0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
.DS_Store
/config.toml
+/config.toml.bak
/storage/
/.idea/
/app/services/__pycache__
diff --git a/Dockerfile b/Dockerfile
index ebbf9719..8a0c46c5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,6 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
echo "Attempt $i: installing system dependencies"; \
apt-get update && apt-get install -y --no-install-recommends \
git \
- imagemagick \
ffmpeg && break || \
echo "Attempt $i failed, retrying..."; \
if [ "$DOCKER_BUILD_MIRROR" = "china" ] && [ $i -eq 3 ]; then \
@@ -36,7 +35,6 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
( \
apt-get update && apt-get install -y --no-install-recommends \
git \
- imagemagick \
ffmpeg || \
( \
echo "Tsinghua mirror failed, switching to default Debian mirror"; \
@@ -44,7 +42,6 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
sed -i 's/mirrors.tuna.tsinghua.edu.cn\/debian-security/security.debian.org/g' /etc/apt/sources.list; \
apt-get update && apt-get install -y --no-install-recommends \
git \
- imagemagick \
ffmpeg; \
); \
); \
@@ -53,9 +50,6 @@ RUN if [ "$DOCKER_BUILD_MIRROR" = "china" ]; then \
done \
) && rm -rf /var/lib/apt/lists/*
-# Fix security policy for ImageMagick
-RUN sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml
-
# Copy only the requirements.txt first to leverage Docker cache
COPY requirements.txt ./
@@ -74,8 +68,9 @@ COPY . .
# Expose the port the app runs on
EXPOSE 8501
-# Command to run the application
-CMD ["streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False","--server.showEmailPrompt=False"]
+# 容器内部必须监听 0.0.0.0,宿主机仍通过 docker 端口映射限制为 127.0.0.1。
+# browser.serverAddress 只决定浏览器展示的访问地址,不能替代 server.address。
+CMD ["streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False"]
# 1. Build the Docker image using the following command
# docker build -t moneyprinterturbo .
diff --git a/Dockerfile.gpu b/Dockerfile.gpu
index e610ad5b..5a5b5b34 100644
--- a/Dockerfile.gpu
+++ b/Dockerfile.gpu
@@ -14,7 +14,6 @@ ENV PYTHONPATH="/MoneyPrinterTurbo"
RUN apt-get update && apt-get install -y --no-install-recommends \
software-properties-common \
git \
- imagemagick \
ffmpeg \
curl \
&& add-apt-repository ppa:deadsnakes/ppa \
@@ -29,9 +28,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get remove -y python3-blinker || true \
&& rm -rf /var/lib/apt/lists/*
-# Fix security policy for ImageMagick
-RUN sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml
-
# Copy only the requirements.txt first to leverage Docker cache
COPY requirements.txt ./
@@ -51,5 +47,6 @@ COPY . .
# Expose the port the app runs on
EXPOSE 8501
-# Command to run the application
-CMD ["streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False","--server.showEmailPrompt=False"]
+# 容器内部必须监听 0.0.0.0,宿主机仍通过 docker 端口映射限制为 127.0.0.1。
+# browser.serverAddress 只决定浏览器展示的访问地址,不能替代 server.address。
+CMD ["streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False"]
diff --git a/README-ar.md b/README-ar.md
deleted file mode 100644
index a4941eb8..00000000
--- a/README-ar.md
+++ /dev/null
@@ -1,416 +0,0 @@
-<div align="center">
-<h1 align="center">MoneyPrinterTurbo 💸</h1>
-
-<p align="center">
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/stargazers"><img src="https://img.shields.io/github/stars/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Stargazers"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/issues"><img src="https://img.shields.io/github/issues/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Issues"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/network/members"><img src="https://img.shields.io/github/forks/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Forks"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/blob/main/LICENSE"><img src="https://img.shields.io/github/license/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="License"></a>
-</p>
-
-<h3>العربية | <a href="README-en.md">English</a> | <a href="README.md">简体中文</a></h3>
-
-<div align="center">
- <a href="https://trendshift.io/repositories/8731" target="_blank"><img src="https://trendshift.io/api/badge/repositories/8731" alt="harry0703%2FMoneyPrinterTurbo | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
-</div>
-
-ما عليك سوى تقديم <b>موضوع</b> أو <b>كلمة مفتاحية</b> للفيديو، وسيقوم التطبيق تلقائياً بتوليد نص الفيديو،
-ومواد الفيديو، والترجمة، وموسيقى الخلفية، ثم تركيبها في فيديو قصير عالي الدقة.
-
-### واجهة الويب (WebUI)
-
-![](docs/webui-en.jpg)
-
-### واجهة الـ API
-
-![](docs/api.jpg)
-
-</div>
-
-## المميزات 🎯
-
-- [x] بنية **MVC** كاملة، وكود **واضح التنظيم** وسهل الصيانة، يدعم كلاً من `API` و`واجهة الويب`
-- [x] يدعم **توليد نص الفيديو بالذكاء الاصطناعي**، إضافةً إلى **النص المخصّص**
-- [x] يدعم أحجام **فيديو عالي الدقة** متنوعة
- - [x] عمودي 9:16، `1080x1920`
- - [x] أفقي 16:9، `1920x1080`
-- [x] يدعم **توليد الفيديو دفعةً واحدة**، فيمكن إنشاء عدة فيديوهات معاً ثم اختيار الأفضل
-- [x] يدعم ضبط **مدة مقاطع الفيديو**، مما يسهّل التحكم في تكرار تبديل المواد
-- [x] يدعم نص الفيديو بكل من **الصينية** و**الإنجليزية**
-- [x] يدعم **تركيب أصوات متعددة**، مع **معاينة فورية** للنتيجة
-- [x] يدعم **توليد الترجمة**، مع إمكانية ضبط `الخط` و`الموضع` و`اللون` و`الحجم`، كما يدعم `تحديد إطار الترجمة`
-- [x] يدعم **موسيقى الخلفية**، إما عشوائية أو ملفات موسيقى محدّدة، مع إمكانية ضبط `مستوى صوت موسيقى الخلفية`
-- [x] مصادر مواد الفيديو **عالية الدقة** و**خالية من حقوق الملكية**، كما يمكنك استخدام **موادك المحلية** الخاصة
-- [x] يدعم التكامل مع نماذج متعددة مثل **OpenAI** و**Moonshot** و**Azure** و**one-api** و**Qwen** و**Google Gemini** و**Ollama** و**DeepSeek** و**MiniMax** و**ERNIE** و**Pollinations** و**ModelScope** وغيرها
-
-## عروض فيديو توضيحية 📺
-
-### عمودي 9:16
-
-<table>
-<thead>
-<tr>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> كيف تضيف المتعة إلى حياتك </th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> ما معنى الحياة</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/a84d33d5-27a2-4aba-8fd0-9fb2bd91c6a6"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/112c9564-d52b-4472-99ad-970b75f66476"></video></td>
-</tr>
-</tbody>
-</table>
-
-### أفقي 16:9
-
-<table>
-<thead>
-<tr>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> ما معنى الحياة</th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> لماذا تمارس الرياضة</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/346ebb15-c55f-47a9-a653-114f08bb8073"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/271f2fae-8283-44a0-8aa0-0ed8f9a6fa87"></video></td>
-</tr>
-</tbody>
-</table>
-
-## متطلبات النظام 📦
-
-- المنصّات المُوصى بها: Windows 10+ أو macOS 11+ أو توزيعة Linux رئيسية
-- وجود كرت رسومات (GPU) ليس ضرورياً، لكنه مُستحسَن إن أردت نسخاً صوتياً محلياً أسرع، أو معالجة فيديو أسرع، أو توليداً دفعياً أكثر سلاسة
-
-| العنصر | الحد الأدنى | المُوصى به | الأمثل |
-| --- | --- | --- | --- |
-| المعالج (CPU) | 4 أنوية | 6 إلى 8 أنوية | 8+ أنوية |
-| الذاكرة (RAM) | 4 GB | 8 GB | 16+ GB |
-| كرت الرسومات (GPU) | غير مطلوب | 4+ GB VRAM | 8+ GB VRAM |
-
-- إذا كنت تعتمد أساساً على نماذج LLM السحابية، وخدمات TTS السحابية، ومصادر المواد عبر الإنترنت، فإن المعالج والذاكرة أهم من كرت الرسومات
-- إذا كنت تستخدم `faster-whisper` أو التوليد الدفعي أو المعالجة المحلية الثقيلة، فسيحسّن كرت الرسومات الإنتاجية بشكل ملحوظ
-
-## البدء السريع 🚀
-
-### المسارات المُوصى بها
-
-- مستخدمو Windows: استخدم الحزمة الجاهزة بنقرة واحدة أولاً للتجربة المحلية الأسرع
-- مستخدمو MacOS / Linux: استخدم `uv sync --frozen` كمسار الإعداد المحلي الأساسي
-- إذا أردت بيئة تشغيل أكثر عزلاً: استخدم النشر عبر Docker
-
-### التشغيل في Google Colab
-تريد تجربة MoneyPrinterTurbo دون إعداد بيئة محلية؟ شغّله مباشرةً في Google Colab!
-
-[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/harry0703/MoneyPrinterTurbo/blob/main/docs/MoneyPrinterTurbo.ipynb)
-
-
-### Windows
-
-الحزمة القابلة للتنزيل ما زالت بناء `v1.2.6` القديم المُجمّع. بعد التنزيل، شغّل `update.bat` أولاً لتحديثه إلى أحدث كود.
-
-Google Drive (v1.2.6): https://drive.google.com/file/d/1HsbzfT7XunkrCrHw5ncUjFX8XX4zAuUh/view?usp=sharing
-
-بعد التنزيل، يُنصح بالنقر المزدوج على `update.bat` أولاً للتحديث إلى **أحدث كود**، ثم النقر المزدوج على `start.bat` للتشغيل
-
-بعد التشغيل، سيُفتح المتصفح تلقائياً (إن فُتح فارغاً، يُنصح باستخدام **Chrome** أو **Edge**)
-
-### الأنظمة الأخرى
-
-لم تُنشأ حزم تشغيل بنقرة واحدة بعد. راجع قسم **التثبيت والنشر** أدناه. يُنصح باستخدام **docker** للنشر لأنه أكثر سهولة.
-
-## التثبيت والنشر 📥
-
-### المتطلبات المُسبقة
-
-#### ① استنساخ المشروع
-
-```shell
-git clone https://github.com/harry0703/MoneyPrinterTurbo.git
-```
-
-#### ② تعديل ملف الإعدادات
-
-- انسخ ملف `config.example.toml` وأعد تسميته إلى `config.toml`
-- اتبع التعليمات داخل ملف `config.toml` لضبط `pexels_api_keys` و`llm_provider`، وبحسب مزوّد خدمة الـ llm_provider، اضبط مفتاح الـ API المقابل
-
-### النشر عبر Docker 🐳
-
-#### ① تشغيل حاوية Docker
-
-إذا لم تكن قد ثبّت Docker، فثبّته أولاً https://www.docker.com/products/docker-desktop/
-إذا كنت تستخدم نظام Windows، فراجع وثائق Microsoft:
-
-1. https://learn.microsoft.com/en-us/windows/wsl/install
-2. https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers
-
-```shell
-cd MoneyPrinterTurbo
-docker-compose up
-```
-
-> ملاحظة: أحدث إصدار من docker يثبّت docker compose تلقائياً على هيئة إضافة (plug-in)، ويتغيّر أمر التشغيل إلى `docker compose up`
-
-#### ② الوصول إلى واجهة الويب
-
-افتح متصفحك وزر http://127.0.0.1:8501
-
-#### ③ الوصول إلى واجهة الـ API
-
-افتح متصفحك وزر http://0.0.0.0:8080/docs أو http://0.0.0.0:8080/redoc
-
-### النشر اليدوي 📦
-
-#### ① إنشاء بيئة Python افتراضية
-
-يُنصح باستخدام [uv](https://docs.astral.sh/uv/) لإدارة بيئة Python والاعتماديات، مع Python `3.11` كبيئة تشغيل افتراضية.
-
-```shell
-git clone https://github.com/harry0703/MoneyPrinterTurbo.git
-cd MoneyPrinterTurbo
-uv python install 3.11
-uv sync --frozen
-```
-
-إذا كنت لا تستخدم `uv` بعد، فما زال بإمكانك استخدام `venv + pip`.
-
-```shell
-python3.11 -m venv .venv
-source .venv/bin/activate
-pip install -r requirements.txt
-```
-
-ملاحظات:
-- أصبح `pyproject.toml` هو ملف الاعتماديات الأساسي.
-- يُثبّت `uv.lock` البيئة المُحدّدة، لذا يُنصح بـ `uv sync --frozen` افتراضياً.
-- يُحتفظ بـ `requirements.txt` فقط للتثبيت القديم المعتمد على `pip`.
-
-#### ② تثبيت ImageMagick
-
-###### Windows:
-
-- نزّل من https://imagemagick.org/script/download.php واختر نسخة Windows، وتأكد من اختيار نسخة **المكتبة الساكنة (static library)**، مثل ImageMagick-7.1.1-32-Q16-x64-**static**.exe
-- ثبّت ImageMagick الذي نزّلته، **ولا تغيّر مسار التثبيت**
-- عدّل ملف الإعدادات `config.toml`، واضبط `imagemagick_path` على مسار التثبيت الفعلي لديك
-
-###### MacOS:
-
-```shell
-brew install imagemagick
-```
-
-###### Ubuntu
-
-```shell
-sudo apt-get install imagemagick
-```
-
-###### CentOS
-
-```shell
-sudo yum install ImageMagick
-```
-
-#### ③ تشغيل واجهة الويب 🌐
-
-لاحظ أنك بحاجة لتنفيذ الأوامر التالية في `المجلد الجذر` لمشروع MoneyPrinterTurbo
-
-###### Windows
-
-```shell
-uv run streamlit run ./webui/Main.py --browser.gatherUsageStats=False --server.showEmailPrompt=False
-```
-
-إذا كنت قد فعّلت البيئة الافتراضية يدوياً، فما زال بإمكانك تشغيل:
-
-```bat
-webui.bat
-```
-
-###### MacOS أو Linux
-
-```shell
-uv run streamlit run ./webui/Main.py --browser.gatherUsageStats=False --server.showEmailPrompt=False
-```
-
-إذا كنت قد فعّلت البيئة الافتراضية يدوياً، فما زال بإمكانك تشغيل:
-
-```shell
-sh webui.sh
-```
-
-بعد التشغيل، سيُفتح المتصفح تلقائياً
-
-#### ④ تشغيل خدمة الـ API 🚀
-
-```shell
-uv run python main.py
-```
-
-إذا كنت قد فعّلت البيئة الافتراضية يدوياً، فما زال بإمكانك تشغيل:
-
-```shell
-python main.py
-```
-
-## شكر خاص 🙏
-
-نظراً لأن **نشر** و**استخدام** هذا المشروع يمثّل عتبةً معينة لبعض المستخدمين المبتدئين، نودّ أن نتقدّم بشكر خاص إلى
-
-**RecCloud (منصة خدمات وسائط متعددة مدعومة بالذكاء الاصطناعي)** لتقديمها خدمة `AI Video Generator` مجانية مبنية على هذا
-المشروع. فهي تتيح الاستخدام عبر الإنترنت دون نشر، وهو أمر مريح للغاية.
-
-- النسخة الصينية: https://reccloud.cn
-- النسخة الإنجليزية: https://reccloud.com
-
-![](docs/reccloud.com.jpg)
-
-## شكراً للرعاية 🙏
-
-شكراً لـ Picwish https://picwish.com على دعمها ورعايتها لهذا المشروع، مما يتيح التحديث والصيانة المستمرّين.
-
-تركّز Picwish على **مجال معالجة الصور**، وتوفّر مجموعة غنية من **أدوات معالجة الصور** التي تبسّط العمليات المعقّدة إلى حدٍّ بعيد، فتجعل معالجة الصور أسهل حقاً.
-
-![picwish.jpg](docs/picwish.com.jpg)
-
-بعد التشغيل، يمكنك عرض `وثائق الـ API` على http://127.0.0.1:8080/docs واختبار الواجهة مباشرةً عبر الإنترنت
-لتجربة سريعة.
-
-## تركيب الصوت 🗣
-
-يمكن عرض قائمة بجميع الأصوات المدعومة هنا: [قائمة الأصوات](./docs/voice-list.txt)
-
-2024-04-16 v1.1.2 أُضيفت 9 أصوات تركيب صوتي جديدة من Azure تتطلب ضبط مفتاح API. هذه الأصوات تبدو أكثر واقعية.
-
-## توليد الترجمة 📜
-
-حالياً، هناك طريقتان لتوليد الترجمة:
-
-- **edge**: سرعة توليد أعلى، وأداء أفضل، ولا متطلبات خاصة لمواصفات الحاسوب، لكن الجودة قد تكون غير مستقرة
-- **whisper**: سرعة توليد أبطأ، وأداء أضعف، ومتطلبات خاصة لمواصفات الحاسوب، لكن الجودة أكثر موثوقية
-
-يمكنك التبديل بينهما بتعديل `subtitle_provider` في ملف الإعدادات `config.toml`
-
-يُنصح باستخدام وضع `edge`، والتبديل إلى وضع `whisper` إذا كانت جودة الترجمة المُولّدة غير مُرضية.
-
-> ملاحظة:
->
-> 1. في وضع whisper، تحتاج إلى تنزيل ملف نموذج من HuggingFace بحجم نحو 3GB، فتأكد من اتصال إنترنت جيد
-> 2. إذا تُرك فارغاً، فهذا يعني أنه لن تُولَّد أي ترجمة.
-
-> بما أن HuggingFace غير متاح في الصين، يمكنك استخدام الطرق التالية لتنزيل ملف نموذج `whisper-large-v3`
-
-روابط التنزيل:
-
-- Baidu Netdisk: https://pan.baidu.com/s/11h3Q6tsDtjQKTjUu3sc5cA?pwd=xjs9
-- Quark Netdisk: https://pan.quark.cn/s/3ee3d991d64b
-
-بعد تنزيل النموذج، فُكّ ضغطه وضع المجلد بالكامل في `.\MoneyPrinterTurbo\models`،
-وينبغي أن يبدو مسار الملف النهائي هكذا: `.\MoneyPrinterTurbo\models\whisper-large-v3`
-
-```
-MoneyPrinterTurbo
- ├─models
- │ └─whisper-large-v3
- │ config.json
- │ model.bin
- │ preprocessor_config.json
- │ tokenizer.json
- │ vocabulary.json
-```
-
-## موسيقى الخلفية 🎵
-
-تقع موسيقى خلفية الفيديوهات في مجلد المشروع `resource/songs`.
-> يتضمّن المشروع الحالي بعض الموسيقى الافتراضية من فيديوهات YouTube. إن وُجدت مشكلات حقوق نشر، فالرجاء حذفها.
-
-## خطوط الترجمة 🅰
-
-تقع خطوط عرض ترجمة الفيديو في مجلد المشروع `resource/fonts`، ويمكنك أيضاً إضافة خطوطك الخاصة.
-
-## الأسئلة الشائعة 🤔
-
-### ❓RuntimeError: No ffmpeg exe could be found
-
-في الوضع الطبيعي، يُنزَّل ffmpeg ويُكتشَف تلقائياً.
-لكن إذا كانت بيئتك تعاني مشكلات تمنع التنزيل التلقائي، فقد تواجه الخطأ التالي:
-
-```
-RuntimeError: No ffmpeg exe could be found.
-Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
-```
-
-في هذه الحالة، يمكنك تنزيل ffmpeg من https://www.gyan.dev/ffmpeg/builds/ ثم فك ضغطه وضبط `ffmpeg_path` على مسار
-التثبيت الفعلي لديك.
-
-```toml
-[app]
-# الرجاء الضبط بحسب مسارك الفعلي، ولاحظ أن فاصل المسارات في Windows هو \\
-ffmpeg_path = "C:\\Users\\harry\\Downloads\\ffmpeg.exe"
-```
-
-### ❓ImageMagick is not installed on your computer
-
-[issue 33](https://github.com/harry0703/MoneyPrinterTurbo/issues/33)
-
-1. اتبع `عنوان التنزيل` الموجود في `الإعداد النموذجي`
- لتثبيت https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-30-Q16-x64-static.exe (باستخدام المكتبة الساكنة)
-2. لا تثبّت في مسار يحتوي على أحرف صينية لتجنّب مشكلات غير متوقّعة
-
-[issue 54](https://github.com/harry0703/MoneyPrinterTurbo/issues/54#issuecomment-2017842022)
-
-لأنظمة Linux، يمكنك تثبيته يدوياً، راجع https://cn.linux-console.net/?p=16978
-
-شكراً لـ [@wangwenqiao666](https://github.com/wangwenqiao666) على بحثه واستكشافه
-
-### ❓ImageMagick's security policy prevents operations related to temporary file @/tmp/tmpur5hyyto.txt
-
-يمكنك إيجاد هذه السياسات في ملف إعدادات ImageMagick policy.xml.
-يقع هذا الملف عادةً في /etc/ImageMagick-`X`/ أو موقع مشابه في مجلد تثبيت ImageMagick.
-عدّل المُدخل الذي يحتوي على `pattern="@"`، وغيّر `rights="none"` إلى `rights="read|write"` للسماح بعمليات القراءة والكتابة على الملفات.
-
-### ❓OSError: [Errno 24] Too many open files
-
-تنتج هذه المشكلة عن حدّ النظام لعدد الملفات المفتوحة. يمكنك حلّها بتعديل حدّ فتح الملفات في النظام.
-
-تحقّق من الحدّ الحالي:
-
-```shell
-ulimit -n
-```
-
-إن كان منخفضاً جداً، يمكنك زيادته، مثلاً:
-
-```shell
-ulimit -n 10240
-```
-
-### ❓Whisper model download failed, with the following error
-
-LocalEntryNotfoundEror: Cannot find an appropriate cached snapshotfolderfor the specified revision on the local disk and
-outgoing trafic has been disabled.
-To enablerepo look-ups and downloads online, pass 'local files only=False' as input.
-
-أو
-
-An error occurred while synchronizing the model Systran/faster-whisper-large-v3 from the Hugging Face Hub:
-An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the
-specified revision on the local disk. Please check your internet connection and try again.
-Trying to load the model directly from the local cache, if it exists.
-
-الحل: [اضغط لمعرفة كيفية تنزيل النموذج يدوياً من قرص الشبكة](#توليد-الترجمة-)
-
-## الملاحظات والاقتراحات 📢
-
-- يمكنك إرسال [issue](https://github.com/harry0703/MoneyPrinterTurbo/issues) أو
- [pull request](https://github.com/harry0703/MoneyPrinterTurbo/pulls).
-
-## الرخصة 📝
-
-اضغط لعرض ملف [`LICENSE`](LICENSE)
-
-## تاريخ النجوم (Star History)
-
-[![Star History Chart](https://api.star-history.com/svg?repos=harry0703/MoneyPrinterTurbo&type=Date)](https://star-history.com/#harry0703/MoneyPrinterTurbo&Date)
diff --git a/README-en.md b/README-en.md
index d8b06e89..c92a1fc9 100644
--- a/README-en.md
+++ b/README-en.md
@@ -1,33 +1,34 @@
<div align="center">
-<h1 align="center">MoneyPrinterTurbo 💸</h1>
-<p align="center">
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/stargazers"><img src="https://img.shields.io/github/stars/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Stargazers"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/issues"><img src="https://img.shields.io/github/issues/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Issues"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/network/members"><img src="https://img.shields.io/github/forks/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Forks"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/blob/main/LICENSE"><img src="https://img.shields.io/github/license/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="License"></a>
-</p>
+# MoneyPrinterTurbo 💸
-<h3>English | <a href="README.md">简体中文</a> | <a href="README-ar.md">العربية</a></h3>
+### An All-in-One AI Short Video Generator
+
+Provide a video <b>topic</b> or <b>keyword</b>, and MoneyPrinterTurbo will generate the script, match footage, create subtitles and background music, and produce an HD short video.
+
+[![Version](https://img.shields.io/github/v/release/harry0703/MoneyPrinterTurbo?color=blue&label=version)](https://github.com/harry0703/MoneyPrinterTurbo/releases)
+[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)
+[![Python](https://img.shields.io/badge/python-3.11%2B-3776AB?logo=python&logoColor=white)](https://www.python.org/)
+[![Downloads](https://img.shields.io/github/downloads/harry0703/MoneyPrinterTurbo/total)](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)
+
+<a href="https://trendshift.io/repositories/8731" target="_blank"><img src="https://trendshift.io/api/badge/repositories/8731" alt="harry0703%2FMoneyPrinterTurbo | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
+<a href="https://www.star-history.com/harry0703/moneyprinterturbo"><img src="https://api.star-history.com/badge?repo=harry0703/MoneyPrinterTurbo" alt="Star History Rank" style="height: 55px;" height="55"/></a>
+
+English | [简体中文](README.md) | [Releases](https://github.com/harry0703/MoneyPrinterTurbo/releases) | [Issues](https://github.com/harry0703/MoneyPrinterTurbo/issues)
-<div align="center">
- <a href="https://trendshift.io/repositories/8731" target="_blank"><img src="https://trendshift.io/api/badge/repositories/8731" alt="harry0703%2FMoneyPrinterTurbo | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>
-Simply provide a <b>topic</b> or <b>keyword</b> for a video, and it will automatically generate the video copy, video
-materials, video subtitles, and video background music before synthesizing a high-definition short video.
+## Screenshots 🖥️
-### WebUI
+<h4 align="center">WebUI</h4>
![](docs/webui-en.jpg)
-### API Interface
+<h4 align="center">API</h4>
![](docs/api.jpg)
-</div>
-
-## Special Thanks 🙏
+## Special Thanks ❤️
<div align="center">
<a href="https://platform.kimi.ai?aff=MoneyPrinterTurbo" target="_blank"><img src="https://gcdn.moonshot.cn/growth-cdn/sponsor/kimi-en.png" alt="Kimi sponsors MoneyPrinterTurbo" width="100%"></a>
@@ -40,121 +41,121 @@ Thanks to [Kimi](https://platform.kimi.ai?aff=MoneyPrinterTurbo) for sponsoring
<br>
<table align="center">
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://www.byteplus.com/en/product/modelark?utm_campaign=hw&utm_content=MoneyPrinterTurbo&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo"><img src="docs/sponsors/byteplus-logo.svg" alt="BytePlus" height="25"></a><br>
<a href="https://www.byteplus.com/en/product/modelark?utm_campaign=hw&utm_content=MoneyPrinterTurbo&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo"><strong>BytePlus ModelArk</strong></a>
</td>
<td align="left">
- <sub>Thanks to Dola Seed for sponsoring this project! <a href="https://www.byteplus.com/en/product/modelark?utm_campaign=hw&utm_content=MoneyPrinterTurbo&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo">Dola Seed 2.0</a> is a full-modal general large model independently developed by ByteDance for the global market. Built on a unified multimodal architecture, it supports joint understanding and generation of text, images, audio, and video. It natively enables agent collaboration, with strong reasoning, long-task execution, tool integration, and coding capabilities. Register via this link to get 500,000 tokens of free inference quota per model.</sub>
+ Thanks to Dola Seed for sponsoring this project! <a href="https://www.byteplus.com/en/product/modelark?utm_campaign=hw&utm_content=MoneyPrinterTurbo&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo">Dola Seed 2.0</a> is a full-modal general large model independently developed by ByteDance for the global market. Built on a unified multimodal architecture, it supports joint understanding and generation of text, images, audio, and video. It natively enables agent collaboration, with strong reasoning, long-task execution, tool integration, and coding capabilities. Register via this link to get 500,000 tokens of free inference quota per model.
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://www.ccsub.net/register?ref=VCVDAWWY"><img src="docs/sponsors/ccsub-logo.png" alt="CCSub" height="36"></a><br>
<a href="https://www.ccsub.net/register?ref=VCVDAWWY"><strong>CCSub</strong></a>
</td>
<td align="left">
- <sub>Thanks to <a href="https://www.ccsub.net/register?ref=VCVDAWWY">CCSub</a> for sponsoring this project! CCSub is a stable, affordable AI API relay platform — your drop-in replacement for a Claude.ai subscription. One API key gives you access to Claude Opus 4.8, Sonnet, Haiku, GPT-5, and Gemini at roughly 30% of direct API cost, with no VPN required from anywhere in the world. Compatible with Claude Code, Codex, Cursor, Cline, Continue, Windsurf, and all major AI coding tools. Register at <a href="https://www.ccsub.net/register?ref=VCVDAWWY">www.ccsub.net</a> and get $5 free credit on sign-up.</sub>
+ Thanks to <a href="https://www.ccsub.net/register?ref=VCVDAWWY">CCSub</a> for sponsoring this project! CCSub is a stable, affordable AI API relay platform — your drop-in replacement for a Claude.ai subscription. One API key gives you access to Claude Opus 4.8, Sonnet, Haiku, GPT-5, and Gemini at roughly 30% of direct API cost, with no VPN required from anywhere in the world. Compatible with Claude Code, Codex, Cursor, Cline, Continue, Windsurf, and all major AI coding tools. Register at <a href="https://www.ccsub.net/register?ref=VCVDAWWY">www.ccsub.net</a> and get $5 free credit on sign-up.
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu"><img src="docs/sponsors/compshare-logo.png" alt="Compshare" height="34"></a><br>
<a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu"><strong>Compshare</strong></a>
</td>
<td align="left">
- <sub>Thanks to <a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">Compshare</a> for sponsoring this project! Compshare is an AI cloud platform under UCloud that provides one-stop API access to mainstream Chinese and international models with a single key. Its CodingPlan package focuses on cost-effective Chinese models such as GLM5.2 and Deepseek-v4, while also offering stable official relay channels for overseas models across different development scenarios. It is compatible with Claude Code, Codex, and other mainstream AI coding tools and general API calls, with enterprise-grade high concurrency, 24/7 technical support, and self-service invoicing. <a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">Register now</a> to receive up to ¥10 in free trial credits.</sub>
+ Thanks to <a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">Compshare</a> for sponsoring this project! Compshare is an AI cloud platform under UCloud that provides one-stop API access to mainstream Chinese and international models with a single key. Its CodingPlan package focuses on cost-effective Chinese models such as GLM5.2 and Deepseek-v4, while also offering stable official relay channels for overseas models across different development scenarios. It is compatible with Claude Code, Codex, and other mainstream AI coding tools and general API calls, with enterprise-grade high concurrency, 24/7 technical support, and self-service invoicing. <a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">Register now</a> to receive up to ¥10 in free trial credits.
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><img src="docs/sponsors/cubence-logo.png" alt="Cubence" height="40"></a><br>
<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><strong>Cubence</strong></a>
</td>
<td align="left">
- <sub>Thanks to <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">Cubence</a> for supporting this project. Cubence is a platform focused on AI model API access, helping developers and teams call models in a stable and convenient way. Since its launch in September 2025, Cubence has supported API access scenarios for Claude Code, Codex, Gemini, and other AI models and developer tools, making it suitable for users who need unified management and access to multiple model capabilities. Cubence offers MoneyPrinterTurbo users an exclusive discount code: <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><code>MPT</code></a>. Use it on your first purchase to get <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">10% off</a>.</sub>
+ Thanks to <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">Cubence</a> for supporting this project. Cubence is a platform focused on AI model API access, helping developers and teams call models in a stable and convenient way. Since its launch in September 2025, Cubence has supported API access scenarios for Claude Code, Codex, Gemini, and other AI models and developer tools, making it suitable for users who need unified management and access to multiple model capabilities. Cubence offers MoneyPrinterTurbo users an exclusive discount code: <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><code>MPT</code></a>. Use it on your first purchase to get <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">10% off</a>.
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://reccloud.com"><img src="docs/sponsors/reccloud-logo.svg" alt="RecCloud" height="36"></a><br>
<a href="https://reccloud.com"><strong>RecCloud</strong></a>
</td>
<td align="left">
- <sub>Due to the <strong>deployment</strong> and <strong>usage</strong> of this project, there is a certain threshold for some beginner users. We would like to express our special thanks to <a href="https://reccloud.com">RecCloud (AI-Powered Multimedia Service Platform)</a> for providing a free <code>AI Video Generator</code> service based on this project. It allows for online use without deployment, which is very convenient.</sub>
+ Due to the <strong>deployment</strong> and <strong>usage</strong> of this project, there is a certain threshold for some beginner users. We would like to express our special thanks to <a href="https://reccloud.com">RecCloud (AI-Powered Multimedia Service Platform)</a> for providing a free <code>AI Video Generator</code> service based on this project. It allows for online use without deployment, which is very convenient.
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://picwish.com"><img src="docs/sponsors/picwish-logo.svg" alt="Picwish" height="36"></a><br>
<a href="https://picwish.com"><strong>Picwish</strong></a>
</td>
<td align="left">
- <sub>Thanks to <a href="https://picwish.com">Picwish</a> for supporting and sponsoring this project, enabling continuous updates and maintenance. Picwish focuses on the <strong>image processing field</strong>, providing a rich set of <strong>image processing tools</strong> that extremely simplify complex operations, truly making image processing easier.</sub>
+ Thanks to <a href="https://picwish.com">Picwish</a> for supporting and sponsoring this project, enabling continuous updates and maintenance. Picwish focuses on the <strong>image processing field</strong>, providing a rich set of <strong>image processing tools</strong> that extremely simplify complex operations, truly making image processing easier.
</td>
</tr>
</table>
## Features 🎯
-- [x] Complete **MVC architecture**, **clearly structured** code, easy to maintain, supports both `API`
- and `Web interface`
-- [x] Supports **AI-generated** video copy, as well as **customized copy**
+- [x] Provides **AI Agent**, **WebUI**, **API**, and **CLI** workflows, with code organized by controller, service, and model responsibilities
+- [x] Supports **AI-generated video scripts** and custom scripts
- [x] Supports various **high-definition video** sizes
- [x] Portrait 9:16, `1080x1920`
- [x] Landscape 16:9, `1920x1080`
- [x] Supports **batch video generation**, allowing the creation of multiple videos at once, then selecting the most
satisfactory one
- [x] Supports setting the **duration of video clips**, facilitating adjustments to material switching frequency
-- [x] Supports video copy in both **Chinese** and **English**
-- [x] Supports **multiple voice** synthesis, with **real-time preview** of effects
-- [x] Supports **subtitle generation**, with adjustable `font`, `position`, `color`, `size`, and also
- supports `subtitle outlining`
-- [x] Supports **background music**, either random or specified music files, with adjustable `background music volume`
-- [x] Video material sources are **high-definition** and **royalty-free**, and you can also use your own **local materials**
-- [x] Supports multiple stock video providers: **Pexels**, **Pixabay**, and **Coverr**
-- [x] Optional **TwelveLabs** video AI integration: use **Marengo** embeddings to semantically rank B-roll search terms against your subject, and **Pegasus** to QA/describe clips ([TwelveLabs API key](https://twelvelabs.io))
-- [x] Supports integration with various models such as **Kimi/Moonshot**, **OpenAI**, **AIHubMix**, **AIML API**, **EvoLink**, **Azure**, **one-api**, **Qwen**, **Google Gemini**, **Ollama**, **DeepSeek**, **MiniMax**, **ERNIE**, **Pollinations**, **ModelScope** and more
-
-## Video Demos 📺
+- [x] Supports **multilingual video script** generation
+- [x] Supports **Edge TTS**, **Azure Speech**, **SiliconFlow**, **Google Gemini**, **Xiaomi MiMo**, **ElevenLabs**, and **Chatterbox** speech synthesis with real-time previews
+- [x] Supports **subtitle generation** with configurable fonts, position, color, size, outline, and background styles
+- [x] Supports random or custom **background music** with adjustable volume
+- [x] Supports your own **local assets** and free-to-use HD footage from **Pexels**, **Pixabay**, and **Coverr**
+- [x] Supports leading model providers including **Kimi / Moonshot AI**, **OpenAI**, **Google Gemini**, **DeepSeek**, **Alibaba Cloud Qwen**, **Microsoft Azure OpenAI**, **ByteDance VolcEngine Ark**, **xAI Grok**, **MiniMax**, and **Xiaomi MiMo**, plus unified gateways, aggregators, and local runtimes such as **Cloudflare AI Gateway**, **Alibaba ModelScope**, **AIHubMix**, **AIML API**, **EvoLink**, **Ollama**, **OneAPI**, **LiteLLM**, **Groq**, and **Pollinations AI**
+- [x] Supports one-click **cross-platform publishing** to **TikTok**, **Instagram**, and **YouTube Shorts** after video generation
+
+## Gallery 🎬
+
+All examples below were generated with MoneyPrinterTurbo.
### Portrait 9:16
-<table>
-<thead>
+<table width="100%">
<tr>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> How to Add Fun to Your Life </th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> What is the Meaning of Life</th>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=03-zh-portrait-city-morning.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/03-zh-portrait-city-morning.jpg" width="180" alt="When the City Wakes"></a><br><strong>When the City Wakes</strong><br>Chinese · 14 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=05-zh-portrait-clean-energy.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/05-zh-portrait-clean-energy.jpg" width="180" alt="The Future of Clean Energy"></a><br><strong>The Future of Clean Energy</strong><br>Chinese · 24 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=07-zh-portrait-space-exploration.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/07-zh-portrait-space-exploration.jpg" width="180" alt="Why We Still Explore Space"></a><br><strong>Why We Still Explore Space</strong><br>Chinese · 27 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=17-zh-portrait-seed-journey.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/17-zh-portrait-seed-journey.jpg" width="180" alt="A Seed's Journey"></a><br><strong>A Seed's Journey</strong><br>Chinese · 44 sec</td>
</tr>
-</thead>
-<tbody>
<tr>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/a84d33d5-27a2-4aba-8fd0-9fb2bd91c6a6"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/112c9564-d52b-4472-99ad-970b75f66476"></video></td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=09-en-portrait-future-robotics.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/09-en-portrait-future-robotics.jpg" width="180" alt="The Future of Everyday Robotics"></a><br><strong>The Future of Everyday Robotics</strong><br>English · 21 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=11-en-portrait-small-habits.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/11-en-portrait-small-habits.jpg" width="180" alt="Small Habits, Lasting Change"></a><br><strong>Small Habits, Lasting Change</strong><br>English · 19 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=13-en-portrait-creative-work.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/13-en-portrait-creative-work.jpg" width="180" alt="Making Space for Creative Work"></a><br><strong>Making Space for Creative Work</strong><br>English · 20 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=15-en-portrait-coffee-science.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/15-en-portrait-coffee-science.jpg" width="180" alt="The Science Inside Coffee"></a><br><strong>The Science Inside Coffee</strong><br>English · 23 sec</td>
</tr>
-</tbody>
</table>
### Landscape 16:9
-<table>
-<thead>
+<table width="100%">
<tr>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> What is the Meaning of Life</th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> Why Exercise</th>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=02-zh-landscape-deep-ocean.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/02-zh-landscape-deep-ocean.jpg" width="280" alt="Light in the Deep Ocean"></a><br><strong>Light in the Deep Ocean</strong><br>Chinese · 23 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=04-zh-landscape-reading-power.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/04-zh-landscape-reading-power.jpg" width="280" alt="How Reading Shapes Us"></a><br><strong>How Reading Shapes Us</strong><br>Chinese · 23 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=06-zh-landscape-pour-over-coffee.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/06-zh-landscape-pour-over-coffee.jpg" width="280" alt="The Details of Pour-Over Coffee"></a><br><strong>The Details of Pour-Over Coffee</strong><br>Chinese · 23 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=08-zh-landscape-spring-journey.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/08-zh-landscape-spring-journey.jpg" width="280" alt="Spring Is Made for Travel"></a><br><strong>Spring Is Made for Travel</strong><br>Chinese · 14 sec</td>
</tr>
-</thead>
-<tbody>
<tr>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/346ebb15-c55f-47a9-a653-114f08bb8073"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/271f2fae-8283-44a0-8aa0-0ed8f9a6fa87"></video></td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=10-en-landscape-ocean-conservation.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/10-en-landscape-ocean-conservation.jpg" width="280" alt="Why Ocean Conservation Matters"></a><br><strong>Why Ocean Conservation Matters</strong><br>English · 25 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=14-en-landscape-sustainable-cities.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/14-en-landscape-sustainable-cities.jpg" width="280" alt="Designing More Sustainable Cities"></a><br><strong>Designing More Sustainable Cities</strong><br>English · 27 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=16-en-landscape-mountain-perspective.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/16-en-landscape-mountain-perspective.jpg" width="280" alt="What Mountains Teach Us"></a><br><strong>What Mountains Teach Us</strong><br>English · 18 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=18-en-landscape-history-of-flight.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/18-en-landscape-history-of-flight.jpg" width="280" alt="A Brief History of Human Flight"></a><br><strong>A Brief History of Human Flight</strong><br>English · 59 sec</td>
</tr>
-</tbody>
</table>
## System Requirements 📦
- Recommended platforms: Windows 10+, macOS 11+, or a mainstream Linux distribution
+- Local deployment requires Python 3.11 or later; Python 3.11 is recommended
- A GPU is not required, but it is recommended if you want faster local transcription, faster video processing, or smoother batch generation
| Item | Minimum | Recommended | Optimal |
@@ -170,10 +171,20 @@ Thanks to [Kimi](https://platform.kimi.ai?aff=MoneyPrinterTurbo) for sponsoring
### Recommended Paths
+- If you do not want to install or configure the project manually: generate videos with an AI Agent
- Windows users: use the one-click package first for the fastest local trial
-- MacOS / Linux users: use `uv sync --frozen` for the primary local setup path
+- macOS / Linux users: use `uv` for the primary local setup path
- If you want a more isolated runtime: use Docker deployment
+### Generate Videos with an AI Agent
+
+If your AI Agent can read Skill documents and operate a local terminal, send it the prompt below. The Agent will install and configure MoneyPrinterTurbo, generate the video, and return the video file path. It will ask only for required API keys that are not already configured. This workflow currently supports macOS and Windows.
+
+```text
+Use this Skill: https://raw.githubusercontent.com/harry0703/MoneyPrinterTurbo/main/docs/skill/SKILL.md
+Create a video with the topic "How AI is changing everyday life."
+```
+
### Run in Google Colab
Want to try MoneyPrinterTurbo without setting up a local environment? Run it directly in Google Colab!
@@ -190,25 +201,26 @@ After downloading, it is recommended to **double-click** `update.bat` first to u
After launching, the browser will open automatically (if it opens blank, it is recommended to use **Chrome** or **Edge**)
-### Other Systems
+### macOS / Linux
-One-click startup packages have not been created yet. See the **Installation & Deployment** section below. It is recommended to use **docker** for deployment, which is more convenient.
+Use the local setup or Docker instructions below.
## Installation & Deployment 📥
### Prerequisites
+- Local deployment requires Python 3.11 or later
+- On Windows, avoid project paths containing non-ASCII characters, special characters, or spaces
+
#### ① Clone the Project
```shell
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
```
-#### ② Modify the Configuration File
+#### ② Configure the Project (Optional)
-- Copy the `config.example.toml` file and rename it to `config.toml`
-- Follow the instructions in the `config.toml` file to configure `pexels_api_keys` and `llm_provider`, and according to
- the llm_provider's service provider, set up the corresponding API Key
+On first launch, the project creates `config.toml` from `config.example.toml`. You can configure the LLM provider, footage source, and related API keys directly in the WebUI basic settings.
### Docker Deployment 🐳
@@ -227,13 +239,13 @@ docker compose -f docker-compose.release.yml up
> The recommended default is `docker-compose.release.yml`, which pulls the prebuilt image from GitHub Container Registry: `ghcr.io/harry0703/moneyprinterturbo:latest`.
> If you need to build the image locally, you can still run `docker compose up`.
-> Before the first start, make sure `config.toml` exists in the project root. You can copy it from `config.example.toml`.
+> Before the first start, copy `config.example.toml` to `config.toml` so it can be mounted into the containers.
-#### ② Access the Web Interface
+#### ② Access the WebUI
Open your browser and visit http://127.0.0.1:8501
-#### ③ Access the API Interface
+#### ③ Access the API Documentation
Open your browser and visit http://127.0.0.1:8080/docs or http://127.0.0.1:8080/redoc
@@ -241,7 +253,7 @@ Open your browser and visit http://127.0.0.1:8080/docs or http://127.0.0.1:8080/
#### ① Create a Python Virtual Environment
-It is recommended to use [uv](https://docs.astral.sh/uv/) to manage the Python environment and dependencies, with Python `3.11` as the default runtime.
+Use [uv](https://docs.astral.sh/uv/) to manage the Python environment and dependencies. The project supports Python 3.11 or later; the example below uses Python 3.11.
```shell
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
@@ -264,7 +276,7 @@ Notes:
- `uv.lock` pins the resolved environment, so `uv sync --frozen` is recommended by default.
- `requirements.txt` is kept only for legacy `pip`-based installation.
-#### ② Launch the Web Interface 🌐
+#### ② Launch the WebUI 🌐
Note that you need to execute the following commands in the `root directory` of the MoneyPrinterTurbo project
@@ -278,16 +290,16 @@ You can also run `webui.bat` in CMD.
`webui.bat` prefers the project `.venv` or bundled Python from the portable package. If no project Python is found but `uv` is installed, it automatically falls back to `uv run streamlit`.
To allow other devices on your LAN to access the WebUI, run `set MPT_WEBUI_HOST=0.0.0.0` before running `webui.bat`.
-###### MacOS or Linux
+###### macOS or Linux
```shell
-uv run streamlit run ./webui/Main.py --browser.gatherUsageStats=False --server.showEmailPrompt=False
+sh webui.sh
```
-If you have already activated the virtual environment manually, you can still run:
+The script automatically uses the project virtual environment or `uv` and selects an available local port. To allow access from other devices on your LAN, run:
```shell
-sh webui.sh
+MPT_WEBUI_HOST=0.0.0.0 sh webui.sh
```
After launching, the browser will open automatically
@@ -306,66 +318,46 @@ python main.py
#### ④ Pure CLI Mode (No Browser) ⌨️
-If you cannot use a browser or port forwarding, you can generate videos directly from the command line:
+If you cannot use a browser or port forwarding, generate videos directly from the
+command line. The simplest complete generation command is:
```shell
-uv run python cli.py --video-subject "The Role of Money"
+uv run python cli.py --video-subject "How AI is changing everyday life"
```
-You can also provide local materials and control the stop stage:
+For the complete command reference, parameter descriptions, and usage instructions,
+run:
```shell
-uv run python cli.py \
- --video-subject "The Role of Money" \
- --video-source local \
- --video-materials "1.mp4,2.mp4" \
- --stop-at video
+uv run python cli.py --help
```
## Voice Synthesis 🗣
-A list of all supported voices can be viewed here: [Voice List](./docs/voice-list.txt)
-
-The default TTS provider is **Edge TTS** (free, no API key required). In the WebUI it appears as **"Azure TTS V1"** — this is the same thing. To switch voices, set `voice_name` in `config.toml` or select one from the WebUI voice dropdown.
+The default provider is the free **Edge TTS**, shown as **Azure TTS V1** in the WebUI. MoneyPrinterTurbo also supports **Azure TTS V2**, **SiliconFlow TTS**, **Google Gemini TTS**, **Xiaomi MiMo TTS**, **ElevenLabs TTS**, self-hosted **Chatterbox TTS**, and a no-voice mode.
-> **Note:** "Azure TTS V1" (Edge TTS, free) and "Azure TTS V2" (paid Azure Speech SDK) are two different options in the WebUI. Only V2 requires an Azure API key.
-
-To use higher-quality **Azure TTS V2** voices, configure your Azure Speech credentials in `config.toml`:
-
-```toml
-[azure]
-speech_key = "your-azure-speech-key"
-speech_region = "eastus"
-```
-
-Azure TTS V2 voices require an [Azure Speech Services](https://portal.azure.com/) subscription. The 9 Azure voices added in v1.1.2 sound noticeably more natural than Edge TTS for most use cases.
+Select a provider and voice in the WebUI, then follow the on-screen instructions for any required credentials. Edge TTS does not require an API key; [Azure TTS V2](https://portal.azure.com/) and other cloud providers require credentials from their respective platforms. See the available Edge TTS voices in the [voice list](./docs/voice-list.txt).
## Subtitle Generation 📜
-Currently, there are 2 ways to generate subtitles:
-
-- **edge**: Uses Edge TTS timestamps to align subtitles. Fast, no GPU required, works on any machine. Accuracy depends on the TTS timing signal — occasionally misaligns on complex sentences.
-- **whisper**: Runs `faster-whisper` locally to transcribe the generated audio and produce word-level timestamps. Slower (a few seconds to ~1 minute per clip on CPU depending on model size), requires downloading a model (~250 MB for `large-v3-turbo`, ~3 GB for `large-v3`), but produces more accurate subtitles regardless of TTS provider.
-
-You can switch between them by modifying the `subtitle_provider` in the `config.toml` configuration file
+Two subtitle generation modes are available:
-It is recommended to use `edge` mode, and switch to `whisper` mode if the quality of the subtitles generated is not
-satisfactory.
+- **edge**: Uses TTS timestamps, runs quickly without a GPU, and is the default mode.
+- **whisper**: Uses local `faster-whisper` transcription when a more accurate subtitle timeline is needed. The model is downloaded on first use.
-> Note:
->
-> 1. In whisper mode, you need to download a model file from HuggingFace, about 3GB in size, please ensure good internet connectivity
-> 2. If left blank, it means no subtitles will be generated.
+Set `subtitle_provider` in `config.toml` to switch modes. Whisper uses the approximately 3 GB `large-v3` model by default. To use the smaller and faster, approximately 1.6 GB `large-v3-turbo` model:
-> Since HuggingFace is not accessible in China, you can use the following methods to download the `whisper-large-v3` model file
+```toml
+[app]
+subtitle_provider = "whisper"
-Download links:
+[whisper]
+model_size = "large-v3-turbo"
+```
-- Baidu Netdisk: https://pan.baidu.com/s/11h3Q6tsDtjQKTjUu3sc5cA?pwd=xjs9
-- Quark Netdisk: https://pan.quark.cn/s/3ee3d991d64b
+> On first use, Whisper automatically downloads the model from Hugging Face. If the automatic download fails, download `whisper-large-v3` manually from [Hugging Face](https://huggingface.co/Systran/faster-whisper-large-v3).
-After downloading the model, extract it and place the entire directory in `.\MoneyPrinterTurbo\models`,
-The final file path should look like this: `.\MoneyPrinterTurbo\models\whisper-large-v3`
+After extracting the model, place the entire directory in `.\MoneyPrinterTurbo\models`. The final path should be `.\MoneyPrinterTurbo\models\whisper-large-v3`:
```
MoneyPrinterTurbo
@@ -392,7 +384,27 @@ own fonts.
## Common Questions 🤔
-### ❓RuntimeError: No ffmpeg exe could be found
+<details>
+<summary>How do I publish to TikTok, Instagram, or YouTube Shorts?</summary>
+
+Create an [Upload-Post](https://upload-post.com/) account and API key, then add the following settings under `[app]` in `config.toml`:
+
+```toml
+[app]
+upload_post_enabled = true
+upload_post_api_key = "your-api-key"
+upload_post_username = "your-username"
+upload_post_platforms = ["tiktok", "instagram", "youtube"]
+upload_post_auto_upload = true
+upload_post_youtube_privacy_status = "public"
+```
+
+Restart the app after saving. Generated videos will then be published automatically to the configured platforms. YouTube privacy can be set to `public`, `unlisted`, or `private`.
+
+</details>
+
+<details>
+<summary>RuntimeError: No ffmpeg exe could be found</summary>
Normally, ffmpeg will be automatically downloaded and detected.
However, if your environment has issues preventing automatic downloads, you may encounter the following error:
@@ -411,13 +423,10 @@ actual installation path.
ffmpeg_path = "C:\\Users\\harry\\Downloads\\ffmpeg.exe"
```
-### ❓ImageMagick is not installed on your computer
-
-> **This error no longer applies to the current version.**
->
-> Since the project upgraded to **MoviePy 2.x**, subtitle rendering uses **Pillow** instead of ImageMagick. You do not need to install ImageMagick. If you are seeing this error, you may be running an older version of the code — run `git pull` to update, or use `update.bat` on Windows.
+</details>
-### ❓OSError: [Errno 24] Too many open files
+<details>
+<summary>OSError: [Errno 24] Too many open files</summary>
This issue is caused by the system's limit on the number of open files. You can solve it by modifying the system's file open limit.
@@ -433,7 +442,10 @@ If it's too low, you can increase it, for example:
ulimit -n 10240
```
-### ❓Whisper model download failed, with the following error
+</details>
+
+<details>
+<summary>Whisper model download failed</summary>
```
LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and
@@ -450,12 +462,13 @@ specified revision on the local disk. Please check your internet connection and
Trying to load the model directly from the local cache, if it exists.
```
-Solution: [Click to see how to manually download the model from netdisk](#subtitle-generation-)
+Solution: [See how to download the model manually from Hugging Face](#subtitle-generation-)
+
+</details>
## Feedback & Suggestions 📢
-- You can submit an [issue](https://github.com/harry0703/MoneyPrinterTurbo/issues) or
- a [pull request](https://github.com/harry0703/MoneyPrinterTurbo/pulls).
+- You can submit an [issue](https://github.com/harry0703/MoneyPrinterTurbo/issues) or a [pull request](https://github.com/harry0703/MoneyPrinterTurbo/pulls).
## License 📝
@@ -463,4 +476,10 @@ Click to view the [`LICENSE`](LICENSE) file
## Star History
-[![Star History Chart](https://api.star-history.com/svg?repos=harry0703/MoneyPrinterTurbo&type=Date)](https://star-history.com/#harry0703/MoneyPrinterTurbo&Date)
+<a href="https://www.star-history.com/?repos=harry0703%2FMoneyPrinterTurbo&type=date&legend=top-left">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&theme=dark&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />
+ <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />
+ </picture>
+</a>
diff --git a/README.md b/README.md
index aa5b673c..913c8c52 100644
--- a/README.md
+++ b/README.md
@@ -1,32 +1,34 @@
<div align="center">
-<h1 align="center">MoneyPrinterTurbo 💸</h1>
-
-<p align="center">
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/stargazers"><img src="https://img.shields.io/github/stars/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Stargazers"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/issues"><img src="https://img.shields.io/github/issues/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Issues"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/network/members"><img src="https://img.shields.io/github/forks/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="Forks"></a>
- <a href="https://github.com/harry0703/MoneyPrinterTurbo/blob/main/LICENSE"><img src="https://img.shields.io/github/license/harry0703/MoneyPrinterTurbo.svg?style=for-the-badge" alt="License"></a>
-</p>
-<br>
-<h3>简体中文 | <a href="README-en.md">English</a> | <a href="README-ar.md">العربية</a></h3>
-<div align="center">
- <a href="https://trendshift.io/repositories/8731" target="_blank"><img src="https://trendshift.io/api/badge/repositories/8731" alt="harry0703%2FMoneyPrinterTurbo | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
+
+# MoneyPrinterTurbo 💸
+
+### 一站式 AI 短视频生成工具
+
+只需提供视频<b>主题</b>或<b>关键词</b>,即可自动生成视频脚本、匹配素材、生成字幕和背景音乐,并合成高清短视频。
+
+[![Version](https://img.shields.io/github/v/release/harry0703/MoneyPrinterTurbo?color=blue&label=version)](https://github.com/harry0703/MoneyPrinterTurbo/releases)
+[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)
+[![Python](https://img.shields.io/badge/python-3.11%2B-3776AB?logo=python&logoColor=white)](https://www.python.org/)
+[![Downloads](https://img.shields.io/github/downloads/harry0703/MoneyPrinterTurbo/total)](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)
+
+<a href="https://trendshift.io/repositories/8731" target="_blank"><img src="https://trendshift.io/api/badge/repositories/8731" alt="harry0703%2FMoneyPrinterTurbo | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
+<a href="https://www.star-history.com/harry0703/moneyprinterturbo"><img src="https://api.star-history.com/badge?repo=harry0703/MoneyPrinterTurbo" alt="Star History Rank" style="height: 55px;" height="55"/></a>
+
+简体中文 | [English](README-en.md) | [版本发布](https://github.com/harry0703/MoneyPrinterTurbo/releases) | [问题反馈](https://github.com/harry0703/MoneyPrinterTurbo/issues)
+
</div>
-只需提供一个视频 <b>主题</b> 或 <b>关键词</b> ,就可以全自动生成视频文案、视频素材、视频字幕、视频背景音乐,然后合成一个高清的短视频。
-<br>
+## 界面预览 🖥️
-<h4>Web界面</h4>
+<h4 align="center">WebUI</h4>
![](docs/webui.jpg)
-<h4>API界面</h4>
+<h4 align="center">API</h4>
![](docs/api.jpg)
-</div>
-
-## 特别感谢 🙏
+## 特别感谢 ❤️
<div align="center">
<a href="https://platform.kimi.com?aff=MoneyPrinterTurbo" target="_blank"><img src="https://gcdn.moonshot.cn/growth-cdn/sponsor/kimi-zh.png" alt="Kimi 赞助 MoneyPrinterTurbo" width="100%"></a>
@@ -39,121 +41,120 @@
<table align="center">
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo"><img src="docs/sponsors/volcengine-logo.svg" alt="火山引擎" height="32"></a><br>
<a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo"><strong>火山引擎</strong></a>
</td>
<td align="left">
- <sub>感谢 <a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo">火山引擎</a> 赞助了本项目!方舟 Agent Plan 模型订阅套餐集成了包含 Doubao-Seed、Doubao-Seedance、Doubao-Seedream 等在内的字节跳动自研 SOTA 级模型,覆盖文本、代码、图像、视频等多模态任务。最新支持 MiniMax-M3、DeepSeek-V4 系列、GLM-5.2、Doubao-Seed-2.0 系列、Kimi-K2.7 等模型,工具不限。超全模态模型与 Harness 升级一步到位,深度支持 Agent 框架与 AI 编程工具。一次订阅,可以为不同任务切换合适的 AI 引擎。方舟 Agent Plan 限时 2.5 折订阅,<a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo">点击链接抢购</a>,名额有限,先到先得。</sub>
+ 感谢 <a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo">火山引擎</a> 赞助了本项目!方舟 Agent Plan 模型订阅套餐集成了包含 Doubao-Seed、Doubao-Seedance、Doubao-Seedream 等在内的字节跳动自研 SOTA 级模型,覆盖文本、代码、图像、视频等多模态任务。最新支持 MiniMax-M3、DeepSeek-V4 系列、GLM-5.2、Doubao-Seed-2.0 系列、Kimi-K2.7 等模型,工具不限。超全模态模型与 Harness 升级一步到位,深度支持 Agent 框架与 AI 编程工具。一次订阅,可以为不同任务切换合适的 AI 引擎。方舟 Agent Plan 限时 2.5 折订阅,<a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo">点击链接抢购</a>,名额有限,先到先得。
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://www.ccsub.net/register?ref=VCVDAWWY"><img src="docs/sponsors/ccsub-logo.png" alt="CCSub" height="36"></a><br>
<a href="https://www.ccsub.net/register?ref=VCVDAWWY"><strong>CCSub</strong></a>
</td>
<td align="left">
- <sub>感谢 <a href="https://www.ccsub.net/register?ref=VCVDAWWY">CCSub</a> 赞助本项目!CCSub 是稳定、实惠的 AI API 中转平台,是 Claude Code 官方订阅的超强平替。一个 API Key 即可调用 Claude Opus 4.8、Sonnet 4.6、Haiku 4.5、GPT-5、Gemini 等模型,价格约为官方直连的 1/3,全球直连无需梯子。兼容 Claude Code、Codex、Cursor、Cline、Continue、Windsurf 等所有主流 AI 编程工具。前往 <a href="https://www.ccsub.net/register?ref=VCVDAWWY">www.ccsub.net</a> 注册即送 $5 体验额度。</sub>
+ 感谢 <a href="https://www.ccsub.net/register?ref=VCVDAWWY">CCSub</a> 赞助本项目!CCSub 是稳定、实惠的 AI API 中转平台,是 Claude Code 官方订阅的超强平替。一个 API Key 即可调用 Claude Opus 4.8、Sonnet 4.6、Haiku 4.5、GPT-5、Gemini 等模型,价格约为官方直连的 1/3,全球直连无需梯子。兼容 Claude Code、Codex、Cursor、Cline、Continue、Windsurf 等所有主流 AI 编程工具。前往 <a href="https://www.ccsub.net/register?ref=VCVDAWWY">www.ccsub.net</a> 注册即送 $5 体验额度。
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu"><img src="docs/sponsors/compshare-logo.png" alt="优云智算" height="34"></a><br>
<a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu"><strong>优云智算</strong></a>
</td>
<td align="left">
- <sub>感谢 <a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">优云智算</a> 赞助本项目!优云智算是 UCloud 旗下 AI 云平台,一站式提供国内外主流模型的 API 服务,一个 Key 即可调用所有模型。主打高性价比国产模型 CodingPlan 套餐(GLM5.2、Deepseek-v4等),同时提供官方转发的稳定海外模型通道,满足多场景开发需求。已兼容 Claude Code、Codex 等主流 AI 编程工具及通用 API 调用,支持企业级高并发、7×24 技术支持和自助开票。<a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">点击注册</a>,最高可获得 ¥10 免费体验金。</sub>
+ 感谢 <a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">优云智算</a> 赞助本项目!优云智算是 UCloud 旗下 AI 云平台,一站式提供国内外主流模型的 API 服务,一个 Key 即可调用所有模型。主打高性价比国产模型 CodingPlan 套餐(GLM5.2、Deepseek-v4等),同时提供官方转发的稳定海外模型通道,满足多场景开发需求。已兼容 Claude Code、Codex 等主流 AI 编程工具及通用 API 调用,支持企业级高并发、7×24 技术支持和自助开票。<a href="https://www.compshare.cn/coding-plan?ytag=GPU_YY-git_MoneyPrinterTu">点击注册</a>,最高可获得 ¥10 免费体验金。
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><img src="docs/sponsors/cubence-logo.png" alt="Cubence" height="40"></a><br>
<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><strong>Cubence</strong></a>
</td>
<td align="left">
- <sub>感谢 <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">Cubence</a> 对本项目的支持。Cubence 是一家专注于 AI 模型 API 接入服务的平台,致力于为开发者和团队提供稳定、便捷的模型调用体验。自 2025 年 9 月上线以来,Cubence 已支持 Claude Code、Codex、Gemini 等多种 AI 模型与开发工具相关的 API 接入场景,适合需要统一管理和调用多模型能力的用户使用。Cubence 为本开源项目用户提供了专属优惠码:<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><code>MPT</code></a>。首次购买时使用该优惠码,<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">可享受 9 折优惠</a>。</sub>
+ 感谢 <a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">Cubence</a> 对本项目的支持。Cubence 是一家专注于 AI 模型 API 接入服务的平台,致力于为开发者和团队提供稳定、便捷的模型调用体验。自 2025 年 9 月上线以来,Cubence 已支持 Claude Code、Codex、Gemini 等多种 AI 模型与开发工具相关的 API 接入场景,适合需要统一管理和调用多模型能力的用户使用。Cubence 为本开源项目用户提供了专属优惠码:<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt"><code>MPT</code></a>。首次购买时使用该优惠码,<a href="https://cubence.com/signup?code=SCE1CJPE&source=mpt">可享受 9 折优惠</a>。
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://reccloud.cn"><img src="docs/sponsors/reccloud-logo.svg" alt="录咖" height="36"></a><br>
<a href="https://reccloud.cn"><strong>录咖 AI</strong></a>
</td>
<td align="left">
- <sub>由于该项目的 <strong>部署</strong> 和 <strong>使用</strong>,对于一些小白用户来说,还是 <strong>有一定的门槛</strong>,在此特别感谢 <a href="https://reccloud.cn">录咖(AI智能 多媒体服务平台)</a> 网站基于该项目,提供的免费 <code>AI视频生成器</code> 服务,可以不用部署,直接在线使用,非常方便。</sub>
+ 由于该项目的 <strong>部署</strong> 和 <strong>使用</strong>,对于一些小白用户来说,还是 <strong>有一定的门槛</strong>,在此特别感谢 <a href="https://reccloud.cn">录咖(AI智能 多媒体服务平台)</a> 网站基于该项目,提供的免费 <code>AI视频生成器</code> 服务,可以不用部署,直接在线使用,非常方便。
</td>
</tr>
<tr>
- <td align="center" width="160">
+ <td align="center" width="120">
<a href="https://picwish.cn"><img src="docs/sponsors/picwish-logo.svg" alt="佐糖" height="36"></a><br>
<a href="https://picwish.cn"><strong>佐糖</strong></a>
</td>
<td align="left">
- <sub>感谢 <a href="https://picwish.cn">佐糖</a> 对该项目的支持和赞助,使得该项目能够持续的更新和维护。佐糖专注于<strong>图像处理领域</strong>,提供丰富的<strong>图像处理工具</strong>,将复杂操作极致简化,真正实现让图像处理更简单。</sub>
+ 感谢 <a href="https://picwish.cn">佐糖</a> 对该项目的支持和赞助,使得该项目能够持续的更新和维护。佐糖专注于<strong>图像处理领域</strong>,提供丰富的<strong>图像处理工具</strong>,将复杂操作极致简化,真正实现让图像处理更简单。
</td>
</tr>
</table>
## 功能特性 🎯
-- [x] 完整的 **MVC架构**,代码 **结构清晰**,易于维护,支持 `API` 和 `Web界面`
-- [x] 支持视频文案 **AI自动生成**,也可以**自定义文案**
+- [x] 提供 **AI Agent**、**WebUI**、**API** 和 **CLI** 四种使用方式,代码按控制器、服务和模型等职责分层
+- [x] 支持 **AI 自动生成视频脚本**,也可以使用自定义脚本
- [x] 支持多种 **高清视频** 尺寸
- [x] 竖屏 9:16,`1080x1920`
- [x] 横屏 16:9,`1920x1080`
- [x] 支持 **批量视频生成**,可以一次生成多个视频,然后选择一个最满意的
- [x] 支持 **视频片段时长** 设置,方便调节素材切换频率
-- [x] 支持 **中文** 和 **英文** 视频文案
-- [x] 支持 **多种语音** 合成,可 **实时试听** 效果
-- [x] 支持 **字幕生成**,可以调整 `字体`、`位置`、`颜色`、`大小`,同时支持`字幕描边`设置
-- [x] 支持 **背景音乐**,随机或者指定音乐文件,可设置`背景音乐音量`
-- [x] 视频素材来源 **高清**,而且 **无版权**,也可以使用自己的 **本地素材**
-- [x] 支持多种素材源:**Pexels**、**Pixabay**、**Coverr**
-- [x] 可选接入 **TwelveLabs** 视频 AI:用 **Marengo** 多模态向量按主题语义重排素材关键词,用 **Pegasus** 对素材做内容 QA/描述([TwelveLabs API key](https://twelvelabs.io))
-- [x] 支持 **Kimi/Moonshot**、**OpenAI**、**AIHubMix**、**AIML API**、**EvoLink**、**Azure**、**one-api**、**通义千问**、**Google Gemini**、**Ollama**、**DeepSeek**、**MiniMax**、 **文心一言**, **Pollinations**、**ModelScope** 等多种模型接入
-- [x] 支持一键 **跨平台发布**,生成完成后自动上传至 **TikTok**、**Instagram** 和 **YouTube Shorts**(需 [Upload-Post](https://upload-post.com) 账号;YouTube 发布时自动标注 AI 生成内容);在 `config.toml` 中配置 `upload_post_platforms`、`upload_post_youtube_privacy_status` 等参数
-
-## 视频演示 📺
+- [x] 支持 **多语言视频脚本** 生成
+- [x] 支持 **Edge TTS**、**Azure Speech**、**SiliconFlow**、**Google Gemini**、**小米 MiMo**、**ElevenLabs** 和 **Chatterbox** 语音合成,可实时试听
+- [x] 支持 **字幕生成**,可调整字体、位置、颜色、大小、描边和背景样式
+- [x] 支持 **背景音乐**,可随机选择或使用指定音乐,并调整音量
+- [x] 支持使用自己的 **本地素材**,也可从 **Pexels**、**Pixabay** 和 **Coverr** 获取可免费使用的高清素材
+- [x] 支持 **Kimi / Moonshot AI**、**OpenAI**、**Google Gemini**、**DeepSeek**、**阿里云通义千问**、**Microsoft Azure OpenAI**、**火山引擎方舟**、**xAI Grok**、**MiniMax**、**小米 MiMo** 等主流模型服务,并兼容 **Cloudflare AI Gateway**、**魔搭 ModelScope**、**AIHubMix**、**AIML API**、**EvoLink**、**Ollama**、**OneAPI**、**LiteLLM**、**Groq**、**Pollinations AI** 等统一网关、聚合平台和本地运行环境
+- [x] 支持一键 **跨平台发布**,生成完成后可自动上传至 **TikTok**、**Instagram** 和 **YouTube Shorts**
+
+## 作品展示 🎬
+
+以下示例均由 MoneyPrinterTurbo 实际生成。
### 竖屏 9:16
-<table>
-<thead>
+<table width="100%">
<tr>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> 《如何增加生活的乐趣》</th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> 《金钱的作用》<br>更真实的合成声音</th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji> 《生命的意义是什么》</th>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=03-zh-portrait-city-morning.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/03-zh-portrait-city-morning.jpg" width="180" alt="城市醒来的时刻"></a><br><strong>城市醒来的时刻</strong><br>中文 · 14 秒</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=05-zh-portrait-clean-energy.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/05-zh-portrait-clean-energy.jpg" width="180" alt="清洁能源的未来"></a><br><strong>清洁能源的未来</strong><br>中文 · 24 秒</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=07-zh-portrait-space-exploration.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/07-zh-portrait-space-exploration.jpg" width="180" alt="为什么我们仍要探索太空"></a><br><strong>为什么我们仍要探索太空</strong><br>中文 · 27 秒</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=17-zh-portrait-seed-journey.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/17-zh-portrait-seed-journey.jpg" width="180" alt="一粒种子的旅程"></a><br><strong>一粒种子的旅程</strong><br>中文 · 44 秒</td>
</tr>
-</thead>
-<tbody>
<tr>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/a84d33d5-27a2-4aba-8fd0-9fb2bd91c6a6"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/af2f3b0b-002e-49fe-b161-18ba91c055e8"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/112c9564-d52b-4472-99ad-970b75f66476"></video></td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=09-en-portrait-future-robotics.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/09-en-portrait-future-robotics.jpg" width="180" alt="The Future of Everyday Robotics"></a><br><strong>The Future of Everyday Robotics</strong><br>English · 21 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=11-en-portrait-small-habits.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/11-en-portrait-small-habits.jpg" width="180" alt="Small Habits, Lasting Change"></a><br><strong>Small Habits, Lasting Change</strong><br>English · 19 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=13-en-portrait-creative-work.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/13-en-portrait-creative-work.jpg" width="180" alt="Making Space for Creative Work"></a><br><strong>Making Space for Creative Work</strong><br>English · 20 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=15-en-portrait-coffee-science.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/15-en-portrait-coffee-science.jpg" width="180" alt="The Science Inside Coffee"></a><br><strong>The Science Inside Coffee</strong><br>English · 23 sec</td>
</tr>
-</tbody>
</table>
### 横屏 16:9
-<table>
-<thead>
+<table width="100%">
<tr>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji>《生命的意义是什么》</th>
-<th align="center"><g-emoji class="g-emoji" alias="arrow_forward">▶️</g-emoji>《为什么要运动》</th>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=02-zh-landscape-deep-ocean.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/02-zh-landscape-deep-ocean.jpg" width="280" alt="深海里的微光"></a><br><strong>深海里的微光</strong><br>中文 · 23 秒</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=04-zh-landscape-reading-power.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/04-zh-landscape-reading-power.jpg" width="280" alt="阅读如何塑造我们"></a><br><strong>阅读如何塑造我们</strong><br>中文 · 23 秒</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=06-zh-landscape-pour-over-coffee.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/06-zh-landscape-pour-over-coffee.jpg" width="280" alt="一杯手冲咖啡的细节"></a><br><strong>一杯手冲咖啡的细节</strong><br>中文 · 23 秒</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=08-zh-landscape-spring-journey.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/08-zh-landscape-spring-journey.jpg" width="280" alt="春天适合出发"></a><br><strong>春天适合出发</strong><br>中文 · 14 秒</td>
</tr>
-</thead>
-<tbody>
<tr>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/346ebb15-c55f-47a9-a653-114f08bb8073"></video></td>
-<td align="center"><video src="https://github.com/harry0703/MoneyPrinterTurbo/assets/4928832/271f2fae-8283-44a0-8aa0-0ed8f9a6fa87"></video></td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=10-en-landscape-ocean-conservation.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/10-en-landscape-ocean-conservation.jpg" width="280" alt="Why Ocean Conservation Matters"></a><br><strong>Why Ocean Conservation Matters</strong><br>English · 25 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=14-en-landscape-sustainable-cities.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/14-en-landscape-sustainable-cities.jpg" width="280" alt="Designing More Sustainable Cities"></a><br><strong>Designing More Sustainable Cities</strong><br>English · 27 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=16-en-landscape-mountain-perspective.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/16-en-landscape-mountain-perspective.jpg" width="280" alt="What Mountains Teach Us"></a><br><strong>What Mountains Teach Us</strong><br>English · 18 sec</td>
+<td align="center" width="25%"><a href="https://harry0703.github.io/mpt-assets/?video=18-en-landscape-history-of-flight.mp4"><img src="https://github.com/harry0703/mpt-assets/releases/download/assets/18-en-landscape-history-of-flight.jpg" width="280" alt="A Brief History of Human Flight"></a><br><strong>A Brief History of Human Flight</strong><br>English · 59 sec</td>
</tr>
-</tbody>
</table>
## 配置要求 📦
-- 建议系统:Windows 10 或 MacOS 11.0 以上,或主流 Linux 发行版
+- 建议系统:Windows 10、macOS 11.0 或更高版本,以及主流 Linux 发行版
+- 本地部署需要 Python 3.11 或更高版本,推荐使用 Python 3.11
- GPU 不是必需项,但如果你希望本地转录、更快的视频处理或更顺畅的批量生成体验,建议使用带显存的独立显卡
| 项目 | 最低配置 | 推荐配置 | 理想配置 |
@@ -169,21 +170,31 @@
### 推荐使用方式
+- 不想手动安装和配置:直接使用 AI Agent 生成视频
- Windows 用户:优先使用一键启动包,适合快速体验
-- MacOS / Linux 用户:优先使用 `uv sync --frozen` 进行本地部署
+- macOS / Linux 用户:优先使用 `uv` 进行本地部署
- 想要隔离运行环境:优先使用 Docker 部署
+### 使用 AI Agent 生成视频
+
+如果你的 AI Agent 支持读取 Skill 文档并操作本地终端,可以直接发送下面这段话。Agent 会自动完成安装、配置和视频生成;只有缺少必要的 API Key 时才会向你询问,完成后会返回生成的视频文件路径。目前支持 macOS 和 Windows。
+
+```text
+使用这个 Skill:https://raw.githubusercontent.com/harry0703/MoneyPrinterTurbo/main/docs/skill/SKILL.md
+帮我生成一个主题为“人工智能如何改变普通人的日常生活”的视频。
+```
+
### 在 Google Colab 中运行
免去本地环境配置,点击直接在 Google Colab 中快速体验 MoneyPrinterTurbo
[![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/harry0703/MoneyPrinterTurbo/blob/main/docs/MoneyPrinterTurbo.ipynb)
-### Windows一键启动包
+### Windows 一键启动包
下载一键启动包,解压直接使用(路径不要有 **中文**、**特殊字符**、**空格**)
-- GitHub Release: https://github.com/harry0703/MoneyPrinterTurbo/releases/latest
+- GitHub Releases:https://github.com/harry0703/MoneyPrinterTurbo/releases/latest
下载后,建议先**双击执行** `update.bat` 更新到**最新代码**,然后双击 `start.bat` 启动
@@ -193,8 +204,8 @@
### 前提条件
-- 尽量不要使用 **中文路径**,避免出现一些无法预料的问题
-- 请确保你的 **网络** 是正常的,VPN需要打开`全局流量`模式
+- 本地部署需要 Python 3.11 或更高版本
+- Windows 用户建议避免使用包含中文、特殊字符或空格的项目路径
#### ① 克隆代码
@@ -202,19 +213,17 @@
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
```
-#### ② 修改配置文件(可选,建议启动后也可以在 WebUI 里面配置)
+#### ② 配置项目(可选)
-- 将 `config.example.toml` 文件复制一份,命名为 `config.toml`
-- 按照 `config.toml` 文件中的说明,配置好 `pexels_api_keys` 和 `llm_provider`,并根据 llm_provider 对应的服务商,配置相关的
- API Key
+首次启动时,项目会根据 `config.example.toml` 自动创建 `config.toml`。大模型 Provider、素材来源和相关 API Key 可以直接在 WebUI 的基础设置中配置。
-### Docker部署 🐳
+### Docker 部署 🐳
-#### ① 启动Docker
+#### ① 启动 Docker
如果未安装 Docker,请先安装 https://www.docker.com/products/docker-desktop/
-如果是Windows系统,请参考微软的文档:
+Windows 用户可以参考微软的文档:
1. https://learn.microsoft.com/zh-cn/windows/wsl/install
2. https://learn.microsoft.com/zh-cn/windows/wsl/tutorials/wsl-containers
@@ -226,13 +235,13 @@ docker compose -f docker-compose.release.yml up
> 默认推荐使用 `docker-compose.release.yml`,它会直接拉取 GitHub Container Registry 上的预构建镜像:`ghcr.io/harry0703/moneyprinterturbo:latest`。
> 如果你需要本地重新构建镜像,可以继续使用 `docker compose up`。
-> 注意:首次启动前请确保项目根目录下存在 `config.toml`,可以从 `config.example.toml` 复制一份。
+> 首次启动前,请将 `config.example.toml` 复制为 `config.toml`,供容器挂载使用。
-#### ② 访问Web界面
+#### ② 访问 WebUI
打开浏览器,访问 http://127.0.0.1:8501
-#### ③ 访问API文档
+#### ③ 访问 API 文档
打开浏览器,访问 http://127.0.0.1:8080/docs 或者 http://127.0.0.1:8080/redoc
@@ -241,11 +250,11 @@ docker compose -f docker-compose.release.yml up
> 视频教程
- 完整的使用演示:https://v.douyin.com/iFhnwsKY/
-- 如何在Windows上部署:https://v.douyin.com/iFyjoW3M
+- 如何在 Windows 上部署:https://v.douyin.com/iFyjoW3M
#### ① 创建虚拟环境
-推荐使用 [uv](https://docs.astral.sh/uv/) 管理 Python 环境和依赖,默认使用 Python `3.11`
+推荐使用 [uv](https://docs.astral.sh/uv/) 管理 Python 环境和依赖。项目支持 Python 3.11 或更高版本,以下示例使用 Python 3.11。
```shell
git clone https://github.com/harry0703/MoneyPrinterTurbo.git
@@ -268,7 +277,7 @@ pip install -r requirements.txt
- `uv.lock` 是锁文件,建议默认执行 `uv sync --frozen`
- `requirements.txt` 仅保留给旧的 `pip` 安装方式兼容使用
-#### ② 启动Web界面 🌐
+#### ② 启动 WebUI 🌐
注意需要到 MoneyPrinterTurbo 项目 `根目录` 下执行以下命令
@@ -282,21 +291,21 @@ pip install -r requirements.txt
`webui.bat` 会优先使用项目 `.venv` 或一键包内置 Python;如果没有找到项目 Python,但已安装 `uv`,会自动切换为 `uv run streamlit`。
如需允许局域网内其他设备访问 WebUI,可以先执行 `set MPT_WEBUI_HOST=0.0.0.0`,再运行 `webui.bat`。
-###### MacOS or Linux
+###### macOS 或 Linux
```shell
-uv run streamlit run ./webui/Main.py --browser.gatherUsageStats=False --server.showEmailPrompt=False
+sh webui.sh
```
-如果你已经手动激活了虚拟环境,也可以直接执行:
+脚本会自动使用项目虚拟环境或 `uv`,并选择可用的本地端口。如需允许局域网内其他设备访问,可以执行:
```shell
-sh webui.sh
+MPT_WEBUI_HOST=0.0.0.0 sh webui.sh
```
启动后,会自动打开浏览器(如果打开是空白,建议换成 **Chrome** 或者 **Edge** 打开)
-#### ③ 启动API服务 🚀
+#### ③ 启动 API 服务 🚀
```shell
uv run python main.py
@@ -310,65 +319,44 @@ python main.py
#### ④ 纯命令行方式(无浏览器)⌨️
-如果你无法使用浏览器或端口转发,可以直接在命令行生成视频:
+如果你无法使用浏览器或端口转发,可以直接在命令行生成视频。最简单的完整视频生成命令如下:
```shell
-uv run python cli.py --video-subject "金钱的作用"
+uv run python cli.py --video-subject "人工智能如何改变日常生活"
```
-也可以指定本地素材并仅运行到某个阶段:
+如需查看完整命令、参数说明和使用方法,可以执行:
```shell
-uv run python cli.py \
- --video-subject "金钱的作用" \
- --video-source local \
- --video-materials "1.mp4,2.mp4" \
- --stop-at video
+uv run python cli.py --help
```
## 语音合成 🗣
-所有支持的声音列表,可以查看:[声音列表](./docs/voice-list.txt)
-
-默认 TTS 服务是 **Edge TTS**(免费,不需要 API Key)。在 WebUI 中它显示为 **“Azure TTS V1”**,两者指的是同一个免费服务。你可以在 `config.toml` 中设置 `voice_name`,也可以直接在 WebUI 的声音下拉框中选择。
+默认使用免费的 **Edge TTS**,在 WebUI 中显示为 **Azure TTS V1**。项目同时支持 **Azure TTS V2**、**SiliconFlow TTS**、**Google Gemini TTS**、**小米 MiMo TTS**、**ElevenLabs TTS**、自托管 **Chatterbox TTS**,以及无配音模式。
-> **说明:** WebUI 中的 “Azure TTS V1”(Edge TTS,免费)和 “Azure TTS V2”(付费 Azure Speech SDK)是两个不同选项,只有 V2 需要配置 Azure API Key。
-
-如果你希望使用质量更高的 **Azure TTS V2** 声音,需要在 `config.toml` 中配置 Azure Speech 凭据:
-
-```toml
-[azure]
-speech_key = "your-azure-speech-key"
-speech_region = "eastus"
-```
-
-Azure TTS V2 需要开通 [Azure Speech Services](https://portal.azure.com/) 订阅。v1.1.2 新增的 9 种 Azure 声音整体会比 Edge TTS 更自然。
+可直接在 WebUI 中选择 Provider 和音色,并按照界面提示填写所需凭据。Edge TTS 不需要 API Key;[Azure TTS V2](https://portal.azure.com/) 及其他云端服务需要对应平台的凭据。Edge TTS 音色可查看:[音色列表](./docs/voice-list.txt)。
## 字幕生成 📜
-当前支持2种字幕生成方式:
-
-- **edge**: 使用 Edge TTS 返回的时间戳对齐字幕。速度快,不需要 GPU,普通机器也可以运行;但复杂句子的时间戳偶尔可能不够准确。
-- **whisper**: 使用本地 `faster-whisper` 转写生成后的音频,并生成更细粒度的时间戳。速度较慢(CPU 上通常需要几秒到约 1 分钟,取决于模型大小),需要下载模型(`large-v3-turbo` 约 250 MB,`large-v3` 约 3 GB),但不依赖 TTS provider 的时间戳,字幕准确性通常更好。
+当前支持两种字幕生成方式:
-可以修改 `config.toml` 配置文件中的 `subtitle_provider` 进行切换
+- **edge**:使用 TTS 时间戳生成字幕,速度快,不需要 GPU,默认使用该模式。
+- **whisper**:使用本地 `faster-whisper` 转写音频,适用于需要更准确字幕时间轴的场景。首次使用时需要下载模型。
-建议使用 `edge` 模式,如果生成的字幕质量不好,再切换到 `whisper` 模式
+在 `config.toml` 中修改 `subtitle_provider` 即可切换模式。Whisper 默认使用约 3 GB 的 `large-v3`;如需更小、更快的模型,可以使用约 1.6 GB 的 `large-v3-turbo`:
-> 注意:
-
-1. whisper 模式下需要到 HuggingFace 下载一个模型文件,大约 3GB 左右,请确保网络通畅
-2. 如果留空,表示不生成字幕。
-
-> 由于国内无法访问 HuggingFace,可以使用以下方法下载 `whisper-large-v3` 的模型文件
+```toml
+[app]
+subtitle_provider = "whisper"
-下载地址:
+[whisper]
+model_size = "large-v3-turbo"
+```
-- 百度网盘: https://pan.baidu.com/s/11h3Q6tsDtjQKTjUu3sc5cA?pwd=xjs9
-- 夸克网盘:https://pan.quark.cn/s/3ee3d991d64b
+> 首次使用 Whisper 时,程序会自动从 Hugging Face 下载模型。如果当前网络无法自动下载,可以从 [Hugging Face](https://huggingface.co/Systran/faster-whisper-large-v3) 手动下载 `whisper-large-v3`。
-模型下载后解压,整个目录放到 `.\MoneyPrinterTurbo\models` 里面,
-最终的文件路径应该是这样: `.\MoneyPrinterTurbo\models\whisper-large-v3`
+下载并解压后,将整个目录放到 `.\MoneyPrinterTurbo\models`,最终路径应为 `.\MoneyPrinterTurbo\models\whisper-large-v3`:
```
MoneyPrinterTurbo
@@ -393,7 +381,27 @@ MoneyPrinterTurbo
## 常见问题 🤔
-### ❓RuntimeError: No ffmpeg exe could be found
+<details>
+<summary>如何发布到 TikTok、Instagram 或 YouTube Shorts?</summary>
+
+注册 [Upload-Post](https://upload-post.com/) 账号并获取 API Key,然后在 `config.toml` 的 `[app]` 下添加以下配置:
+
+```toml
+[app]
+upload_post_enabled = true
+upload_post_api_key = "your-api-key"
+upload_post_username = "your-username"
+upload_post_platforms = ["tiktok", "instagram", "youtube"]
+upload_post_auto_upload = true
+upload_post_youtube_privacy_status = "public"
+```
+
+保存配置并重启项目。视频生成完成后,程序会自动发布到已配置的平台。YouTube 可见性可设置为 `public`、`unlisted` 或 `private`。
+
+</details>
+
+<details>
+<summary>RuntimeError: No ffmpeg exe could be found</summary>
通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。
但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:
@@ -411,13 +419,10 @@ Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variabl
ffmpeg_path = "C:\\Users\\harry\\Downloads\\ffmpeg.exe"
```
-### ❓ImageMagick 相关错误
-
-> **当前版本已经不需要 ImageMagick。**
->
-> 项目升级到 **MoviePy 2.x** 后,字幕渲染已经改为使用 **Pillow**,不再依赖 ImageMagick。如果你仍然看到 ImageMagick 相关错误,通常说明运行的是旧版本代码。请先执行 `git pull` 更新代码,Windows 用户也可以运行 `update.bat` 更新。
+</details>
-### ❓OSError: [Errno 24] Too many open files
+<details>
+<summary>OSError: [Errno 24] Too many open files</summary>
这个问题是由于系统打开文件数限制导致的,可以通过修改系统的文件打开数限制来解决。
@@ -433,7 +438,10 @@ ulimit -n
ulimit -n 10240
```
-### ❓Whisper 模型下载失败,出现如下错误
+</details>
+
+<details>
+<summary>Whisper 模型下载失败</summary>
```
LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and
@@ -450,12 +458,13 @@ specified revision on the local disk. Please check your internet connection and
Trying to load the model directly from the local cache, if it exists.
```
-解决方法:[点击查看如何从网盘手动下载模型](#%E5%AD%97%E5%B9%95%E7%94%9F%E6%88%90-)
+解决方法:[查看如何从 Hugging Face 手动下载模型](#%E5%AD%97%E5%B9%95%E7%94%9F%E6%88%90-)
+
+</details>
## 反馈建议 📢
-- 可以提交 [issue](https://github.com/harry0703/MoneyPrinterTurbo/issues)
- 或者 [pull request](https://github.com/harry0703/MoneyPrinterTurbo/pulls)。
+- 可以提交 [issue](https://github.com/harry0703/MoneyPrinterTurbo/issues) 或者 [pull request](https://github.com/harry0703/MoneyPrinterTurbo/pulls)。
## 许可证 📝
@@ -463,4 +472,10 @@ Trying to load the model directly from the local cache, if it exists.
## Star History
-[![Star History Chart](https://api.star-history.com/svg?repos=harry0703/MoneyPrinterTurbo&type=Date)](https://star-history.com/#harry0703/MoneyPrinterTurbo&Date)
+<a href="https://www.star-history.com/?repos=harry0703%2FMoneyPrinterTurbo&type=date&legend=top-left">
+ <picture>
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&theme=dark&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />
+ <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />
+ </picture>
+</a>
diff --git a/app/config/config.py b/app/config/config.py
index 8e691a19..a37150ac 100644
--- a/app/config/config.py
+++ b/app/config/config.py
@@ -1,6 +1,9 @@
import os
import shutil
import socket
+import tempfile
+import threading
+from contextlib import contextmanager
import toml
from loguru import logger
@@ -9,6 +12,50 @@ root_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__fi
config_file = f"{root_dir}/config.toml"
_CONTAINER_CGROUP_MARKERS = ("docker", "containerd", "kubepods", "libpod", "podman")
_DOCKER_HOST_GATEWAY_NAME = "host.docker.internal"
+_config_save_lock = threading.RLock()
+_MISSING = object()
+
+
+class _SynchronizedConfig(dict):
+ """保持 dict 使用方式不变,同时让运行期配置写操作服从同一把锁。"""
+
+ def __setitem__(self, key, value):
+ with _config_save_lock:
+ super().__setitem__(key, value)
+
+ def __delitem__(self, key):
+ with _config_save_lock:
+ super().__delitem__(key)
+
+ def clear(self):
+ with _config_save_lock:
+ super().clear()
+
+ def pop(self, key, default=_MISSING):
+ with _config_save_lock:
+ if default is _MISSING:
+ return super().pop(key)
+ return super().pop(key, default)
+
+ def setdefault(self, key, default=None):
+ with _config_save_lock:
+ return super().setdefault(key, default)
+
+ def update(self, *args, **kwargs):
+ with _config_save_lock:
+ super().update(*args, **kwargs)
+
+
+@contextmanager
+def runtime_config_lock():
+ """
+ 在一次依赖全局配置的完整操作期间阻止其它 WebUI 会话改写配置。
+
+ 当前项目默认绑定本地回环地址,配置仍然是单用户全局配置。这个轻量锁主要
+ 保护生成、试听等长操作,避免另一个标签页在操作中途切换 Provider 或密钥。
+ """
+ with _config_save_lock:
+ yield
def is_running_in_container(
@@ -148,29 +195,71 @@ def load_config():
def save_config():
- with open(config_file, "w", encoding="utf-8") as f:
- _cfg["app"] = app
- _cfg["azure"] = azure
- _cfg["siliconflow"] = siliconflow
- _cfg["elevenlabs"] = elevenlabs
- _cfg["chatterbox"] = chatterbox
- _cfg["ui"] = ui
- f.write(toml.dumps(_cfg))
+ """
+ 原子保存运行时配置。
+
+ Streamlit 的不同会话可能在相近时间触发配置保存。直接覆盖 config.toml 时,
+ 另一个线程可能读取到只写了一部分的 TOML 内容。这里使用进程内可重入锁串行化
+ 保存,并先写入同目录临时文件,再通过 os.replace 原子替换目标文件。
+
+ 这仍然保留项目现有的单用户全局配置语义,不额外引入复杂的多用户配置系统;
+ 主要用于避免多标签页或快速 rerun 时损坏配置文件。
+ """
+ with _config_save_lock:
+ config_to_save = dict(_cfg)
+ config_to_save["app"] = dict(app)
+ config_to_save["azure"] = dict(azure)
+ config_to_save["siliconflow"] = dict(siliconflow)
+ config_to_save["elevenlabs"] = dict(elevenlabs)
+ config_to_save["chatterbox"] = dict(chatterbox)
+ config_to_save["ui"] = dict(ui)
+ serialized_config = toml.dumps(config_to_save)
+
+ # WebUI 完整 rerun 结束时会调用保存。内容没有变化时直接返回,避免每次
+ # 点击普通控件都产生一次磁盘写入和 fsync。
+ try:
+ with open(config_file, mode="r", encoding="utf-8") as f:
+ if f.read() == serialized_config:
+ _cfg.clear()
+ _cfg.update(config_to_save)
+ return
+ except (OSError, UnicodeError):
+ pass
+
+ temp_path = ""
+ try:
+ fd, temp_path = tempfile.mkstemp(
+ prefix=".config-",
+ suffix=".toml.tmp",
+ dir=root_dir,
+ )
+ with os.fdopen(fd, mode="w", encoding="utf-8") as f:
+ f.write(serialized_config)
+ f.flush()
+ os.fsync(f.fileno())
+ os.replace(temp_path, config_file)
+ _cfg.clear()
+ _cfg.update(config_to_save)
+ finally:
+ if temp_path and os.path.exists(temp_path):
+ os.remove(temp_path)
_cfg = load_config()
-app = _cfg.get("app", {})
+app = _SynchronizedConfig(_cfg.get("app", {}))
whisper = _cfg.get("whisper", {})
proxy = _cfg.get("proxy", {})
-azure = _cfg.get("azure", {})
-siliconflow = _cfg.get("siliconflow", {})
-elevenlabs = _cfg.get("elevenlabs", {})
-chatterbox = _cfg.get("chatterbox", {})
-ui = _cfg.get(
- "ui",
- {
- "hide_log": False,
- },
+azure = _SynchronizedConfig(_cfg.get("azure", {}))
+siliconflow = _SynchronizedConfig(_cfg.get("siliconflow", {}))
+elevenlabs = _SynchronizedConfig(_cfg.get("elevenlabs", {}))
+chatterbox = _SynchronizedConfig(_cfg.get("chatterbox", {}))
+ui = _SynchronizedConfig(
+ _cfg.get(
+ "ui",
+ {
+ "hide_log": False,
+ },
+ )
)
hostname = socket.gethostname()
@@ -183,7 +272,7 @@ project_description = _cfg.get(
"project_description",
"<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>",
)
-project_version = _cfg.get("project_version", "1.3.1")
+project_version = _cfg.get("project_version", "1.3.2")
reload_debug = False
app["redis_host"] = os.getenv(
@@ -191,10 +280,6 @@ app["redis_host"] = os.getenv(
os.getenv("REDIS_HOST", app.get("redis_host", "localhost")),
)
-imagemagick_path = app.get("imagemagick_path", "")
-if imagemagick_path and os.path.isfile(imagemagick_path):
- os.environ["IMAGEMAGICK_BINARY"] = imagemagick_path
-
ffmpeg_path = app.get("ffmpeg_path", "")
if ffmpeg_path and os.path.isfile(ffmpeg_path):
os.environ["IMAGEIO_FFMPEG_EXE"] = ffmpeg_path
diff --git a/app/models/llm_provider.py b/app/models/llm_provider.py
new file mode 100644
index 00000000..59011e6f
--- /dev/null
+++ b/app/models/llm_provider.py
@@ -0,0 +1,270 @@
+from dataclasses import dataclass
+
+
+DEFAULT_LLM_PROVIDER_ID = "moonshot"
+
+
+@dataclass(frozen=True, slots=True)
+class LLMProviderField:
+ """描述 Provider 除 API Key、Base URL、模型名之外的额外配置字段。"""
+
+ config_suffix: str
+ label_key: str
+ required: bool = False
+ secret: bool = False
+ default_value: str = ""
+
+
+@dataclass(frozen=True, slots=True)
+class LLMProviderSpec:
+ """
+ LLM Provider 的集中声明。
+
+ 这里集中保存跨 WebUI、配置加载和服务调用都会使用的稳定元数据,包括默认
+ 展示名称和 locale key,但不保存具体翻译文案,也不实现 API 请求。这样
+ Provider 的“是什么”由 Registry 维护,“怎么调用”仍由服务层适配器负责。
+ """
+
+ provider_id: str
+ default_label: str
+ adapter: str = "openai_compatible"
+ api_key_url: str = ""
+ default_model: str = ""
+ default_base_url: str = ""
+ requires_api_key: bool = True
+ requires_model_name: bool = True
+ requires_base_url: bool = True
+ show_api_key: bool = True
+ show_base_url: bool = True
+ deprecated_models: tuple[str, ...] = ()
+ deprecated_base_urls: tuple[str, ...] = ()
+ extra_fields: tuple[LLMProviderField, ...] = ()
+
+ @property
+ def label_key(self) -> str:
+ return f"llm_provider_label.{self.provider_id}"
+
+ @property
+ def tips_key(self) -> str:
+ return f"llm_provider_tips.{self.provider_id}"
+
+ def config_key(self, suffix: str) -> str:
+ return f"{self.provider_id}_{suffix}"
+
+ def resolve_model_name(self, configured_model: str | None) -> str:
+ """将空值或已废弃的历史默认值统一解析为当前默认模型。"""
+ model_name = (configured_model or "").strip()
+ if not model_name or model_name in self.deprecated_models:
+ return self.default_model
+ return model_name
+
+ def resolve_base_url(self, configured_base_url: str | None) -> str:
+ """解析 Base URL,并将已经停用的历史地址迁移到当前默认值。"""
+ base_url = (configured_base_url or "").strip()
+ deprecated_urls = {url.rstrip("/") for url in self.deprecated_base_urls}
+ if not base_url or base_url.rstrip("/") in deprecated_urls:
+ return self.default_base_url
+ return base_url
+
+
+# 元组顺序就是 WebUI 下拉框顺序。新增普通 OpenAI-compatible Provider 时,
+# 通常只需要在这里增加一项并补充 locale;只有协议不同的 Provider 才需要在
+# app/services/llm.py 中增加对应 adapter 实现。
+LLM_PROVIDER_REGISTRY = (
+ # 推荐 Provider
+ LLMProviderSpec(
+ "moonshot",
+ "Kimi / Moonshot AI",
+ api_key_url="https://platform.kimi.com/console/api-keys?aff=MoneyPrinterTurbo",
+ default_model="kimi-k2.7-code",
+ default_base_url="https://api.moonshot.cn/v1",
+ ),
+ # 主流模型原厂与云厂商
+ LLMProviderSpec(
+ "openai",
+ "OpenAI",
+ api_key_url="https://platform.openai.com/api-keys",
+ default_model="gpt-5.5",
+ default_base_url="https://api.openai.com/v1",
+ ),
+ LLMProviderSpec(
+ "gemini",
+ "Google Gemini",
+ adapter="gemini",
+ api_key_url="https://aistudio.google.com/app/apikey",
+ default_model="gemini-3.1-pro-preview",
+ requires_base_url=False,
+ show_base_url=False,
+ deprecated_models=("gemini-pro", "gemini-1.0-pro"),
+ ),
+ LLMProviderSpec(
+ "deepseek",
+ "DeepSeek",
+ api_key_url="https://platform.deepseek.com/api_keys",
+ default_model="deepseek-v4-pro",
+ default_base_url="https://api.deepseek.com",
+ ),
+ LLMProviderSpec(
+ "qwen",
+ "Alibaba Cloud Qwen",
+ adapter="qwen",
+ api_key_url="https://dashscope.console.aliyun.com/apiKey",
+ default_model="qwen-max",
+ requires_base_url=False,
+ show_base_url=False,
+ ),
+ LLMProviderSpec(
+ "azure",
+ "Microsoft Azure OpenAI",
+ adapter="azure",
+ api_key_url=(
+ "https://portal.azure.com/#view/"
+ "Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI"
+ ),
+ default_model="gpt-35-turbo",
+ ),
+ LLMProviderSpec(
+ "volcengine",
+ "ByteDance VolcEngine Ark",
+ api_key_url=(
+ "https://www.volcengine.com/activity/ai618?utm_campaign=hw&"
+ "utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&"
+ "utm_term=MoneyPrinterTurbo"
+ ),
+ default_model="doubao-seed-2-1-turbo-260628",
+ default_base_url="https://ark.cn-beijing.volces.com/api/v3",
+ ),
+ LLMProviderSpec(
+ "grok",
+ "xAI Grok",
+ api_key_url="https://console.x.ai/",
+ default_model="grok-4.3",
+ default_base_url="https://api.x.ai/v1",
+ ),
+ LLMProviderSpec(
+ "minimax",
+ "MiniMax",
+ api_key_url="https://platform.minimax.io/",
+ default_model="MiniMax-M3",
+ default_base_url="https://api.minimax.io/v1",
+ ),
+ LLMProviderSpec(
+ "mimo",
+ "Xiaomi MiMo",
+ api_key_url=(
+ "https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call"
+ ),
+ default_model="mimo-v2.5-pro",
+ default_base_url="https://api.xiaomimimo.com/v1",
+ ),
+ # 聚合与统一接入平台
+ LLMProviderSpec(
+ "cloudflare",
+ "Cloudflare AI Gateway",
+ adapter="cloudflare_ai_gateway",
+ api_key_url="https://dash.cloudflare.com/",
+ default_model="openai/gpt-4.1-mini",
+ requires_base_url=False,
+ show_base_url=False,
+ deprecated_models=("@cf/meta/llama-3.1-8b-instruct",),
+ extra_fields=(
+ LLMProviderField("account_id", "Account ID", required=True),
+ LLMProviderField(
+ "gateway_id",
+ "Gateway ID",
+ default_value="default",
+ ),
+ ),
+ ),
+ LLMProviderSpec(
+ "modelscope",
+ "Alibaba ModelScope",
+ adapter="modelscope",
+ api_key_url=("https://modelscope.cn/docs/model-service/API-Inference/intro"),
+ default_model="ZhipuAI/GLM-5.2",
+ default_base_url="https://api-inference.modelscope.cn/v1/",
+ ),
+ LLMProviderSpec(
+ "aihubmix",
+ "AIHubMix",
+ api_key_url="https://aihubmix.com/",
+ default_model="gpt-5.4-mini",
+ default_base_url="https://aihubmix.com/v1",
+ ),
+ LLMProviderSpec(
+ "aimlapi",
+ "AIML API",
+ api_key_url="https://aimlapi.com/app/keys",
+ default_model="openai/gpt-5-5",
+ default_base_url="https://api.aimlapi.com/v1",
+ ),
+ LLMProviderSpec(
+ "evolink",
+ "EvoLink",
+ api_key_url="https://evolink.ai/dashboard/keys",
+ default_model="gpt-5.5",
+ default_base_url="https://direct.evolink.ai/v1",
+ ),
+ # 本地部署与通用网关
+ LLMProviderSpec(
+ "ollama",
+ "Ollama",
+ requires_api_key=False,
+ show_api_key=False,
+ ),
+ LLMProviderSpec(
+ "oneapi",
+ "OneAPI",
+ api_key_url="https://github.com/songquanpeng/one-api",
+ ),
+ LLMProviderSpec(
+ "litellm",
+ "LiteLLM",
+ adapter="litellm",
+ default_model="openai/gpt-4o-mini",
+ requires_api_key=False,
+ requires_base_url=False,
+ show_api_key=False,
+ show_base_url=False,
+ ),
+ # 其它推理与公共服务
+ LLMProviderSpec(
+ "groq",
+ "Groq",
+ api_key_url="https://console.groq.com/keys",
+ default_model="llama-3.3-70b-versatile",
+ default_base_url="https://api.groq.com/openai/v1",
+ ),
+ LLMProviderSpec(
+ "pollinations",
+ "Pollinations AI",
+ api_key_url="https://enter.pollinations.ai/",
+ default_model="openai-fast",
+ default_base_url="https://gen.pollinations.ai/v1",
+ deprecated_models=("default",),
+ deprecated_base_urls=("https://text.pollinations.ai/openai",),
+ ),
+)
+
+LLM_PROVIDERS = {provider.provider_id: provider for provider in LLM_PROVIDER_REGISTRY}
+
+if len(LLM_PROVIDERS) != len(LLM_PROVIDER_REGISTRY):
+ raise RuntimeError("duplicate LLM provider id in registry")
+
+
+def get_llm_provider(provider_id: str) -> LLMProviderSpec | None:
+ return LLM_PROVIDERS.get((provider_id or "").lower())
+
+
+def normalize_provider_override(value: str | None, default_value: str | None) -> str:
+ """
+ 只保留与 Registry 默认值不同的用户覆盖值。
+
+ WebUI 需要把默认值展示在输入框中,但不能因此把默认值固化到 config.toml;
+ 否则后续升级 Registry 默认模型或地址时,旧配置会继续覆盖新默认值。
+ """
+ normalized_value = (value or "").strip()
+ normalized_default = (default_value or "").strip()
+ if normalized_value == normalized_default:
+ return ""
+ return normalized_value
diff --git a/app/models/schema.py b/app/models/schema.py
index d2871344..9e228f66 100644
--- a/app/models/schema.py
+++ b/app/models/schema.py
@@ -100,7 +100,7 @@ class VideoParams(BaseModel):
custom_position: float = config.ui.get("custom_position", 70.0)
font_name: Optional[str] = "STHeitiMedium.ttc"
text_fore_color: Optional[str] = "#FFFFFF"
- text_background_color: Union[bool, str] = True
+ text_background_color: Union[bool, str] = False
rounded_subtitle_background: bool = False
font_size: int = 60
@@ -124,7 +124,7 @@ class SubtitleRequest(BaseModel):
subtitle_position: Optional[str] = config.ui.get("subtitle_position", "bottom")
font_name: Optional[str] = "STHeitiMedium.ttc"
text_fore_color: Optional[str] = "#FFFFFF"
- text_background_color: Union[bool, str] = True
+ text_background_color: Union[bool, str] = False
rounded_subtitle_background: bool = False
font_size: int = 60
stroke_color: Optional[str] = "#000000"
diff --git a/app/services/cache_manager.py b/app/services/cache_manager.py
new file mode 100644
index 00000000..62475893
--- /dev/null
+++ b/app/services/cache_manager.py
@@ -0,0 +1,215 @@
+"""视频素材缓存的统计、预览和清理服务。"""
+
+from __future__ import annotations
+
+import os
+import re
+import time
+from dataclasses import dataclass
+from typing import Iterator
+
+from loguru import logger
+
+from app.utils import utils
+
+
+# 在线素材使用 URL 的 MD5 作为稳定文件名。缓存管理只接受该命名格式,避免把
+# 用户误放到目录中的视频、说明文件或其它业务文件当作缓存删除。
+_VIDEO_CACHE_FILE_PATTERN = re.compile(r"^vid-[0-9a-f]{32}\.mp4$")
+_SECONDS_PER_DAY = 24 * 60 * 60
+
+
+@dataclass(frozen=True)
+class VideoCacheStats:
+ """缓存目录的轻量统计结果,只包含文件系统元数据。"""
+
+ file_count: int = 0
+ total_size: int = 0
+ oldest_mtime: float | None = None
+ newest_mtime: float | None = None
+
+
+@dataclass(frozen=True)
+class VideoCacheCleanupResult:
+ """一次清理的执行结果,允许部分文件删除失败。"""
+
+ deleted_count: int = 0
+ deleted_size: int = 0
+ failed_count: int = 0
+
+
+@dataclass(frozen=True)
+class _VideoCacheEntry:
+ """扫描阶段保存的最小文件信息,避免清理时打开或解析视频。"""
+
+ path: str
+ name: str
+ size: int
+ mtime: float
+
+
+def video_cache_dir() -> str:
+ """返回项目管理的默认视频缓存目录。"""
+
+ return os.path.realpath(utils.storage_dir("cache_videos"))
+
+
+def _iter_video_cache_entries() -> Iterator[_VideoCacheEntry]:
+ """
+ 顺序扫描默认缓存目录第一层。
+
+ 使用 ``os.scandir`` 是为了在缓存达到数万文件时复用目录遍历返回的元数据,
+ 避免 ``Path.iterdir`` 后再次查询文件类型。这里不递归、不打开视频,也不调用
+ FFmpeg,因此耗时主要与文件数量线性相关,而不是与视频总容量相关。
+ """
+
+ cache_dir = video_cache_dir()
+ try:
+ entries = os.scandir(cache_dir)
+ except FileNotFoundError:
+ return
+ except OSError as exc:
+ logger.warning(
+ f"failed to scan video cache directory: path={cache_dir}, error={exc}"
+ )
+ return
+
+ with entries:
+ for entry in entries:
+ if not _VIDEO_CACHE_FILE_PATTERN.fullmatch(entry.name):
+ continue
+
+ try:
+ # 不跟随符号链接,确保清理逻辑不会越过默认缓存目录边界。
+ if not entry.is_file(follow_symlinks=False):
+ continue
+ stat_result = entry.stat(follow_symlinks=False)
+ except OSError as exc:
+ logger.warning(
+ f"failed to inspect video cache file: file={entry.name}, error={exc}"
+ )
+ continue
+
+ yield _VideoCacheEntry(
+ path=entry.path,
+ name=entry.name,
+ size=stat_result.st_size,
+ mtime=stat_result.st_mtime,
+ )
+
+
+def _is_cleanup_candidate(
+ entry: _VideoCacheEntry,
+ max_age_days: int | None,
+ now: float,
+) -> bool:
+ if max_age_days is None:
+ return True
+ return entry.mtime < now - max_age_days * _SECONDS_PER_DAY
+
+
+def _validate_max_age_days(max_age_days: int | None) -> None:
+ """即使缓存目录为空,也应稳定拒绝无效清理参数。"""
+ if max_age_days is None:
+ return
+ if (
+ isinstance(max_age_days, bool)
+ or not isinstance(max_age_days, int)
+ or max_age_days <= 0
+ ):
+ raise ValueError("max_age_days must be a positive integer or None")
+
+
+def get_video_cache_stats(max_age_days: int | None = None) -> VideoCacheStats:
+ """
+ 统计全部缓存,或预览修改时间早于指定天数的可清理缓存。
+
+ ``max_age_days=None`` 表示全部缓存。统计过程只读取目录项的大小和修改时间,
+ 不读取视频内容,因此即使缓存总容量很大也不会产生与容量成比例的 I/O。
+ """
+
+ _validate_max_age_days(max_age_days)
+ now = time.time()
+ file_count = 0
+ total_size = 0
+ oldest_mtime = None
+ newest_mtime = None
+
+ for entry in _iter_video_cache_entries():
+ if not _is_cleanup_candidate(entry, max_age_days, now):
+ continue
+ file_count += 1
+ total_size += entry.size
+ oldest_mtime = (
+ entry.mtime if oldest_mtime is None else min(oldest_mtime, entry.mtime)
+ )
+ newest_mtime = (
+ entry.mtime if newest_mtime is None else max(newest_mtime, entry.mtime)
+ )
+
+ return VideoCacheStats(
+ file_count=file_count,
+ total_size=total_size,
+ oldest_mtime=oldest_mtime,
+ newest_mtime=newest_mtime,
+ )
+
+
+def clean_video_cache(max_age_days: int | None = None) -> VideoCacheCleanupResult:
+ """
+ 清理默认视频缓存,并返回可向用户展示的汇总结果。
+
+ 页面预览与真正点击清理之间可能间隔较久,所以执行时必须重新扫描和判断,
+ 不能复用旧候选列表。删除采用逐文件容错:单个文件被占用或权限不足时记录
+ 警告并继续,避免几百个文件中一个异常文件导致整次清理失败。
+ """
+
+ _validate_max_age_days(max_age_days)
+ now = time.time()
+ logger.info(
+ f"start cleaning video cache: max_age_days={max_age_days}"
+ )
+
+ candidate_count = 0
+ candidate_size = 0
+ deleted_count = 0
+ deleted_size = 0
+ failed_count = 0
+ cache_dir = video_cache_dir()
+
+ # 边扫描边删除,不在内存中保留完整候选列表。即使目录增长到几十万个文件,
+ # 清理过程的额外内存仍保持常量级;执行时使用统一 now,避免长清理过程中
+ # 截止时间不断移动而产生不可预测的候选范围。
+ for entry in _iter_video_cache_entries():
+ if not _is_cleanup_candidate(entry, max_age_days, now):
+ continue
+ candidate_count += 1
+ candidate_size += entry.size
+ try:
+ # entry.path 来自默认目录的第一层 scandir;删除前再次校验父目录和
+ # 文件名,防止未来修改扫描逻辑时意外扩大可删除范围。
+ if (
+ os.path.realpath(os.path.dirname(entry.path)) != cache_dir
+ or not _VIDEO_CACHE_FILE_PATTERN.fullmatch(entry.name)
+ or os.path.islink(entry.path)
+ ):
+ raise ValueError("cache file is outside the managed directory")
+ os.unlink(entry.path)
+ deleted_count += 1
+ deleted_size += entry.size
+ except (OSError, ValueError) as exc:
+ failed_count += 1
+ logger.warning(
+ f"failed to delete video cache file: file={entry.name}, error={exc}"
+ )
+
+ logger.info(
+ "finished cleaning video cache: "
+ f"candidates={candidate_count}, candidate_bytes={candidate_size}, "
+ f"deleted={deleted_count}, deleted_bytes={deleted_size}, failed={failed_count}"
+ )
+ return VideoCacheCleanupResult(
+ deleted_count=deleted_count,
+ deleted_size=deleted_size,
+ failed_count=failed_count,
+ )
diff --git a/app/services/llm.py b/app/services/llm.py
index 38a54b2a..4ef3f47c 100644
--- a/app/services/llm.py
+++ b/app/services/llm.py
@@ -1,7 +1,7 @@
import json
import logging
import re
-import requests
+from time import perf_counter
from typing import List
from loguru import logger
@@ -9,17 +9,18 @@ from openai import AzureOpenAI, OpenAI
from openai.types.chat import ChatCompletion
from app.config import config
+from app.models.llm_provider import DEFAULT_LLM_PROVIDER_ID, get_llm_provider
_max_retries = 5
-_DEFAULT_GEMINI_MODEL = "gemini-2.5-flash"
-_DEPRECATED_GEMINI_MODELS = {"gemini-pro", "gemini-1.0-pro"}
MIN_SCRIPT_PARAGRAPH_NUMBER = 1
MAX_SCRIPT_PARAGRAPH_NUMBER = 10
MAX_SCRIPT_PROMPT_LENGTH = 2000
MAX_SCRIPT_SYSTEM_PROMPT_LENGTH = 8000
_THINK_BLOCK_RE = re.compile(r"<think\b[^>]*>.*?</think>", re.IGNORECASE | re.DOTALL)
_UNCLOSED_THINK_BLOCK_RE = re.compile(r"<think\b[^>]*>.*$", re.IGNORECASE | re.DOTALL)
-_URL_USERINFO_RE = re.compile(r"((?:https?|wss?)://)([^/\s?#@]*:[^/\s?#@]*@)", re.IGNORECASE)
+_URL_USERINFO_RE = re.compile(
+ r"((?:https?|wss?)://)([^/\s?#@]*:[^/\s?#@]*@)", re.IGNORECASE
+)
_SENSITIVE_QUERY_RE = re.compile(
r"([?&](?:api[_-]?key|access[_-]?token|token|key|secret|password)=)([^&#\s]+)",
re.IGNORECASE,
@@ -138,211 +139,75 @@ def _extract_qwen_generation_text(response) -> str:
def _generate_response(prompt: str) -> str:
try:
- content = ""
- llm_provider = config.app.get("llm_provider", "openai")
+ llm_provider = str(
+ config.app.get("llm_provider", DEFAULT_LLM_PROVIDER_ID)
+ ).lower()
+ provider = get_llm_provider(llm_provider)
+ if provider is None:
+ raise ValueError(f"{llm_provider}: unsupported llm provider")
+
logger.info(f"llm provider: {llm_provider}")
- api_version = "" # for azure
- if llm_provider == "moonshot":
- api_key = config.app.get("moonshot_api_key")
- model_name = config.app.get("moonshot_model_name")
- base_url = "https://api.moonshot.cn/v1"
- elif llm_provider == "ollama":
- # api_key = config.app.get("openai_api_key")
- api_key = "ollama" # any string works but you are required to have one
- model_name = config.app.get("ollama_model_name")
- base_url = config.app.get("ollama_base_url", "")
+ api_key = config.app.get(provider.config_key("api_key"), "")
+ configured_model = config.app.get(provider.config_key("model_name"), "")
+ model_name = provider.resolve_model_name(configured_model)
+ if configured_model and model_name != configured_model:
+ logger.warning(
+ f"{llm_provider} model '{configured_model}' is deprecated, "
+ f"fallback to '{model_name}'"
+ )
+ configured_base_url = config.app.get(provider.config_key("base_url"), "")
+ base_url = provider.resolve_base_url(configured_base_url)
+ if configured_base_url and configured_base_url.strip().rstrip("/") in {
+ url.rstrip("/") for url in provider.deprecated_base_urls
+ }:
+ logger.warning(
+ f"{llm_provider} base URL '{configured_base_url}' is deprecated, "
+ f"fallback to '{base_url}'"
+ )
+ adapter = provider.adapter
+ api_version = ""
+
+ # Ollama 的默认地址依赖当前是否运行在容器中,无法作为静态 Registry
+ # 值保存;Registry 仍负责模型和必填规则,运行环境差异在这里解析。
+ if llm_provider == "ollama":
+ api_key = "ollama"
if not base_url:
base_url = config.get_default_ollama_base_url()
- elif llm_provider == "openai":
- api_key = config.app.get("openai_api_key")
- model_name = config.app.get("openai_model_name")
- base_url = config.app.get("openai_base_url", "")
- if not base_url:
- base_url = "https://api.openai.com/v1"
- elif llm_provider == "aihubmix":
- api_key = config.app.get("aihubmix_api_key")
- model_name = config.app.get("aihubmix_model_name")
- base_url = config.app.get("aihubmix_base_url", "")
- # AIHubMix 兼容 OpenAI Chat Completions 协议。这里使用独立
- # provider 保存合作方的默认网关和推荐模型,避免把推广链接、
- # 默认模型等合作配置混进普通 OpenAI provider,影响现有用户。
- if not base_url:
- base_url = "https://aihubmix.com/v1"
- if not model_name:
- model_name = "gpt-5.4-mini"
- elif llm_provider == "aimlapi":
- api_key = config.app.get("aimlapi_api_key")
- model_name = config.app.get("aimlapi_model_name")
- base_url = config.app.get("aimlapi_base_url", "")
- if not base_url:
- base_url = "https://api.aimlapi.com/v1"
- if not model_name:
- model_name = "openai/gpt-4o-mini"
- elif llm_provider == "oneapi":
- api_key = config.app.get("oneapi_api_key")
- model_name = config.app.get("oneapi_model_name")
- base_url = config.app.get("oneapi_base_url", "")
- elif llm_provider == "azure":
- api_key = config.app.get("azure_api_key")
- model_name = config.app.get("azure_model_name")
- base_url = config.app.get("azure_base_url", "")
- api_version = config.app.get("azure_api_version", "2024-02-15-preview")
- elif llm_provider == "gemini":
- api_key = config.app.get("gemini_api_key")
- model_name = config.app.get("gemini_model_name")
- base_url = config.app.get("gemini_base_url", "")
- # Gemini 旧模型名已经陆续下线,这里自动兼容历史配置,
- # 避免用户沿用旧值时直接收到 404。
- if not model_name:
- model_name = _DEFAULT_GEMINI_MODEL
- elif model_name in _DEPRECATED_GEMINI_MODELS:
- logger.warning(
- f"gemini model '{model_name}' is deprecated, fallback to '{_DEFAULT_GEMINI_MODEL}'"
- )
- model_name = _DEFAULT_GEMINI_MODEL
- elif llm_provider == "grok":
- api_key = config.app.get("grok_api_key")
- model_name = config.app.get("grok_model_name")
- base_url = config.app.get("grok_base_url", "")
- if not base_url:
- base_url = "https://api.x.ai/v1"
- elif llm_provider == "groq":
- api_key = config.app.get("groq_api_key")
- model_name = config.app.get("groq_model_name")
- if not model_name:
- model_name = "llama-3.3-70b-versatile"
- base_url = config.app.get("groq_base_url", "")
- if not base_url:
- base_url = "https://api.groq.com/openai/v1"
- elif llm_provider == "qwen":
- api_key = config.app.get("qwen_api_key")
- model_name = config.app.get("qwen_model_name")
- base_url = "***"
- elif llm_provider == "cloudflare":
- api_key = config.app.get("cloudflare_api_key")
- model_name = config.app.get("cloudflare_model_name")
- account_id = config.app.get("cloudflare_account_id")
- base_url = "***"
- elif llm_provider == "minimax":
- api_key = config.app.get("minimax_api_key")
- model_name = config.app.get("minimax_model_name")
- base_url = config.app.get("minimax_base_url", "")
- if not base_url:
- base_url = "https://api.minimax.io/v1"
- elif llm_provider == "evolink":
- api_key = config.app.get("evolink_api_key")
- model_name = config.app.get("evolink_model_name")
- base_url = config.app.get("evolink_base_url", "")
- if not base_url:
- base_url = "https://direct.evolink.ai/v1"
- if not model_name:
- model_name = "gpt-5.5"
- elif llm_provider == "mimo":
- api_key = config.app.get("mimo_api_key")
- model_name = config.app.get("mimo_model_name")
- base_url = config.app.get("mimo_base_url", "")
- # Xiaomi MiMo 官方文档说明其兼容 OpenAI Chat Completions 协议。
- # 这里使用独立 provider 保存默认地址和模型名,用户不用把 MiMo
- # 当作 OpenAI 自定义 base_url 配置,也便于后续继续接入 MiMo
- # 多模态或 TTS 能力时保持边界清晰。
- if not base_url:
- base_url = "https://api.xiaomimimo.com/v1"
- if not model_name:
- model_name = "mimo-v2.5-pro"
- elif llm_provider == "volcengine":
- api_key = config.app.get("volcengine_api_key")
- model_name = config.app.get("volcengine_model_name")
- base_url = config.app.get("volcengine_base_url", "")
- # 火山引擎方舟提供 OpenAI-compatible Chat Completions 接口。
- # 独立 provider 可以让用户直接选择 VolcEngine,而不用把 Ark
- # 的 key/base_url 混到通用 OpenAI 配置里,后续维护也更清晰。
- if not base_url:
- base_url = "https://ark.cn-beijing.volces.com/api/v3"
- if not model_name:
- model_name = "doubao-seed-2-1-turbo-260628"
- elif llm_provider == "deepseek":
- api_key = config.app.get("deepseek_api_key")
- model_name = config.app.get("deepseek_model_name")
- base_url = config.app.get("deepseek_base_url")
- if not base_url:
- base_url = "https://api.deepseek.com"
- elif llm_provider == "modelscope":
- api_key = config.app.get("modelscope_api_key")
- model_name = config.app.get("modelscope_model_name")
- base_url = config.app.get("modelscope_base_url")
- if not base_url:
- base_url = "https://api-inference.modelscope.cn/v1/"
- elif llm_provider == "ernie":
- api_key = config.app.get("ernie_api_key")
- secret_key = config.app.get("ernie_secret_key")
- base_url = config.app.get("ernie_base_url")
- model_name = "***"
- if not secret_key:
- raise ValueError(
- f"{llm_provider}: secret_key is not set, please set it in the config.toml file."
- )
- elif llm_provider == "pollinations":
- try:
- base_url = config.app.get("pollinations_base_url", "")
- if not base_url:
- base_url = "https://text.pollinations.ai/openai"
- model_name = config.app.get("pollinations_model_name", "openai-fast")
-
- # Prepare the payload
- payload = {
- "model": model_name,
- "messages": [
- {"role": "user", "content": prompt}
- ],
- "seed": 101 # Optional but helps with reproducibility
- }
-
- # Optional parameters if configured
- if config.app.get("pollinations_private"):
- payload["private"] = True
- if config.app.get("pollinations_referrer"):
- payload["referrer"] = config.app.get("pollinations_referrer")
-
- headers = {
- "Content-Type": "application/json"
- }
-
- # Make the API request
- response = requests.post(base_url, headers=headers, json=payload)
- response.raise_for_status()
- result = response.json()
-
- if result and "choices" in result and len(result["choices"]) > 0:
- content = result["choices"][0]["message"]["content"]
- return _normalize_text_response(content, llm_provider)
- else:
- raise Exception(f"[{llm_provider}] returned an invalid response format")
- except requests.exceptions.RequestException as e:
- raise Exception(f"[{llm_provider}] request failed: {str(e)}")
- except Exception as e:
- raise Exception(f"[{llm_provider}] error: {str(e)}")
+ if adapter == "azure":
+ api_version = config.app.get(
+ provider.config_key("api_version"), "2024-02-15-preview"
+ )
- elif llm_provider == "litellm":
- model_name = config.app.get("litellm_model_name")
- else:
- raise ValueError(f"{llm_provider}: unsupported llm provider")
+ extra_values = {
+ field.config_suffix: (
+ config.app.get(provider.config_key(field.config_suffix), "")
+ or field.default_value
+ )
+ for field in provider.extra_fields
+ }
- if llm_provider not in ["pollinations", "ollama", "litellm"]: # Skip validation for providers that don't require API key
- if not api_key:
- raise ValueError(
- f"{llm_provider}: api_key is not set, please set it in the config.toml file."
- )
- if not model_name:
- raise ValueError(
- f"{llm_provider}: model_name is not set, please set it in the config.toml file."
- )
- if not base_url and llm_provider not in ["gemini"]:
+ if provider.requires_api_key and not api_key:
+ raise ValueError(
+ f"{llm_provider}: api_key is not set, please set it in the config.toml file."
+ )
+ if provider.requires_model_name and not model_name:
+ raise ValueError(
+ f"{llm_provider}: model_name is not set, please set it in the config.toml file."
+ )
+ if provider.requires_base_url and not base_url:
+ raise ValueError(
+ f"{llm_provider}: base_url is not set, please set it in the config.toml file."
+ )
+
+ for field in provider.extra_fields:
+ if field.required and not extra_values[field.config_suffix]:
raise ValueError(
- f"{llm_provider}: base_url is not set, please set it in the config.toml file."
+ f"{llm_provider}: {field.config_suffix} is not set, "
+ "please set it in the config.toml file."
)
- if llm_provider == "qwen":
+ if adapter == "qwen":
import dashscope
from dashscope.api_entities.dashscope_response import GenerationResponse
@@ -366,109 +231,75 @@ def _generate_response(prompt: str) -> str:
else:
raise Exception(f"[{llm_provider}] returned an empty response")
- if llm_provider == "gemini":
- import google.generativeai as genai
-
- if not base_url:
- genai.configure(api_key=api_key, transport="rest")
- else:
- genai.configure(api_key=api_key, transport="rest", client_options={'api_endpoint': base_url})
-
- generation_config = {
- "temperature": 0.5,
- "top_p": 1,
- "top_k": 1,
- "max_output_tokens": 2048,
- }
-
- safety_settings = [
- {
- "category": "HARM_CATEGORY_HARASSMENT",
- "threshold": "BLOCK_ONLY_HIGH",
- },
- {
- "category": "HARM_CATEGORY_HATE_SPEECH",
- "threshold": "BLOCK_ONLY_HIGH",
- },
- {
- "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT",
- "threshold": "BLOCK_ONLY_HIGH",
- },
- {
- "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
- "threshold": "BLOCK_ONLY_HIGH",
- },
- ]
-
- model = genai.GenerativeModel(
- model_name=model_name,
- generation_config=generation_config,
- safety_settings=safety_settings,
+ if adapter == "gemini":
+ from google import genai
+ from google.genai import types
+
+ http_options = types.HttpOptions(base_url=base_url) if base_url else None
+ generation_config = types.GenerateContentConfig(
+ temperature=0.5,
+ top_p=1,
+ top_k=1,
+ max_output_tokens=2048,
+ safety_settings=[
+ types.SafetySetting(
+ category="HARM_CATEGORY_HARASSMENT",
+ threshold="BLOCK_ONLY_HIGH",
+ ),
+ types.SafetySetting(
+ category="HARM_CATEGORY_HATE_SPEECH",
+ threshold="BLOCK_ONLY_HIGH",
+ ),
+ types.SafetySetting(
+ category="HARM_CATEGORY_SEXUALLY_EXPLICIT",
+ threshold="BLOCK_ONLY_HIGH",
+ ),
+ types.SafetySetting(
+ category="HARM_CATEGORY_DANGEROUS_CONTENT",
+ threshold="BLOCK_ONLY_HIGH",
+ ),
+ ],
)
try:
- response = model.generate_content(prompt)
- candidates = response.candidates
- generated_text = candidates[0].content.parts[0].text
- except (AttributeError, IndexError) as e:
- logger.warning(
- f"gemini returned invalid response content: {str(e)}"
- )
- raise ValueError(
- f"[{llm_provider}] returned invalid response content"
- )
+ # 新版 google-genai 通过统一 Client 暴露模型服务。上下文管理器
+ # 会在请求结束后关闭底层 HTTP 连接,避免频繁生成时积累连接资源。
+ with genai.Client(
+ api_key=api_key,
+ http_options=http_options,
+ ) as client:
+ response = client.models.generate_content(
+ model=model_name,
+ contents=prompt,
+ config=generation_config,
+ )
+ generated_text = response.text
+ except (AttributeError, IndexError, ValueError) as e:
+ logger.warning(f"gemini returned invalid response content: {str(e)}")
+ raise ValueError(f"[{llm_provider}] returned invalid response content")
return _normalize_text_response(generated_text, llm_provider)
- if llm_provider == "cloudflare":
- response = requests.post(
- f"https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/{model_name}",
- headers={"Authorization": f"Bearer {api_key}"},
- json={
- "messages": [
- {
- "role": "system",
- "content": "You are a friendly assistant",
- },
- {"role": "user", "content": prompt},
- ]
- },
- )
- result = response.json()
- logger.info(result)
- return _normalize_text_response(result["result"]["response"], llm_provider)
-
- if llm_provider == "ernie":
- response = requests.post(
- "https://aip.baidubce.com/oauth/2.0/token",
- params={
- "grant_type": "client_credentials",
- "client_id": api_key,
- "client_secret": secret_key,
- }
+ if adapter == "cloudflare_ai_gateway":
+ account_id = extra_values["account_id"]
+ gateway_id = extra_values["gateway_id"]
+ # Cloudflare 当前推荐的 AI Gateway REST API 兼容 OpenAI SDK。
+ # Account ID 用于构造统一端点,Gateway ID 通过请求头选择;这里
+ # 不再调用 Workers AI 的 /ai/run/{model} 专用接口。
+ client = OpenAI(
+ api_key=api_key,
+ base_url=(
+ f"https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1"
+ ),
+ default_headers={"cf-aig-gateway-id": gateway_id},
)
- access_token = response.json().get("access_token")
- url = f"{base_url}?access_token={access_token}"
-
- payload = json.dumps(
- {
- "messages": [{"role": "user", "content": prompt}],
- "temperature": 0.5,
- "top_p": 0.8,
- "penalty_score": 1,
- "disable_search": False,
- "enable_citation": False,
- "response_format": "text",
- }
+ response = client.chat.completions.create(
+ model=model_name,
+ messages=[{"role": "user", "content": prompt}],
)
- headers = {"Content-Type": "application/json"}
-
- response = requests.request(
- "POST", url, headers=headers, data=payload
- ).json()
- return _normalize_text_response(response.get("result"), llm_provider)
+ return _extract_chat_completion_text(response, llm_provider)
- if llm_provider == "litellm":
+ if adapter == "litellm":
import litellm
if not model_name:
@@ -489,7 +320,7 @@ def _generate_response(prompt: str) -> str:
return _extract_chat_completion_text(response, llm_provider)
- if llm_provider == "azure":
+ if adapter == "azure":
# Azure OpenAI SDK 使用 `azure_endpoint` 和 `api_version` 生成专用请求地址,
# 不能继续复用下面普通 OpenAI-compatible 的 `base_url` 初始化逻辑。
# 这里在 Azure 分支内完成请求并立即返回,避免客户端被后续 fallback
@@ -516,8 +347,8 @@ def _generate_response(prompt: str) -> str:
f"[{llm_provider}] returned an empty response, please check your network connection and try again."
)
- if llm_provider == "modelscope":
- content = ''
+ if adapter == "modelscope":
+ content = ""
client = OpenAI(
api_key=api_key,
base_url=base_url,
@@ -526,7 +357,7 @@ def _generate_response(prompt: str) -> str:
model=model_name,
messages=[{"role": "user", "content": prompt}],
extra_body={"enable_thinking": False},
- stream=True
+ stream=True,
)
if response:
for chunk in response:
@@ -543,11 +374,10 @@ def _generate_response(prompt: str) -> str:
else:
raise Exception(f"[{llm_provider}] returned an empty response")
- else:
- client = OpenAI(
- api_key=api_key,
- base_url=base_url,
- )
+ client = OpenAI(
+ api_key=api_key,
+ base_url=base_url,
+ )
response = client.chat.completions.create(
model=model_name, messages=[{"role": "user", "content": prompt}]
@@ -565,11 +395,36 @@ def _generate_response(prompt: str) -> str:
f"[{llm_provider}] returned an empty response, please check your network connection and try again."
)
- return _normalize_text_response(content, llm_provider)
except Exception as e:
return f"Error: {_sanitize_error_message(e)}"
+def test_connection() -> tuple[bool, str, float]:
+ """
+ 使用当前 Provider 配置发起一次最小请求,验证实际生成链路是否可用。
+
+ 连接测试直接复用 `_generate_response()`,因此会覆盖 API Key、Base URL、
+ 模型名称和 Provider 专用字段,但不会进入脚本生成的重试逻辑,也不会发送
+ 用户的视频主题或文案。返回值依次为成功状态、错误信息和请求耗时。
+ """
+ started_at = perf_counter()
+ response = _generate_response(prompt="Reply with exactly: OK")
+ elapsed = perf_counter() - started_at
+
+ if not response:
+ error_message = "LLM returned an empty response"
+ logger.warning(f"llm connection test failed: {error_message}")
+ return False, error_message, elapsed
+
+ if response.startswith("Error:"):
+ error_message = response.removeprefix("Error:").strip()
+ logger.warning(f"llm connection test failed: {error_message}")
+ return False, error_message, elapsed
+
+ logger.info(f"llm connection test succeeded, elapsed: {elapsed:.2f}s")
+ return True, "", elapsed
+
+
def _limit_script_text(text: str | None, max_length: int, field_name: str) -> str:
value = (text or "").strip()
if len(value) <= max_length:
@@ -594,8 +449,7 @@ def _normalize_script_paragraph_number(paragraph_number: int | None) -> int:
# WebUI 和 API 都会限制范围;这里兜底处理内部调用,避免异常参数直接扩大
# LLM 生成成本或生成空结果。
logger.warning(
- "script paragraph_number is out of range and will be clamped: "
- f"{value}"
+ f"script paragraph_number is out of range and will be clamped: {value}"
)
return max(MIN_SCRIPT_PARAGRAPH_NUMBER, min(value, MAX_SCRIPT_PARAGRAPH_NUMBER))
@@ -747,10 +601,7 @@ def generate_terms(
# 的 4 个示例误导,导致长文案只返回少量关键词,影响素材覆盖度。
example_terms = [
"opening visual topic",
- *[
- f"script visual topic {index}"
- for index in range(2, max(amount, 1))
- ],
+ *[f"script visual topic {index}" for index in range(2, max(amount, 1))],
"final visual topic",
]
output_example = json.dumps(example_terms[:amount], ensure_ascii=False)
@@ -792,9 +643,7 @@ def generate_terms(
Please note that you must use English for generating video search terms; Chinese is not accepted.
""".strip()
- logger.info(
- f"subject: {video_subject}, match_script_order: {match_script_order}"
- )
+ logger.info(f"subject: {video_subject}, match_script_order: {match_script_order}")
search_terms = []
response = ""
@@ -981,9 +830,9 @@ Write engaging publishing metadata for a short video that will be posted on {lab
## Constraints
1. Respond ONLY with a single valid minified JSON object. No markdown, no code fences, no commentary.
2. The JSON must contain exactly these keys: "title", "caption", "hashtags".
-3. "title": a catchy hook, at most {spec['title_max']} characters.
-4. "caption": an engaging description that ends with a call to action, at most {spec['caption_max']} characters. Do not put hashtags inside the caption.
-5. "hashtags": a JSON array of exactly {spec['hashtag_count']} strings. Each must start with "#", contain no spaces, and be relevant to the topic and to {label}.
+3. "title": a catchy hook, at most {spec["title_max"]} characters.
+4. "caption": an engaging description that ends with a call to action, at most {spec["caption_max"]} characters. Do not put hashtags inside the caption.
+5. "hashtags": a JSON array of exactly {spec["hashtag_count"]} strings. Each must start with "#", contain no spaces, and be relevant to the topic and to {label}.
6. {language_instruction}
## Output Example
@@ -1040,9 +889,7 @@ def _fallback_social_metadata(
return {
"title": _clamp_text(title, spec["title_max"]),
"caption": _clamp_text(script or subject, spec["caption_max"]),
- "hashtags": _normalize_hashtags(
- DEFAULT_SOCIAL_HASHTAGS, spec["hashtag_count"]
- ),
+ "hashtags": _normalize_hashtags(DEFAULT_SOCIAL_HASHTAGS, spec["hashtag_count"]),
}
@@ -1073,9 +920,7 @@ def generate_social_metadata(
language=language,
platform=platform,
)
- logger.info(
- f"generating social metadata: platform={platform}, language={language}"
- )
+ logger.info(f"generating social metadata: platform={platform}, language={language}")
response = ""
for i in range(_max_retries):
@@ -1111,4 +956,3 @@ if __name__ == "__main__":
)
print("######################")
print(search_terms)
-
diff --git a/app/services/video.py b/app/services/video.py
index 2937361b..1b4fe4f2 100644
--- a/app/services/video.py
+++ b/app/services/video.py
@@ -4,10 +4,10 @@ import io
import os
import random
import gc
-import shutil
import subprocess
import sys
import tempfile
+import unicodedata
from contextlib import redirect_stdout
from functools import lru_cache
from typing import List
@@ -893,6 +893,62 @@ def _get_visible_center_position(
return x, y
+def subtitle_colors_are_indistinguishable(params: VideoParams) -> bool:
+ """判断字幕文字和背景是否同色,提醒用户可能无法看清字幕。"""
+ if not params.subtitle_enabled or not params.text_background_color:
+ return False
+
+ def normalize_color(value):
+ if isinstance(value, bool):
+ return "#000000" if value else ""
+ return str(value or "").strip().lower()
+
+ text_color = normalize_color(params.text_fore_color)
+ background_color = normalize_color(params.text_background_color)
+ return bool(text_color and text_color == background_color)
+
+
+@lru_cache(maxsize=64)
+def _subtitle_font_supports_sample(font_path: str, sample: str) -> bool:
+ """检查字体是否包含样本文字需要的字形,并缓存重复检查结果。"""
+ try:
+ font = ImageFont.truetype(font_path, 30)
+ missing_mask = font.getmask("\U0010ffff")
+ missing_signature = (
+ missing_mask.size,
+ missing_mask.getbbox(),
+ bytes(missing_mask),
+ )
+ for char in sample:
+ char_mask = font.getmask(char)
+ char_signature = (
+ char_mask.size,
+ char_mask.getbbox(),
+ bytes(char_mask),
+ )
+ if char_mask.getbbox() is None or char_signature == missing_signature:
+ return False
+ return True
+ except Exception as e:
+ # 字体探测失败不应阻止用户生成;保留日志供环境兼容问题排查。
+ logger.warning(f"failed to inspect subtitle font glyphs: {font_path}, {e}")
+ return True
+
+
+def subtitle_font_supports_text(font_path: str, text: str) -> bool:
+ """检查字体能否绘制文本中的字母和数字,忽略空白及标点符号。"""
+ sample = "".join(
+ dict.fromkeys(
+ char
+ for char in str(text or "")
+ if unicodedata.category(char)[0] in {"L", "N"}
+ )
+ )[:64]
+ if not sample:
+ return True
+ return _subtitle_font_supports_sample(font_path, sample)
+
+
def generate_video(
video_path: str,
audio_path: str,
@@ -942,7 +998,10 @@ def generate_video(
getattr(params, "rounded_subtitle_background", False) and bg_color
)
has_subtitle_background = bool(bg_color)
- pad_x = int(params.font_size * 0.6) if has_subtitle_background else 0
+ # 圆角背景按文字真实宽度生成,左右留白应更克制;旧矩形背景仍保留
+ # 较大的安全边距,避免历史配置中的长字幕贴边或被裁切。
+ padding_ratio = 0.4 if rounded_bg_enabled else 0.6
+ pad_x = int(params.font_size * padding_ratio) if has_subtitle_background else 0
# 字幕背景需要给文字左右留出明确内边距。先从可用宽度中扣除
# padding 再换行,避免长英文或大字号刚好撑满 90% 视频宽度后,
# 文字贴到背景框边缘,看起来像被裁切。普通矩形背景和圆角背景
diff --git a/app/services/voice.py b/app/services/voice.py
index bda57bec..2c7d983c 100644
--- a/app/services/voice.py
+++ b/app/services/voice.py
@@ -13,7 +13,7 @@ import time
import unicodedata
from datetime import datetime
from typing import Union
-from xml.sax.saxutils import unescape
+from xml.sax.saxutils import escape, unescape
import edge_tts
import requests
@@ -374,7 +374,12 @@ def tts(
)
if is_azure_v2_voice(voice_name):
- return azure_tts_v2(text, voice_name, voice_file)
+ return azure_tts_v2(
+ text,
+ voice_name,
+ voice_file,
+ voice_rate=voice_rate,
+ )
elif is_siliconflow_voice(voice_name):
# 从voice_name中提取模型和声音
# 格式: siliconflow:model:voice-Gender
@@ -914,12 +919,43 @@ def siliconflow_tts(
return None
-def azure_tts_v2(text: str, voice_name: str, voice_file: str) -> Union[SubMaker, None]:
+def _build_azure_v2_ssml(text: str, voice_name: str, voice_rate: float) -> str:
+ """构造 Azure Speech V2 使用的 SSML,并安全规范化语速参数。"""
+ try:
+ normalized_rate = float(voice_rate)
+ except (TypeError, ValueError):
+ normalized_rate = 1.0
+ normalized_rate = max(0.25, min(4.0, normalized_rate))
+
+ voice_locale_parts = voice_name.split("-", 2)
+ voice_locale = (
+ "-".join(voice_locale_parts[:2])
+ if len(voice_locale_parts) >= 2
+ else "en-US"
+ )
+ escaped_text = escape(text)
+ escaped_voice_name = escape(voice_name, {'"': "&quot;"})
+ return (
+ '<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" '
+ f'xml:lang="{voice_locale}">'
+ f'<voice name="{escaped_voice_name}">'
+ f'<prosody rate="{normalized_rate:g}">{escaped_text}</prosody>'
+ "</voice></speak>"
+ )
+
+
+def azure_tts_v2(
+ text: str,
+ voice_name: str,
+ voice_file: str,
+ voice_rate: float = 1.0,
+) -> Union[SubMaker, None]:
voice_name = is_azure_v2_voice(voice_name)
if not voice_name:
logger.error(f"invalid voice name: {voice_name}")
raise ValueError(f"invalid voice name: {voice_name}")
text = text.strip()
+ ssml = _build_azure_v2_ssml(text, voice_name, voice_rate)
def _format_duration_to_offset(duration) -> int:
if isinstance(duration, str):
@@ -939,7 +975,9 @@ def azure_tts_v2(text: str, voice_name: str, voice_file: str) -> Union[SubMaker,
for i in range(3):
try:
- logger.info(f"start, voice name: {voice_name}, try: {i + 1}")
+ logger.info(
+ f"start, voice name: {voice_name}, rate: {voice_rate}, try: {i + 1}"
+ )
import azure.cognitiveservices.speech as speechsdk
@@ -990,7 +1028,9 @@ def azure_tts_v2(text: str, voice_name: str, voice_file: str) -> Union[SubMaker,
speech_synthesizer_word_boundary_cb
)
- result = speech_synthesizer.speak_text_async(text).get()
+ # speak_text_async() 不支持语速参数。使用 SSML prosody 后,试听和
+ # 正式生成都会按 WebUI/API 传入的 voice_rate 调整语速。
+ result = speech_synthesizer.speak_ssml_async(ssml).get()
if result.reason == speechsdk.ResultReason.SynthesizingAudioCompleted:
logger.success(f"azure v2 speech synthesis succeeded: {voice_file}")
return sub_maker
@@ -1032,39 +1072,38 @@ def gemini_tts(
import base64
import io
from pydub import AudioSegment
- import google.generativeai as genai
+ from google import genai
+ from google.genai import types
_configure_pydub_ffmpeg(AudioSegment)
try:
- # 配置Gemini API
api_key = config.app.get("gemini_api_key", "")
if not api_key:
logger.error("Gemini API key is not set")
return None
-
- genai.configure(api_key=api_key)
-
+
logger.info(f"start, voice name: {voice_name}, try: 1")
-
- # 使用Gemini TTS API
- model = genai.GenerativeModel("gemini-2.5-flash-preview-tts")
-
- generation_config = {
- "response_modalities": ["AUDIO"],
- "speech_config": {
- "voice_config": {
- "prebuilt_voice_config": {
- "voice_name": voice_name
- }
- }
- }
- }
-
- response = model.generate_content(
- contents=text,
- generation_config=generation_config
+
+ generation_config = types.GenerateContentConfig(
+ response_modalities=["AUDIO"],
+ speech_config=types.SpeechConfig(
+ voice_config=types.VoiceConfig(
+ prebuilt_voice_config=types.PrebuiltVoiceConfig(
+ voice_name=voice_name
+ )
+ )
+ ),
)
-
+
+ # google-genai 使用统一 Client 调用文本和 TTS 模型。上下文管理器确保
+ # 请求结束后释放 HTTP 连接,同时保留原有 PCM 转码和字幕时间轴逻辑。
+ with genai.Client(api_key=api_key) as client:
+ response = client.models.generate_content(
+ model="gemini-2.5-flash-preview-tts",
+ contents=text,
+ config=generation_config,
+ )
+
# 检查响应
if not response.candidates or not response.candidates[0].content:
logger.error("No audio content received from Gemini TTS")
@@ -1105,8 +1144,10 @@ def gemini_tts(
logger.error(f"Failed to load PCM audio: {e}")
return None
- # 导出为MP3格式
- audio_segment.export(voice_file, format="mp3")
+ # pydub 会返回打开的输出文件对象。批量生成时若不主动关闭,文件描述符
+ # 会持续累积,并在 Windows 上增加后续覆盖或删除音频文件失败的概率。
+ exported_audio = audio_segment.export(voice_file, format="mp3")
+ exported_audio.close()
logger.info(f"completed, output file: {voice_file}")
diff --git a/app/utils/utils.py b/app/utils/utils.py
index 411a473d..196bb968 100644
--- a/app/utils/utils.py
+++ b/app/utils/utils.py
@@ -1,12 +1,11 @@
import json
-import locale
import os
import re
import shutil
from functools import lru_cache
from pathlib import Path
import threading
-from typing import Any
+from typing import Any, Iterable
from uuid import uuid4
from loguru import logger
@@ -282,18 +281,51 @@ def md5(text):
return hashlib.md5(text.encode("utf-8")).hexdigest()
-def get_system_locale():
- try:
- loc = locale.getdefaultlocale()
- # zh_CN, zh_TW return zh
- # en_US, en_GB return en
- language_code = loc[0].split("_")[0]
- return language_code
- except Exception:
- return "en"
+def resolve_ui_language(
+ saved_language: str | None,
+ browser_locale: str | None,
+ supported_languages: Iterable[str],
+ default_language: str = "en",
+) -> str:
+ """
+ 按“已保存设置、浏览器语言、默认语言”的优先级选择界面语言。
+
+ 浏览器通常返回带地区的 locale,例如 ``zh-CN``、``pt-BR``。语言文件使用
+ ``zh``、``pt`` 这类基础代码,因此先尝试完整匹配,再回退到连字符前的语言
+ 代码。函数保持纯逻辑,避免把浏览器上下文和配置写入耦合到工具层,便于测试。
+ """
+ supported = [str(language).strip() for language in supported_languages]
+ supported_by_lower = {
+ language.lower(): language for language in supported if language
+ }
+
+ def match_language(value: str | None) -> str | None:
+ normalized = str(value or "").strip().replace("_", "-").lower()
+ if not normalized:
+ return None
+ if normalized in supported_by_lower:
+ return supported_by_lower[normalized]
+ base_language = normalized.split("-", 1)[0]
+ return supported_by_lower.get(base_language)
+
+ saved_match = match_language(saved_language)
+ if saved_match:
+ return saved_match
+
+ browser_match = match_language(browser_locale)
+ if browser_match:
+ return browser_match
+
+ default_match = match_language(default_language)
+ if default_match:
+ return default_match
+
+ # 正常项目始终包含英文;保留空语言集合兜底,避免损坏的语言目录让页面
+ # 初始化直接抛异常,后续翻译函数会继续显示原始 key 以便诊断。
+ return supported[0] if supported else default_language
-@lru_cache(maxsize=None)
+@lru_cache(maxsize=8)
def load_locales(i18n_dir):
# WebUI 每次交互都会触发 Streamlit 重新执行脚本,语言文件运行期不会变化,
# 因此缓存解析结果,避免反复读取和解析所有 i18n JSON 文件。
diff --git a/cli.py b/cli.py
index ac9f494f..781339c9 100644
--- a/cli.py
+++ b/cli.py
@@ -1,13 +1,41 @@
+from __future__ import annotations
+
import argparse
import json
+import math
+import os
import re
-from typing import Sequence
+import shutil
+from typing import TYPE_CHECKING, Sequence
+from uuid import UUID, uuid4
from loguru import logger
-from app.models.schema import MaterialInfo, VideoParams
-from app.services import task as tm
-from app.utils import utils
+if TYPE_CHECKING:
+ from app.models.schema import VideoParams
+
+
+DEFAULT_VOICE_NAME = "zh-CN-XiaoxiaoNeural-Female"
+_PIPELINE_STAGES = ("script", "terms", "audio", "subtitle", "materials", "video")
+_CUSTOM_AUDIO_EXTENSIONS = {".mp3", ".wav", ".m4a", ".aac", ".flac", ".ogg"}
+
+
+class _CliHelpFormatter(
+ argparse.ArgumentDefaultsHelpFormatter,
+ argparse.RawDescriptionHelpFormatter,
+):
+ """在保留多行示例排版的同时,自动展示有意义的默认值。"""
+
+ def _get_help_string(self, action):
+ help_text = action.help or ""
+ if (
+ "%(default)" not in help_text
+ and action.default not in (None, "", argparse.SUPPRESS)
+ and action.option_strings
+ and "default:" not in help_text.lower()
+ ):
+ help_text += " (default: %(default)s)"
+ return help_text
def _positive_int(value: str) -> int:
@@ -28,16 +56,23 @@ def _paragraph_count(value: str) -> int:
def _non_negative_float(value: str) -> float:
parsed = float(value)
- if parsed < 0:
- raise argparse.ArgumentTypeError(f"value must be >= 0, got {parsed}")
+ if not math.isfinite(parsed) or parsed < 0:
+ raise argparse.ArgumentTypeError(f"value must be a finite number >= 0, got {value!r}")
+ return parsed
+
+
+def _positive_float(value: str) -> float:
+ parsed = float(value)
+ if not math.isfinite(parsed) or parsed <= 0:
+ raise argparse.ArgumentTypeError(f"value must be a finite number > 0, got {value!r}")
return parsed
def _percent_position(value: str) -> float:
parsed = float(value)
- if parsed < 0 or parsed > 100:
+ if not math.isfinite(parsed) or parsed < 0 or parsed > 100:
raise argparse.ArgumentTypeError(
- f"custom-position must be between 0 and 100, got {parsed}"
+ f"custom-position must be a finite number between 0 and 100, got {value!r}"
)
return parsed
@@ -50,6 +85,16 @@ def _hex_color(value: str) -> str:
return value
+def _task_id(value: str) -> str:
+ """CLI 自定义任务标识只接受 UUID,避免该值被解释为文件系统路径。"""
+ try:
+ return str(UUID(value.strip()))
+ except (AttributeError, ValueError) as exc:
+ raise argparse.ArgumentTypeError(
+ f"task-id must be a valid UUID, got {value!r}"
+ ) from exc
+
+
_TRANSITION_MODE_VALUES = {
"none": None,
"shuffle": "Shuffle",
@@ -81,168 +126,322 @@ def _bgm_type(value: str) -> str:
def parse_args(argv: Sequence[str] | None = None) -> argparse.Namespace:
parser = argparse.ArgumentParser(
- description="MoneyPrinterTurbo command line video generation"
+ description=(
+ "Generate MoneyPrinterTurbo videos without the WebUI.\n\n"
+ "Provider settings and credentials are read from config.toml.\n"
+ "Default full-video generation requires a configured LLM and Pexels API key.\n"
+ "The default Edge TTS voice requires no API key."
+ ),
+ epilog="""
+Examples:
+ Generate a complete video with the default Edge TTS voice:
+ uv run python cli.py --video-subject "How AI is changing everyday life"
+
+ Generate from local files. Relative paths use the current working directory;
+ absolute paths are also accepted:
+ uv run python cli.py --video-subject "How AI is changing everyday life" \\
+ --video-source local --video-materials "./1.mp4,./2.mp4"
+
+ Generate with a prepared script and no voiceover:
+ uv run python cli.py --video-script "Your complete script" \\
+ --voice-name no-voice --stop-at video
+
+ Stop after script generation:
+ uv run python cli.py --video-subject "How AI is changing everyday life" --stop-at script
+
+Pipeline stages:
+ script Generate or return the script.
+ terms Generate material search terms; unavailable with local materials.
+ audio Generate TTS, silent audio, or use --custom-audio-file.
+ subtitle Generate subtitles when enabled.
+ materials Download online materials or preprocess local files.
+ video Generate the final video and run configured cross-posting.
+ The command stops immediately after the selected stage and prints that stage's result.
+
+Output and exit status:
+ Task files are written to storage/tasks/<task-id>/. A successful command prints one
+ JSON object to stdout and exits with 0. Task failures exit with 1; argument errors
+ exit with 2. Runtime logs are written to stderr.
+""",
+ formatter_class=_CliHelpFormatter,
+ )
+
+ content_group = parser.add_argument_group("script and content")
+ content_group.add_argument(
+ "--video-subject",
+ default="",
+ help="video topic; required unless --video-script is provided",
+ )
+ content_group.add_argument(
+ "--video-script",
+ default="",
+ help="complete script; skips LLM script generation when provided",
+ )
+ content_group.add_argument(
+ "--video-terms",
+ default=None,
+ help="comma-separated material search terms; generated automatically when omitted",
)
- parser.add_argument("--video-subject", required=True, help="video subject")
- parser.add_argument("--video-script", default="", help="custom script")
- parser.add_argument("--video-terms", default=None, help="comma-separated terms")
- parser.add_argument(
+ content_group.add_argument(
"--video-language",
default=None,
- help="script generation language code (default: auto detect)",
+ help=(
+ "script language code, such as zh-CN or en-US (default: auto-detect)"
+ ),
)
- parser.add_argument(
+ content_group.add_argument(
"--paragraph-number",
type=_paragraph_count,
default=None,
- help="script paragraph count, 1-10",
+ help="number of generated script paragraphs, from 1 to 10 (default: 1)",
)
- parser.add_argument(
+ content_group.add_argument(
"--video-script-prompt",
default=None,
- help="custom script requirements prompt",
+ help="additional requirements for LLM script generation",
)
- parser.add_argument(
+ content_group.add_argument(
"--custom-system-prompt",
default=None,
- help="custom system prompt for script generation",
+ help="replace the default LLM system prompt for script generation",
)
- parser.add_argument(
+
+ material_group = parser.add_argument_group("materials and pipeline")
+ material_group.add_argument(
"--video-source",
default="pexels",
choices=["pexels", "pixabay", "coverr", "local"],
- help="video material source",
+ help="video material provider; online providers require matching API keys in config.toml",
)
- parser.add_argument(
+ material_group.add_argument(
"--video-materials",
default="",
- help="comma-separated local material paths",
+ metavar="PATH[,PATH...]",
+ help=(
+ "comma-separated local image/video paths for --video-source local; relative "
+ "paths use the current working directory, then storage/local_videos as a "
+ "compatibility fallback; absolute paths are accepted"
+ ),
)
- parser.add_argument(
+ material_group.add_argument(
"--stop-at",
default="video",
- choices=["script", "terms", "audio", "subtitle", "materials", "video"],
- help="pipeline stop stage",
+ choices=_PIPELINE_STAGES,
+ help="stop after this pipeline stage; see the stage order below",
)
- parser.add_argument(
- "--video-count", type=_positive_int, default=1, help="output video count (>=1)"
+
+ video_group = parser.add_argument_group("video output")
+ video_group.add_argument(
+ "--video-count",
+ type=_positive_int,
+ default=1,
+ help="number of output videos, at least 1",
+ )
+ video_group.add_argument(
+ "--video-aspect",
+ choices=["9:16", "16:9", "1:1"],
+ default="9:16",
+ help="output aspect ratio: portrait, landscape, or square",
)
- parser.add_argument("--video-aspect", default="9:16", help="video aspect ratio")
- parser.add_argument(
+ video_group.add_argument(
"--video-concat-mode",
choices=["random", "sequential"],
default=None,
- help="video concatenation mode",
+ help="source clip concatenation order (default: random)",
)
- parser.add_argument(
+ video_group.add_argument(
"--video-transition-mode",
type=_transition_mode,
default=None,
metavar="{none,shuffle,fade-in,fade-out,slide-in,slide-out}",
- help="video transition mode",
+ help="transition applied between source clips (default: none)",
)
- parser.add_argument(
+ video_group.add_argument(
"--video-clip-duration",
type=_positive_int,
default=None,
- help="maximum duration of each source clip in seconds",
+ help=(
+ "maximum duration of each source clip in seconds, at least 1 (default: 5)"
+ ),
)
- parser.add_argument(
+ video_group.add_argument(
"--match-materials-to-script",
default=None,
action=argparse.BooleanOptionalAction,
- help="match generated/search materials to script order",
+ help=(
+ "preserve script keyword order while selecting and concatenating materials "
+ "(default: disabled)"
+ ),
)
- parser.add_argument("--voice-name", default="", help="tts voice name")
- parser.add_argument(
+ video_group.add_argument(
+ "--n-threads",
+ type=_positive_int,
+ default=None,
+ help="FFmpeg worker thread count, at least 1 (default: 2)",
+ )
+
+ audio_group = parser.add_argument_group("voiceover and background music")
+ audio_group.add_argument(
+ "--voice-name",
+ default=DEFAULT_VOICE_NAME,
+ help=(
+ "TTS voice identifier; use 'no-voice' for silent output. Provider-specific "
+ "identifiers use prefixes such as gemini:, mimo:, elevenlabs:, and chatterbox:"
+ ),
+ )
+ audio_group.add_argument(
"--voice-volume",
type=_non_negative_float,
default=None,
- help="speech volume multiplier",
+ help=(
+ "final voiceover volume multiplier, a finite number >= 0 (default: 1.0)"
+ ),
)
- parser.add_argument(
+ audio_group.add_argument(
"--voice-rate",
- type=_non_negative_float,
+ type=_positive_float,
default=None,
- help="speech rate multiplier",
+ help=(
+ "speech rate multiplier, a finite number > 0 (default: 1.0)"
+ ),
)
- parser.add_argument(
+ audio_group.add_argument(
+ "--custom-audio-file",
+ default=None,
+ metavar="PATH",
+ help=(
+ "existing MP3/WAV/M4A/AAC/FLAC/OGG voiceover; relative paths use the "
+ "current working directory. This skips TTS; set subtitle_provider=whisper "
+ "to transcribe it"
+ ),
+ )
+ audio_group.add_argument(
"--bgm-type",
type=_bgm_type,
default=None,
metavar="{none,random,custom}",
- help="background music mode",
+ help=(
+ "background music mode; --bgm-file implies custom when omitted "
+ "(default: random)"
+ ),
+ )
+ audio_group.add_argument(
+ "--bgm-file",
+ default=None,
+ metavar="PATH",
+ help=(
+ "custom MP3 inside resource/songs; accepts a filename or a path "
+ "relative to the project root"
+ ),
)
- parser.add_argument("--bgm-file", default=None, help="custom background music file")
- parser.add_argument(
+ audio_group.add_argument(
"--bgm-volume",
type=_non_negative_float,
default=None,
- help="background music volume multiplier",
+ help=(
+ "background music volume multiplier, a finite number >= 0 (default: 0.2)"
+ ),
)
- parser.add_argument(
+
+ subtitle_group = parser.add_argument_group("subtitles")
+ subtitle_group.add_argument(
"--subtitle-enabled",
default=True,
action=argparse.BooleanOptionalAction,
- help="enable subtitles (default: enabled, use --no-subtitle-enabled to disable)",
+ help=(
+ "enable subtitles; use --no-subtitle-enabled to disable "
+ "(default: enabled)"
+ ),
+ )
+ subtitle_group.add_argument(
+ "--font-name",
+ default=None,
+ help=(
+ "subtitle font filename inside resource/fonts "
+ "(default: STHeitiMedium.ttc)"
+ ),
)
- parser.add_argument("--font-name", default=None, help="subtitle font file name")
- parser.add_argument(
+ subtitle_group.add_argument(
"--subtitle-position",
choices=["top", "center", "bottom", "custom"],
default=None,
- help="subtitle position",
+ help=(
+ "subtitle vertical position (default: [ui].subtitle_position from "
+ "config.toml; bottom when unset)"
+ ),
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--custom-position",
type=_percent_position,
default=None,
- help="custom subtitle position as percent from top, 0-100",
+ help=(
+ "custom position as percent from top, 0-100; requires "
+ "--subtitle-position custom (default: [ui].custom_position from "
+ "config.toml; 70 when unset)"
+ ),
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--text-fore-color",
type=_hex_color,
default=None,
- help="subtitle text color in #RRGGBB format",
+ help=(
+ "subtitle text color in #RRGGBB format; quote the value in shells "
+ "that treat # as a comment (default: #FFFFFF)"
+ ),
)
- parser.add_argument(
- "--font-size", type=_positive_int, default=None, help="subtitle font size"
+ subtitle_group.add_argument(
+ "--font-size",
+ type=_positive_int,
+ default=None,
+ help="subtitle font size (default: 60)",
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--stroke-color",
type=_hex_color,
default=None,
- help="subtitle outline color in #RRGGBB format",
+ help="subtitle outline color in #RRGGBB format (default: #000000)",
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--stroke-width",
type=_non_negative_float,
default=None,
- help="subtitle outline width",
+ help=(
+ "subtitle outline width, a finite number >= 0 (default: 1.5)"
+ ),
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--subtitle-background-enabled",
default=None,
action=argparse.BooleanOptionalAction,
- help="enable subtitle background",
+ help=(
+ "enable subtitle background; use --no-subtitle-background-enabled to "
+ "disable (default: enabled)"
+ ),
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--subtitle-background-color",
type=_hex_color,
default=None,
- help="subtitle background color in #RRGGBB format",
+ help="subtitle background color in #RRGGBB format (default: #000000)",
)
- parser.add_argument(
+ subtitle_group.add_argument(
"--rounded-subtitle-background",
default=None,
action=argparse.BooleanOptionalAction,
- help="enable rounded translucent subtitle background",
+ help="use a rounded subtitle background (default: disabled)",
+ )
+
+ execution_group = parser.add_argument_group("execution")
+ execution_group.add_argument(
+ "--task-id",
+ type=_task_id,
+ default=None,
+ help="custom UUID used for storage/tasks/<task-id>; generated automatically when omitted",
)
- parser.add_argument("--task-id", default="", help="custom task id")
args = parser.parse_args(argv)
- if args.video_source == "local" and not (args.video_materials or "").strip():
- parser.error("--video-materials is required when --video-source is local")
+ if not args.video_subject.strip() and not args.video_script.strip():
+ parser.error("one of --video-subject or --video-script is required")
if args.video_source == "local" and args.stop_at == "terms":
parser.error(
@@ -250,13 +449,50 @@ def parse_args(argv: Sequence[str] | None = None) -> argparse.Namespace:
"(search terms are not generated for local sources)"
)
+ stage_requires_materials = args.stop_at in {"materials", "video"}
+ has_video_materials = bool((args.video_materials or "").strip())
+ if args.video_source == "local" and stage_requires_materials and not has_video_materials:
+ parser.error(
+ "--video-materials is required with --video-source local when "
+ "--stop-at is materials or video"
+ )
+ if args.video_source != "local" and has_video_materials:
+ parser.error("--video-materials can only be used with --video-source local")
+
+ if args.bgm_file:
+ if args.bgm_type in (None, "custom"):
+ args.bgm_type = "custom"
+ else:
+ parser.error("--bgm-file cannot be combined with --bgm-type none or random")
+ elif args.bgm_type == "custom":
+ parser.error("--bgm-file is required when --bgm-type is custom")
+
+ if args.custom_position is not None and args.subtitle_position != "custom":
+ parser.error("--custom-position requires --subtitle-position custom")
+ if args.stop_at == "subtitle" and not args.subtitle_enabled:
+ parser.error("--stop-at subtitle cannot be combined with --no-subtitle-enabled")
+ if args.subtitle_background_enabled is False and (
+ args.subtitle_background_color is not None
+ or args.rounded_subtitle_background is True
+ ):
+ parser.error(
+ "subtitle background color or rounding cannot be enabled together with "
+ "--no-subtitle-background-enabled"
+ )
+
return args
def build_video_params(args: argparse.Namespace) -> VideoParams:
+ # 参数帮助和校验不需要加载应用配置。仅在真正构建任务参数时导入模型,
+ # 避免执行 ``cli.py -h`` 时产生配置初始化日志。
+ from app.models.schema import MaterialInfo, VideoParams
+
video_terms = args.video_terms
if video_terms:
- video_terms = [term.strip() for term in video_terms.split(",") if term.strip()]
+ video_terms = [
+ term.strip() for term in re.split(r"[,,]", video_terms) if term.strip()
+ ]
video_materials = None
materials_arg = args.video_materials or ""
@@ -269,7 +505,7 @@ def build_video_params(args: argparse.Namespace) -> VideoParams:
]
params_kwargs = {
- "video_subject": args.video_subject,
+ "video_subject": args.video_subject.strip(),
"video_script": args.video_script,
"video_terms": video_terms,
"video_source": args.video_source,
@@ -289,8 +525,10 @@ def build_video_params(args: argparse.Namespace) -> VideoParams:
"video_transition_mode",
"video_clip_duration",
"match_materials_to_script",
+ "n_threads",
"voice_volume",
"voice_rate",
+ "custom_audio_file",
"bgm_type",
"bgm_file",
"bgm_volume",
@@ -319,14 +557,196 @@ def build_video_params(args: argparse.Namespace) -> VideoParams:
return VideoParams(**params_kwargs)
+def _resolve_cli_file(
+ raw_path: str,
+ *,
+ description: str,
+ fallback_dir: str | None = None,
+) -> str:
+ """
+ 将 CLI 文件参数按当前工作目录解析为绝对路径,
+ 并在任务开始前确认存在。
+
+ 本地素材旧版本始终相对 ``storage/local_videos`` 解析。为兼容已有脚本,
+ 当前目录找不到相对路径时允许回退该目录;绝对路径始终按用户输入
+ 直接解析。
+ """
+ expanded_path = os.path.expanduser(raw_path.strip())
+ if not expanded_path:
+ raise ValueError(f"{description} path cannot be empty")
+
+ candidate = (
+ expanded_path
+ if os.path.isabs(expanded_path)
+ else os.path.join(os.getcwd(), expanded_path)
+ )
+ resolved_path = os.path.realpath(candidate)
+ if not os.path.isfile(resolved_path) and fallback_dir and not os.path.isabs(expanded_path):
+ resolved_path = os.path.realpath(os.path.join(fallback_dir, expanded_path))
+
+ if not os.path.isfile(resolved_path):
+ raise ValueError(f"{description} file does not exist: {raw_path}")
+ return resolved_path
+
+
+def _path_is_within_directory(file_path: str, directory: str) -> bool:
+ try:
+ return os.path.commonpath(
+ [os.path.realpath(directory), os.path.realpath(file_path)]
+ ) == os.path.realpath(directory)
+ except ValueError:
+ # Windows 不同盘符无法计算 commonpath,此时文件显然不在目标目录内。
+ return False
+
+
+def _resolve_managed_resource_file(
+ raw_path: str,
+ *,
+ resource_dir: str,
+ description: str,
+) -> str:
+ """解析项目资源文件,并确保绝对路径仍位于对应资源目录内。"""
+ from app.utils import utils
+
+ expanded_path = os.path.expanduser(raw_path.strip())
+ candidates = (
+ [expanded_path]
+ if os.path.isabs(expanded_path)
+ else [
+ os.path.join(resource_dir, expanded_path),
+ os.path.join(utils.root_dir(), expanded_path),
+ ]
+ )
+ for candidate in candidates:
+ resolved_path = os.path.realpath(candidate)
+ if os.path.isfile(resolved_path) and _path_is_within_directory(
+ resolved_path, resource_dir
+ ):
+ return resolved_path
+ raise ValueError(
+ f"{description} file must exist inside {resource_dir}: {raw_path}"
+ )
+
+
+def prepare_cli_files(params: VideoParams, stop_at: str) -> None:
+ """
+ 在调用 LLM/TTS 前准备 CLI 文件,避免长流程运行到后期才报告路径错误。
+
+ 服务层为了保护 API 请求,只允许读取 ``storage/local_videos`` 内的素材。
+ CLI 是本地入口,接受当前目录相对路径和绝对路径。目录外素材会
+ 复制到受控目录,再把参数替换为服务层可安全使用的绝对路径。
+ """
+ from app.models import const
+ from app.utils import utils
+
+ local_material_extensions = {
+ *(f".{extension}" for extension in const.FILE_TYPE_VIDEOS),
+ *(f".{extension}" for extension in const.FILE_TYPE_IMAGES),
+ ".avi",
+ ".flv",
+ }
+
+ if params.custom_audio_file:
+ params.custom_audio_file = _resolve_cli_file(
+ params.custom_audio_file,
+ description="custom audio",
+ )
+ audio_extension = os.path.splitext(params.custom_audio_file)[1].lower()
+ if audio_extension not in _CUSTOM_AUDIO_EXTENSIONS:
+ allowed = ", ".join(sorted(_CUSTOM_AUDIO_EXTENSIONS))
+ raise ValueError(
+ f"unsupported custom audio type {audio_extension or '<none>'}; "
+ f"allowed extensions: {allowed}"
+ )
+
+ if params.bgm_type == "custom" and params.bgm_file:
+ params.bgm_file = _resolve_managed_resource_file(
+ params.bgm_file,
+ resource_dir=utils.song_dir(),
+ description="background music",
+ )
+ if not params.bgm_file.lower().endswith(".mp3"):
+ raise ValueError("background music must use the .mp3 extension")
+
+ if params.subtitle_enabled and params.font_name and stop_at == "video":
+ font_path = _resolve_managed_resource_file(
+ params.font_name,
+ resource_dir=utils.font_dir(),
+ description="subtitle font",
+ )
+ if not font_path.lower().endswith((".ttf", ".ttc")):
+ raise ValueError("subtitle font must use the .ttf or .ttc extension")
+ # 下游根据 resource/fonts 内的文件名拼接路径,因此仍保留纯文件名。
+ params.font_name = os.path.basename(font_path)
+
+ if params.video_source != "local" or stop_at not in {"materials", "video"}:
+ return
+
+ local_videos_dir = utils.storage_dir("local_videos", create=True)
+ resolved_materials: list[tuple[MaterialInfo, str, str]] = []
+ for material in params.video_materials or []:
+ source_path = _resolve_cli_file(
+ material.url,
+ description="local material",
+ fallback_dir=local_videos_dir,
+ )
+ extension = os.path.splitext(source_path)[1].lower()
+ if extension not in local_material_extensions:
+ allowed = ", ".join(sorted(local_material_extensions))
+ raise ValueError(
+ f"unsupported local material type {extension or '<none>'}: "
+ f"{material.url}; allowed extensions: {allowed}"
+ )
+ resolved_materials.append((material, source_path, extension))
+
+ # 所有输入检查通过后再复制,避免第二个文件无效时留下第一个文件的
+ # 孤儿副本。
+ prepared_paths: dict[str, str] = {}
+ for material, source_path, extension in resolved_materials:
+ prepared_path = prepared_paths.get(source_path)
+ if prepared_path is None:
+ if _path_is_within_directory(source_path, local_videos_dir):
+ prepared_path = source_path
+ else:
+ prepared_path = os.path.join(
+ local_videos_dir,
+ f"cli-material-{uuid4().hex}{extension}",
+ )
+ shutil.copy2(source_path, prepared_path)
+ logger.info(
+ "copied CLI local material into managed storage: "
+ f"source={source_path}, target={prepared_path}"
+ )
+ prepared_paths[source_path] = prepared_path
+
+ material.url = prepared_path
+
+
def run_cli(argv: Sequence[str] | None = None) -> int:
args = parse_args(argv)
- params = build_video_params(args)
+ try:
+ params = build_video_params(args)
+ prepare_cli_files(params, stop_at=args.stop_at)
+ except (ValueError, OSError) as exc:
+ logger.error(f"invalid CLI input: {exc}")
+ return 2
+
+ # 帮助参数会在 parse_args 中直接退出。把业务服务延迟到这里导入,
+ # 保证 -h/--help 输出干净,同时不改变实际任务的初始化流程。
+ from app.services import task as tm
+ from app.utils import utils
+
task_id = args.task_id or utils.get_uuid()
- logger.info(f"start cli task: {task_id}, stop_at: {args.stop_at}")
- result = tm.start(task_id=task_id, params=params, stop_at=args.stop_at)
+ logger.info(f"start CLI task: task_id={task_id}, stop_at={args.stop_at}")
+ try:
+ result = tm.start(task_id=task_id, params=params, stop_at=args.stop_at)
+ except Exception as exc:
+ logger.exception(
+ f"CLI task failed with an unexpected error: task_id={task_id}, error={exc}"
+ )
+ return 1
if not result:
- logger.error("video generation failed")
+ logger.error(f"CLI task failed: task_id={task_id}, stop_at={args.stop_at}")
return 1
print(json.dumps({"task_id": task_id, "result": result}, ensure_ascii=False))
diff --git a/config.example.toml b/config.example.toml
index 51a5a04e..4edb6cc1 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -1,438 +1,334 @@
+# MoneyPrinterTurbo configuration example.
+# The app copies this file to config.toml on first run. Keep API keys and other
+# credentials in config.toml; do not commit your local config.toml.
+
+# =============================================================================
+# API Service / API 服务
+# =============================================================================
+# Log level: DEBUG, INFO, WARNING, or ERROR.
+log_level = "DEBUG"
+# Use 127.0.0.1 for local-only access. 0.0.0.0 listens on all network interfaces.
+listen_host = "0.0.0.0"
+listen_port = 8080
+
[app]
-video_source = "pexels" # "pexels" or "pixabay"
-# 是否隐藏配置面板
+# -----------------------------------------------------------------------------
+# General / 通用设置
+# -----------------------------------------------------------------------------
+
+# Hide the basic configuration panel in the WebUI.
+# 是否隐藏 WebUI 基础配置面板。
hide_config = false
-# Azure TTS V1(edge_tts) 单次流式请求超时时间,单位秒。
-# 网络异常、服务端限流或 voice 与文本语言不匹配时,edge_tts 可能长期卡住。
-# 默认 30 秒可避免 WebUI 任务无反馈;慢网络或代理环境可适当调大。
-# 设置为 0 表示禁用超时。
+# Timeout in seconds for a single Edge TTS streaming request.
+# 单次 Edge TTS 流式请求超时时间。慢网络可适当调大,设置为 0 表示禁用超时。
edge_tts_timeout = 30
-# 是否校验外部 API 和素材下载的 TLS 证书。
-# 默认必须开启,避免 Pexels/Pixabay API key 和下载素材被中间人攻击篡改。
-# 只有在企业代理或自签证书环境明确需要时,才临时改为 false。
+# Verify TLS certificates for external APIs and material downloads.
+# 默认应保持开启;仅在可信代理或自签名证书环境中临时关闭。
tls_verify = true
-# Pexels API Key
-# Register at https://www.pexels.com/api/ to get your API key.
-# You can use multiple keys to avoid rate limits.
-# For example: pexels_api_keys = ["123adsf4567adf89","abd1321cd13efgfdfhi"]
-# Use straight ASCII double quotes around each key. Smart quotes copied from rich text will break TOML parsing.
-# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。
-# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开
+# -----------------------------------------------------------------------------
+# Video Materials / 视频素材
+# -----------------------------------------------------------------------------
+
+# Available values: "pexels", "pixabay", "coverr", "local".
+video_source = "pexels"
+
+# API key lists support key rotation. Use straight ASCII double quotes and
+# separate multiple keys with commas, for example: ["key-1", "key-2"].
+# Key 必须使用英文半角双引号,多个 Key 使用英文逗号分隔。
+
+# Register at https://www.pexels.com/api/
pexels_api_keys = []
-# Pixabay API Key
-# Register at https://pixabay.com/api/docs/ to get your API key.
-# You can use multiple keys to avoid rate limits.
-# For example: pixabay_api_keys = ["123adsf4567adf89","abd1321cd13efgfdfhi"]
-# Use straight ASCII double quotes around each key. Smart quotes copied from rich text will break TOML parsing.
-# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。
-# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开
+# Register at https://pixabay.com/api/docs/
pixabay_api_keys = []
-# Coverr API Key
-# Register at https://coverr.co/developers?ctx=header_navigation to get your API key instantly.
-# Free tier (Demo) is limited to 50 requests/hour — sufficient for a few
-# video tasks per hour. Upgrade to Pro/Ultimate subscription for 2000/hour.
-# Coverr provides free HD/4K stock videos (subject to Coverr license terms,
-# see https://coverr.co/license), mostly 16:9 landscape; if
-# you generate 9:16 short-form videos, prefer Pexels/Pixabay as primary
-# and use Coverr to widen the catalog for landscape/cinematic content.
-# You can use multiple keys to avoid rate limits.
-# For example: coverr_api_keys = ["123adsf4567adf89","abd1321cd13efgfdfhi"]
-# Use straight ASCII double quotes around each key. Smart quotes copied from rich text will break TOML parsing.
-# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。
-# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开
+# Register at https://coverr.co/developers?ctx=header_navigation
coverr_api_keys = []
-# TwelveLabs API Key (optional) — https://twelvelabs.io
-# TwelveLabs (可选) 视频理解 / 多模态嵌入集成。
-# Enables two opt-in features:
-# * Marengo (multimodal embeddings) semantically reorders the auto-generated
-# search terms by relevance to your video subject, so the most on-topic
-# B-roll is downloaded first when the timeline budget is tight.
-# * Pegasus (video understanding) can QA / describe a clip from its URL.
-# Leave empty to keep MoneyPrinterTurbo's behavior completely unchanged.
-# Configure a TwelveLabs API key from the TwelveLabs dashboard (https://twelvelabs.io) and install the
-# optional dependency with `uv sync --extra twelvelabs`.
-# Register at https://playground.twelvelabs.io to get your API key.
-# You can use multiple keys to avoid rate limits.
-# For example: twelvelabs_api_keys = ["tlk_123adsf4567","tlk_abd1321cd13ef"]
-# 请使用英文半角双引号包裹每个 Key;从富文本复制来的弯引号会导致 TOML 解析失败。
+# Optional TwelveLabs integration for semantic material ranking and video QA.
+# Install the optional dependency with: uv sync --extra twelvelabs
+# Create an API key at https://playground.twelvelabs.io/
twelvelabs_api_keys = []
-
-# Reorder search terms by Marengo relevance before downloading footage.
-# Requires twelvelabs_api_keys above. Ignored in "match materials to script"
-# mode, where term order is intentionally the script's narrative order.
+# Reorder search terms using Marengo before downloading materials. This option
+# is ignored when match_materials_to_script is enabled.
twelvelabs_rerank_terms = false
-
-# Optional model overrides (defaults shown).
+# Optional model overrides. Uncomment only when a different model is required.
# twelvelabs_marengo_model = "marengo3.0"
# twelvelabs_pegasus_model = "pegasus1.5"
-# 支持的提供商 (Supported providers):
-# moonshot (Kimi / Moonshot AI)
-# openai
-# aihubmix (OpenAI-compatible AI model gateway)
-# aimlapi (OpenAI-compatible multi-model AI API)
-# azure
-# qwen (通义千问)
-# deepseek
-# gemini
-# ollama
-# oneapi
-# cloudflare
-# minimax
-# evolink (OpenAI-compatible multi-model AI gateway)
-# volcengine (VolcEngine Ark OpenAI-compatible API)
-# mimo (Xiaomi MiMo)
-# ernie (文心一言)
-# modelscope (魔搭社区)
-# litellm (100+ providers via LiteLLM gateway)
-llm_provider = "moonshot"
+# Match search terms and downloaded materials to the script narrative order.
+# 默认关闭,开启后会减少随机性,使素材顺序更贴近文案结构。
+match_materials_to_script = false
-########## Pollinations AI Settings
-# Visit https://pollinations.ai/ to learn more
-# API Key is optional - leave empty for public access
-pollinations_api_key = ""
-# Base URL for Pollinations API.
-# Leave empty to use the default endpoint (https://text.pollinations.ai/openai).
-# Note: the old "https://pollinations.ai/api/v1" endpoint no longer accepts
-# requests (returns 405 Method Not Allowed), so only set this if you have a
-# working custom endpoint.
-pollinations_base_url = ""
-# Default model for text generation
-pollinations_model_name = "openai-fast"
+# -----------------------------------------------------------------------------
+# LLM Providers / 大模型提供商
+# -----------------------------------------------------------------------------
-########## Ollama Settings
-# No need to set it unless you want to use your own proxy
-ollama_base_url = ""
-# Check your available models at https://ollama.com/library
-ollama_model_name = ""
+# Provider definitions, default models, and default Base URLs are maintained in
+# app/models/llm_provider.py. Leave model_name and base_url empty to follow the
+# Registry defaults; only set them when you need an explicit override.
+llm_provider = "moonshot"
+
+# Kimi / Moonshot AI
+# API key: https://platform.kimi.com/console/api-keys
+moonshot_api_key = ""
+moonshot_base_url = ""
+moonshot_model_name = ""
-########## OpenAI API Key
-# Get your API key at https://platform.openai.com/api-keys
-# 也可以填写兼容 OpenAI Chat Completions 协议的供应商密钥,
-# 例如 OpenRouter 这类提供自定义 base_url 的平台。
+# OpenAI or another OpenAI Chat Completions-compatible provider.
+# API key: https://platform.openai.com/api-keys
openai_api_key = ""
-# No need to set it unless you want to use your own proxy
-# 如果使用兼容 OpenAI 接口的平台,请在这里填写对应的 base_url。
openai_base_url = ""
-# Check your available models at https://platform.openai.com/account/limits
-# 如果使用兼容供应商,请填写该平台要求的模型 ID。
-openai_model_name = "gpt-4o-mini"
+openai_model_name = ""
-########## AIHubMix API Key
-# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.
-# Visit https://aihubmix.com to register and get your API key.
-aihubmix_api_key = ""
-aihubmix_base_url = "https://aihubmix.com/v1"
-aihubmix_model_name = "gpt-5.4-mini"
-
-########## AIML API Key
-# AIML API is OpenAI-compatible and can use one API key to access multiple model families.
-# Visit https://aimlapi.com/app/keys to create your API key.
-aimlapi_api_key = ""
-aimlapi_base_url = "https://api.aimlapi.com/v1"
-aimlapi_model_name = "openai/gpt-4o-mini"
+# Google Gemini
+# API key: https://aistudio.google.com/app/apikey
+gemini_api_key = ""
+gemini_model_name = ""
-########## Kimi / Moonshot API Key
-# Visit https://platform.kimi.com or https://platform.kimi.ai to get your API key.
-moonshot_api_key = ""
-moonshot_base_url = "https://api.moonshot.cn/v1"
-moonshot_model_name = "kimi-k2.7-code"
+# DeepSeek
+# API key: https://platform.deepseek.com/api_keys
+deepseek_api_key = ""
+deepseek_base_url = ""
+deepseek_model_name = ""
-########## OneAPI API Key
-# Visit https://github.com/songquanpeng/one-api to get your API key
-oneapi_api_key = ""
-oneapi_base_url = ""
-oneapi_model_name = ""
+# Alibaba Cloud Qwen
+# API key: https://dashscope.console.aliyun.com/apiKey
+qwen_api_key = ""
+qwen_model_name = ""
-########## Azure API Key
-# Visit https://learn.microsoft.com/zh-cn/azure/ai-services/openai/ to get more details
-# API documentation: https://learn.microsoft.com/zh-cn/azure/ai-services/openai/reference
+# Microsoft Azure OpenAI. model_name is the deployment name.
+# Documentation: https://learn.microsoft.com/azure/ai-services/openai/reference
azure_api_key = ""
azure_base_url = ""
-azure_model_name = "gpt-35-turbo" # replace with your model deployment name
+azure_model_name = ""
azure_api_version = "2024-02-15-preview"
-########## Gemini API Key
-gemini_api_key = ""
-gemini_model_name = "gemini-2.5-flash"
+# ByteDance VolcEngine Ark
+# Console: https://console.volcengine.com/ark
+volcengine_api_key = ""
+volcengine_base_url = ""
+volcengine_model_name = ""
-########## Grok API Key
+# xAI Grok
+# API key: https://console.x.ai/
grok_api_key = ""
-grok_model_name = "grok-4.3"
-grok_base_url = "https://api.x.ai/v1"
-
-########## Groq API Key
-# Visit https://console.groq.com/keys to get your api keys
-# API documentation: https://console.groq.com/docs/api-reference
-# Available models: https://console.groq.com/docs/api-reference#models-list
-groq_api_key = ""
-groq_model_name = "llama-3.3-70b-versatile"
-groq_base_url = "https://api.groq.com/openai/v1"
-
-########## Qwen API Key
-# Visit https://dashscope.console.aliyun.com/apiKey to get your API key
-# Visit below links to get more details
-# https://tongyi.aliyun.com/qianwen/
-# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
-qwen_api_key = ""
-qwen_model_name = "qwen-max"
+grok_base_url = ""
+grok_model_name = ""
-
-########## MiniMax API Key
-# Visit https://platform.minimax.io or https://platform.minimaxi.com to get your API key
-# MiniMax API is OpenAI-compatible
-# Available models: MiniMax-M3 (default), MiniMax-M2.7, MiniMax-M2.7-highspeed
-# If your API key returns 401 on api.minimax.io, try the China endpoint: https://api.minimaxi.com/v1
+# MiniMax. The API key and Base URL must use the same platform.
+# China: https://platform.minimaxi.com/ | https://api.minimaxi.com/v1
+# International: https://platform.minimax.io/ | https://api.minimax.io/v1
minimax_api_key = ""
-minimax_base_url = "https://api.minimax.io/v1"
-minimax_model_name = "MiniMax-M3"
-
-########## EvoLink API Key
-# EvoLink is an OpenAI-compatible gateway for language models.
-# Visit https://evolink.ai/dashboard/keys to get your API key.
-# API documentation: https://docs.evolink.ai/en/api-manual/language-series
-# Available models include gpt-5.5, gpt-5.4, gpt-5.2, deepseek-v4-flash, deepseek-v4-pro, gemini-3.1-pro, and doubao-seed-2.0-pro.
-evolink_api_key = ""
-evolink_base_url = "https://direct.evolink.ai/v1"
-evolink_model_name = "gpt-5.5"
-
-########## VolcEngine Ark API Key
-# VolcEngine Ark provides an OpenAI-compatible Chat Completions API.
-# Create an API key in the VolcEngine Ark console and use a model ID that is
-# enabled for your account.
-volcengine_api_key = ""
-volcengine_base_url = "https://ark.cn-beijing.volces.com/api/v3"
-volcengine_model_name = "doubao-seed-2-1-turbo-260628"
+minimax_base_url = ""
+minimax_model_name = ""
-########## Xiaomi MiMo API Key
-# Xiaomi MiMo API is OpenAI-compatible.
-# Visit https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call to get more details.
+# Xiaomi MiMo
+# Documentation: https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call
mimo_api_key = ""
-mimo_base_url = "https://api.xiaomimimo.com/v1"
-mimo_model_name = "mimo-v2.5-pro"
-# Xiaomi MiMo TTS uses the same API key and base_url as MiMo LLM.
-mimo_tts_model_name = "mimo-v2.5-tts"
-# Optional natural language style prompt for MiMo TTS.
-mimo_tts_style_prompt = "请用自然、清晰、适合短视频旁白的语气朗读。"
+mimo_base_url = ""
+mimo_model_name = ""
+
+# Cloudflare AI Gateway. The token requires AI Gateway Read/Edit and Workers AI
+# Read permissions. Leave gateway_id empty to use the Registry default.
+# Dashboard: https://dash.cloudflare.com/
+cloudflare_api_key = ""
+cloudflare_account_id = ""
+cloudflare_gateway_id = ""
+cloudflare_model_name = ""
+
+# Alibaba ModelScope. Bind an Alibaba Cloud account before using API inference.
+# Documentation: https://modelscope.cn/docs/model-service/API-Inference/intro
+modelscope_api_key = ""
+modelscope_base_url = ""
+modelscope_model_name = ""
-########## DeepSeek API Key
-# Visit https://platform.deepseek.com/api_keys to get your API key
-deepseek_api_key = ""
-deepseek_base_url = "https://api.deepseek.com"
-deepseek_model_name = "deepseek-chat"
+# AIHubMix, an OpenAI-compatible multi-model gateway.
+# API key: https://aihubmix.com/
+aihubmix_api_key = ""
+aihubmix_base_url = ""
+aihubmix_model_name = ""
+# AIML API, an OpenAI-compatible multi-model API.
+# API key: https://aimlapi.com/app/keys
+aimlapi_api_key = ""
+aimlapi_base_url = ""
+aimlapi_model_name = ""
-########## ModelScope API Key
-# Visit https://modelscope.cn/docs/model-service/API-Inference/intro to get your API key
-# And note that you need to bind your Alibaba Cloud account before using the API.
-modelscope_api_key = ""
-modelscope_base_url = "https://api-inference.modelscope.cn/v1/"
-modelscope_model_name = "Qwen/Qwen3-32B"
-
-########## LiteLLM (AI Gateway — 100+ providers)
-# LiteLLM routes to any LLM provider via a unified interface.
-# Use this for providers not directly supported above: Anthropic (native API),
-# AWS Bedrock, Google Vertex AI, Cohere, Mistral, Together AI, etc.
-# Visit https://docs.litellm.ai/docs/providers for the full list.
-#
-# LiteLLM reads provider API keys from environment variables automatically:
-# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, AWS_ACCESS_KEY_ID, etc.
-# Set the appropriate env var for your chosen provider before running.
-#
-# Model name in LiteLLM format: "provider/model-name"
-# Examples: "openai/gpt-4o", "anthropic/claude-sonnet-4-20250514",
-# "bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0",
-# "gemini/gemini-2.5-flash", "ollama/llama3"
-litellm_model_name = "openai/gpt-4o-mini"
-
-# Subtitle Provider, "edge" or "whisper"
-# If empty, the subtitle will not be generated
-subtitle_provider = "edge"
+# EvoLink, an OpenAI-compatible multi-model gateway.
+# API key: https://evolink.ai/dashboard/keys
+evolink_api_key = ""
+evolink_base_url = ""
+evolink_model_name = ""
-#
-# ImageMagick
-#
-# Once you have installed it, ImageMagick will be automatically detected, except on Windows!
-# On Windows, for example "C:\Program Files (x86)\ImageMagick-7.1.1-Q16-HDRI\magick.exe"
-# Download from https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-29-Q16-x64-static.exe
+# Ollama. Leave base_url empty to use the environment-aware local default.
+# Set model_name to a model installed by `ollama pull` or shown by `ollama list`.
+ollama_base_url = ""
+ollama_model_name = ""
-# imagemagick_path = "C:\\Program Files (x86)\\ImageMagick-7.1.1-Q16\\magick.exe"
+# OneAPI. Use the token, Base URL, and model ID from your OneAPI deployment.
+# Project: https://github.com/songquanpeng/one-api
+oneapi_api_key = ""
+oneapi_base_url = ""
+oneapi_model_name = ""
+# LiteLLM uses provider credentials from environment variables, such as
+# OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, or AWS_ACCESS_KEY_ID.
+# Model formats: openai/gpt-4o, anthropic/claude-sonnet-4, ollama/llama3.
+# Providers: https://docs.litellm.ai/docs/providers
+litellm_model_name = ""
-#
-# FFMPEG
-#
-# 通常情况下,ffmpeg 会被自动下载,并且会被自动检测到。
-# 但是如果你的环境有问题,无法自动下载,可能会遇到如下错误:
-# RuntimeError: No ffmpeg exe could be found.
-# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
-# 此时你可以手动下载 ffmpeg 并设置 ffmpeg_path,下载地址:https://www.gyan.dev/ffmpeg/builds/
+# Groq
+# API key: https://console.groq.com/keys
+groq_api_key = ""
+groq_base_url = ""
+groq_model_name = ""
-# Under normal circumstances, ffmpeg is downloaded automatically and detected automatically.
-# However, if there is an issue with your environment that prevents automatic downloading, you might encounter the following error:
-# RuntimeError: No ffmpeg exe could be found.
-# Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.
-# In such cases, you can manually download ffmpeg and set the ffmpeg_path, download link: https://www.gyan.dev/ffmpeg/builds/
+# Pollinations AI: https://enter.pollinations.ai/
+pollinations_api_key = ""
+pollinations_base_url = ""
+pollinations_model_name = ""
-# ffmpeg_path = "C:\\Users\\harry\\Downloads\\ffmpeg.exe"
+# -----------------------------------------------------------------------------
+# Speech, Subtitles, and Video / 语音、字幕与视频
+# -----------------------------------------------------------------------------
-# 视频编码器。默认 libx264 最稳定;高级用户可以尝试硬件编码器提升速度。
-# 如果当前 FFmpeg 或硬件驱动不支持所选编码器,程序会自动回退到 libx264。
-# 可选值: "libx264", "h264_nvenc", "h264_amf", "h264_qsv", "h264_mf", "h264_videotoolbox"
-# video_codec = "libx264"
+# Xiaomi MiMo TTS shares mimo_api_key and mimo_base_url with the MiMo LLM.
+mimo_tts_model_name = "mimo-v2.5-tts"
+mimo_tts_style_prompt = "请用自然、清晰、适合短视频旁白的语气朗读。"
-# Video encoder. libx264 is the safest default; advanced users can try hardware encoders.
-# If the selected encoder is not supported by the current FFmpeg or driver, the app falls back to libx264.
-# Available values: "libx264", "h264_nvenc", "h264_amf", "h264_qsv", "h264_mf", "h264_videotoolbox"
-# video_codec = "libx264"
-#########################################################################################
-
-# 当视频生成成功后,API服务提供的视频下载接入点,默认为当前服务的地址和监听端口
-# 比如 http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4
-# 如果你需要使用域名对外提供服务(一般会用nginx做代理),则可以设置为你的域名
-# 比如 https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4
-# endpoint="https://xxxx.com"
-
-# 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.
-# For example, http://127.0.0.1:8080/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4
-# 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.
-# For example, https://xxxx.com/tasks/6357f542-a4e1-46a1-b4c9-bf3bd0df5285/final-1.mp4
-# endpoint="https://xxxx.com"
-endpoint = ""
+# Subtitle provider: "edge" or "whisper". Leave empty to skip generation.
+subtitle_provider = "edge"
+# FFmpeg is normally downloaded and detected automatically. If detection fails,
+# download it from https://www.gyan.dev/ffmpeg/builds/ and set the executable.
+# Windows example: ffmpeg_path = "C:\\path\\to\\ffmpeg.exe"
+# ffmpeg_path = ""
-# Video material storage location
-# material_directory = "" # Indicates that video materials will be downloaded to the default folder, the default folder is ./storage/cache_videos under the current project
-# material_directory = "/user/harry/videos" # Indicates that video materials will be downloaded to a specified folder
-# 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
+# Leave unset to follow the app default (libx264). Hardware encoders are optional;
+# unsupported encoders automatically fall back to libx264.
+# Available values: "libx264", "h264_nvenc", "h264_amf", "h264_qsv",
+# "h264_mf", "h264_videotoolbox".
+# video_codec = "libx264"
-# 视频素材存放位置
-# material_directory = "" #表示将视频素材下载到默认的文件夹,默认文件夹为当前项目下的 ./storage/cache_videos
-# material_directory = "/user/harry/videos" #表示将视频素材下载到指定的文件夹中
-# material_directory = "task" #表示将视频素材下载到当前任务的文件夹中,这种方式无法共享已经下载的视频素材
+# -----------------------------------------------------------------------------
+# Storage and Task Runtime / 存储与任务运行
+# -----------------------------------------------------------------------------
+# Public base URL used to build generated video download links. Leave empty to
+# use the current API service address, or set an external reverse-proxy URL.
+endpoint = ""
+
+# Material storage: "" uses ./storage/cache_videos, "task" stores materials in
+# each task directory, and an absolute path stores materials in that directory.
+# Example: material_directory = "/path/to/videos"
material_directory = ""
-# Used for state management of the task.
-# Redis is expected to be private to this app. Do not expose it to untrusted
-# writers, because task state is deserialized for compatibility with existing
-# records.
+# Optional Redis-backed task state. Keep Redis private to this application;
+# untrusted writers must not be able to modify serialized task records.
enable_redis = false
redis_host = "localhost"
redis_port = 6379
redis_db = 0
redis_password = ""
-# 文生视频时的最大并发任务数
+# Maximum number of concurrent and queued API video-generation tasks.
max_concurrent_tasks = 5
-
-# 并发任务已满后的最大排队任务数,超过后接口返回 429,避免匿名请求无限堆积
max_queued_tasks = 100
+# -----------------------------------------------------------------------------
+# Cross-platform Publishing / 跨平台发布
+# -----------------------------------------------------------------------------
-[whisper]
-# Only effective when subtitle_provider is "whisper"
-
-# Run on GPU with FP16
-# model = WhisperModel(model_size, device="cuda", compute_type="float16")
-
-# Run on GPU with INT8
-# model = WhisperModel(model_size, device="cuda", compute_type="int8_float16")
+# Upload-Post can publish generated videos to TikTok, Instagram, and YouTube.
+# Create an account and API key at https://upload-post.com/
+# API documentation: https://docs.upload-post.com/
+upload_post_enabled = false
+upload_post_api_key = ""
+upload_post_username = ""
+# Available values: "tiktok", "instagram", "youtube".
+upload_post_platforms = ["tiktok", "instagram"]
+# Automatically publish successful video outputs after generation.
+upload_post_auto_upload = false
+# YouTube privacy: "public", "unlisted", or "private".
+upload_post_youtube_privacy_status = "public"
-# Run on CPU with INT8
-# model = WhisperModel(model_size, device="cpu", compute_type="int8")
+# =============================================================================
+# Whisper Subtitles / Whisper 字幕
+# =============================================================================
-# recommended model_size: "large-v3"
+[whisper]
+# The model is downloaded automatically on first use unless a matching local
+# directory exists at ./models/whisper-{model_size}.
model_size = "large-v3"
-# if you want to use GPU, set device="cuda"
-device = "CPU"
+# device: "cpu" or "cuda". Common compute types include "int8" for CPU and
+# "float16" or "int8_float16" for CUDA.
+device = "cpu"
compute_type = "int8"
+# =============================================================================
+# Material Request Proxy / 素材请求代理
+# =============================================================================
[proxy]
-### Use a proxy to access the Pexels API
-### Format: "http://<username>:<password>@<proxy>:<port>"
-### Example: "http://user:pass@proxy:1234"
-### Doc: https://requests.readthedocs.io/en/latest/user/advanced/#proxies
+# Optional proxy used by Pexels, Pixabay, Coverr, and material downloads.
+# Format: "http://<username>:<password>@<proxy>:<port>"
+# Documentation: https://requests.readthedocs.io/en/latest/user/advanced/#proxies
+# http = "http://127.0.0.1:3128"
+# https = "http://127.0.0.1:1080"
-# http = "http://10.10.1.10:3128"
-# https = "http://10.10.1.10:1080"
+# =============================================================================
+# TTS Providers / 语音合成服务
+# =============================================================================
[azure]
-# Azure Speech API Key
-# Get your API key at https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices
+# Azure Speech TTS credentials. These are separate from Azure OpenAI settings.
+# API key: https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices
speech_key = ""
speech_region = ""
[siliconflow]
-# SiliconFlow API Key
-# Get your API key at https://siliconflow.cn
+# SiliconFlow TTS API key: https://siliconflow.cn/
api_key = ""
[elevenlabs]
-# ElevenLabs API Key
-# Get your API key at https://elevenlabs.io/app/settings/api-keys
-# Mark voices as favorites in the ElevenLabs voice library to make them appear here.
+# API key: https://elevenlabs.io/app/settings/api-keys
+# Favorite voices in the ElevenLabs voice library are shown in the WebUI.
api_key = ""
-# Model: eleven_multilingual_v2 | eleven_flash_v2_5 | eleven_v3
+# Available models include eleven_multilingual_v2, eleven_flash_v2_5, and eleven_v3.
model_id = "eleven_multilingual_v2"
-[ui]
-# UI related settings
-# 是否隐藏日志信息
-# Whether to hide logs in the UI
-hide_log = false
-
-# 字幕位置设置 (Subtitle position settings)
-# 可选值 (Available values): "top", "center", "bottom", "custom"
-# subtitle_position = "custom"
-# 自定义位置,表示离顶部的百分比 (0-100),仅当 subtitle_position = "custom" 时生效
-# Custom position as percentage from top (0-100), only effective when subtitle_position = "custom"
-# custom_position = 70.0
-
-########## Upload-Post (Cross-post to TikTok/Instagram/YouTube Shorts)
-# Upload-Post allows you to automatically cross-post generated videos to TikTok, Instagram and YouTube Shorts.
-# Visit https://upload-post.com to create an account and get your API key.
-# API Documentation: https://docs.upload-post.com
-
-# Enable/disable Upload-Post integration
-upload_post_enabled = false
-
-# Your Upload-Post API key
-upload_post_api_key = ""
-
-# Your Upload-Post username
-upload_post_username = ""
-
-# Platforms to cross-post to (options: "tiktok", "instagram", "youtube")
-upload_post_platforms = ["tiktok", "instagram"]
-
-# Automatically cross-post videos after generation (if false, you'll need to call the API manually)
-upload_post_auto_upload = false
-
-# YouTube Shorts privacy status (options: "public", "unlisted", "private")
-upload_post_youtube_privacy_status = "public"
-
-# Chatterbox TTS (self-hosted, OpenAI-compatible) ##########################
-# Chatterbox (https://github.com/resemble-ai/chatterbox, MIT) is an open-source,
-# locally hosted TTS model with zero-shot voice cloning — a self-hostable
-# alternative to ElevenLabs. Run a server that exposes an OpenAI-compatible
-# endpoint at POST {base_url}/audio/speech (e.g. devnen/Chatterbox-TTS-Server
-# or travisvn/chatterbox-tts-api), then set base_url below. In the WebUI pick
-# "Chatterbox TTS" as the TTS server, or via the API pass a voice_name like
-# "chatterbox:<voice>". Subtitles use the full-text fallback (no word-level
-# timestamps); set subtitle_provider = "whisper" for tighter sync.
[chatterbox]
-# Defaults target travisvn/chatterbox-tts-api running locally on port 4123.
+# OpenAI-compatible Chatterbox TTS server. The defaults target
+# travisvn/chatterbox-tts-api running locally on port 4123.
base_url = "http://127.0.0.1:4123/v1"
api_key = ""
model_id = "chatterbox"
-# Voices exposed by your server; shown in the WebUI dropdown as chatterbox:<name>
+# Voice names exposed by the configured Chatterbox server.
voices = ["default-Female"]
+
+# =============================================================================
+# WebUI Preferences / WebUI 偏好
+# =============================================================================
+
+[ui]
+# Hide generation logs in the WebUI.
+hide_log = false
+
+# The WebUI writes the remaining preferences automatically. Uncomment values
+# below only when you want to define initial defaults manually.
+# language = "zh"
+# tts_server = "azure-tts-v1"
+# voice_name = ""
+# font_name = "MicrosoftYaHeiBold.ttc"
+# font_size = 60
+# text_fore_color = "#FFFFFF"
+# subtitle_position = "bottom" # "top", "center", "bottom", or "custom"
+# custom_position = 70.0 # Percentage from the top when using "custom"
+# subtitle_background_enabled = false
+# subtitle_background_color = "#000000"
+# rounded_subtitle_background = false
diff --git a/docker-compose.gpu.yml b/docker-compose.gpu.yml
index a15ea01a..cddfc644 100644
--- a/docker-compose.gpu.yml
+++ b/docker-compose.gpu.yml
@@ -8,12 +8,20 @@
#
# This file overrides the default docker-compose.yml to:
# - Build with Dockerfile.gpu (NVIDIA CUDA base image)
-# - Attach GPU device to the api service
+# - Attach GPU devices to both services because video generation can run in
+# either the WebUI process or the API process
services:
webui:
build:
context: .
dockerfile: Dockerfile.gpu
+ deploy:
+ resources:
+ reservations:
+ devices:
+ - driver: nvidia
+ count: 1
+ capabilities: [gpu]
api:
build:
context: .
diff --git a/docker-compose.release.yml b/docker-compose.release.yml
index ffcc48a7..c461cbe0 100644
--- a/docker-compose.release.yml
+++ b/docker-compose.release.yml
@@ -8,7 +8,7 @@ services:
container_name: "moneyprinterturbo-webui"
ports:
- "127.0.0.1:8501:8501"
- command: [ "streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--server.showEmailPrompt=False" ]
+ command: [ "streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False" ]
volumes: *common-volumes
restart: always
api:
diff --git a/docker-compose.yml b/docker-compose.yml
index ff983975..97f501ef 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -9,7 +9,7 @@ services:
container_name: "moneyprinterturbo-webui"
ports:
- "127.0.0.1:8501:8501"
- command: [ "streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False","--server.showEmailPrompt=False" ]
+ command: [ "streamlit", "run", "./webui/Main.py", "--server.address=0.0.0.0", "--server.port=8501", "--browser.serverAddress=127.0.0.1", "--server.enableCORS=True", "--browser.gatherUsageStats=False", "--client.toolbarMode=minimal", "--logger.hideWelcomeMessage=True", "--server.showEmailPrompt=False" ]
volumes: *common-volumes
restart: always
api:
diff --git a/docs/MoneyPrinterTurbo.ipynb b/docs/MoneyPrinterTurbo.ipynb
index 4c71710d..e643d2c4 100644
--- a/docs/MoneyPrinterTurbo.ipynb
+++ b/docs/MoneyPrinterTurbo.ipynb
@@ -4,18 +4,18 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "# MoneyPrinterTurbo Setup Guide\n",
+ "# Run MoneyPrinterTurbo on Google Colab\n",
"\n",
- "This notebook will guide you through the process of setting up [MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo)."
+ "This notebook installs [MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo) in an isolated Python 3.11 environment and launches its WebUI. Colab runtimes are temporary, so generated files are removed when the runtime is reset."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "## 1. Clone Repository and Install Dependencies\n",
+ "## 1. Install MoneyPrinterTurbo\n",
"\n",
- "First, we'll clone the repository from GitHub and install all required packages:"
+ "The setup is safe to run again: it clones the repository on the first run and updates it on later runs. Dependencies are installed in the project's virtual environment to avoid conflicts with Colab's preinstalled packages."
]
},
{
@@ -26,24 +26,42 @@
},
"outputs": [],
"source": [
- "!git clone https://github.com/harry0703/MoneyPrinterTurbo.git\n",
- "%cd MoneyPrinterTurbo\n",
- "!pip install -q uv pyngrok\n",
- "!uv python install 3.11\n",
- "# Colab 预装了 google-colab / google-genai / google-adk 等包,直接 pip install -r requirements.txt\n",
- "# 会覆盖全局依赖并触发版本冲突。这里使用 uv 为项目创建独立 .venv,避免影响 Colab 运行时。\n",
- "!uv sync --frozen --python 3.11"
+ "import os\n",
+ "import subprocess\n",
+ "from pathlib import Path\n",
+ "\n",
+ "REPO_DIR = Path(\"/content/MoneyPrinterTurbo\")\n",
+ "REPO_URL = \"https://github.com/harry0703/MoneyPrinterTurbo.git\"\n",
+ "\n",
+ "# Update an existing checkout so rerunning this cell does not fail during clone.\n",
+ "if (REPO_DIR / \".git\").is_dir():\n",
+ " subprocess.run(\n",
+ " [\"git\", \"-C\", str(REPO_DIR), \"pull\", \"--ff-only\"], check=True\n",
+ " )\n",
+ "elif REPO_DIR.exists():\n",
+ " raise RuntimeError(f\"{REPO_DIR} exists but is not a Git repository\")\n",
+ "else:\n",
+ " subprocess.run(\n",
+ " [\"git\", \"clone\", \"--depth\", \"1\", REPO_URL, str(REPO_DIR)], check=True\n",
+ " )\n",
+ "\n",
+ "os.chdir(REPO_DIR)\n",
+ "subprocess.run([\"python\", \"-m\", \"pip\", \"install\", \"-q\", \"uv\", \"pyngrok\"], check=True)\n",
+ "subprocess.run([\"uv\", \"python\", \"install\", \"3.11\"], check=True)\n",
+ "# Use the lockfile in an isolated environment without changing Colab's preinstalled packages.\n",
+ "subprocess.run([\"uv\", \"sync\", \"--frozen\", \"--python\", \"3.11\"], check=True)\n",
+ "print(f\"MoneyPrinterTurbo is ready in {REPO_DIR}\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "## 2. Configure ngrok for Remote Access\n",
+ "## 2. Configure the Colab tunnel\n",
"\n",
- "We'll use ngrok to create a secure tunnel to expose our local Streamlit server to the internet.\n",
+ "MoneyPrinterTurbo itself does not require ngrok for normal local use. This notebook uses ngrok only because the Streamlit server runs inside a remote Colab runtime.\n",
"\n",
- "**Important**: You need to get your authentication token from the [ngrok dashboard](https://dashboard.ngrok.com/get-started/your-authtoken) to use this service."
+ "Create an account and copy your authentication token from the [ngrok dashboard](https://dashboard.ngrok.com/get-started/your-authtoken). The next cell reads it without displaying or storing it in the notebook."
]
},
{
@@ -52,23 +70,28 @@
"metadata": {},
"outputs": [],
"source": [
+ "from getpass import getpass\n",
+ "\n",
"from pyngrok import ngrok\n",
"\n",
- "# Terminate any existing ngrok tunnels\n",
+ "# Close tunnels from earlier runs before configuring a new one.\n",
"ngrok.kill()\n",
"\n",
- "# Set your authentication token\n",
- "# Replace \"your_ngrok_auth_token\" with your actual token\n",
- "ngrok.set_auth_token(\"your_ngrok_auth_token\")"
+ "ngrok_token = getpass(\"Enter your ngrok authentication token: \").strip()\n",
+ "if not ngrok_token:\n",
+ " raise ValueError(\"An ngrok authentication token is required\")\n",
+ "ngrok.set_auth_token(ngrok_token)\n",
+ "del ngrok_token\n",
+ "print(\"ngrok authentication configured\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "## 3. Launch Application and Generate Public URL\n",
+ "## 3. Launch the WebUI\n",
"\n",
- "Now we'll start the Streamlit server and create an ngrok tunnel to make it accessible online:"
+ "The cell waits for Streamlit to become healthy before creating the public URL. If startup fails, it includes the recent server log in the error. After opening the URL, use **Settings** to configure the required model and media API keys."
]
},
{
@@ -84,23 +107,66 @@
},
"outputs": [],
"source": [
- "import subprocess\n",
"import time\n",
+ "from urllib.error import URLError\n",
+ "from urllib.request import urlopen\n",
+ "\n",
+ "PORT = 8501\n",
+ "LOG_PATH = Path(\"/content/moneyprinterturbo-webui.log\")\n",
+ "\n",
+ "# Make this cell safe to rerun by closing the previous process, log handle, and tunnel.\n",
+ "if \"streamlit_proc\" in globals() and streamlit_proc.poll() is None:\n",
+ " streamlit_proc.terminate()\n",
+ " streamlit_proc.wait(timeout=10)\n",
+ "if \"streamlit_log\" in globals() and not streamlit_log.closed:\n",
+ " streamlit_log.close()\n",
+ "ngrok.kill()\n",
"\n",
- "print(\"🚀 Starting MoneyPrinterTurbo...\")\n",
- "# 通过 uv run 进入项目 .venv,确保 Streamlit 使用上一步锁定的依赖版本。\n",
- "streamlit_proc = subprocess.Popen([\n",
- " \"uv\", \"run\", \"streamlit\", \"run\", \"./webui/Main.py\", \"--server.port=8501\", \"--server.address=0.0.0.0\"\n",
- "])\n",
+ "streamlit_log = LOG_PATH.open(\"w\", encoding=\"utf-8\")\n",
+ "streamlit_proc = subprocess.Popen(\n",
+ " [\n",
+ " \"uv\",\n",
+ " \"run\",\n",
+ " \"streamlit\",\n",
+ " \"run\",\n",
+ " \"webui/Main.py\",\n",
+ " f\"--server.port={PORT}\",\n",
+ " \"--server.address=0.0.0.0\",\n",
+ " \"--browser.gatherUsageStats=False\",\n",
+ " \"--client.toolbarMode=minimal\",\n",
+ " \"--server.showEmailPrompt=False\",\n",
+ " ],\n",
+ " cwd=REPO_DIR,\n",
+ " stdout=streamlit_log,\n",
+ " stderr=subprocess.STDOUT,\n",
+ " text=True,\n",
+ ")\n",
"\n",
- "# Wait for the server to initialize\n",
- "time.sleep(5)\n",
+ "# Poll the health endpoint because startup time varies across Colab runtimes.\n",
+ "deadline = time.time() + 90\n",
+ "server_ready = False\n",
+ "while time.time() < deadline:\n",
+ " if streamlit_proc.poll() is not None:\n",
+ " break\n",
+ " try:\n",
+ " with urlopen(f\"http://127.0.0.1:{PORT}/_stcore/health\", timeout=2) as response:\n",
+ " server_ready = response.status == 200\n",
+ " except (URLError, TimeoutError):\n",
+ " pass\n",
+ " if server_ready:\n",
+ " break\n",
+ " time.sleep(2)\n",
"\n",
- "print(\"🌐 Creating ngrok tunnel to expose the MoneyPrinterTurbo...\")\n",
- "public_url = ngrok.connect(8501, bind_tls=True)\n",
+ "if not server_ready:\n",
+ " streamlit_log.flush()\n",
+ " recent_log = LOG_PATH.read_text(encoding=\"utf-8\", errors=\"replace\")[-4000:]\n",
+ " raise RuntimeError(f\"Streamlit failed to start. Recent log:\\n{recent_log}\")\n",
"\n",
- "print(\"✅ Deployment complete! Access your MoneyPrinterTurbo at:\")\n",
- "print(public_url)"
+ "# Use an explicit IPv4 URL because pyngrok may otherwise route localhost through ::1.\n",
+ "public_tunnel = ngrok.connect(addr=f\"http://127.0.0.1:{PORT}\", proto=\"http\", bind_tls=True)\n",
+ "print(\"MoneyPrinterTurbo is ready:\")\n",
+ "print(public_tunnel.public_url)\n",
+ "print(f\"Server log: {LOG_PATH}\")"
]
}
],
diff --git a/docs/api.jpg b/docs/api.jpg
index 769dc796..8af1670e 100644
Binary files a/docs/api.jpg and b/docs/api.jpg differ
diff --git a/docs/skill/SKILL.md b/docs/skill/SKILL.md
new file mode 100644
index 00000000..a94218f1
--- /dev/null
+++ b/docs/skill/SKILL.md
@@ -0,0 +1,132 @@
+---
+name: moneyprinterturbo-video
+description: Use this skill whenever the user wants to create a finished video from a topic, title, idea, prompt, or script with MoneyPrinterTurbo. This includes short-form, voice-over, educational, marketing, social-media, and stock-footage videos. Also use it when the user mentions MoneyPrinterTurbo, provides this Skill URL, asks an AI agent to install or configure MoneyPrinterTurbo, needs missing API keys identified, wants a failed generation repaired, or wants a generated MP4 located and delivered. Use this skill when the expected outcome is a final video file, not setup instructions.
+compatibility: Requires an AI agent with terminal, network, filesystem, and long-running command support. Supports macOS and Windows and uses uv exclusively.
+metadata:
+ author: "[email protected]"
+ version: "1.3.2"
+ upstream: "https://github.com/harry0703/MoneyPrinterTurbo"
+---
+
+# MoneyPrinterTurbo Video Generation
+
+The user only needs to provide a video topic or script. Complete installation, configuration reuse, generation, waiting, and final MP4 delivery automatically. Do not stop after giving instructions or commands.
+
+## Required Behavior
+
+1. Ask the user only for required API credentials that are missing, rejected, or unusable. Combine all required credentials into one request.
+2. Do not ask for confirmation before installing, generating, waiting, using defaults, or returning the result.
+3. Do not create or repeatedly update a detailed plan for a standard generation request. Send one short progress update and execute.
+4. Run the helper as one foreground command with a timeout of at least 20 minutes.
+5. Never poll with `sleep`, `echo`, `ps`, repeated `ls`, or repeated `tail`. If the terminal returns a resumable session ID, continue waiting on that same session.
+6. Do not read the full log after success. Read only the short reported error or the relevant log tail after failure.
+7. Never print API keys, tokens, the full `config.toml`, or credential-bearing configuration fragments.
+
+## Defaults
+
+Unless the user requests otherwise, generate one Chinese `9:16` portrait video with Pexels footage, the default Chinese Edge TTS voice, subtitles, and background music. Install MoneyPrinterTurbo under the user's home directory.
+
+## Execution
+
+### 1. Locate the helper
+
+Resolve `SKILL_DIR` from this `SKILL.md` file. The helper is the adjacent `mpt_agent.py`. Set the terminal tool's working directory to `SKILL_DIR` and invoke the helper by its relative filename. Do not put the absolute helper path in the command, and do not run an extra `ls` or `dir` check.
+
+This is required on Windows because some agent terminal validators remove backslashes from absolute paths embedded in commands. Using `mpt_agent.py` with `workdir=SKILL_DIR` avoids that failure and works on both macOS and Windows.
+
+If the client loaded only the remote `SKILL.md`, download the helper from the official repository to a temporary directory, then use that temporary directory as the command working directory:
+
+```text
+https://raw.githubusercontent.com/harry0703/MoneyPrinterTurbo/main/docs/skill/mpt_agent.py
+```
+
+### 2. Run the helper
+
+Do not run a separate `uv --version` preflight. Run the helper directly. If the shell explicitly reports that uv is missing, install uv and retry the same helper command once.
+
+macOS uv installation:
+
+```bash
+curl -LsSf https://astral.sh/uv/install.sh | sh
+```
+
+Windows PowerShell uv installation:
+
+```powershell
+powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
+```
+
+Use this foreground command with `workdir=SKILL_DIR` and a timeout of at least 20 minutes:
+
+```bash
+uv run --no-project --python 3.11 python mpt_agent.py --subject "<video topic>"
+```
+
+On Windows, do not try absolute backslash paths, absolute forward-slash paths, or copies in the workspace before this relative command. If a terminal tool reports `referenced_script_path_missing`, verify that its working directory is exactly `SKILL_DIR` and retry the relative command once. Do not cycle through path variants.
+
+Do not use Docker, Conda, system pip, or a manually managed virtual environment.
+
+## Exit Handling
+
+### Exit code 0: deliver the result
+
+Successful output has this form:
+
+```text
+MPT_RESULT
+VIDEO_FILE=<absolute path>/final-1.mp4
+TASK_DIR=<absolute path>/storage/tasks/<task_id>
+LOG_FILE=<absolute path>/run-<task_id>.log
+RESULT_FILE=<absolute path>/latest-result.json
+```
+
+`mpt_agent.py` emits `VIDEO_FILE` only after confirming that the file exists and is non-empty. Do not run another `ls`, `stat`, or file validation command.
+
+If the terminal reports `exitCode=0` but truncates the output or returns a history-file reference without `MPT_RESULT`, do not infer failure and do not inspect old logs. Read this file once:
+
+```text
+~/MoneyPrinterTurbo/.agent-logs/moneyprinterturbo-video/latest-result.json
+```
+
+Treat `status=completed` as success. Return only the absolute video path and a concise description, for example:
+
+```text
+The video is ready.
+Topic: ...
+Video file: /absolute/path/to/final-1.mp4
+Summary: Chinese portrait video with voice-over, subtitles, and background music.
+```
+
+### Exit code 10: request credentials once
+
+`MPT_NEEDS_INPUT` includes only the required fields, recommended LLM providers and signup links, custom OpenAI-compatible requirements, and the Pexels signup link. Ask only for the listed values and do not request credentials already found in `config.toml`.
+
+After the user responds, rerun the same foreground command with only the required environment variables:
+
+```text
+MPT_LLM_PROVIDER
+MPT_LLM_API_KEY
+MPT_LLM_BASE_URL
+MPT_LLM_MODEL_NAME
+MPT_PEXELS_API_KEY
+```
+
+### Exit code 1: repair or report
+
+Use `MPT_ERROR` and `LOG_FILE` to repair a recoverable problem and retry once. Ask the user only if the repair requires a new API key. If the retry fails, report the failed stage, a short error, and the log path.
+
+A terminal-tool path validation error is not a video-generation failure because the helper did not start. Correct the working directory and retry the relative command once. Never ask the user to copy `mpt_agent.py`, run commands manually, or confirm whether the agent should continue.
+
+## Configuration and Background Fallback
+
+The helper may read the complete local `config.toml` to reuse existing settings, but it must never print its contents. It reuses a working LLM provider automatically and validates configured Pexels keys through the authenticated My Collections endpoint before generation.
+
+Use background mode only if the agent platform cannot wait for a foreground process. Wait for the platform's process-completion notification without polling, then read `latest-result.json` once.
+
+## Scope
+
+- Support macOS and Windows only.
+- Use uv and the MoneyPrinterTurbo CLI only.
+- Do not start Docker, WebUI, or API services.
+- Do not run multiple video jobs concurrently.
+- Pass additional video requirements after `--`. Run `cli.py --help` once only when an unfamiliar option must be verified.
diff --git a/docs/skill/mpt_agent.py b/docs/skill/mpt_agent.py
new file mode 100644
index 00000000..e51245ae
--- /dev/null
+++ b/docs/skill/mpt_agent.py
@@ -0,0 +1,640 @@
+#!/usr/bin/env python3
+"""Cross-platform installation and video generation for the MoneyPrinterTurbo Skill."""
+
+from __future__ import annotations
+
+import argparse
+import json
+import os
+import re
+import shutil
+import subprocess
+import sys
+import tempfile
+import urllib.error
+import urllib.request
+import uuid
+import zipfile
+from datetime import datetime, timezone
+from pathlib import Path
+
+
+PROJECT_ARCHIVE_URL = (
+ "https://github.com/harry0703/MoneyPrinterTurbo/archive/refs/heads/main.zip"
+)
+DEFAULT_ROOT = Path.home() / "MoneyPrinterTurbo"
+DEFAULT_VOICE_NAME = "zh-CN-XiaoxiaoNeural-Female"
+NEEDS_INPUT_EXIT_CODE = 10
+SUPPORTED_SOURCES = {"pexels", "pixabay", "coverr", "local"}
+PEXELS_API_KEY_URL = "https://www.pexels.com/api/"
+PEXELS_VALIDATION_URL = "https://api.pexels.com/v1/collections?per_page=1"
+PEXELS_API_KEY_HELP_URL = (
+ "https://help.pexels.com/hc/en-us/articles/"
+ "900004904026-How-do-I-get-an-API-key"
+)
+
+# Keep the recommended list focused on commonly used providers. When an LLM
+# key is missing, the helper emits all choices at once to avoid extra turns.
+RECOMMENDED_LLM_PROVIDERS = {
+ "moonshot": (
+ "Kimi / Moonshot AI",
+ "https://platform.kimi.com/console/api-keys?aff=MoneyPrinterTurbo",
+ ),
+ "openai": ("OpenAI", "https://platform.openai.com/api-keys"),
+ "gemini": ("Google Gemini", "https://aistudio.google.com/app/apikey"),
+ "deepseek": ("DeepSeek", "https://platform.deepseek.com/api_keys"),
+ "volcengine": (
+ "ByteDance VolcEngine Ark / Doubao",
+ "https://www.volcengine.com/activity/ai618?utm_source=MoneyPrinterTurbo",
+ ),
+ "minimax": ("MiniMax", "https://platform.minimax.io/"),
+ "mimo": (
+ "Xiaomi MiMo",
+ "https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call",
+ ),
+}
+KEYLESS_LLM_PROVIDERS = {"ollama", "litellm"}
+CUSTOM_OPENAI_PROVIDER = "oneapi"
+
+# Hidden providers such as Qwen, Azure, and Grok remain usable when already
+# selected, but are not automatic fallback candidates. A fully configured
+# generic OpenAI-compatible endpoint can be reused safely.
+ADDITIONAL_REUSABLE_PROVIDERS = (CUSTOM_OPENAI_PROVIDER,)
+
+
+class SkillError(RuntimeError):
+ """An actionable Skill error that can be reported without a traceback."""
+
+
+def log(message: str) -> None:
+ """Flush concise progress so the agent knows the long-running job started."""
+ print(f"[MoneyPrinterTurbo] {message}", flush=True)
+
+
+def parse_args(argv: list[str] | None = None) -> argparse.Namespace:
+ parser = argparse.ArgumentParser(
+ description="Install MoneyPrinterTurbo and generate a final video from a topic."
+ )
+ parser.add_argument("--subject", required=True, help="video topic")
+ parser.add_argument(
+ "--root",
+ type=Path,
+ default=DEFAULT_ROOT,
+ help=f"MoneyPrinterTurbo installation directory (default: {DEFAULT_ROOT})",
+ )
+ parser.add_argument(
+ "cli_args",
+ nargs=argparse.REMAINDER,
+ help="additional MoneyPrinterTurbo CLI arguments placed after --",
+ )
+ args = parser.parse_args(argv)
+ args.subject = args.subject.strip()
+ if not args.subject:
+ parser.error("--subject cannot be empty")
+ if args.cli_args and args.cli_args[0] == "--":
+ args.cli_args = args.cli_args[1:]
+ return args
+
+
+def _safe_extract(archive: zipfile.ZipFile, destination: Path) -> None:
+ """Reject ZIP entries that would escape the temporary extraction directory."""
+ destination = destination.resolve()
+ for member in archive.infolist():
+ target = (destination / member.filename).resolve()
+ if target != destination and destination not in target.parents:
+ raise SkillError(f"project archive contains an unsafe path: {member.filename}")
+ archive.extractall(destination)
+
+
+def ensure_project(root: Path) -> None:
+ """Reuse an existing project or install it from the official GitHub archive."""
+ root = root.expanduser().resolve()
+ if (root / "cli.py").is_file() and (root / "config.example.toml").is_file():
+ log(f"using existing project: {root}")
+ return
+ if root.exists() and any(root.iterdir()):
+ raise SkillError(f"installation directory exists but is not a valid project: {root}")
+
+ root.parent.mkdir(parents=True, exist_ok=True)
+ log(f"first-time installation: downloading the official project to {root}")
+ with tempfile.TemporaryDirectory(prefix="mpt-install-") as temp_dir_value:
+ temp_dir = Path(temp_dir_value)
+ archive_path = temp_dir / "MoneyPrinterTurbo.zip"
+ request = urllib.request.Request(
+ PROJECT_ARCHIVE_URL,
+ headers={"User-Agent": "MoneyPrinterTurbo-Agent-Skill"},
+ )
+ with urllib.request.urlopen(request, timeout=120) as response:
+ # Stream the archive to avoid holding a second full copy in memory.
+ with archive_path.open("wb") as archive_file:
+ shutil.copyfileobj(response, archive_file)
+ with zipfile.ZipFile(archive_path) as archive:
+ _safe_extract(archive, temp_dir)
+
+ candidates = [
+ path
+ for path in temp_dir.iterdir()
+ if path.is_dir() and (path / "cli.py").is_file()
+ ]
+ if len(candidates) != 1:
+ raise SkillError("download completed but no valid MoneyPrinterTurbo project was found")
+ if root.exists():
+ root.rmdir()
+ shutil.move(str(candidates[0]), str(root))
+ log("project download completed")
+
+
+def ensure_config(root: Path) -> Path:
+ """Create the initial configuration without overwriting an existing file."""
+ config_path = root / "config.toml"
+ if not config_path.exists():
+ shutil.copy2(root / "config.example.toml", config_path)
+ log(f"created configuration file: {config_path}")
+ return config_path
+
+
+def _plain_config_value(text: str, key: str) -> str:
+ """Read a simple top-level TOML value without printing its contents."""
+ match = re.search(rf"(?m)^{re.escape(key)}\s*=\s*(.*)$", text)
+ if not match:
+ return ""
+ value = match.group(1).split("#", 1)[0].strip()
+ if value.startswith('"') and value.endswith('"'):
+ return value[1:-1]
+ return value
+
+
+def _replace_config_value(text: str, key: str, value: object) -> str:
+ """Replace one active field while preserving the configuration layout."""
+ pattern = re.compile(rf"(?m)^({re.escape(key)}\s*=\s*).*$")
+ if not pattern.search(text):
+ raise SkillError(f"configuration field not found in config.toml: {key}")
+ encoded = json.dumps(value, ensure_ascii=False)
+ return pattern.sub(lambda match: f"{match.group(1)}{encoded}", text, count=1)
+
+
+def _has_configured_value(value: str) -> bool:
+ """Treat empty strings and whitespace-only key arrays as unconfigured."""
+ if not value:
+ return False
+ try:
+ parsed = json.loads(value)
+ except json.JSONDecodeError:
+ return bool(value.strip())
+ if isinstance(parsed, list):
+ return any(str(item).strip() for item in parsed)
+ return bool(str(parsed).strip())
+
+
+def _parse_string_list(value: str) -> list[str]:
+ """Parse a configured string list while removing blanks and duplicates."""
+ try:
+ parsed = json.loads(value)
+ except json.JSONDecodeError:
+ return []
+ if not isinstance(parsed, list):
+ return []
+ return list(dict.fromkeys(str(item).strip() for item in parsed if str(item).strip()))
+
+
+def apply_environment_config(config_path: Path) -> None:
+ """Write supplied credentials while logging field names only."""
+ provider = os.environ.get("MPT_LLM_PROVIDER", "").strip().lower()
+ if provider == "openai_compatible":
+ provider = CUSTOM_OPENAI_PROVIDER
+ llm_key = os.environ.get("MPT_LLM_API_KEY", "").strip()
+ base_url = os.environ.get("MPT_LLM_BASE_URL", "").strip()
+ model_name = os.environ.get("MPT_LLM_MODEL_NAME", "").strip()
+ pexels_key = os.environ.get("MPT_PEXELS_API_KEY", "").strip()
+ if not any((provider, llm_key, base_url, model_name, pexels_key)):
+ return
+
+ text = config_path.read_text(encoding="utf-8")
+ current_provider = _plain_config_value(text, "llm_provider") or "moonshot"
+ provider = provider or current_provider
+ changes: list[str] = []
+ if os.environ.get("MPT_LLM_PROVIDER", "").strip():
+ text = _replace_config_value(text, "llm_provider", provider)
+ changes.append("llm_provider")
+ if llm_key:
+ text = _replace_config_value(text, f"{provider}_api_key", llm_key)
+ changes.append(f"{provider}_api_key")
+ if base_url:
+ text = _replace_config_value(text, f"{provider}_base_url", base_url)
+ changes.append(f"{provider}_base_url")
+ if model_name:
+ text = _replace_config_value(text, f"{provider}_model_name", model_name)
+ changes.append(f"{provider}_model_name")
+ if pexels_key:
+ text = _replace_config_value(text, "pexels_api_keys", [pexels_key])
+ changes.append("pexels_api_keys")
+ config_path.write_text(text, encoding="utf-8")
+ log("updated configuration fields: " + ", ".join(changes))
+
+
+def _provider_is_ready(text: str, provider: str) -> bool:
+ """Return whether a provider has enough configuration to generate."""
+ if provider in KEYLESS_LLM_PROVIDERS:
+ return True
+ if not _has_configured_value(
+ _plain_config_value(text, f"{provider}_api_key")
+ ):
+ return False
+ if provider == CUSTOM_OPENAI_PROVIDER:
+ return all(
+ _has_configured_value(_plain_config_value(text, f"{provider}_{suffix}"))
+ for suffix in ("base_url", "model_name")
+ )
+ return True
+
+
+def reuse_existing_llm_provider(config_path: Path) -> str:
+ """
+ Reuse existing LLM credentials before asking the user for another key.
+
+ Keep the current provider when it is ready. Otherwise, scan configured
+ recommended providers in UI order and update ``llm_provider``. Credential
+ values are inspected in memory and are never logged.
+ """
+ text = config_path.read_text(encoding="utf-8")
+ current_provider = _plain_config_value(text, "llm_provider") or "moonshot"
+ if _provider_is_ready(text, current_provider):
+ return current_provider
+
+ reusable_providers = (
+ *RECOMMENDED_LLM_PROVIDERS,
+ *ADDITIONAL_REUSABLE_PROVIDERS,
+ )
+ for provider in reusable_providers:
+ if _provider_is_ready(text, provider):
+ text = _replace_config_value(text, "llm_provider", provider)
+ config_path.write_text(text, encoding="utf-8")
+ log(f"reusing configured LLM provider: {provider}")
+ return provider
+ return current_provider
+
+
+def selected_video_source(cli_args: list[str]) -> str:
+ """Read the effective material source from forwarded CLI arguments."""
+ for index, item in enumerate(cli_args):
+ if item == "--video-source" and index + 1 < len(cli_args):
+ return cli_args[index + 1].strip().lower()
+ if item.startswith("--video-source="):
+ return item.split("=", 1)[1].strip().lower()
+ return "pexels"
+
+
+def has_cli_option(cli_args: list[str], option: str) -> bool:
+ """Return whether forwarded arguments explicitly set a CLI option."""
+ return any(item == option or item.startswith(f"{option}=") for item in cli_args)
+
+
+def missing_config(config_path: Path, cli_args: list[str]) -> tuple[str, list[str]]:
+ """Return the active provider and only the fields required by this run."""
+ text = config_path.read_text(encoding="utf-8")
+ provider = _plain_config_value(text, "llm_provider") or "moonshot"
+ missing: list[str] = []
+ if provider not in KEYLESS_LLM_PROVIDERS and not _has_configured_value(
+ _plain_config_value(text, f"{provider}_api_key")
+ ):
+ missing.append(f"{provider}_api_key")
+ if provider == CUSTOM_OPENAI_PROVIDER:
+ for suffix in ("base_url", "model_name"):
+ field = f"{provider}_{suffix}"
+ if not _has_configured_value(_plain_config_value(text, field)):
+ missing.append(field)
+
+ source = selected_video_source(cli_args)
+ if source not in SUPPORTED_SOURCES:
+ raise SkillError(f"unsupported video source: {source}")
+ if source != "local":
+ value = _plain_config_value(text, f"{source}_api_keys")
+ if not _has_configured_value(value):
+ missing.append(f"{source}_api_keys")
+ return provider, missing
+
+
+def report_missing_config(provider: str, missing: list[str]) -> int:
+ """Tell the agent exactly which credentials must be requested."""
+ print("MPT_NEEDS_INPUT")
+ print(f"LLM_PROVIDER={provider}")
+ for field in missing:
+ print(f"MISSING={field}")
+ if any(field.endswith("_api_key") for field in missing):
+ print("LLM_PROVIDER_OPTIONS_BEGIN")
+ for provider_id, (label, url) in RECOMMENDED_LLM_PROVIDERS.items():
+ print(f"LLM_PROVIDER_OPTION={provider_id}|{label}|{url}")
+ print(
+ "LLM_PROVIDER_OPTION=oneapi|Other OpenAI-compatible provider|"
+ "requires an API key, API base URL, and model name"
+ )
+ print("LLM_PROVIDER_OPTIONS_END")
+ if any(field.startswith(f"{CUSTOM_OPENAI_PROVIDER}_") for field in missing):
+ print(
+ "OPENAI_COMPATIBLE_REQUIRED="
+ "API key, API base URL, model name"
+ )
+ if "pexels_api_keys" in missing:
+ print(f"PEXELS_API_KEY_URL={PEXELS_API_KEY_URL}")
+ print(f"PEXELS_API_KEY_HELP_URL={PEXELS_API_KEY_HELP_URL}")
+ print("Request only the listed values, set the environment variables, and rerun the same command.")
+ return NEEDS_INPUT_EXIT_CODE
+
+
+def report_invalid_pexels_config() -> int:
+ """Request only a new Pexels key when every configured key is rejected."""
+ print("MPT_NEEDS_INPUT")
+ print("INVALID=pexels_api_keys")
+ print(f"PEXELS_API_KEY_URL={PEXELS_API_KEY_URL}")
+ print(f"PEXELS_API_KEY_HELP_URL={PEXELS_API_KEY_HELP_URL}")
+ print("All configured Pexels API keys were rejected or are unavailable. Provide a new key.")
+ return NEEDS_INPUT_EXIT_CODE
+
+
+def _validate_pexels_key(api_key: str) -> str:
+ """
+ Return ``valid``, ``rejected``, or ``unknown`` for a Pexels key.
+
+ HTTP 401, 403, and rate-limited 429 responses make a key unusable for this
+ run. Network and server errors return unknown so the configuration is kept.
+ """
+ # Curated and popular search requests may hit a public cache and return 200
+ # without valid authorization. My Collections is account-specific, requires
+ # authentication, and still returns 200 for an empty collection list.
+ request = urllib.request.Request(
+ PEXELS_VALIDATION_URL,
+ headers={
+ "Authorization": api_key,
+ "User-Agent": "MoneyPrinterTurbo-Agent-Skill",
+ },
+ )
+ try:
+ with urllib.request.urlopen(request, timeout=15) as response:
+ return "valid" if 200 <= response.status < 300 else "unknown"
+ except urllib.error.HTTPError as exc:
+ if exc.code in {401, 403, 429}:
+ return "rejected"
+ return "unknown"
+ except (TimeoutError, urllib.error.URLError):
+ return "unknown"
+
+
+def validate_pexels_config(config_path: Path, cli_args: list[str]) -> bool:
+ """
+ Validate all Pexels keys used by the default material source.
+
+ Downstream code selects configured keys randomly. Keeping rejected keys can
+ cause intermittent 401 responses and missing material results. If at least
+ one key is verified, retain only verified keys. If validation is impossible
+ because of a transient network failure, keep the original configuration.
+ """
+ if selected_video_source(cli_args) != "pexels":
+ return True
+
+ text = config_path.read_text(encoding="utf-8")
+ keys = _parse_string_list(_plain_config_value(text, "pexels_api_keys"))
+ if not keys:
+ return False
+
+ valid_keys: list[str] = []
+ rejected_count = 0
+ unknown_count = 0
+ for api_key in keys:
+ status = _validate_pexels_key(api_key)
+ if status == "valid":
+ valid_keys.append(api_key)
+ elif status == "rejected":
+ rejected_count += 1
+ else:
+ unknown_count += 1
+
+ if valid_keys:
+ if valid_keys != keys:
+ text = _replace_config_value(text, "pexels_api_keys", valid_keys)
+ config_path.write_text(text, encoding="utf-8")
+ log(
+ "Pexels key validation completed: "
+ f"valid={len(valid_keys)}, rejected={rejected_count}, "
+ f"unknown={unknown_count}"
+ )
+ return True
+ if unknown_count:
+ log("Pexels keys could not be verified due to a network or service error; keeping the existing configuration")
+ return True
+
+ log(f"Pexels key validation failed: all {rejected_count} configured keys are unusable")
+ return False
+
+
+def result_manifest_path(root: Path) -> Path:
+ return root / ".agent-logs" / "moneyprinterturbo-video" / "latest-result.json"
+
+
+def write_result_manifest(root: Path, payload: dict[str, object]) -> Path:
+ """
+ Atomically write the stable result file for agents that cannot wait.
+
+ The file contains task status and result paths only, never configuration
+ contents, credentials, or full logs.
+ """
+ result_path = result_manifest_path(root)
+ result_path.parent.mkdir(parents=True, exist_ok=True)
+ data = {
+ "updated_at": datetime.now(timezone.utc).isoformat(),
+ **payload,
+ }
+ unique_suffix = str(uuid.uuid4()).replace("-", "")
+ temp_path = result_path.with_name(
+ f".{result_path.name}.{os.getpid()}.{unique_suffix}.tmp"
+ )
+ temp_path.write_text(
+ json.dumps(data, ensure_ascii=False, indent=2), encoding="utf-8"
+ )
+ temp_path.replace(result_path)
+ return result_path.resolve()
+
+
+def run_checked(command: list[str], *, cwd: Path) -> None:
+ """Run dependency sync quietly and show only the last 30 lines on failure."""
+ log("installing or verifying project dependencies with uv")
+ result = subprocess.run(
+ command,
+ cwd=cwd,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ text=True,
+ errors="replace",
+ check=False,
+ )
+ if result.returncode != 0:
+ output_tail = (result.stdout or "").splitlines()[-30:]
+ if output_tail:
+ print("\n".join(output_tail), file=sys.stderr)
+ raise SkillError(f"dependency installation failed with exit code {result.returncode}")
+
+
+def generate_video(
+ root: Path,
+ subject: str,
+ cli_args: list[str],
+) -> tuple[list[Path], Path, Path, Path]:
+ """Run one traceable CLI task and return only its final video files."""
+ uv = shutil.which("uv")
+ if not uv:
+ raise SkillError("uv was not found; reopen the terminal or add uv to PATH")
+ run_checked([uv, "sync", "--frozen"], cwd=root)
+
+ task_id = str(uuid.uuid4())
+ task_dir = root / "storage" / "tasks" / task_id
+ log_dir = root / ".agent-logs" / "moneyprinterturbo-video"
+ log_dir.mkdir(parents=True, exist_ok=True)
+ log_path = log_dir / f"run-{task_id}.log"
+ write_result_manifest(
+ root,
+ {
+ "status": "running",
+ "subject": subject,
+ "task_id": task_id,
+ "task_dir": str(task_dir.resolve()),
+ "log_file": str(log_path.resolve()),
+ "video_files": [],
+ },
+ )
+ voice_args = (
+ []
+ if has_cli_option(cli_args, "--voice-name")
+ else ["--voice-name", DEFAULT_VOICE_NAME]
+ )
+ command = [
+ uv,
+ "run",
+ "python",
+ "cli.py",
+ *cli_args,
+ "--video-subject",
+ subject,
+ "--task-id",
+ task_id,
+ # Older CLI versions leave voice_name empty and fail during Edge TTS
+ # with ``Invalid voice ''``. Supply a stable Chinese voice unless the
+ # user has explicitly selected another voice.
+ *voice_args,
+ # A Skill request must produce a finished video. Force the final stage
+ # so forwarded options cannot stop at script, audio, or materials.
+ "--stop-at",
+ "video",
+ ]
+ log(f"starting video generation, task ID: {task_id}")
+ log(f"full generation log: {log_path}")
+ with log_path.open("w", encoding="utf-8") as log_file:
+ result = subprocess.run(
+ command,
+ cwd=root,
+ stdout=log_file,
+ stderr=subprocess.STDOUT,
+ text=True,
+ check=False,
+ )
+ if result.returncode != 0:
+ tail = log_path.read_text(encoding="utf-8", errors="replace").splitlines()[-30:]
+ if tail:
+ print("\n".join(tail), file=sys.stderr)
+ error = (
+ f"video generation failed with exit code {result.returncode}; "
+ f"log: {log_path}"
+ )
+ write_result_manifest(
+ root,
+ {
+ "status": "failed",
+ "subject": subject,
+ "task_id": task_id,
+ "task_dir": str(task_dir.resolve()),
+ "log_file": str(log_path.resolve()),
+ "video_files": [],
+ "error": error,
+ },
+ )
+ raise SkillError(error)
+
+ videos = sorted(
+ path.resolve()
+ for path in task_dir.glob("final-*.mp4")
+ if path.is_file() and path.stat().st_size > 0
+ )
+ if not videos:
+ error = f"generation completed without a valid final MP4; log: {log_path}"
+ write_result_manifest(
+ root,
+ {
+ "status": "failed",
+ "subject": subject,
+ "task_id": task_id,
+ "task_dir": str(task_dir.resolve()),
+ "log_file": str(log_path.resolve()),
+ "video_files": [],
+ "error": error,
+ },
+ )
+ raise SkillError(error)
+ result_path = write_result_manifest(
+ root,
+ {
+ "status": "completed",
+ "subject": subject,
+ "task_id": task_id,
+ "task_dir": str(task_dir.resolve()),
+ "log_file": str(log_path.resolve()),
+ "video_files": [str(video) for video in videos],
+ },
+ )
+ return videos, task_dir.resolve(), log_path.resolve(), result_path
+
+
+def main(argv: list[str] | None = None) -> int:
+ args = parse_args(argv)
+ root = args.root.expanduser().resolve()
+ try:
+ ensure_project(root)
+ config_path = ensure_config(root)
+ apply_environment_config(config_path)
+ reuse_existing_llm_provider(config_path)
+ provider, missing = missing_config(config_path, args.cli_args)
+ if missing:
+ write_result_manifest(
+ root,
+ {
+ "status": "needs_input",
+ "subject": args.subject,
+ "missing": missing,
+ },
+ )
+ return report_missing_config(provider, missing)
+ if not validate_pexels_config(config_path, args.cli_args):
+ write_result_manifest(
+ root,
+ {
+ "status": "needs_input",
+ "subject": args.subject,
+ "invalid": ["pexels_api_keys"],
+ },
+ )
+ return report_invalid_pexels_config()
+ videos, task_dir, log_path, result_path = generate_video(
+ root, args.subject, args.cli_args
+ )
+ except (OSError, SkillError, urllib.error.URLError, zipfile.BadZipFile) as exc:
+ print(f"MPT_ERROR={exc}", file=sys.stderr)
+ return 1
+
+ print("MPT_RESULT")
+ for video in videos:
+ print(f"VIDEO_FILE={video}")
+ print(f"TASK_DIR={task_dir}")
+ print(f"LOG_FILE={log_path}")
+ print(f"RESULT_FILE={result_path}")
+ return 0
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/docs/sponsors/picwish.com.jpg b/docs/sponsors/picwish.com.jpg
deleted file mode 100644
index db086adf..00000000
Binary files a/docs/sponsors/picwish.com.jpg and /dev/null differ
diff --git a/docs/sponsors/picwish.jpg b/docs/sponsors/picwish.jpg
deleted file mode 100644
index d60d03aa..00000000
Binary files a/docs/sponsors/picwish.jpg and /dev/null differ
diff --git a/docs/sponsors/reccloud.cn.jpg b/docs/sponsors/reccloud.cn.jpg
deleted file mode 100644
index 733111d1..00000000
Binary files a/docs/sponsors/reccloud.cn.jpg and /dev/null differ
diff --git a/docs/sponsors/reccloud.com.jpg b/docs/sponsors/reccloud.com.jpg
deleted file mode 100644
index 043e5213..00000000
Binary files a/docs/sponsors/reccloud.com.jpg and /dev/null differ
diff --git a/docs/webui-en.jpg b/docs/webui-en.jpg
index 37c1c91c..978d68cc 100644
Binary files a/docs/webui-en.jpg and b/docs/webui-en.jpg differ
diff --git a/docs/webui.jpg b/docs/webui.jpg
index ce2387d6..6d64c116 100644
Binary files a/docs/webui.jpg and b/docs/webui.jpg differ
diff --git a/pyproject.toml b/pyproject.toml
index 5b559660..3304ee68 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,21 +7,21 @@ build-backend = "hatchling.build"
[project]
name = "moneyprinterturbo"
-version = "1.3.1"
+version = "1.3.2"
description = "Generate short videos from prompts, local assets, subtitles, and TTS."
readme = "README-en.md"
-requires-python = ">=3.11,<3.13"
+requires-python = ">=3.11"
license = { text = "MIT" }
dependencies = [
"moviepy==2.2.1",
- "streamlit==1.58.0",
+ "streamlit==1.59.1",
+ "streamlit-tour==1.1.0",
"edge-tts==7.2.7",
"fastapi==0.136.3",
"uvicorn==0.32.1",
"openai==2.24.0",
"faster-whisper==1.1.0",
"loguru==0.7.3",
- "google-generativeai==0.8.6",
"dashscope==1.20.14",
"azure-cognitiveservices-speech==1.41.1",
"redis==5.2.0",
@@ -30,7 +30,9 @@ dependencies = [
"requests==2.33.1",
"socksio==1.0.0",
"pydub==0.25.1",
+ "audioop-lts==0.2.2; python_version >= '3.13'",
"litellm==1.86.2",
+ "google-genai==2.11.0",
]
[project.optional-dependencies]
diff --git a/requirements.txt b/requirements.txt
index 16fa39fc..5a602cf8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,13 +1,14 @@
# Keep legacy pip install support; primary deps moved to pyproject.toml / uv.lock.
moviepy==2.2.1
-streamlit==1.58.0
+streamlit==1.59.1
+streamlit-tour==1.1.0
edge_tts==7.2.7
fastapi==0.136.3
uvicorn==0.32.1
openai==2.24.0
faster-whisper==1.1.0
loguru==0.7.3
-google.generativeai==0.8.6
+google-genai==2.11.0
dashscope==1.20.14
azure-cognitiveservices-speech==1.41.1
redis==5.2.0
@@ -16,4 +17,5 @@ pyyaml==6.0.3
requests==2.33.1
socksio==1.0.0
pydub==0.25.1
+audioop-lts==0.2.2; python_version >= "3.13"
litellm==1.86.2
diff --git a/test/services/test_cache_manager.py b/test/services/test_cache_manager.py
new file mode 100644
index 00000000..50353c86
--- /dev/null
+++ b/test/services/test_cache_manager.py
@@ -0,0 +1,103 @@
+import os
+import tempfile
+import unittest
+from pathlib import Path
+from unittest.mock import patch
+
+from app.services import cache_manager
+
+
+class TestVideoCacheManager(unittest.TestCase):
+ """验证缓存管理只处理受控文件,并按元数据完成轻量统计与清理。"""
+
+ def setUp(self):
+ self.temp_dir = tempfile.TemporaryDirectory()
+ self.cache_dir = Path(self.temp_dir.name)
+ self.storage_patch = patch.object(
+ cache_manager.utils,
+ "storage_dir",
+ return_value=str(self.cache_dir),
+ )
+ self.storage_patch.start()
+
+ def tearDown(self):
+ self.storage_patch.stop()
+ self.temp_dir.cleanup()
+
+ def _create_cache_file(self, digest: str, size: int, mtime: float) -> Path:
+ path = self.cache_dir / f"vid-{digest}.mp4"
+ path.write_bytes(b"x" * size)
+ os.utime(path, (mtime, mtime))
+ return path
+
+ def test_stats_only_include_managed_top_level_regular_files(self):
+ """
+ 未知文件、嵌套文件和符号链接可能属于用户,不能进入容量统计或清理候选。
+ """
+ now = 2_000_000_000.0
+ self._create_cache_file("a" * 32, 10, now - 40 * 86400)
+ self._create_cache_file("b" * 32, 20, now - 2 * 86400)
+ (self.cache_dir / "personal.mp4").write_bytes(b"user-video")
+ nested_dir = self.cache_dir / "nested"
+ nested_dir.mkdir()
+ (nested_dir / f"vid-{'c' * 32}.mp4").write_bytes(b"nested")
+
+ symlink_path = self.cache_dir / f"vid-{'d' * 32}.mp4"
+ try:
+ symlink_path.symlink_to(self.cache_dir / "personal.mp4")
+ except (OSError, NotImplementedError):
+ # Windows 未开启开发者模式时创建符号链接可能没有权限,不影响其余断言。
+ pass
+
+ with patch.object(cache_manager.time, "time", return_value=now):
+ total = cache_manager.get_video_cache_stats()
+ older_than_30_days = cache_manager.get_video_cache_stats(30)
+
+ self.assertEqual(total.file_count, 2)
+ self.assertEqual(total.total_size, 30)
+ self.assertEqual(older_than_30_days.file_count, 1)
+ self.assertEqual(older_than_30_days.total_size, 10)
+
+ def test_cleanup_rescans_and_preserves_new_or_unknown_files(self):
+ now = 2_000_000_000.0
+ old_file = self._create_cache_file("a" * 32, 10, now - 40 * 86400)
+ new_file = self._create_cache_file("b" * 32, 20, now - 2 * 86400)
+ unknown_file = self.cache_dir / "keep-me.mp4"
+ unknown_file.write_bytes(b"user-video")
+
+ with patch.object(cache_manager.time, "time", return_value=now):
+ result = cache_manager.clean_video_cache(30)
+
+ self.assertEqual(result.deleted_count, 1)
+ self.assertEqual(result.deleted_size, 10)
+ self.assertEqual(result.failed_count, 0)
+ self.assertFalse(old_file.exists())
+ self.assertTrue(new_file.exists())
+ self.assertTrue(unknown_file.exists())
+
+ def test_cleanup_continues_when_one_file_cannot_be_deleted(self):
+ first = self._create_cache_file("a" * 32, 10, 1_000_000_000.0)
+ second = self._create_cache_file("b" * 32, 20, 1_000_000_000.0)
+ real_unlink = os.unlink
+
+ def unlink_with_failure(path):
+ if os.path.basename(path) == first.name:
+ raise PermissionError("file is busy")
+ return real_unlink(path)
+
+ with patch.object(cache_manager.os, "unlink", side_effect=unlink_with_failure):
+ result = cache_manager.clean_video_cache()
+
+ self.assertEqual(result.deleted_count, 1)
+ self.assertEqual(result.deleted_size, 20)
+ self.assertEqual(result.failed_count, 1)
+ self.assertTrue(first.exists())
+ self.assertFalse(second.exists())
+
+ def test_invalid_cleanup_age_is_rejected(self):
+ with self.assertRaises(ValueError):
+ cache_manager.get_video_cache_stats(0)
+ with self.assertRaises(ValueError):
+ cache_manager.clean_video_cache(-1)
+ with self.assertRaises(ValueError):
+ cache_manager.clean_video_cache(1.5)
diff --git a/test/services/test_cli.py b/test/services/test_cli.py
index 687ebf8e..4062afcb 100644
--- a/test/services/test_cli.py
+++ b/test/services/test_cli.py
@@ -1,7 +1,13 @@
+import io
+import os
+import subprocess
import sys
+import tempfile
import unittest
+from contextlib import redirect_stdout
from pathlib import Path
from unittest.mock import patch
+from uuid import uuid4
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
@@ -9,6 +15,25 @@ import cli
class TestCli(unittest.TestCase):
+ def test_default_voice_is_valid_edge_tts_voice(self):
+ args = cli.parse_args(["--video-subject", "测试主题"])
+ params = cli.build_video_params(args)
+
+ self.assertEqual(params.voice_name, "zh-CN-XiaoxiaoNeural-Female")
+
+ def test_complete_script_can_replace_video_subject(self):
+ args = cli.parse_args(["--video-script", "完整的视频文案"])
+ params = cli.build_video_params(args)
+
+ self.assertEqual(params.video_subject, "")
+ self.assertEqual(params.video_script, "完整的视频文案")
+
+ def test_subject_or_script_is_required(self):
+ with self.assertRaises(SystemExit) as cm:
+ cli.parse_args([])
+
+ self.assertEqual(cm.exception.code, 2)
+
def test_build_video_params_with_local_materials(self):
args = cli.parse_args(
[
@@ -33,8 +58,8 @@ class TestCli(unittest.TestCase):
self.assertEqual(params.video_terms, ["foo", "bar"])
def test_run_cli_dispatches_task_start(self):
- with patch.object(cli.tm, "start", return_value={"script": "ok"}) as start, patch.object(
- cli.utils, "get_uuid", return_value="task-123"
+ with patch("app.services.task.start", return_value={"script": "ok"}) as start, patch(
+ "app.utils.utils.get_uuid", return_value="task-123"
), patch("builtins.print") as print_mock:
code = cli.run_cli(["--video-subject", "命令行测试", "--stop-at", "script"])
@@ -47,8 +72,8 @@ class TestCli(unittest.TestCase):
print_mock.assert_called_once()
def test_run_cli_returns_error_when_task_fails(self):
- with patch.object(cli.tm, "start", return_value=None), patch.object(
- cli.utils, "get_uuid", return_value="task-456"
+ with patch("app.services.task.start", return_value=None), patch(
+ "app.utils.utils.get_uuid", return_value="task-456"
), patch.object(cli.logger, "error") as log_error:
code = cli.run_cli(["--video-subject", "失败场景"])
@@ -100,6 +125,8 @@ class TestCli(unittest.TestCase):
"output001.mp3",
"--bgm-volume",
"0.3",
+ "--n-threads",
+ "4",
]
)
@@ -118,6 +145,20 @@ class TestCli(unittest.TestCase):
self.assertEqual(params.bgm_type, "custom")
self.assertEqual(params.bgm_file, "output001.mp3")
self.assertEqual(params.bgm_volume, 0.3)
+ self.assertEqual(params.n_threads, 4)
+
+ def test_custom_audio_file_maps_to_video_params(self):
+ args = cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--custom-audio-file",
+ "voiceover.mp3",
+ ]
+ )
+ params = cli.build_video_params(args)
+
+ self.assertEqual(params.custom_audio_file, "voiceover.mp3")
def test_build_video_params_with_subtitle_style_options(self):
args = cli.parse_args(
@@ -156,20 +197,18 @@ class TestCli(unittest.TestCase):
self.assertEqual(params.text_background_color, "#000001")
self.assertTrue(params.rounded_subtitle_background)
- def test_subtitle_background_can_be_disabled_from_cli(self):
- args = cli.parse_args(
- [
- "--video-subject",
- "test",
- "--no-subtitle-background-enabled",
- "--rounded-subtitle-background",
- ]
- )
-
- params = cli.build_video_params(args)
+ def test_disabled_subtitle_background_rejects_rounding(self):
+ with self.assertRaises(SystemExit) as cm:
+ cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--no-subtitle-background-enabled",
+ "--rounded-subtitle-background",
+ ]
+ )
- self.assertFalse(params.text_background_color)
- self.assertFalse(params.rounded_subtitle_background)
+ self.assertEqual(cm.exception.code, 2)
def test_bgm_type_none_maps_to_disabled_background_music(self):
args = cli.parse_args(["--video-subject", "test", "--bgm-type", "none"])
@@ -216,6 +255,21 @@ class TestCli(unittest.TestCase):
cli.parse_args(["--video-subject", "test", "--video-source", "local"])
self.assertNotEqual(cm.exception.code, 0)
+ def test_local_source_does_not_require_materials_before_material_stage(self):
+ for stop_at in ("script", "audio", "subtitle"):
+ with self.subTest(stop_at=stop_at):
+ args = cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--video-source",
+ "local",
+ "--stop-at",
+ stop_at,
+ ]
+ )
+ self.assertEqual(args.stop_at, stop_at)
+
def test_local_source_stop_at_terms_rejected(self):
with self.assertRaises(SystemExit) as cm:
cli.parse_args([
@@ -226,6 +280,185 @@ class TestCli(unittest.TestCase):
])
self.assertNotEqual(cm.exception.code, 0)
+ def test_video_materials_rejected_for_online_source(self):
+ with self.assertRaises(SystemExit) as cm:
+ cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--video-source",
+ "pexels",
+ "--video-materials",
+ "a.mp4",
+ ]
+ )
+
+ self.assertEqual(cm.exception.code, 2)
+
+ def test_custom_bgm_requires_file_and_file_implies_custom_mode(self):
+ with self.assertRaises(SystemExit):
+ cli.parse_args(
+ ["--video-subject", "test", "--bgm-type", "custom"]
+ )
+
+ args = cli.parse_args(
+ ["--video-subject", "test", "--bgm-file", "output001.mp3"]
+ )
+ self.assertEqual(args.bgm_type, "custom")
+
+ def test_invalid_aspect_and_non_finite_numbers_are_argument_errors(self):
+ invalid_argvs = [
+ ["--video-subject", "test", "--video-aspect", "invalid"],
+ ["--video-subject", "test", "--custom-position", "nan"],
+ ["--video-subject", "test", "--voice-rate", "inf"],
+ ]
+ for argv in invalid_argvs:
+ with self.subTest(argv=argv), self.assertRaises(SystemExit) as cm:
+ cli.parse_args(argv)
+ self.assertEqual(cm.exception.code, 2)
+
+ def test_custom_position_requires_custom_subtitle_position(self):
+ with self.assertRaises(SystemExit) as cm:
+ cli.parse_args(
+ ["--video-subject", "test", "--custom-position", "50"]
+ )
+
+ self.assertEqual(cm.exception.code, 2)
+
+ def test_task_id_must_be_uuid(self):
+ task_id = str(uuid4())
+ args = cli.parse_args(
+ ["--video-subject", "test", "--task-id", task_id]
+ )
+ self.assertEqual(args.task_id, task_id)
+
+ with self.assertRaises(SystemExit) as cm:
+ cli.parse_args(
+ ["--video-subject", "test", "--task-id", "../../escape"]
+ )
+ self.assertEqual(cm.exception.code, 2)
+
+ def test_prepare_cli_files_accepts_relative_and_absolute_materials(self):
+ with (
+ tempfile.TemporaryDirectory() as source_dir,
+ tempfile.TemporaryDirectory() as managed_dir,
+ ):
+ relative_file = Path(source_dir) / "relative.mp4"
+ absolute_file = Path(source_dir) / "absolute.jpg"
+ relative_file.write_bytes(b"relative-video")
+ absolute_file.write_bytes(b"absolute-image")
+ old_cwd = os.getcwd()
+ try:
+ os.chdir(source_dir)
+ args = cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--video-source",
+ "local",
+ "--video-materials",
+ f"relative.mp4,{absolute_file}",
+ ]
+ )
+ params = cli.build_video_params(args)
+ with patch("app.utils.utils.storage_dir", return_value=managed_dir):
+ cli.prepare_cli_files(params, stop_at="video")
+ finally:
+ os.chdir(old_cwd)
+
+ prepared_paths = [Path(item.url) for item in params.video_materials]
+ self.assertTrue(all(path.parent == Path(managed_dir) for path in prepared_paths))
+ self.assertEqual(
+ {path.read_bytes() for path in prepared_paths},
+ {b"relative-video", b"absolute-image"},
+ )
+
+ def test_prepare_cli_files_rejects_missing_material_before_task_start(self):
+ args = cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--video-source",
+ "local",
+ "--video-materials",
+ "missing.mp4",
+ ]
+ )
+ params = cli.build_video_params(args)
+
+ with tempfile.TemporaryDirectory() as managed_dir, patch(
+ "app.utils.utils.storage_dir", return_value=managed_dir
+ ):
+ with self.assertRaisesRegex(ValueError, "does not exist"):
+ cli.prepare_cli_files(params, stop_at="video")
+
+ def test_run_cli_rejects_missing_material_before_starting_task(self):
+ with patch("app.services.task.start") as start:
+ code = cli.run_cli(
+ [
+ "--video-subject",
+ "test",
+ "--video-source",
+ "local",
+ "--video-materials",
+ "missing.mp4",
+ ]
+ )
+
+ self.assertEqual(code, 2)
+ start.assert_not_called()
+
+ def test_prepare_cli_files_resolves_relative_custom_audio(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ audio_file = Path(temp_dir) / "voiceover.mp3"
+ audio_file.write_bytes(b"audio")
+ old_cwd = os.getcwd()
+ try:
+ os.chdir(temp_dir)
+ args = cli.parse_args(
+ [
+ "--video-subject",
+ "test",
+ "--custom-audio-file",
+ "voiceover.mp3",
+ "--stop-at",
+ "audio",
+ ]
+ )
+ params = cli.build_video_params(args)
+ cli.prepare_cli_files(params, stop_at="audio")
+ finally:
+ os.chdir(old_cwd)
+
+ self.assertEqual(params.custom_audio_file, str(audio_file.resolve()))
+
+ def test_help_documents_defaults_paths_stages_and_exit_codes(self):
+ output = io.StringIO()
+ with redirect_stdout(output), self.assertRaises(SystemExit) as cm:
+ cli.parse_args(["--help"])
+
+ self.assertEqual(cm.exception.code, 0)
+ help_text = output.getvalue()
+ self.assertIn("zh-CN-XiaoxiaoNeural-Female", help_text)
+ self.assertIn("current working directory", help_text)
+ self.assertIn("Pipeline stages:", help_text)
+ self.assertIn("exit with 2", help_text)
+
+ def test_help_does_not_initialize_application_or_write_logs(self):
+ """帮助命令应独立于业务配置加载,便于用户查看和脚本采集。"""
+ project_root = Path(__file__).parent.parent.parent
+ result = subprocess.run(
+ [sys.executable, str(project_root / "cli.py"), "--help"],
+ cwd=project_root,
+ capture_output=True,
+ text=True,
+ check=False,
+ )
+
+ self.assertEqual(result.returncode, 0)
+ self.assertIn("Generate MoneyPrinterTurbo videos", result.stdout)
+ self.assertEqual(result.stderr, "")
+
if __name__ == "__main__":
unittest.main()
diff --git a/test/services/test_config.py b/test/services/test_config.py
new file mode 100644
index 00000000..6b6e94ce
--- /dev/null
+++ b/test/services/test_config.py
@@ -0,0 +1,103 @@
+import threading
+import tomllib
+from pathlib import Path
+from tempfile import TemporaryDirectory
+from unittest.mock import patch
+
+from app.config import config
+from app.models.llm_provider import LLM_PROVIDER_REGISTRY
+
+
+class TestConfigPersistence:
+ @staticmethod
+ def _load_example_config():
+ config_path = Path(__file__).resolve().parents[2] / "config.example.toml"
+ return tomllib.loads(config_path.read_text(encoding="utf-8"))
+
+ def test_example_config_documents_runtime_settings(self):
+ """示例配置应展示用户需要手工维护的服务、素材和高级运行参数。"""
+ example_config = self._load_example_config()
+ app_config = example_config["app"]
+
+ assert example_config["listen_host"] == "0.0.0.0"
+ assert example_config["listen_port"] == 8080
+ assert example_config["log_level"] == "DEBUG"
+ assert app_config["video_source"] in {"pexels", "pixabay", "coverr", "local"}
+ assert "match_materials_to_script" in app_config
+ assert example_config["whisper"]["device"] == "cpu"
+
+ def test_example_config_covers_llm_provider_registry(self):
+ """Registry 中可配置的 Provider 字段必须能在示例文件中被发现。"""
+ app_config = self._load_example_config()["app"]
+
+ for provider in LLM_PROVIDER_REGISTRY:
+ if provider.show_api_key:
+ assert provider.config_key("api_key") in app_config
+ if provider.show_base_url:
+ assert provider.config_key("base_url") in app_config
+ if provider.requires_model_name:
+ assert provider.config_key("model_name") in app_config
+ for field in provider.extra_fields:
+ assert provider.config_key(field.config_suffix) in app_config
+
+ def test_upload_post_settings_belong_to_app_section(self):
+ """发布配置必须位于 app 节点,确保示例文件与运行时读取路径一致。"""
+ example_config = self._load_example_config()
+ upload_post_keys = {
+ "upload_post_enabled",
+ "upload_post_api_key",
+ "upload_post_username",
+ "upload_post_platforms",
+ "upload_post_auto_upload",
+ "upload_post_youtube_privacy_status",
+ }
+
+ assert upload_post_keys <= example_config["app"].keys()
+ assert upload_post_keys.isdisjoint(example_config.get("ui", {}).keys())
+
+ def test_save_config_uses_parseable_atomic_output(self):
+ """
+ 配置保存先写临时文件再原子替换。测试同时确认输出仍是合法 TOML,
+ 且成功保存后不会在配置目录遗留临时文件。
+ """
+ original_cfg = dict(config._cfg)
+ original_app = dict(config.app)
+ try:
+ with TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ config.app["atomic_save_test"] = "ok"
+ with (
+ patch.object(config, "root_dir", temp_dir),
+ patch.object(config, "config_file", str(config_path)),
+ ):
+ config.save_config()
+
+ saved_config = tomllib.loads(config_path.read_text(encoding="utf-8"))
+ assert saved_config["app"]["atomic_save_test"] == "ok"
+ assert list(Path(temp_dir).glob(".config-*.toml.tmp")) == []
+ finally:
+ config.app.clear()
+ config.app.update(original_app)
+ config._cfg.clear()
+ config._cfg.update(original_cfg)
+
+ def test_runtime_config_lock_blocks_concurrent_config_writes(self):
+ """长任务持有运行锁时,其它会话不能在任务中途改写全局配置。"""
+ write_started = threading.Event()
+ write_finished = threading.Event()
+
+ def update_config():
+ write_started.set()
+ config.app["runtime_lock_test"] = "updated"
+ write_finished.set()
+
+ config.app.pop("runtime_lock_test", None)
+ with config.runtime_config_lock():
+ worker = threading.Thread(target=update_config)
+ worker.start()
+ assert write_started.wait(timeout=1)
+ assert not write_finished.wait(timeout=0.05)
+
+ worker.join(timeout=1)
+ assert write_finished.is_set()
+ config.app.pop("runtime_lock_test", None)
diff --git a/test/services/test_llm.py b/test/services/test_llm.py
index d086b257..a6e888f9 100644
--- a/test/services/test_llm.py
+++ b/test/services/test_llm.py
@@ -1,6 +1,8 @@
+import json
import os
import sys
import tempfile
+import tomllib
import types
import unittest
from pathlib import Path
@@ -11,6 +13,13 @@ from pydantic import ValidationError
sys.path.insert(0, str(Path(__file__).parent.parent.parent))
from app.config import config
+from app.models.llm_provider import (
+ DEFAULT_LLM_PROVIDER_ID,
+ LLM_PROVIDER_REGISTRY,
+ LLM_PROVIDERS,
+ get_llm_provider,
+ normalize_provider_override,
+)
from app.models.schema import VideoScriptRequest, VideoSocialMetadataRequest
from app.services import llm
@@ -93,7 +102,9 @@ class TestScriptPromptOptions(unittest.TestCase):
captured["prompt"] = prompt
return "第一段。\n\n第二段。"
- with patch.object(llm, "_generate_response", side_effect=fake_generate_response):
+ with patch.object(
+ llm, "_generate_response", side_effect=fake_generate_response
+ ):
result = llm.generate_script(
video_subject="咖啡",
language="zh-CN",
@@ -117,7 +128,9 @@ class TestScriptPromptOptions(unittest.TestCase):
captured["prompt"] = prompt
return '["opening city", "middle office", "final sunset"]'
- with patch.object(llm, "_generate_response", side_effect=fake_generate_response):
+ with patch.object(
+ llm, "_generate_response", side_effect=fake_generate_response
+ ):
result = llm.generate_terms(
video_subject="startup story",
video_script="First city. Then office. Finally sunset.",
@@ -144,6 +157,43 @@ class TestScriptPromptOptions(unittest.TestCase):
)
+class TestLLMConnection(unittest.TestCase):
+ def test_connection_sends_one_minimal_request(self):
+ """连接测试只发送一次固定最小请求,不触发脚本生成重试。"""
+ with (
+ patch.object(llm, "_generate_response", return_value="OK") as generate,
+ patch.object(llm, "perf_counter", side_effect=[10.0, 10.25]),
+ ):
+ result = llm.test_connection()
+
+ generate.assert_called_once_with(prompt="Reply with exactly: OK")
+ self.assertEqual(result, (True, "", 0.25))
+
+ def test_connection_returns_provider_error(self):
+ """Provider 返回错误时应保留可诊断信息,并报告本次请求耗时。"""
+ with (
+ patch.object(
+ llm,
+ "_generate_response",
+ return_value="Error: invalid API key",
+ ),
+ patch.object(llm, "perf_counter", side_effect=[20.0, 20.5]),
+ ):
+ result = llm.test_connection()
+
+ self.assertEqual(result, (False, "invalid API key", 0.5))
+
+ def test_connection_rejects_empty_response(self):
+ """极端情况下的空响应应显示明确错误,而不是误报连接成功。"""
+ with (
+ patch.object(llm, "_generate_response", return_value=""),
+ patch.object(llm, "perf_counter", side_effect=[30.0, 31.0]),
+ ):
+ result = llm.test_connection()
+
+ self.assertEqual(result, (False, "LLM returned an empty response", 1.0))
+
+
class TestLiteLLMProvider(unittest.TestCase):
def setUp(self):
self.original_app_config = dict(config.app)
@@ -152,6 +202,423 @@ class TestLiteLLMProvider(unittest.TestCase):
config.app.clear()
config.app.update(self.original_app_config)
+ def test_current_default_model_names(self):
+ """WebUI 与服务层必须共享同一组默认模型,避免展示值和请求值漂移。"""
+ self.assertEqual(get_llm_provider("openai").default_model, "gpt-5.5")
+ self.assertEqual(get_llm_provider("aimlapi").default_model, "openai/gpt-5-5")
+ self.assertEqual(get_llm_provider("deepseek").default_model, "deepseek-v4-pro")
+ self.assertEqual(
+ get_llm_provider("modelscope").default_model, "ZhipuAI/GLM-5.2"
+ )
+ self.assertEqual(
+ get_llm_provider("gemini").default_model, "gemini-3.1-pro-preview"
+ )
+ pollinations = get_llm_provider("pollinations")
+ self.assertEqual(pollinations.default_model, "openai-fast")
+ self.assertEqual(
+ pollinations.default_base_url,
+ "https://gen.pollinations.ai/v1",
+ )
+ self.assertTrue(pollinations.requires_api_key)
+ self.assertEqual(pollinations.adapter, "openai_compatible")
+
+ def test_provider_defaults_are_not_persisted_as_user_overrides(self):
+ """默认值只用于运行和展示,只有不同值才应写入用户配置。"""
+ self.assertEqual(
+ normalize_provider_override("gpt-5.5", "gpt-5.5"),
+ "",
+ )
+ self.assertEqual(
+ normalize_provider_override(" gpt-5.5 ", "gpt-5.5"),
+ "",
+ )
+ self.assertEqual(
+ normalize_provider_override("gpt-5.6-custom", "gpt-5.5"),
+ "gpt-5.6-custom",
+ )
+
+ def test_provider_registry_has_unique_stable_ids(self):
+ """Registry 是 Provider 列表的唯一数据源,ID 必须唯一且默认项存在。"""
+ provider_ids = [provider.provider_id for provider in LLM_PROVIDER_REGISTRY]
+
+ self.assertEqual(len(provider_ids), len(set(provider_ids)))
+ self.assertEqual(len(provider_ids), len(LLM_PROVIDERS))
+ self.assertIn(DEFAULT_LLM_PROVIDER_ID, LLM_PROVIDERS)
+
+ def test_provider_registry_preserves_product_group_order(self):
+ """下拉顺序按推荐、原厂、聚合平台、本地部署和其它服务排列。"""
+ self.assertEqual(
+ [provider.provider_id for provider in LLM_PROVIDER_REGISTRY],
+ [
+ "moonshot",
+ "openai",
+ "gemini",
+ "deepseek",
+ "qwen",
+ "azure",
+ "volcengine",
+ "grok",
+ "minimax",
+ "mimo",
+ "cloudflare",
+ "modelscope",
+ "aihubmix",
+ "aimlapi",
+ "evolink",
+ "ollama",
+ "oneapi",
+ "litellm",
+ "groq",
+ "pollinations",
+ ],
+ )
+ self.assertEqual(
+ get_llm_provider("gemini").default_label,
+ "Google Gemini",
+ )
+ self.assertEqual(
+ get_llm_provider("azure").default_label,
+ "Microsoft Azure OpenAI",
+ )
+
+ def test_provider_registry_uses_conventional_locale_and_config_keys(self):
+ """统一命名规则可避免 WebUI 为每个 Provider 增加硬编码映射。"""
+ for provider in LLM_PROVIDER_REGISTRY:
+ self.assertEqual(
+ provider.label_key,
+ f"llm_provider_label.{provider.provider_id}",
+ )
+ self.assertEqual(
+ provider.tips_key,
+ f"llm_provider_tips.{provider.provider_id}",
+ )
+ self.assertEqual(
+ provider.config_key("api_key"),
+ f"{provider.provider_id}_api_key",
+ )
+
+ def test_registry_replaces_deprecated_provider_models(self):
+ """历史默认模型应自动迁移,避免升级后继续使用已移除的接入语义。"""
+ cloudflare = get_llm_provider("cloudflare")
+ gemini = get_llm_provider("gemini")
+
+ self.assertEqual(
+ cloudflare.resolve_model_name("@cf/meta/llama-3.1-8b-instruct"),
+ "openai/gpt-4.1-mini",
+ )
+ self.assertEqual(
+ gemini.resolve_model_name("gemini-pro"),
+ "gemini-3.1-pro-preview",
+ )
+ self.assertEqual(
+ cloudflare.resolve_model_name("anthropic/claude-sonnet-4-5"),
+ "anthropic/claude-sonnet-4-5",
+ )
+
+ pollinations = get_llm_provider("pollinations")
+ self.assertEqual(
+ pollinations.resolve_model_name("default"),
+ "openai-fast",
+ )
+ self.assertEqual(
+ pollinations.resolve_base_url("https://text.pollinations.ai/openai"),
+ "https://gen.pollinations.ai/v1",
+ )
+ self.assertEqual(
+ pollinations.resolve_base_url("https://example.com/v1"),
+ "https://example.com/v1",
+ )
+
+ def test_provider_tip_templates_accept_registry_defaults(self):
+ """所有语言的 Provider 提示模板都必须能安全注入 Registry 默认值。"""
+ i18n_dir = Path(__file__).parent.parent.parent / "webui" / "i18n"
+ for locale_file in i18n_dir.glob("*.json"):
+ translations = json.loads(locale_file.read_text(encoding="utf-8"))[
+ "Translation"
+ ]
+ for provider in LLM_PROVIDER_REGISTRY:
+ tips = translations.get(provider.tips_key, "")
+ if not tips:
+ continue
+ rendered = tips.format(
+ api_key_url=provider.api_key_url,
+ default_model=provider.default_model,
+ default_base_url=provider.default_base_url,
+ docker_hint="",
+ **{
+ f"default_{field.config_suffix}": field.default_value
+ for field in provider.extra_fields
+ },
+ )
+ self.assertNotIn("{default_model}", rendered)
+ self.assertNotIn("{default_base_url}", rendered)
+
+ def test_primary_provider_tips_use_consistent_structure(self):
+ """中英文配置说明统一展示 API Key、Base URL 和模型名称。"""
+ i18n_dir = Path(__file__).parent.parent.parent / "webui" / "i18n"
+ for language in ("zh", "en"):
+ translations = json.loads(
+ (i18n_dir / f"{language}.json").read_text(encoding="utf-8")
+ )["Translation"]
+ for provider in LLM_PROVIDER_REGISTRY:
+ tips = translations[provider.tips_key]
+ self.assertTrue(tips.startswith("##### "), provider.provider_id)
+ self.assertIn("**API Key**", tips, provider.provider_id)
+ self.assertIn("**Base Url**", tips, provider.provider_id)
+ self.assertIn("**Model Name**", tips, provider.provider_id)
+
+ zh_kimi_tips = json.loads((i18n_dir / "zh.json").read_text(encoding="utf-8"))[
+ "Translation"
+ ]["llm_provider_tips.moonshot"]
+ self.assertIn("推荐理由:", zh_kimi_tips)
+ self.assertIn("视频创作链路匹配", zh_kimi_tips)
+
+ def test_required_api_key_providers_have_clickable_entry_points(self):
+ """需要密钥的 Provider 必须提供统一申请入口,避免 WebUI 只给出文字。"""
+ i18n_dir = Path(__file__).parent.parent.parent / "webui" / "i18n"
+ locale_translations = {
+ locale_file.stem: json.loads(locale_file.read_text(encoding="utf-8"))[
+ "Translation"
+ ]
+ for locale_file in i18n_dir.glob("*.json")
+ }
+
+ for provider in LLM_PROVIDER_REGISTRY:
+ if provider.requires_api_key:
+ self.assertTrue(provider.api_key_url, provider.provider_id)
+ self.assertTrue(
+ provider.api_key_url.startswith("https://"),
+ provider.provider_id,
+ )
+ for language, translations in locale_translations.items():
+ tips_template = translations.get(provider.tips_key, "")
+ if not tips_template:
+ continue
+ tips = tips_template.format(
+ api_key_url=provider.api_key_url,
+ default_model=provider.default_model,
+ default_base_url=provider.default_base_url,
+ docker_hint="",
+ **{
+ f"default_{field.config_suffix}": field.default_value
+ for field in provider.extra_fields
+ },
+ )
+ api_key_line = next(
+ line for line in tips.splitlines() if "**API Key**" in line
+ )
+ self.assertIn("](", api_key_line, provider.provider_id)
+ self.assertIn(
+ f"]({provider.api_key_url})",
+ api_key_line,
+ f"{language}: {provider.provider_id}",
+ )
+
+ def test_example_config_does_not_duplicate_registry_defaults(self):
+ """示例配置只保存用户覆盖值,默认模型和地址由 Registry 唯一维护。"""
+ config_path = Path(__file__).parent.parent.parent / "config.example.toml"
+ app_config = tomllib.loads(config_path.read_text(encoding="utf-8"))["app"]
+
+ for provider in LLM_PROVIDER_REGISTRY:
+ if provider.default_model:
+ self.assertEqual(
+ app_config.get(provider.config_key("model_name"), ""),
+ "",
+ provider.provider_id,
+ )
+ if provider.default_base_url:
+ self.assertEqual(
+ app_config.get(provider.config_key("base_url"), ""),
+ "",
+ provider.provider_id,
+ )
+ for field in provider.extra_fields:
+ if field.default_value:
+ self.assertEqual(
+ app_config.get(provider.config_key(field.config_suffix), ""),
+ "",
+ provider.provider_id,
+ )
+
+ def test_removed_ernie_provider_is_unsupported(self):
+ """移除 ERNIE 后,遗留配置应返回明确错误,不再发起旧 OAuth 请求。"""
+ config.app["llm_provider"] = "ernie"
+
+ with patch.object(llm, "OpenAI") as openai_client:
+ result = llm._generate_response("test")
+
+ openai_client.assert_not_called()
+ self.assertIn("unsupported llm provider", result)
+
+ def test_pollinations_requires_api_key_before_request(self):
+ """新统一 API 要求鉴权,缺少 Key 时不得发送匿名生成请求。"""
+ config.app.update(
+ {
+ "llm_provider": "pollinations",
+ "pollinations_api_key": "",
+ "pollinations_base_url": "",
+ "pollinations_model_name": "",
+ }
+ )
+
+ with patch.object(llm, "OpenAI") as openai_client:
+ result = llm._generate_response("test")
+
+ openai_client.assert_not_called()
+ self.assertIn("api_key is not set", result)
+
+ def test_pollinations_uses_unified_openai_compatible_api(self):
+ """历史地址和模型名应自动迁移,并通过统一 Chat Completions API 调用。"""
+ config.app.update(
+ {
+ "llm_provider": "pollinations",
+ "pollinations_api_key": "pollinations-test-key",
+ "pollinations_base_url": "https://text.pollinations.ai/openai/",
+ "pollinations_model_name": "default",
+ }
+ )
+
+ class FakeCompletions:
+ def create(self, **kwargs):
+ self.kwargs = kwargs
+ message = types.SimpleNamespace(content="hello\npollinations")
+ choice = types.SimpleNamespace(message=message)
+ return types.SimpleNamespace(choices=[choice])
+
+ fake_completions = FakeCompletions()
+ fake_client = types.SimpleNamespace(
+ chat=types.SimpleNamespace(completions=fake_completions)
+ )
+
+ with (
+ patch.object(llm, "OpenAI", return_value=fake_client) as openai_client,
+ patch.object(llm, "ChatCompletion", types.SimpleNamespace),
+ ):
+ result = llm._generate_response("Say hello")
+
+ openai_client.assert_called_once_with(
+ api_key="pollinations-test-key",
+ base_url="https://gen.pollinations.ai/v1",
+ )
+ self.assertEqual(
+ fake_completions.kwargs,
+ {
+ "model": "openai-fast",
+ "messages": [{"role": "user", "content": "Say hello"}],
+ },
+ )
+ self.assertEqual(result, "hellopollinations")
+
+ def test_gemini_uses_google_genai_client(self):
+ """Gemini 适配器应通过新版 SDK 的统一 Client 发起内容生成请求。"""
+ config.app.update(
+ {
+ "llm_provider": "gemini",
+ "gemini_api_key": "gemini-test-key",
+ "gemini_base_url": "",
+ "gemini_model_name": "gemini-test-model",
+ }
+ )
+ captured = {}
+
+ class FakeModels:
+ def generate_content(self, **kwargs):
+ captured.update(kwargs)
+ return types.SimpleNamespace(text="hello\ngemini")
+
+ class FakeClient:
+ def __init__(self, **kwargs):
+ captured["client_kwargs"] = kwargs
+ self.models = FakeModels()
+
+ def __enter__(self):
+ return self
+
+ def __exit__(self, exc_type, exc_value, traceback):
+ captured["closed"] = True
+
+ with patch("google.genai.Client", FakeClient):
+ result = llm._generate_response("Say hello")
+
+ self.assertEqual(result, "hellogemini")
+ self.assertEqual(
+ captured["client_kwargs"],
+ {"api_key": "gemini-test-key", "http_options": None},
+ )
+ self.assertEqual(captured["model"], "gemini-test-model")
+ self.assertEqual(captured["contents"], "Say hello")
+ self.assertEqual(captured["config"].max_output_tokens, 2048)
+ self.assertTrue(captured["closed"])
+
+ def test_cloudflare_requires_account_id_before_request(self):
+ """Cloudflare 缺少 Account ID 时应在本地失败,不发送无效请求。"""
+ config.app.update(
+ {
+ "llm_provider": "cloudflare",
+ "cloudflare_api_key": "test-token",
+ "cloudflare_account_id": "",
+ "cloudflare_model_name": "",
+ }
+ )
+
+ with patch.object(llm, "OpenAI") as openai_client:
+ result = llm._generate_response("test")
+
+ openai_client.assert_not_called()
+ self.assertIn("account_id is not set", result)
+
+ def test_cloudflare_uses_ai_gateway_openai_endpoint(self):
+ """Cloudflare Provider 必须走 AI Gateway,不再调用 Workers AI 接口。"""
+ config.app.update(
+ {
+ "llm_provider": "cloudflare",
+ "cloudflare_api_key": "cloudflare-token",
+ "cloudflare_account_id": "account-123",
+ "cloudflare_gateway_id": "",
+ "cloudflare_model_name": "",
+ }
+ )
+
+ fake_response = types.SimpleNamespace(
+ choices=[
+ types.SimpleNamespace(
+ message=types.SimpleNamespace(content="gateway\nresponse")
+ )
+ ]
+ )
+
+ class FakeCompletions:
+ def create(self, **kwargs):
+ self.kwargs = kwargs
+ return fake_response
+
+ fake_completions = FakeCompletions()
+ fake_client = types.SimpleNamespace(
+ chat=types.SimpleNamespace(completions=fake_completions)
+ )
+
+ with (
+ patch.object(llm, "OpenAI", return_value=fake_client) as openai_client,
+ patch.object(llm, "ChatCompletion", types.SimpleNamespace),
+ ):
+ result = llm._generate_response("Say hello")
+
+ openai_client.assert_called_once_with(
+ api_key="cloudflare-token",
+ base_url=(
+ "https://api.cloudflare.com/client/v4/accounts/account-123/ai/v1"
+ ),
+ default_headers={"cf-aig-gateway-id": "default"},
+ )
+ self.assertEqual(
+ fake_completions.kwargs,
+ {
+ "model": "openai/gpt-4.1-mini",
+ "messages": [{"role": "user", "content": "Say hello"}],
+ },
+ )
+ self.assertEqual(result, "gatewayresponse")
+
def _use_litellm_provider(self, model_name="openai/gpt-4o-mini"):
config.app["llm_provider"] = "litellm"
config.app["litellm_model_name"] = model_name
@@ -185,13 +652,23 @@ class TestLiteLLMProvider(unittest.TestCase):
self.assertEqual(result, "helloworld")
- def test_litellm_provider_requires_model_name(self):
+ def test_litellm_provider_uses_registry_default_model(self):
self._use_litellm_provider(model_name="")
- result = llm._generate_response("test")
+ fake_litellm = types.SimpleNamespace()
- self.assertIn("Error:", result)
- self.assertIn("model_name is not set", result)
+ def _completion(**kwargs):
+ self.assertEqual(kwargs["model"], "openai/gpt-4o-mini")
+ message = types.SimpleNamespace(content="default model")
+ choice = types.SimpleNamespace(message=message)
+ return types.SimpleNamespace(choices=[choice])
+
+ fake_litellm.completion = _completion
+
+ with patch.dict(sys.modules, {"litellm": fake_litellm}):
+ result = llm._generate_response("test")
+
+ self.assertEqual(result, "default model")
def test_litellm_provider_handles_empty_response(self):
self._use_litellm_provider()
@@ -253,7 +730,9 @@ class TestLiteLLMProvider(unittest.TestCase):
config.app["llm_provider"] = "groq"
config.app["groq_api_key"] = "groq-key"
config.app["groq_model_name"] = "llama-3.3-70b-versatile"
- config.app["groq_base_url"] = "https://myuser:[email protected]/openai/v1"
+ config.app["groq_base_url"] = (
+ "https://myuser:[email protected]/openai/v1"
+ )
class FakeCompletions:
def create(self, **kwargs):
@@ -349,7 +828,9 @@ class TestLiteLLMProvider(unittest.TestCase):
def test_qwen_provider_reports_empty_text(self):
"""Qwen 空响应应返回可诊断错误,而不是底层 AttributeError。"""
self._use_qwen_provider()
- response = {"output": {"text": None, "choices": [{"message": {"content": None}}]}}
+ response = {
+ "output": {"text": None, "choices": [{"message": {"content": None}}]}
+ }
with self._patch_dashscope_generation(response):
result = llm._generate_response("Say hello")
@@ -373,7 +854,7 @@ class TestLiteLLMProvider(unittest.TestCase):
def test_aihubmix_provider_uses_openai_compatible_client(self):
"""
AIHubMix 是 OpenAI-compatible 网关。这里用 fake OpenAI client
- 验证独立 provider 会使用合作方默认地址和推荐模型,避免真实网络
+ 验证独立 Provider 会使用 Registry 中的默认地址和模型,避免真实网络
或私有 API Key 影响测试稳定性。
"""
config.app["llm_provider"] = "aihubmix"
@@ -443,7 +924,7 @@ class TestLiteLLMProvider(unittest.TestCase):
self.assertEqual(
fake_completions.kwargs,
{
- "model": "openai/gpt-4o-mini",
+ "model": "openai/gpt-5-5",
"messages": [{"role": "user", "content": "Say hello"}],
},
)
@@ -658,7 +1139,9 @@ class TestLiteLLMProvider(unittest.TestCase):
with (
patch.object(config, "is_running_in_container", return_value=True),
patch.object(config, "_can_resolve_hostname", return_value=False),
- patch.object(config, "get_container_default_gateway_ip", return_value="172.17.0.1"),
+ patch.object(
+ config, "get_container_default_gateway_ip", return_value="172.17.0.1"
+ ),
):
self._assert_ollama_base_url("http://172.17.0.1:11434/v1")
@@ -837,7 +1320,9 @@ class TestRuntimeEnvironmentDetection(unittest.TestCase):
encoding="utf-8",
)
- self.assertEqual(config.get_container_default_gateway_ip(str(route_path)), "")
+ self.assertEqual(
+ config.get_container_default_gateway_ip(str(route_path)), ""
+ )
class TestSocialMetadata(unittest.TestCase):
diff --git a/test/services/test_mpt_agent_skill.py b/test/services/test_mpt_agent_skill.py
new file mode 100644
index 00000000..c9ce0141
--- /dev/null
+++ b/test/services/test_mpt_agent_skill.py
@@ -0,0 +1,390 @@
+import importlib.util
+import io
+import json
+import os
+import tempfile
+import unittest
+import zipfile
+from contextlib import redirect_stderr, redirect_stdout
+from pathlib import Path
+from types import SimpleNamespace
+from unittest.mock import patch
+
+
+SKILL_SCRIPT = (
+ Path(__file__).parent.parent.parent / "docs" / "skill" / "mpt_agent.py"
+)
+SKILL_DOCUMENT = SKILL_SCRIPT.with_name("SKILL.md")
+SPEC = importlib.util.spec_from_file_location("mpt_agent_skill", SKILL_SCRIPT)
+mpt_agent = importlib.util.module_from_spec(SPEC)
+assert SPEC.loader is not None
+SPEC.loader.exec_module(mpt_agent)
+
+
+MINIMAL_CONFIG = """\
+llm_provider = "moonshot"
+moonshot_api_key = ""
+deepseek_api_key = ""
+pexels_api_keys = []
+pixabay_api_keys = []
+coverr_api_keys = []
+oneapi_api_key = ""
+oneapi_base_url = ""
+oneapi_model_name = ""
+"""
+
+
+class TestMptAgentSkill(unittest.TestCase):
+ def create_project(self, root: Path) -> None:
+ """创建足够完成安装和配置检查的最小项目结构。"""
+ root.mkdir()
+ (root / "cli.py").write_text("", encoding="utf-8")
+ (root / "config.example.toml").write_text(
+ MINIMAL_CONFIG, encoding="utf-8"
+ )
+
+ class FakeHttpResponse:
+ status = 200
+
+ def __enter__(self):
+ return self
+
+ def __exit__(self, exc_type, exc_value, traceback):
+ return False
+
+ def test_skill_runs_helper_from_its_working_directory(self):
+ """确保 Windows Agent 不会在命令中嵌入易被破坏的绝对路径。"""
+ text = SKILL_DOCUMENT.read_text(encoding="utf-8")
+
+ self.assertIn(
+ 'uv run --no-project --python 3.11 python mpt_agent.py --subject',
+ text,
+ )
+ self.assertIn("workdir=SKILL_DIR", text)
+ self.assertNotIn('python "<SKILL_DIR>/mpt_agent.py"', text)
+
+ def test_first_run_only_requests_missing_api_keys(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ root = Path(temp_dir) / "MoneyPrinterTurbo"
+ self.create_project(root)
+ output = io.StringIO()
+
+ with patch.dict(os.environ, {}, clear=True), redirect_stdout(output):
+ code = mpt_agent.main(
+ ["--subject", "人工智能如何改变生活", "--root", str(root)]
+ )
+
+ self.assertEqual(code, mpt_agent.NEEDS_INPUT_EXIT_CODE)
+ text = output.getvalue()
+ self.assertIn("MPT_NEEDS_INPUT", text)
+ self.assertIn("MISSING=moonshot_api_key", text)
+ self.assertIn("MISSING=pexels_api_keys", text)
+ self.assertIn("LLM_PROVIDER_OPTION=deepseek|DeepSeek|", text)
+ self.assertIn(
+ "LLM_PROVIDER_OPTION=oneapi|Other OpenAI-compatible provider|",
+ text,
+ )
+ self.assertNotIn("Alibaba Cloud Qwen", text)
+ self.assertNotIn("Microsoft Azure OpenAI", text)
+ self.assertNotIn("xAI Grok", text)
+ self.assertIn(
+ f"PEXELS_API_KEY_URL={mpt_agent.PEXELS_API_KEY_URL}", text
+ )
+
+ def test_environment_keys_are_written_without_being_logged(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ config_path.write_text(MINIMAL_CONFIG, encoding="utf-8")
+ output = io.StringIO()
+ llm_key = "secret-llm-key"
+ pexels_key = "secret-pexels-key"
+
+ with patch.dict(
+ os.environ,
+ {
+ "MPT_LLM_PROVIDER": "deepseek",
+ "MPT_LLM_API_KEY": llm_key,
+ "MPT_PEXELS_API_KEY": pexels_key,
+ },
+ clear=True,
+ ), redirect_stdout(output):
+ mpt_agent.apply_environment_config(config_path)
+
+ config = config_path.read_text(encoding="utf-8")
+ self.assertIn('llm_provider = "deepseek"', config)
+ self.assertIn(f'deepseek_api_key = "{llm_key}"', config)
+ self.assertIn(f'pexels_api_keys = ["{pexels_key}"]', config)
+ self.assertNotIn(llm_key, output.getvalue())
+ self.assertNotIn(pexels_key, output.getvalue())
+
+ def test_material_key_check_matches_selected_source(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ config_path.write_text(
+ MINIMAL_CONFIG.replace(
+ 'moonshot_api_key = ""', 'moonshot_api_key = "configured"'
+ ).replace("pixabay_api_keys = []", 'pixabay_api_keys = ["key"]'),
+ encoding="utf-8",
+ )
+
+ _, default_missing = mpt_agent.missing_config(config_path, [])
+ _, pixabay_missing = mpt_agent.missing_config(
+ config_path, ["--video-source", "pixabay"]
+ )
+
+ self.assertEqual(default_missing, ["pexels_api_keys"])
+ self.assertEqual(pixabay_missing, [])
+
+ def test_existing_provider_key_is_reused_without_asking_user(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ secret = "already-configured-deepseek-key"
+ config_path.write_text(
+ MINIMAL_CONFIG.replace(
+ 'deepseek_api_key = ""', f'deepseek_api_key = "{secret}"'
+ ).replace("pexels_api_keys = []", 'pexels_api_keys = ["key"]'),
+ encoding="utf-8",
+ )
+ output = io.StringIO()
+
+ with redirect_stdout(output):
+ provider = mpt_agent.reuse_existing_llm_provider(config_path)
+ _, missing = mpt_agent.missing_config(config_path, [])
+
+ self.assertEqual(provider, "deepseek")
+ self.assertEqual(missing, [])
+ self.assertIn(
+ 'llm_provider = "deepseek"',
+ config_path.read_text(encoding="utf-8"),
+ )
+ self.assertNotIn(secret, output.getvalue())
+
+ def test_only_missing_pexels_key_does_not_ask_for_llm_again(self):
+ output = io.StringIO()
+
+ with redirect_stdout(output):
+ code = mpt_agent.report_missing_config(
+ "deepseek", ["pexels_api_keys"]
+ )
+
+ text = output.getvalue()
+ self.assertEqual(code, mpt_agent.NEEDS_INPUT_EXIT_CODE)
+ self.assertIn(f"PEXELS_API_KEY_URL={mpt_agent.PEXELS_API_KEY_URL}", text)
+ self.assertNotIn("LLM_PROVIDER_OPTIONS_BEGIN", text)
+
+ def test_custom_openai_compatible_provider_requires_connection_details(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ config_path.write_text(
+ MINIMAL_CONFIG.replace(
+ 'llm_provider = "moonshot"', 'llm_provider = "oneapi"'
+ ).replace('oneapi_api_key = ""', 'oneapi_api_key = "key"'),
+ encoding="utf-8",
+ )
+
+ provider, missing = mpt_agent.missing_config(config_path, [])
+ output = io.StringIO()
+ with redirect_stdout(output):
+ mpt_agent.report_missing_config(provider, missing)
+
+ self.assertEqual(provider, "oneapi")
+ self.assertEqual(
+ missing,
+ ["oneapi_base_url", "oneapi_model_name", "pexels_api_keys"],
+ )
+ self.assertIn("OPENAI_COMPATIBLE_REQUIRED=", output.getvalue())
+
+ def test_custom_openai_compatible_environment_is_mapped_to_oneapi(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ config_path.write_text(MINIMAL_CONFIG, encoding="utf-8")
+
+ with patch.dict(
+ os.environ,
+ {
+ "MPT_LLM_PROVIDER": "openai_compatible",
+ "MPT_LLM_API_KEY": "custom-key",
+ "MPT_LLM_BASE_URL": "https://llm.example.com/v1",
+ "MPT_LLM_MODEL_NAME": "example-model",
+ },
+ clear=True,
+ ):
+ mpt_agent.apply_environment_config(config_path)
+
+ config = config_path.read_text(encoding="utf-8")
+ self.assertIn('llm_provider = "oneapi"', config)
+ self.assertIn('oneapi_api_key = "custom-key"', config)
+ self.assertIn(
+ 'oneapi_base_url = "https://llm.example.com/v1"', config
+ )
+ self.assertIn('oneapi_model_name = "example-model"', config)
+
+ def test_zip_extraction_rejects_parent_directory_escape(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ archive_path = Path(temp_dir) / "unsafe.zip"
+ destination = Path(temp_dir) / "extract"
+ destination.mkdir()
+ with zipfile.ZipFile(archive_path, "w") as archive:
+ archive.writestr("../outside.txt", "unsafe")
+
+ with zipfile.ZipFile(archive_path) as archive, self.assertRaises(
+ mpt_agent.SkillError
+ ):
+ mpt_agent._safe_extract(archive, destination)
+
+ def test_pexels_validation_filters_rejected_keys_without_logging_values(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ bad_key = "rejected-secret-key"
+ good_key = "valid-secret-key"
+ config_path.write_text(
+ MINIMAL_CONFIG.replace(
+ "pexels_api_keys = []",
+ f'pexels_api_keys = ["{bad_key}", "{good_key}"]',
+ ),
+ encoding="utf-8",
+ )
+ output = io.StringIO()
+
+ def validate(request, timeout):
+ self.assertEqual(
+ request.full_url, mpt_agent.PEXELS_VALIDATION_URL
+ )
+ if request.get_header("Authorization") == bad_key:
+ raise mpt_agent.urllib.error.HTTPError(
+ request.full_url, 401, "Unauthorized", None, None
+ )
+ return self.FakeHttpResponse()
+
+ with patch.object(
+ mpt_agent.urllib.request, "urlopen", side_effect=validate
+ ), redirect_stdout(output):
+ valid = mpt_agent.validate_pexels_config(config_path, [])
+
+ config = config_path.read_text(encoding="utf-8")
+ self.assertTrue(valid)
+ self.assertNotIn(bad_key, config)
+ self.assertIn(good_key, config)
+ self.assertNotIn(bad_key, output.getvalue())
+ self.assertNotIn(good_key, output.getvalue())
+
+ def test_pexels_validation_requests_new_key_when_all_are_rejected(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ config_path = Path(temp_dir) / "config.toml"
+ config_path.write_text(
+ MINIMAL_CONFIG.replace(
+ "pexels_api_keys = []", 'pexels_api_keys = ["bad-key"]'
+ ),
+ encoding="utf-8",
+ )
+ error = mpt_agent.urllib.error.HTTPError(
+ mpt_agent.PEXELS_VALIDATION_URL,
+ 403,
+ "Forbidden",
+ None,
+ None,
+ )
+
+ with patch.object(
+ mpt_agent.urllib.request, "urlopen", side_effect=error
+ ):
+ valid = mpt_agent.validate_pexels_config(config_path, [])
+
+ self.assertFalse(valid)
+
+ def test_generation_returns_only_non_empty_final_video(self):
+ with tempfile.TemporaryDirectory() as temp_dir:
+ root = Path(temp_dir)
+ task_id = "12345678-1234-1234-1234-123456789abc"
+
+ def finish_cli(command, **kwargs):
+ task_dir = root / "storage" / "tasks" / task_id
+ task_dir.mkdir(parents=True)
+ (task_dir / "final-1.mp4").write_bytes(b"video")
+ return SimpleNamespace(returncode=0)
+
+ with (
+ patch.object(mpt_agent.shutil, "which", return_value="uv"),
+ patch.object(mpt_agent, "run_checked"),
+ patch.object(mpt_agent.uuid, "uuid4", return_value=task_id),
+ patch.object(
+ mpt_agent.subprocess, "run", side_effect=finish_cli
+ ) as run_mock,
+ ):
+ videos, task_dir, log_path, result_path = mpt_agent.generate_video(
+ root,
+ "测试主题",
+ ["--video-aspect", "16:9", "--stop-at", "script"],
+ )
+
+ self.assertEqual(videos, [(task_dir / "final-1.mp4").resolve()])
+ self.assertTrue(log_path.name.startswith("run-"))
+ result = json.loads(result_path.read_text(encoding="utf-8"))
+ self.assertEqual(result["status"], "completed")
+ self.assertEqual(result["video_files"], [str(videos[0])])
+ command = run_mock.call_args.args[0]
+ voice_index = command.index("--voice-name")
+ self.assertEqual(
+ command[voice_index + 1], mpt_agent.DEFAULT_VOICE_NAME
+ )
+ self.assertEqual(command[-2:], ["--stop-at", "video"])
+
+ def test_generation_failure_prints_original_model_error(self):
+ """生成失败时保留模型原始错误,避免 Skill 层猜测供应商语义。"""
+ with tempfile.TemporaryDirectory() as temp_dir:
+ root = Path(temp_dir)
+ task_id = "12345678-1234-1234-1234-123456789abc"
+ model_error = "provider error: model is unavailable for this account"
+ stderr = io.StringIO()
+
+ def reject_model(command, **kwargs):
+ kwargs["stdout"].write(model_error + "\n")
+ return SimpleNamespace(returncode=1)
+
+ with (
+ patch.object(mpt_agent.shutil, "which", return_value="uv"),
+ patch.object(mpt_agent, "run_checked"),
+ patch.object(mpt_agent.uuid, "uuid4", return_value=task_id),
+ patch.object(mpt_agent.subprocess, "run", side_effect=reject_model),
+ redirect_stderr(stderr),
+ self.assertRaises(mpt_agent.SkillError),
+ ):
+ mpt_agent.generate_video(root, "测试主题", [])
+
+ self.assertIn(model_error, stderr.getvalue())
+ result = json.loads(
+ mpt_agent.result_manifest_path(root).read_text(encoding="utf-8")
+ )
+ self.assertEqual(result["status"], "failed")
+
+ def test_successful_dependency_sync_does_not_print_package_list(self):
+ stdout = io.StringIO()
+ stderr = io.StringIO()
+ result = SimpleNamespace(
+ returncode=0,
+ stdout="Installed package-a\nInstalled package-b\n",
+ )
+
+ with patch.object(
+ mpt_agent.subprocess, "run", return_value=result
+ ), redirect_stdout(stdout), redirect_stderr(stderr):
+ mpt_agent.run_checked(["uv", "sync", "--frozen"], cwd=Path.cwd())
+
+ self.assertNotIn("package-a", stdout.getvalue())
+ self.assertNotIn("package-a", stderr.getvalue())
+
+ def test_explicit_voice_is_not_overridden(self):
+ self.assertTrue(
+ mpt_agent.has_cli_option(
+ ["--voice-name", "en-US-JennyNeural-Female"], "--voice-name"
+ )
+ )
+ self.assertTrue(
+ mpt_agent.has_cli_option(
+ ["--voice-name=en-US-JennyNeural-Female"], "--voice-name"
+ )
+ )
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/test/services/test_subtitle_background_settings.py b/test/services/test_subtitle_background_settings.py
index 550746ee..b637b501 100644
--- a/test/services/test_subtitle_background_settings.py
+++ b/test/services/test_subtitle_background_settings.py
@@ -4,11 +4,19 @@ import unittest
import numpy as np
-from app.models.schema import VideoParams
+from app.models.schema import SubtitleRequest, VideoParams
from app.services import video
class TestSubtitleBackgroundSettings(unittest.TestCase):
+ def test_subtitle_background_is_disabled_by_default(self):
+ """新任务和独立字幕接口都不应在用户未指定时渲染字幕背景。"""
+ video_params = VideoParams(video_subject="default subtitle background")
+ subtitle_request = SubtitleRequest(video_script="default subtitle background")
+
+ self.assertFalse(video_params.text_background_color)
+ self.assertFalse(subtitle_request.text_background_color)
+
def test_all_locales_include_subtitle_background_labels(self):
"""
WebUI 新增字幕背景开关和颜色选择器后,所有已有语言都必须包含对应
@@ -18,6 +26,8 @@ class TestSubtitleBackgroundSettings(unittest.TestCase):
required_keys = {
"Enable Subtitle Background",
"Subtitle Background Color",
+ "Subtitle Colors Are Indistinguishable",
+ "Subtitle Font Does Not Support Text",
"No Voice",
}
@@ -77,6 +87,60 @@ class TestSubtitleBackgroundSettings(unittest.TestCase):
# 因为 mask 顶部从 12px 开始,所以 TextClip 本身需要向上移动到 18px。
self.assertEqual(y, 18)
+ def test_detects_indistinguishable_subtitle_colors(self):
+ invisible_params = VideoParams(
+ video_subject="subtitle color validation",
+ text_fore_color="#000000",
+ text_background_color="#000000",
+ stroke_color="#000000",
+ stroke_width=1.5,
+ )
+ different_outline_params = VideoParams(
+ video_subject="subtitle color validation",
+ text_fore_color="#000000",
+ text_background_color="#000000",
+ stroke_color="#FFFFFF",
+ stroke_width=1.5,
+ )
+ background_disabled_params = VideoParams(
+ video_subject="subtitle color validation",
+ text_fore_color="#000000",
+ text_background_color=False,
+ stroke_color="#000000",
+ stroke_width=1.5,
+ )
+
+ self.assertTrue(
+ video.subtitle_colors_are_indistinguishable(invisible_params)
+ )
+ self.assertTrue(
+ video.subtitle_colors_are_indistinguishable(different_outline_params)
+ )
+ self.assertFalse(
+ video.subtitle_colors_are_indistinguishable(background_disabled_params)
+ )
+
+ def test_detects_font_without_chinese_glyphs(self):
+ fonts_dir = (
+ Path(__file__).parent.parent.parent / "resource" / "fonts"
+ )
+
+ self.assertFalse(
+ video.subtitle_font_supports_text(
+ str(fonts_dir / "BeVietnamPro-Bold.ttf"), "人工智能改变生活"
+ )
+ )
+ self.assertTrue(
+ video.subtitle_font_supports_text(
+ str(fonts_dir / "MicrosoftYaHeiBold.ttc"), "人工智能改变生活"
+ )
+ )
+ self.assertTrue(
+ video.subtitle_font_supports_text(
+ str(fonts_dir / "BeVietnamPro-Bold.ttf"), "Artificial intelligence"
+ )
+ )
+
def test_wrap_text_keeps_closing_punctuation_with_text(self):
"""
中文长句按字符换行时,句号等闭合标点不能独占一行,否则字幕背景
diff --git a/test/services/test_video.py b/test/services/test_video.py
index c9346031..2eea5e24 100644
--- a/test/services/test_video.py
+++ b/test/services/test_video.py
@@ -211,6 +211,24 @@ class TestVideoService(unittest.TestCase):
with patch.object(vd, "_ffmpeg_encoder_exists", return_value=False):
self.assertEqual(vd._get_effective_video_codec(), "libx264")
+ def test_get_configured_video_codec_uses_stable_default_when_unset(self):
+ """
+ WebUI 的“默认”模式不会持久化 video_codec。后端必须在配置缺失时继续
+ 明确返回 libx264,不能把空值直接交给 MoviePy 或 FFmpeg 自行决定。
+ """
+ config.app.pop("video_codec", None)
+
+ self.assertEqual(vd._get_configured_video_codec(), "libx264")
+
+ def test_get_configured_video_codec_preserves_explicit_libx264(self):
+ """
+ 用户明确选择 libx264 时需要保持固定选择。它与“跟随项目默认策略”当前
+ 结果相同,但配置语义不同,未来调整默认值时不能影响显式选择。
+ """
+ config.app["video_codec"] = "libx264"
+
+ self.assertEqual(vd._get_configured_video_codec(), "libx264")
+
def test_ffmpeg_encoder_exists_falls_back_when_probe_fails(self):
"""
Windows 上用户配置的 ffmpeg 可能因为路径损坏、权限或杀软拦截而无法
@@ -280,10 +298,16 @@ class TestVideoService(unittest.TestCase):
concat demuxer 的文件列表对 Windows 反斜杠较敏感,写入 list 前统一
转成正斜杠,并继续保留单引号转义。
"""
- with patch.object(vd.os.path, "abspath", return_value=r"C:\Users\Harry's Videos\clip.mp4"):
+ with patch.object(
+ vd.os.path,
+ "abspath",
+ return_value=r"C:\Users\Test User's Videos\clip.mp4",
+ ):
self.assertEqual(
- vd._format_ffmpeg_concat_path(r"C:\Users\Harry's Videos\clip.mp4"),
- "C:/Users/Harry'\\''s Videos/clip.mp4",
+ vd._format_ffmpeg_concat_path(
+ r"C:\Users\Test User's Videos\clip.mp4"
+ ),
+ "C:/Users/Test User'\\''s Videos/clip.mp4",
)
def test_concat_video_clips_falls_back_after_runtime_encoder_failure(self):
diff --git a/test/services/test_voice.py b/test/services/test_voice.py
index 4c75a2d7..50a56710 100644
--- a/test/services/test_voice.py
+++ b/test/services/test_voice.py
@@ -353,7 +353,10 @@ class TestVoiceService(unittest.TestCase):
voice_file = f"{temp_dir}/tts-azure-v2-{voice_name}.mp3"
subtitle_file = f"{temp_dir}/tts-azure-v2-{voice_name}.srt"
sub_maker = vs.azure_tts_v2(
- text=text_zh, voice_name=voice_name, voice_file=voice_file
+ text=text_zh,
+ voice_name=voice_name,
+ voice_file=voice_file,
+ voice_rate=1.0,
)
if not sub_maker:
self.fail("azure tts v2 failed")
@@ -363,7 +366,38 @@ class TestVoiceService(unittest.TestCase):
self.loop.run_until_complete(_do())
- def test_gemini_tts_uses_legacy_submaker_fields(self):
+ def test_azure_tts_v2_ssml_applies_rate_and_escapes_text(self):
+ """Azure V2 必须通过 SSML 应用语速,并避免用户文案破坏 XML。"""
+ ssml = vs._build_azure_v2_ssml(
+ text='A < B & "quoted"',
+ voice_name="zh-CN-XiaoxiaoMultilingualNeural",
+ voice_rate=1.8,
+ )
+
+ self.assertIn('xml:lang="zh-CN"', ssml)
+ self.assertIn('rate="1.8"', ssml)
+ self.assertIn("A &lt; B &amp; \"quoted\"", ssml)
+
+ def test_tts_forwards_rate_to_azure_v2(self):
+ """统一 TTS 入口不能在分发 Azure V2 时丢失 voice_rate。"""
+ voice_name = "zh-CN-XiaoxiaoMultilingualNeural-V2-Female"
+ with patch.object(vs, "azure_tts_v2", return_value=object()) as mock_tts:
+ result = vs.tts(
+ text="语速测试",
+ voice_name=voice_name,
+ voice_rate=1.8,
+ voice_file="/tmp/azure-v2-rate.mp3",
+ )
+
+ self.assertIsNotNone(result)
+ mock_tts.assert_called_once_with(
+ "语速测试",
+ voice_name,
+ "/tmp/azure-v2-rate.mp3",
+ voice_rate=1.8,
+ )
+
+ def test_gemini_tts_uses_google_genai_and_compatible_submaker_fields(self):
"""
验证 Gemini TTS 在 edge_tts 7.x 环境下仍会返回项目兼容的字幕结构,
并且可以被 `subtitle_provider=edge` 的字幕生成链路直接消费,
@@ -390,11 +424,11 @@ class TestVoiceService(unittest.TestCase):
def __init__(self, data):
self.candidates = [_Candidate(data)]
- class _FakeModel:
- def __init__(self, name):
- self.name = name
+ captured = {}
- def generate_content(self, contents, generation_config):
+ class _FakeModels:
+ def generate_content(self, **kwargs):
+ captured.update(kwargs)
tone = (
AudioSegment.silent(duration=1800)
.set_frame_rate(24000)
@@ -403,13 +437,26 @@ class TestVoiceService(unittest.TestCase):
)
return _Response(tone.raw_data)
+ class _FakeClient:
+ def __init__(self, **kwargs):
+ captured["client_kwargs"] = kwargs
+ self.models = _FakeModels()
+
+ def __enter__(self):
+ return self
+
+ def __exit__(self, exc_type, exc_value, traceback):
+ captured["closed"] = True
+
voice_file = f"{temp_dir}/tts-gemini-Zephyr.mp3"
subtitle_file = f"{temp_dir}/tts-gemini-Zephyr.srt"
text = "Gemini subtitle generation should work now. Testing multiple lines."
- with patch("google.generativeai.configure"), patch(
- "google.generativeai.GenerativeModel", _FakeModel
- ), patch.object(vs.config, "app", dict(vs.config.app, gemini_api_key="test-key")):
+ with patch("google.genai.Client", _FakeClient), patch.object(
+ vs.config,
+ "app",
+ dict(vs.config.app, gemini_api_key="test-key"),
+ ):
sub_maker = vs.gemini_tts(
text=text,
voice_name="Zephyr",
@@ -425,6 +472,16 @@ class TestVoiceService(unittest.TestCase):
self.assertEqual(len(getattr(sub_maker, "offset", [])), 2)
self.assertEqual(sub_maker.offset[0][0], 0)
self.assertLess(sub_maker.offset[0][1], sub_maker.offset[1][1])
+ self.assertEqual(captured["client_kwargs"], {"api_key": "test-key"})
+ self.assertEqual(captured["model"], "gemini-2.5-flash-preview-tts")
+ self.assertEqual(captured["contents"], text)
+ self.assertEqual(captured["config"].response_modalities, ["AUDIO"])
+ voice_config = captured["config"].speech_config.voice_config
+ self.assertEqual(
+ voice_config.prebuilt_voice_config.voice_name,
+ "Zephyr",
+ )
+ self.assertTrue(captured["closed"])
vs.create_subtitle(sub_maker=sub_maker, text=text, subtitle_file=subtitle_file)
subtitle_content = Path(subtitle_file).read_text(encoding="utf-8")
diff --git a/test/services/test_webui_i18n.py b/test/services/test_webui_i18n.py
index c450e982..4cb56024 100644
--- a/test/services/test_webui_i18n.py
+++ b/test/services/test_webui_i18n.py
@@ -3,10 +3,14 @@ import json
from pathlib import Path
import unittest
+from app.utils import utils
+
ROOT_DIR = Path(__file__).parent.parent.parent
WEBUI_MAIN = ROOT_DIR / "webui" / "Main.py"
I18N_DIR = ROOT_DIR / "webui" / "i18n"
+LLM_PROVIDER_TIPS_PREFIX = "llm_provider_tips."
+TTS_PROVIDER_TIPS_PREFIX = "tts_provider_tips."
class _TrKeyVisitor(ast.NodeVisitor):
@@ -31,6 +35,34 @@ def _load_translation(locale):
class TestWebuiI18n(unittest.TestCase):
+ def test_saved_ui_language_takes_priority_over_browser_locale(self):
+ language = utils.resolve_ui_language(
+ saved_language="de",
+ browser_locale="zh-CN",
+ supported_languages=["zh", "en", "de"],
+ )
+
+ self.assertEqual(language, "de")
+
+ def test_browser_locale_is_normalized_to_supported_base_language(self):
+ self.assertEqual(
+ utils.resolve_ui_language("", "zh-CN", ["zh", "en"]),
+ "zh",
+ )
+ self.assertEqual(
+ utils.resolve_ui_language(None, "pt_BR", ["en", "pt"]),
+ "pt",
+ )
+
+ def test_unsupported_browser_locale_falls_back_to_english(self):
+ language = utils.resolve_ui_language(
+ saved_language="",
+ browser_locale="fr-FR",
+ supported_languages=["zh", "en"],
+ )
+
+ self.assertEqual(language, "en")
+
def test_english_locale_covers_static_webui_labels(self):
tree = ast.parse(WEBUI_MAIN.read_text(encoding="utf-8"))
visitor = _TrKeyVisitor()
@@ -43,8 +75,34 @@ class TestWebuiI18n(unittest.TestCase):
def test_russian_locale_covers_english_locale(self):
en_keys = set(_load_translation("en"))
ru_keys = set(_load_translation("ru"))
+ # Provider 配置说明只维护中英文,俄语及其它 locale 运行时统一回退英文。
+ # 这里排除动态 tips key,避免继续复制一整套不会被读取的英文文案。
+ required_en_keys = {
+ key
+ for key in en_keys
+ if not key.startswith(
+ (LLM_PROVIDER_TIPS_PREFIX, TTS_PROVIDER_TIPS_PREFIX)
+ )
+ }
+
+ self.assertEqual(sorted(required_en_keys - ru_keys), [])
+
+ def test_russian_locale_does_not_duplicate_provider_tips(self):
+ ru_keys = set(_load_translation("ru"))
- self.assertEqual(sorted(en_keys - ru_keys), [])
+ self.assertEqual(
+ sorted(
+ key for key in ru_keys if key.startswith(LLM_PROVIDER_TIPS_PREFIX)
+ ),
+ [],
+ )
+
+ self.assertEqual(
+ sorted(
+ key for key in ru_keys if key.startswith(TTS_PROVIDER_TIPS_PREFIX)
+ ),
+ [],
+ )
def test_russian_locale_covers_static_webui_labels(self):
tree = ast.parse(WEBUI_MAIN.read_text(encoding="utf-8"))
diff --git a/test/services/test_webui_task_history.py b/test/services/test_webui_task_history.py
new file mode 100644
index 00000000..c1429257
--- /dev/null
+++ b/test/services/test_webui_task_history.py
@@ -0,0 +1,151 @@
+import ast
+import os
+import re
+from collections.abc import Mapping
+from pathlib import Path
+
+
+ROOT_DIR = Path(__file__).parent.parent.parent
+WEBUI_MAIN = ROOT_DIR / "webui" / "Main.py"
+TASK_HISTORY_HELPERS = {
+ "_find_final_task_video",
+ "_build_restore_upload_requirements",
+ "_get_unmet_restore_upload_requirements",
+}
+TASK_HISTORY_CONSTANTS = {
+ "_FINAL_VIDEO_PATTERN",
+ "VOICE_MODE_TTS",
+ "VOICE_MODE_UPLOAD",
+ "VOICE_MODE_NONE",
+}
+
+
+def _load_task_history_helpers():
+ """
+ 从 WebUI 入口中隔离加载不依赖 Streamlit 的任务历史纯函数。
+
+ 直接导入 Main.py 会执行整套页面渲染。测试只编译目标常量和函数,既验证
+ 合并后的真实实现,也避免为了单元测试重新拆出一个只有少量函数的生产模块。
+ """
+ tree = ast.parse(WEBUI_MAIN.read_text(encoding="utf-8"))
+ selected_nodes = []
+ for node in tree.body:
+ if isinstance(node, ast.Assign) and any(
+ isinstance(target, ast.Name) and target.id in TASK_HISTORY_CONSTANTS
+ for target in node.targets
+ ):
+ selected_nodes.append(node)
+ elif isinstance(node, ast.FunctionDef) and node.name in TASK_HISTORY_HELPERS:
+ selected_nodes.append(node)
+
+ namespace = {"os": os, "re": re, "Mapping": Mapping}
+ module = ast.fix_missing_locations(ast.Module(body=selected_nodes, type_ignores=[]))
+ exec(compile(module, str(WEBUI_MAIN), "exec"), namespace)
+ return namespace
+
+
+TASK_HISTORY_NAMESPACE = _load_task_history_helpers()
+find_final_task_video = TASK_HISTORY_NAMESPACE["_find_final_task_video"]
+build_restore_upload_requirements = TASK_HISTORY_NAMESPACE[
+ "_build_restore_upload_requirements"
+]
+get_unmet_restore_upload_requirements = TASK_HISTORY_NAMESPACE[
+ "_get_unmet_restore_upload_requirements"
+]
+
+
+def test_find_final_task_video_ignores_intermediate_files(tmp_path):
+ """任务历史只能把 final 成片识别为完成,不能使用合成中间文件。"""
+ for file_name in (
+ "combined-1.mp4",
+ "temp-clip-1.mp4",
+ "final-1TEMP_MPY_wvf_snd.mp4",
+ ):
+ (tmp_path / file_name).touch()
+
+ assert find_final_task_video(str(tmp_path)) == ""
+
+
+def test_find_final_task_video_returns_first_numbered_output(tmp_path):
+ """多成片任务与运行时结果保持一致,默认播放序号最小的最终视频。"""
+ (tmp_path / "final-10.mp4").touch()
+ (tmp_path / "final-2.mp4").touch()
+ (tmp_path / "final-1.mp4").touch()
+
+ assert find_final_task_video(str(tmp_path)) == str(tmp_path / "final-1.mp4")
+
+
+def test_restore_requirements_block_missing_uploaded_files():
+ params = {
+ "video_source": "local",
+ "custom_audio_file": "/old-task/custom-audio.wav",
+ "voice_name": "zh-CN-XiaoxiaoNeural-Female",
+ }
+ requirements = build_restore_upload_requirements(params)
+
+ assert get_unmet_restore_upload_requirements(
+ requirements,
+ video_source="local",
+ voice_name=params["voice_name"],
+ has_local_materials=False,
+ has_custom_audio=False,
+ ) == {"local_materials", "custom_audio"}
+
+
+def test_restore_requirements_allow_explicit_replacements():
+ requirements = build_restore_upload_requirements(
+ {
+ "video_source": "local",
+ "custom_audio_file": "/old-task/custom-audio.wav",
+ "voice_name": "zh-CN-XiaoxiaoNeural-Female",
+ }
+ )
+
+ assert not get_unmet_restore_upload_requirements(
+ requirements,
+ video_source="pexels",
+ voice_name="en-US-JennyNeural-Female",
+ has_local_materials=False,
+ has_custom_audio=False,
+ )
+
+
+def test_restore_requirements_require_file_in_upload_voice_mode():
+ """恢复上传配音任务时,继续使用上传模式必须重新选择音频文件。"""
+ requirements = build_restore_upload_requirements(
+ {
+ "video_source": "pexels",
+ "custom_audio_file": "/old-task/custom-audio.wav",
+ "voice_name": "zh-CN-XiaoxiaoNeural-Female",
+ }
+ )
+
+ assert get_unmet_restore_upload_requirements(
+ requirements,
+ video_source="pexels",
+ voice_name="zh-CN-XiaoxiaoNeural-Female",
+ has_local_materials=False,
+ has_custom_audio=False,
+ voice_mode="upload",
+ ) == {"custom_audio"}
+
+
+def test_restore_requirements_allow_replacing_upload_with_other_voice_modes():
+ """用户主动切换到自动配音或无配音时,不再强制恢复历史上传文件。"""
+ requirements = build_restore_upload_requirements(
+ {
+ "video_source": "pexels",
+ "custom_audio_file": "/old-task/custom-audio.wav",
+ "voice_name": "zh-CN-XiaoxiaoNeural-Female",
+ }
+ )
+
+ for voice_mode in ("tts", "none"):
+ assert not get_unmet_restore_upload_requirements(
+ requirements,
+ video_source="pexels",
+ voice_name="zh-CN-XiaoxiaoNeural-Female",
+ has_local_materials=False,
+ has_custom_audio=False,
+ voice_mode=voice_mode,
+ )
diff --git a/uv.lock b/uv.lock
index 0250fc78..47fdb791 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1,8 +1,10 @@
version = 1
revision = 1
-requires-python = ">=3.11, <3.13"
+requires-python = ">=3.11"
resolution-markers = [
- "python_full_version >= '3.12'",
+ "python_full_version >= '3.14'",
+ "python_full_version == '3.13.*'",
+ "python_full_version == '3.12.*'",
"python_full_version < '3.12'",
]
@@ -26,7 +28,7 @@ dependencies = [
{ name = "frozenlist" },
{ name = "multidict" },
{ name = "propcache" },
- { name = "typing-extensions" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
{ name = "yarl" },
]
sdist = { url = "https://files.pythonhosted.org/packages/ee/ab/93ce242f899b68c51b0578c027aafa791ab3614cb9345fa5d37b5f5c8e3e/aiohttp-3.14.0.tar.gz", hash = "sha256:2882de819734c715fd1b9c11c97e09fa020d14438203d1d354d8ed1702791c9b", size = 7940674 }
@@ -67,6 +69,70 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/d9/4b/02992fc4fb9e1b6673ee3f888a8e587a6447afda1f6f4aca776c148c2876/aiohttp-3.14.0-cp312-cp312-win32.whl", hash = "sha256:101df7779c80c0636014a6b2c6642acd3efb5b355d48347c9d7dfb720aee9430", size = 448650 },
{ url = "https://files.pythonhosted.org/packages/39/e9/246532214c3abda518477cbaaf16d420295ad8effa5233844cbb38f299ab/aiohttp-3.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:b0a5747586d4467efd1f932710b269131c9717a872dce082cd92a00c1c13123a", size = 476145 },
{ url = "https://files.pythonhosted.org/packages/2b/c3/63f8c20090048915711598b0adf475b149216d736157961de06480a45b15/aiohttp-3.14.0-cp312-cp312-win_arm64.whl", hash = "sha256:5f1c5be60add78fabb4aacd13c5a348ae79d2fcbfc7fa78da8f1eb192273b370", size = 444250 },
+ { url = "https://files.pythonhosted.org/packages/21/61/d11f7d9a3144bffe825247d6367cd93053666da50b94707c9129c78868d5/aiohttp-3.14.0-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:25400d710641a8040bf022a8a99f579e581ffa1c5bd42c33255d7d6f3957c127", size = 502399 },
+ { url = "https://files.pythonhosted.org/packages/4f/9b/a7e317625d36356844f8bb022cabd305b541f968856cc3c2e0b58e53ee6e/aiohttp-3.14.0-cp313-cp313-android_21_x86_64.whl", hash = "sha256:c5492b9929826e07cc3fcb9739ae87aab05dff6b5e67a9b73fd1700c6d008981", size = 510068 },
+ { url = "https://files.pythonhosted.org/packages/11/41/cc2d2cfbfbdc3126ba258f3cd27d1ac8a33492ae3c35a4583ee21f0ba7f1/aiohttp-3.14.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:3366751d68d237c621264233a32f3078bbc21b7904ab90a77e03d21390c742c6", size = 481670 },
+ { url = "https://files.pythonhosted.org/packages/3c/07/381f4023c3b08cb616e520f566d8c58957abad54e56441d41fe67cfb0195/aiohttp-3.14.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:57ea07d28695a7a40304d42251892a8df765e5588c10ee32afeddcd5df33c0a2", size = 487591 },
+ { url = "https://files.pythonhosted.org/packages/fb/4d/4506fdb7a022bdf70011a3bbb4ca00c5c570026ef6a3c5bd7bc70c39089c/aiohttp-3.14.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:076cb014191ae2e65d949e1ad01f1dcfe33e32789b5172510f3e79c79fc04d50", size = 496503 },
+ { url = "https://files.pythonhosted.org/packages/ef/7d/c814111e04894a45d9e2defc94443879a6f118d9633d5fedfe6e2e8af5f0/aiohttp-3.14.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2f3fc37054564dee64a855b5b092d87ec35dcddfaabf7dacb1c8a2b1f83dc0a9", size = 745870 },
+ { url = "https://files.pythonhosted.org/packages/c6/ee/80eee0efddfe187e7cd05027086b7ce1c0e492e82a4eda58f5c5543a44a0/aiohttp-3.14.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8fcaef74d2ab0f607d7ff85a0d15e21bb5a258c4a58df1908396eb50d7f4ed3c", size = 505588 },
+ { url = "https://files.pythonhosted.org/packages/d6/f8/0f28f04eef75d52fc9c715dde7ce9c0abb810fd20cfeb0fea7afd2ab1e98/aiohttp-3.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e4c01b0bfc6209590960e68eac083cd22d5d87c21f974dd6208cafa5d3542bc8", size = 504492 },
+ { url = "https://files.pythonhosted.org/packages/ff/db/44c755232085545065c94378dfce38641b1aee647f4939fcd32f5b32e719/aiohttp-3.14.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f12eb7896e81caf403a2b18c9406426f1207361e7239c057ab29c076d4257e83", size = 1752111 },
+ { url = "https://files.pythonhosted.org/packages/5e/6a/42e030a46743841414402a3b00cd3d78419055e86c66fb5822c14b5abfc6/aiohttp-3.14.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6c79a044cacf360ec46738d863d2f41c9300d2a06ef4a7402ea0df306a350e61", size = 1729674 },
+ { url = "https://files.pythonhosted.org/packages/34/26/3199beb415202e3108e7b83ecebe10914d806d33fb9860c3e4aa60a19be3/aiohttp-3.14.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:85e0675f47be4eff0636bf88c02140ea89168ae0df3ff1f3f464e9de9610d277", size = 1798808 },
+ { url = "https://files.pythonhosted.org/packages/bd/94/b9b6fcf0ee17c21d0d19fb8c22bf83ad18f82e702a9c3bd901a868f5e446/aiohttp-3.14.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b33e751cab03fdc960095b1e326cb5a03f5ee577d6ded59f3d1c100f8668882", size = 1891921 },
+ { url = "https://files.pythonhosted.org/packages/c5/a3/3800dbd095cb2bb165a7ea5d94d790914677e27f45638c7d80e3f34c8945/aiohttp-3.14.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:26d9224c6dd7f5c749aba4f61315a894601448b28d94d12f4dea0903e26d2096", size = 1777241 },
+ { url = "https://files.pythonhosted.org/packages/21/2a/45be91ad1b860508557448d4cc2e165a2ee68dd865657b73bf66cc5a00fb/aiohttp-3.14.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6281aecdf2732940f4fe06bd6adec5ae4d59b78b080b8e3a6b81467301010988", size = 1579554 },
+ { url = "https://files.pythonhosted.org/packages/b4/3d/dc94df99ed1511fdf28314f722643ed334112643cab00223577085e788c4/aiohttp-3.14.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:23e8314e7aed8576fbe33314d218bd81447a3adbc91dc36f1163bf583cd3084c", size = 1714864 },
+ { url = "https://files.pythonhosted.org/packages/ae/e4/1f1c8acbb3acd5c8f795473b92c9c3d44eb60a5692c6104256c8a1c83a0c/aiohttp-3.14.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:3b54fbff46127aeafdd764cecd0d99fa2f24a0e37ea5c18a7c3a4ac450df1db3", size = 1749803 },
+ { url = "https://files.pythonhosted.org/packages/0b/c8/c45ea6e7ed84cebba939b9c334498a045ba19d79c61b0110df5f21580de3/aiohttp-3.14.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:b27d89af91a555f58e08e4902dbcbc48862fd40095720ca705990476bd93b7ac", size = 1765023 },
+ { url = "https://files.pythonhosted.org/packages/a8/a1/a932941784432962fe390e1066823aaef64b4e5ac9fa595df57b5fe472a9/aiohttp-3.14.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:25d2326a4967bf705a9f9913a13005e93b6020ad8a9f6bd6bd78850d5171332e", size = 1571671 },
+ { url = "https://files.pythonhosted.org/packages/b0/01/e1280feac522597a4d46eb67a0cdfa053cfae263033030b761ab146f29fb/aiohttp-3.14.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:a1d209375c503472b3c0a340cdf3c55fcd82e84b46dda7caeaced59faba373ec", size = 1789904 },
+ { url = "https://files.pythonhosted.org/packages/fa/10/ab28818262f4d26bdb47ed5f1fc7999b69e2fc6e0370b02d0f49011f45ea/aiohttp-3.14.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:666c7c5036df57b693026398b69b41874a1931ac5b3485fd910e57bfac253869", size = 1754516 },
+ { url = "https://files.pythonhosted.org/packages/af/cc/c122eabd7a1b7e0c9bbdd6be60e4715905b858399145d9df872bb94f1427/aiohttp-3.14.0-cp313-cp313-win32.whl", hash = "sha256:23f094a1ef64823fd35854ddf5c7a80a078162f37f9d2f7c6142b51a6affa456", size = 448656 },
+ { url = "https://files.pythonhosted.org/packages/41/a5/bab07d79848a00eedd8ed979ccb302aaea3ac6eb9fa16bd0ed87135869b4/aiohttp-3.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:e03abdaa17d553f17e1d1d06bb266b3970106c78051d06795723e748d8e49d11", size = 475803 },
+ { url = "https://files.pythonhosted.org/packages/d1/a0/f03ade8566c153666a3871afccbedf6d99911da006325e1fc6cf72a2de99/aiohttp-3.14.0-cp313-cp313-win_arm64.whl", hash = "sha256:acdb400538cf4769543548bb5d1eb23d39bed4f96554a6078cb728c7cb2c268b", size = 443889 },
+ { url = "https://files.pythonhosted.org/packages/28/03/5f36ab196a88ba5e9648ae5643e6531e67a3a8c0e96f9c6510ff41540fec/aiohttp-3.14.0-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:363ef9e91014e7891679bfb2ac0a7c6ea93435dbbfd10ecf41b9f06fcf506c5f", size = 503330 },
+ { url = "https://files.pythonhosted.org/packages/2c/ce/8b49ec2f30f68e02f314f4832186cd45e583360a5a386058be36855d23b6/aiohttp-3.14.0-cp314-cp314-android_24_x86_64.whl", hash = "sha256:884a4edbdad77be9d0ef36142c8b504351b170df0bf62b51e784fadabf311c42", size = 509822 },
+ { url = "https://files.pythonhosted.org/packages/1a/fe/6edbf5d39bf29322b6816365b17ed8ede4dace164a3aea1abcd30110eb78/aiohttp-3.14.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:70ea956f6cc4a37620966b56c2e205d88ca3e6d85ec063277e414b1035cddad3", size = 483329 },
+ { url = "https://files.pythonhosted.org/packages/1b/5a/fae531bdbc6456fb6241f46b7b81e4d8a0dd3fc09118a0055dc7141ac1ec/aiohttp-3.14.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:ea3b9806c89f61da22fddf1f12dd524fb368e5e28f1261fbdafe5c3cd8ce893b", size = 489502 },
+ { url = "https://files.pythonhosted.org/packages/36/f4/48a7b0414db7fed77a03d5dde34508c026afd83510ab6bca08c313855776/aiohttp-3.14.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a071be341c2bd9b0188e62d173509f024e0a35b1c342c53c50f8daaeda8c3bd8", size = 497357 },
+ { url = "https://files.pythonhosted.org/packages/75/75/e85a13a370acc007fca5feb1fd1b88ac2d8426e6dadd625479b7cadd55a3/aiohttp-3.14.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:198cfe61bf253b19da1fb3e0fa122249dc4f14c12709493fed8054aa0411cc76", size = 750898 },
+ { url = "https://files.pythonhosted.org/packages/9e/e4/3d637f800c724eff0e2bed64df72557444482366fd0a35b0cec0e6968f6c/aiohttp-3.14.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:9dc203d6ce6b9106d54e2a93f41dfdfebfbca2d99962ba503bfd3e5921a6549e", size = 506986 },
+ { url = "https://files.pythonhosted.org/packages/1d/df/35161f3598bf7501d2b2a805b41ab4f45a2e34150c421bcb4ef8c0d281a7/aiohttp-3.14.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9e19d17ab02bf16832a2c8c0d55a486792c5b1645665652ee9531aebcc30cb72", size = 508033 },
+ { url = "https://files.pythonhosted.org/packages/e5/39/b36e5d3d31e850fb4691dd3e941684ac490a2559249f6fa634b6b0fdf020/aiohttp-3.14.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d925fba0c14d5b498a8028b0107beebdfd16c5d48d702ff54f879cb017aaaca3", size = 1746213 },
+ { url = "https://files.pythonhosted.org/packages/b1/28/24e1409e605a9aa5d84abe0e2acb365354b70ae56d40948101cabe3341ab/aiohttp-3.14.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d33e61021222ce7f9792bcac870d6f58d8adfceda33ab857b01264f4560f2c5f", size = 1705862 },
+ { url = "https://files.pythonhosted.org/packages/8c/d0/e5eb3ff1daeaf644c7e36a957517672494122628e067c38b263fa04eda77/aiohttp-3.14.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:44eca38755d0105bb32f47d085f5dd449846a449e1245fc105889e3279dcf8e3", size = 1798909 },
+ { url = "https://files.pythonhosted.org/packages/d3/ba/8943f906f0570342886ababb9a722a44e360f786a028c5e0b0e29e3f735b/aiohttp-3.14.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f13087e06f68fea4941c21a0c541c00553aa16e4f8fd7bbe2b198df761e964d6", size = 1868892 },
+ { url = "https://files.pythonhosted.org/packages/3a/05/27df32c844b2156e1675a8d8ec22d963e3c8ba469ed7ceb1863320c7b521/aiohttp-3.14.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ff82be7f1ef73634cb77890a770743239bc3d487b848669be1c599889336dc0a", size = 1751659 },
+ { url = "https://files.pythonhosted.org/packages/7f/62/da182e5910ab912b2e88aa919b61a16046a37a95714a5795b02eb57b2d18/aiohttp-3.14.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a150c0875ac8fd87f1c398650841308a30d65facf7416b12dbdb9cfdcbe5a48c", size = 1578775 },
+ { url = "https://files.pythonhosted.org/packages/66/e3/53c67097e8a5ce98625e91e3fa7f43c9c6940de680345d03b3509a72a078/aiohttp-3.14.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:edc01ea4e1ec5a1649a28866262bf24195889ff7b27bdd947029a6086741de9b", size = 1710090 },
+ { url = "https://files.pythonhosted.org/packages/dd/55/0e2732ca598c7a4dfe8a775662376d0ca2977cb1030e48386d4da5d9a456/aiohttp-3.14.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:540632bf882ff8fc88f2e1697be0761578e89e0d79fb4a8a6d65dc5da7e729d4", size = 1715016 },
+ { url = "https://files.pythonhosted.org/packages/5a/96/f0b73730798c9ca525afc30b39f1f81bbe24e245d9654c54d3b39d63212d/aiohttp-3.14.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:860a86bc2c80237f5dff52edcf427e10a8d8352271fd84845429a3e60199e02c", size = 1763810 },
+ { url = "https://files.pythonhosted.org/packages/71/cc/11acb6c4518f448323405a7312b6f255d0f974a34373ad1db7633c4aadc8/aiohttp-3.14.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:5cbd50e6a50d6b99283a826b18cbdebf65b0797689a7535cb0e9dd37be0f63c3", size = 1573064 },
+ { url = "https://files.pythonhosted.org/packages/de/2d/28c31dde0a7dc98c0ee7d0da2ddcec3f7688c4fc131e5989e278d0c03c0a/aiohttp-3.14.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:20144819e99db593e22bbd2f3f2691a5e149f879142d6b8670254708853ff4fb", size = 1775765 },
+ { url = "https://files.pythonhosted.org/packages/b8/69/155c4ef3aec96417d47024800472b33b16c5d8a665371dcd044c2afdf25d/aiohttp-3.14.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:26b6d79aa54cb4ed50cc7d41ed14e99e0f1fc8e7c2d42f2e05b37aea897b2b52", size = 1733716 },
+ { url = "https://files.pythonhosted.org/packages/5f/44/6126116fd8a316b712bb615660b855c78466bb67ba1bb1742427eafcf7ac/aiohttp-3.14.0-cp314-cp314-win32.whl", hash = "sha256:106ed074a856f3e21d186b8579e2c8afb6da598e267cdaab01059e13db2fc44d", size = 453684 },
+ { url = "https://files.pythonhosted.org/packages/a2/d7/eff4c58a88c5cac5e38b55f44fb8a6d3929c3cbd77356e383e094d3220bd/aiohttp-3.14.0-cp314-cp314-win_amd64.whl", hash = "sha256:4f770846edae8f00ecc57af825bce811f787f87a7dcf0e90d191790efe5b31f7", size = 481758 },
+ { url = "https://files.pythonhosted.org/packages/d7/ed/17b5bd9fbcb46e688f02e572f517754a9a75831e7b54702f027761dc4fa5/aiohttp-3.14.0-cp314-cp314-win_arm64.whl", hash = "sha256:acf1581c4f21ed4b80a2dded504d87b055a071a84d5737ea966435f768275ac6", size = 450557 },
+ { url = "https://files.pythonhosted.org/packages/12/34/6180103ce9aabc8ebff3f7bb55a1228ffe60f61042823031d9692cb7b101/aiohttp-3.14.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:6aa1a40f9cbb3da9f80714c5966b8946c21e6a2530d809b9498b33161e3c8733", size = 787878 },
+ { url = "https://files.pythonhosted.org/packages/92/e9/08954a40e8b7baa3d8beadd2b074b186e9b1e9c8ddabc288678a6265de50/aiohttp-3.14.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:b62af5a8cc96a194eaa01a9ed7b34a3ffa58d3d8daaa1a0d7a749353ad12d228", size = 524400 },
+ { url = "https://files.pythonhosted.org/packages/08/6a/b5965a634ac4d5ba99a463314cf4ab214ca073fcdc38a15e0294273701fc/aiohttp-3.14.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6eb63b1417efaf7d1002a6ad034a40d44376afcc16508a57f8e74b49ad26a095", size = 527904 },
+ { url = "https://files.pythonhosted.org/packages/06/b4/932bcdd850c354d9bcca30f360e475d7852e30413fbbd44b182782ed5432/aiohttp-3.14.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c20b9ad156a79eb97be5cf9e069eec01d2f0dc8472ffbd75299a8b2d4c2cbbde", size = 1912162 },
+ { url = "https://files.pythonhosted.org/packages/c6/85/ce79bab0310d2e3fd2d7bc7e44412abeff7c8338f8a21dd0f2f1714989e5/aiohttp-3.14.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:40ae7b0642c25632c7eabc4a04754012691864d2a1b93becf7cddb76027b838a", size = 1778813 },
+ { url = "https://files.pythonhosted.org/packages/05/54/ba62ac2d1bc87e010aad23751e383b8794e45d931df67677313a2da78823/aiohttp-3.14.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:95f5217e76a046b9f228a101717ef8d42b1eb3d9d196d15202db5bf41df88936", size = 1899969 },
+ { url = "https://files.pythonhosted.org/packages/dc/82/7cc7907725d83a19f31551334061e1ab8e108b1d7ac52632a2a844a4acb5/aiohttp-3.14.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1a4a9f17e85b80878c176695c1998c790e83731d8271881e5d356488652a1f9e", size = 1991771 },
+ { url = "https://files.pythonhosted.org/packages/d0/1c/a57de71a4508c93a830b77c28af3d08cd97f606dedfc6b94275347744508/aiohttp-3.14.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:145262119b07d7f95abc1839add35ba2bfc84551d4b4660ca11542c0b215455b", size = 1868606 },
+ { url = "https://files.pythonhosted.org/packages/9c/ae/3839726cd49150a53ed340cc24ce5ba09d4c2117020ef9d45542bec5eb2f/aiohttp-3.14.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:49a33ded29b0b2fa7a367a02cf0fb89af602bb87542a16177ec8ce1c9c51d12a", size = 1665437 },
+ { url = "https://files.pythonhosted.org/packages/35/1e/c237923232c7da7f0392ea25d89fc5e60c0e93f685f4ebca8e7bcdd5271c/aiohttp-3.14.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:2cc736a9c9fc2bc4dd71fd404815741b6573df27c3f985948ec4076989ac57de", size = 1834090 },
+ { url = "https://files.pythonhosted.org/packages/98/02/a5a7a2524f92d3911761b405a7c067c751891942144adc13e2ad79611e39/aiohttp-3.14.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:b4141a3e5342ee3053a9cab54d25b64ed28289c1041e4c54b3d99839314d90ce", size = 1816907 },
+ { url = "https://files.pythonhosted.org/packages/fa/76/a8b9f0d09234d516af9f2d7dd715557f33b5da3b0b56ead41d1170e86e3c/aiohttp-3.14.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e30871b2d58996cb81aac52d2b1d15ac05257131ef0f90f18c2115a380fbfe7c", size = 1840382 },
+ { url = "https://files.pythonhosted.org/packages/c9/8e/140e715a0a4bbc211979ea30ec8396ad2ed5bf90ab87d8058fc4668b1923/aiohttp-3.14.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:667b881d083ccae3900ea5a241e17e5007ca78844c53ed389bb63d48f729d9c7", size = 1659497 },
+ { url = "https://files.pythonhosted.org/packages/10/c7/7ba5de8af9650b9767b063c675427b8685f43fa7ce563673a7bc3af60f08/aiohttp-3.14.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:b584dfe615d151e9b8f0a8ecb3aee6147f2927ec5b95ba25fe621f5377510928", size = 1870829 },
+ { url = "https://files.pythonhosted.org/packages/cc/bc/2aaab2f85cadb26ea59c091fa2b8e370d625154b5c14b478f1b489d07551/aiohttp-3.14.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6199707cc40e0e9cd39c36fbc97bec416c704e1d0ddce03412bb3b3e6a90ccd0", size = 1832281 },
+ { url = "https://files.pythonhosted.org/packages/39/98/31b9ad9fbc01f0075ee7221002df5fd2d10b647f451ca5f30edc802d9dd6/aiohttp-3.14.0-cp314-cp314t-win32.whl", hash = "sha256:a8d93334d4961c9d566b1f046c81dee475b7c21eb730728d38237bfa70d1c8e6", size = 490597 },
+ { url = "https://files.pythonhosted.org/packages/59/1f/299b21441c8de42ff70fddc7cfe65e92f810abcf740739a09b56f7835364/aiohttp-3.14.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2d2ffe9b614f50f069068b3b52e73414e4107fc10b7efc939a76acff9251fdd2", size = 525789 },
+ { url = "https://files.pythonhosted.org/packages/70/11/7f83fcba9ee05d4c54d61b3f8104da0d43a59adac44dd28effc0c9a10422/aiohttp-3.14.0-cp314-cp314t-win_arm64.whl", hash = "sha256:7a3fc4358e65826c515350f199c210de747cf669998211b1ee6c2e46de364b24", size = 467399 },
]
[[package]]
@@ -75,7 +141,7 @@ version = "1.4.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "frozenlist" },
- { name = "typing-extensions" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007 }
wheels = [
@@ -91,7 +157,7 @@ dependencies = [
{ name = "jsonschema" },
{ name = "narwhals" },
{ name = "packaging" },
- { name = "typing-extensions" },
+ { name = "typing-extensions", marker = "python_full_version < '3.14'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/16/b1/f2969c7bdb8ad8bbdda031687defdce2c19afba2aa2c8e1d2a17f78376d8/altair-5.5.0.tar.gz", hash = "sha256:d960ebe6178c56de3855a68c47b516be38640b73fb3b5111c2a9ca90546dd73d", size = 705305 }
wheels = [
@@ -122,7 +188,7 @@ version = "4.13.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "idna" },
- { name = "typing-extensions" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/19/14/2c5dd9f512b66549ae92767a9c7b330ae88e1932ca57876909410251fe13/anyio-4.13.0.tar.gz", hash = "sha256:334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc", size = 231622 }
wheels = [
@@ -147,6 +213,62 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548 },
]
+[[package]]
+name = "audioop-lts"
+version = "0.2.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/38/53/946db57842a50b2da2e0c1e34bd37f36f5aadba1a929a3971c5d7841dbca/audioop_lts-0.2.2.tar.gz", hash = "sha256:64d0c62d88e67b98a1a5e71987b7aa7b5bcffc7dcee65b635823dbdd0a8dbbd0", size = 30686 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/de/d4/94d277ca941de5a507b07f0b592f199c22454eeaec8f008a286b3fbbacd6/audioop_lts-0.2.2-cp313-abi3-macosx_10_13_universal2.whl", hash = "sha256:fd3d4602dc64914d462924a08c1a9816435a2155d74f325853c1f1ac3b2d9800", size = 46523 },
+ { url = "https://files.pythonhosted.org/packages/f8/5a/656d1c2da4b555920ce4177167bfeb8623d98765594af59702c8873f60ec/audioop_lts-0.2.2-cp313-abi3-macosx_10_13_x86_64.whl", hash = "sha256:550c114a8df0aafe9a05442a1162dfc8fec37e9af1d625ae6060fed6e756f303", size = 27455 },
+ { url = "https://files.pythonhosted.org/packages/1b/83/ea581e364ce7b0d41456fb79d6ee0ad482beda61faf0cab20cbd4c63a541/audioop_lts-0.2.2-cp313-abi3-macosx_11_0_arm64.whl", hash = "sha256:9a13dc409f2564de15dd68be65b462ba0dde01b19663720c68c1140c782d1d75", size = 26997 },
+ { url = "https://files.pythonhosted.org/packages/b8/3b/e8964210b5e216e5041593b7d33e97ee65967f17c282e8510d19c666dab4/audioop_lts-0.2.2-cp313-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:51c916108c56aa6e426ce611946f901badac950ee2ddaf302b7ed35d9958970d", size = 85844 },
+ { url = "https://files.pythonhosted.org/packages/c7/2e/0a1c52faf10d51def20531a59ce4c706cb7952323b11709e10de324d6493/audioop_lts-0.2.2-cp313-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:47eba38322370347b1c47024defbd36374a211e8dd5b0dcbce7b34fdb6f8847b", size = 85056 },
+ { url = "https://files.pythonhosted.org/packages/75/e8/cd95eef479656cb75ab05dfece8c1f8c395d17a7c651d88f8e6e291a63ab/audioop_lts-0.2.2-cp313-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ba7c3a7e5f23e215cb271516197030c32aef2e754252c4c70a50aaff7031a2c8", size = 93892 },
+ { url = "https://files.pythonhosted.org/packages/5c/1e/a0c42570b74f83efa5cca34905b3eef03f7ab09fe5637015df538a7f3345/audioop_lts-0.2.2-cp313-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:def246fe9e180626731b26e89816e79aae2276f825420a07b4a647abaa84becc", size = 96660 },
+ { url = "https://files.pythonhosted.org/packages/50/d5/8a0ae607ca07dbb34027bac8db805498ee7bfecc05fd2c148cc1ed7646e7/audioop_lts-0.2.2-cp313-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e160bf9df356d841bb6c180eeeea1834085464626dc1b68fa4e1d59070affdc3", size = 79143 },
+ { url = "https://files.pythonhosted.org/packages/12/17/0d28c46179e7910bfb0bb62760ccb33edb5de973052cb2230b662c14ca2e/audioop_lts-0.2.2-cp313-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4b4cd51a57b698b2d06cb9993b7ac8dfe89a3b2878e96bc7948e9f19ff51dba6", size = 84313 },
+ { url = "https://files.pythonhosted.org/packages/84/ba/bd5d3806641564f2024e97ca98ea8f8811d4e01d9b9f9831474bc9e14f9e/audioop_lts-0.2.2-cp313-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:4a53aa7c16a60a6857e6b0b165261436396ef7293f8b5c9c828a3a203147ed4a", size = 93044 },
+ { url = "https://files.pythonhosted.org/packages/f9/5e/435ce8d5642f1f7679540d1e73c1c42d933331c0976eb397d1717d7f01a3/audioop_lts-0.2.2-cp313-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:3fc38008969796f0f689f1453722a0f463da1b8a6fbee11987830bfbb664f623", size = 78766 },
+ { url = "https://files.pythonhosted.org/packages/ae/3b/b909e76b606cbfd53875693ec8c156e93e15a1366a012f0b7e4fb52d3c34/audioop_lts-0.2.2-cp313-abi3-musllinux_1_2_s390x.whl", hash = "sha256:15ab25dd3e620790f40e9ead897f91e79c0d3ce65fe193c8ed6c26cffdd24be7", size = 87640 },
+ { url = "https://files.pythonhosted.org/packages/30/e7/8f1603b4572d79b775f2140d7952f200f5e6c62904585d08a01f0a70393a/audioop_lts-0.2.2-cp313-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:03f061a1915538fd96272bac9551841859dbb2e3bf73ebe4a23ef043766f5449", size = 86052 },
+ { url = "https://files.pythonhosted.org/packages/b5/96/c37846df657ccdda62ba1ae2b6534fa90e2e1b1742ca8dcf8ebd38c53801/audioop_lts-0.2.2-cp313-abi3-win32.whl", hash = "sha256:3bcddaaf6cc5935a300a8387c99f7a7fbbe212a11568ec6cf6e4bc458c048636", size = 26185 },
+ { url = "https://files.pythonhosted.org/packages/34/a5/9d78fdb5b844a83da8a71226c7bdae7cc638861085fff7a1d707cb4823fa/audioop_lts-0.2.2-cp313-abi3-win_amd64.whl", hash = "sha256:a2c2a947fae7d1062ef08c4e369e0ba2086049a5e598fda41122535557012e9e", size = 30503 },
+ { url = "https://files.pythonhosted.org/packages/34/25/20d8fde083123e90c61b51afb547bb0ea7e77bab50d98c0ab243d02a0e43/audioop_lts-0.2.2-cp313-abi3-win_arm64.whl", hash = "sha256:5f93a5db13927a37d2d09637ccca4b2b6b48c19cd9eda7b17a2e9f77edee6a6f", size = 24173 },
+ { url = "https://files.pythonhosted.org/packages/58/a7/0a764f77b5c4ac58dc13c01a580f5d32ae8c74c92020b961556a43e26d02/audioop_lts-0.2.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:73f80bf4cd5d2ca7814da30a120de1f9408ee0619cc75da87d0641273d202a09", size = 47096 },
+ { url = "https://files.pythonhosted.org/packages/aa/ed/ebebedde1a18848b085ad0fa54b66ceb95f1f94a3fc04f1cd1b5ccb0ed42/audioop_lts-0.2.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:106753a83a25ee4d6f473f2be6b0966fc1c9af7e0017192f5531a3e7463dce58", size = 27748 },
+ { url = "https://files.pythonhosted.org/packages/cb/6e/11ca8c21af79f15dbb1c7f8017952ee8c810c438ce4e2b25638dfef2b02c/audioop_lts-0.2.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fbdd522624141e40948ab3e8cdae6e04c748d78710e9f0f8d4dae2750831de19", size = 27329 },
+ { url = "https://files.pythonhosted.org/packages/84/52/0022f93d56d85eec5da6b9da6a958a1ef09e80c39f2cc0a590c6af81dcbb/audioop_lts-0.2.2-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:143fad0311e8209ece30a8dbddab3b65ab419cbe8c0dde6e8828da25999be911", size = 92407 },
+ { url = "https://files.pythonhosted.org/packages/87/1d/48a889855e67be8718adbc7a01f3c01d5743c325453a5e81cf3717664aad/audioop_lts-0.2.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dfbbc74ec68a0fd08cfec1f4b5e8cca3d3cd7de5501b01c4b5d209995033cde9", size = 91811 },
+ { url = "https://files.pythonhosted.org/packages/98/a6/94b7213190e8077547ffae75e13ed05edc488653c85aa5c41472c297d295/audioop_lts-0.2.2-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cfcac6aa6f42397471e4943e0feb2244549db5c5d01efcd02725b96af417f3fe", size = 100470 },
+ { url = "https://files.pythonhosted.org/packages/e9/e9/78450d7cb921ede0cfc33426d3a8023a3bda755883c95c868ee36db8d48d/audioop_lts-0.2.2-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:752d76472d9804ac60f0078c79cdae8b956f293177acd2316cd1e15149aee132", size = 103878 },
+ { url = "https://files.pythonhosted.org/packages/4f/e2/cd5439aad4f3e34ae1ee852025dc6aa8f67a82b97641e390bf7bd9891d3e/audioop_lts-0.2.2-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:83c381767e2cc10e93e40281a04852facc4cd9334550e0f392f72d1c0a9c5753", size = 84867 },
+ { url = "https://files.pythonhosted.org/packages/68/4b/9d853e9076c43ebba0d411e8d2aa19061083349ac695a7d082540bad64d0/audioop_lts-0.2.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c0022283e9556e0f3643b7c3c03f05063ca72b3063291834cca43234f20c60bb", size = 90001 },
+ { url = "https://files.pythonhosted.org/packages/58/26/4bae7f9d2f116ed5593989d0e521d679b0d583973d203384679323d8fa85/audioop_lts-0.2.2-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:a2d4f1513d63c795e82948e1305f31a6d530626e5f9f2605408b300ae6095093", size = 99046 },
+ { url = "https://files.pythonhosted.org/packages/b2/67/a9f4fb3e250dda9e9046f8866e9fa7d52664f8985e445c6b4ad6dfb55641/audioop_lts-0.2.2-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:c9c8e68d8b4a56fda8c025e538e639f8c5953f5073886b596c93ec9b620055e7", size = 84788 },
+ { url = "https://files.pythonhosted.org/packages/70/f7/3de86562db0121956148bcb0fe5b506615e3bcf6e63c4357a612b910765a/audioop_lts-0.2.2-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:96f19de485a2925314f5020e85911fb447ff5fbef56e8c7c6927851b95533a1c", size = 94472 },
+ { url = "https://files.pythonhosted.org/packages/f1/32/fd772bf9078ae1001207d2df1eef3da05bea611a87dd0e8217989b2848fa/audioop_lts-0.2.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:e541c3ef484852ef36545f66209444c48b28661e864ccadb29daddb6a4b8e5f5", size = 92279 },
+ { url = "https://files.pythonhosted.org/packages/4f/41/affea7181592ab0ab560044632571a38edaf9130b84928177823fbf3176a/audioop_lts-0.2.2-cp313-cp313t-win32.whl", hash = "sha256:d5e73fa573e273e4f2e5ff96f9043858a5e9311e94ffefd88a3186a910c70917", size = 26568 },
+ { url = "https://files.pythonhosted.org/packages/28/2b/0372842877016641db8fc54d5c88596b542eec2f8f6c20a36fb6612bf9ee/audioop_lts-0.2.2-cp313-cp313t-win_amd64.whl", hash = "sha256:9191d68659eda01e448188f60364c7763a7ca6653ed3f87ebb165822153a8547", size = 30942 },
+ { url = "https://files.pythonhosted.org/packages/ee/ca/baf2b9cc7e96c179bb4a54f30fcd83e6ecb340031bde68f486403f943768/audioop_lts-0.2.2-cp313-cp313t-win_arm64.whl", hash = "sha256:c174e322bb5783c099aaf87faeb240c8d210686b04bd61dfd05a8e5a83d88969", size = 24603 },
+ { url = "https://files.pythonhosted.org/packages/5c/73/413b5a2804091e2c7d5def1d618e4837f1cb82464e230f827226278556b7/audioop_lts-0.2.2-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:f9ee9b52f5f857fbaf9d605a360884f034c92c1c23021fb90b2e39b8e64bede6", size = 47104 },
+ { url = "https://files.pythonhosted.org/packages/ae/8c/daa3308dc6593944410c2c68306a5e217f5c05b70a12e70228e7dd42dc5c/audioop_lts-0.2.2-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:49ee1a41738a23e98d98b937a0638357a2477bc99e61b0f768a8f654f45d9b7a", size = 27754 },
+ { url = "https://files.pythonhosted.org/packages/4e/86/c2e0f627168fcf61781a8f72cab06b228fe1da4b9fa4ab39cfb791b5836b/audioop_lts-0.2.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5b00be98ccd0fc123dcfad31d50030d25fcf31488cde9e61692029cd7394733b", size = 27332 },
+ { url = "https://files.pythonhosted.org/packages/c7/bd/35dce665255434f54e5307de39e31912a6f902d4572da7c37582809de14f/audioop_lts-0.2.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a6d2e0f9f7a69403e388894d4ca5ada5c47230716a03f2847cfc7bd1ecb589d6", size = 92396 },
+ { url = "https://files.pythonhosted.org/packages/2d/d2/deeb9f51def1437b3afa35aeb729d577c04bcd89394cb56f9239a9f50b6f/audioop_lts-0.2.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f9b0b8a03ef474f56d1a842af1a2e01398b8f7654009823c6d9e0ecff4d5cfbf", size = 91811 },
+ { url = "https://files.pythonhosted.org/packages/76/3b/09f8b35b227cee28cc8231e296a82759ed80c1a08e349811d69773c48426/audioop_lts-0.2.2-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2b267b70747d82125f1a021506565bdc5609a2b24bcb4773c16d79d2bb260bbd", size = 100483 },
+ { url = "https://files.pythonhosted.org/packages/0b/15/05b48a935cf3b130c248bfdbdea71ce6437f5394ee8533e0edd7cfd93d5e/audioop_lts-0.2.2-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0337d658f9b81f4cd0fdb1f47635070cc084871a3d4646d9de74fdf4e7c3d24a", size = 103885 },
+ { url = "https://files.pythonhosted.org/packages/83/80/186b7fce6d35b68d3d739f228dc31d60b3412105854edb975aa155a58339/audioop_lts-0.2.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:167d3b62586faef8b6b2275c3218796b12621a60e43f7e9d5845d627b9c9b80e", size = 84899 },
+ { url = "https://files.pythonhosted.org/packages/49/89/c78cc5ac6cb5828f17514fb12966e299c850bc885e80f8ad94e38d450886/audioop_lts-0.2.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:0d9385e96f9f6da847f4d571ce3cb15b5091140edf3db97276872647ce37efd7", size = 89998 },
+ { url = "https://files.pythonhosted.org/packages/4c/4b/6401888d0c010e586c2ca50fce4c903d70a6bb55928b16cfbdfd957a13da/audioop_lts-0.2.2-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:48159d96962674eccdca9a3df280e864e8ac75e40a577cc97c5c42667ffabfc5", size = 99046 },
+ { url = "https://files.pythonhosted.org/packages/de/f8/c874ca9bb447dae0e2ef2e231f6c4c2b0c39e31ae684d2420b0f9e97ee68/audioop_lts-0.2.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:8fefe5868cd082db1186f2837d64cfbfa78b548ea0d0543e9b28935ccce81ce9", size = 84843 },
+ { url = "https://files.pythonhosted.org/packages/3e/c0/0323e66f3daebc13fd46b36b30c3be47e3fc4257eae44f1e77eb828c703f/audioop_lts-0.2.2-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:58cf54380c3884fb49fdd37dfb7a772632b6701d28edd3e2904743c5e1773602", size = 94490 },
+ { url = "https://files.pythonhosted.org/packages/98/6b/acc7734ac02d95ab791c10c3f17ffa3584ccb9ac5c18fd771c638ed6d1f5/audioop_lts-0.2.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:088327f00488cdeed296edd9215ca159f3a5a5034741465789cad403fcf4bec0", size = 92297 },
+ { url = "https://files.pythonhosted.org/packages/13/c3/c3dc3f564ce6877ecd2a05f8d751b9b27a8c320c2533a98b0c86349778d0/audioop_lts-0.2.2-cp314-cp314t-win32.whl", hash = "sha256:068aa17a38b4e0e7de771c62c60bbca2455924b67a8814f3b0dee92b5820c0b3", size = 27331 },
+ { url = "https://files.pythonhosted.org/packages/72/bb/b4608537e9ffcb86449091939d52d24a055216a36a8bf66b936af8c3e7ac/audioop_lts-0.2.2-cp314-cp314t-win_amd64.whl", hash = "sha256:a5bf613e96f49712073de86f20dbdd4014ca18efd4d34ed18c75bd808337851b", size = 31697 },
+ { url = "https://files.pythonhosted.org/packages/f6/22/91616fe707a5c5510de2cac9b046a30defe7007ba8a0c04f9c08f27df312/audioop_lts-0.2.2-cp314-cp314t-win_arm64.whl", hash = "sha256:b492c3b040153e68b9fdaff5913305aaaba5bb433d8a7f73d5cf6a64ed3cc1dd", size = 25206 },
+]
+
[[package]]
name = "av"
version = "17.0.0"
@@ -161,6 +283,14 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/90/ea/52b0fc6f69432c7bf3f5fbe6f707113650aa40a1a05b9096ffc2bba4f77d/av-17.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ffaf266a1a9c2148072de0a4b5ae98061465178d2cfaa69ee089761149342974", size = 37444817 },
{ url = "https://files.pythonhosted.org/packages/34/ad/d2172966282cb8f146c13b6be7416efefde74186460c5e1708ddfc13dba6/av-17.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:45a35a40b2875bf2f98de7c952d74d960f92f319734e6d28e03b4c62a49e6f49", size = 28888553 },
{ url = "https://files.pythonhosted.org/packages/b0/bb/c5a4c4172c514d631fb506e6366b503576b8c7f29809cf42aca73e28ff01/av-17.0.0-cp311-abi3-win_arm64.whl", hash = "sha256:3d32e9b5c5bbcb872a0b6917b352a1db8a42142237826c9b49a36d5dbd9e9c26", size = 21916910 },
+ { url = "https://files.pythonhosted.org/packages/7f/8e/c40ac08e63f79387c59f6ecc38f47d4c942b549130eee579ec1a91f6a291/av-17.0.0-cp314-cp314t-macosx_11_0_x86_64.whl", hash = "sha256:d13250fb4b4522e9a6bec32da082556d5f257110ea223758151375748d9bbe25", size = 23483029 },
+ { url = "https://files.pythonhosted.org/packages/a9/fb/b4419494bfc249163ec393c613966d66db7e95c76da3345711cd115a79df/av-17.0.0-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:dbb56aa3b7ae72451d1bf6e9d37c7d83d39b97af712f73583ff419fbf08fc237", size = 18920446 },
+ { url = "https://files.pythonhosted.org/packages/30/62/c2306d91602ddad2c56106f21dcb334fd51d5ea2e952f7fa025bb8aa39fc/av-17.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a213ac9e83b7ab12c2e9f277a09cac8e9d85cf0883efdab7a87a60e2e4e48879", size = 37477266 },
+ { url = "https://files.pythonhosted.org/packages/28/cd/c8510a9607886785c0b3ca019d503e888c3757529be42a7287fe2bfa92d5/av-17.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:e15c88bb0921f9435bcc5a27a0863dba571a80ad5e1389c4fcf2073833bb4a74", size = 39572988 },
+ { url = "https://files.pythonhosted.org/packages/7d/2d/207d9361e25b5abec9be335bbab4df6b6b838e2214be4b374f4cfb285427/av-17.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:096cfd1e9fc896506726c7c42aaf9b370e78c2f257cde4d6ddb6c889bfcc49ec", size = 38399591 },
+ { url = "https://files.pythonhosted.org/packages/73/ca/307740c6aa2980966bf11383ffcb04bacc5b13f3d268ab4cfb274ad6f793/av-17.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3649ab3d2c7f58049ded1a36e100c0d8fd529cf258f41dd88678ba824034d8c9", size = 40590681 },
+ { url = "https://files.pythonhosted.org/packages/35/f2/6fdb26d0651adf409864cb2a0d60da107e467d3d1aabc94b234ead54324a/av-17.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:e5002271ab2135b551d980c2db8f3299d452e3b9d3633f24f6bb57fffe91cd10", size = 29216337 },
+ { url = "https://files.pythonhosted.org/packages/41/0a/0896b829a39b5669a2d811e1a79598de661693685cd62b31f11d0c18e65b/av-17.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dba98603fc4665b4f750de86fbaf6c0cfaece970671a9b529e0e3d1711e8367e", size = 22071058 },
]
[[package]]
@@ -205,38 +335,100 @@ wheels = [
[[package]]
name = "cffi"
-version = "2.0.0"
+version = "2.1.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pycparser", marker = "implementation_name != 'PyPy'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/12/4a/3dfd5f7850cbf0d06dc84ba9aa00db766b52ca38d8b86e3a38314d52498c/cffi-2.0.0-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe", size = 184344 },
- { url = "https://files.pythonhosted.org/packages/4f/8b/f0e4c441227ba756aafbe78f117485b25bb26b1c059d01f137fa6d14896b/cffi-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c", size = 180560 },
- { url = "https://files.pythonhosted.org/packages/b1/b7/1200d354378ef52ec227395d95c2576330fd22a869f7a70e88e1447eb234/cffi-2.0.0-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:baf5215e0ab74c16e2dd324e8ec067ef59e41125d3eade2b863d294fd5035c92", size = 209613 },
- { url = "https://files.pythonhosted.org/packages/b8/56/6033f5e86e8cc9bb629f0077ba71679508bdf54a9a5e112a3c0b91870332/cffi-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:730cacb21e1bdff3ce90babf007d0a0917cc3e6492f336c2f0134101e0944f93", size = 216476 },
- { url = "https://files.pythonhosted.org/packages/dc/7f/55fecd70f7ece178db2f26128ec41430d8720f2d12ca97bf8f0a628207d5/cffi-2.0.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6824f87845e3396029f3820c206e459ccc91760e8fa24422f8b0c3d1731cbec5", size = 203374 },
- { url = "https://files.pythonhosted.org/packages/84/ef/a7b77c8bdc0f77adc3b46888f1ad54be8f3b7821697a7b89126e829e676a/cffi-2.0.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9de40a7b0323d889cf8d23d1ef214f565ab154443c42737dfe52ff82cf857664", size = 202597 },
- { url = "https://files.pythonhosted.org/packages/d7/91/500d892b2bf36529a75b77958edfcd5ad8e2ce4064ce2ecfeab2125d72d1/cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26", size = 215574 },
- { url = "https://files.pythonhosted.org/packages/44/64/58f6255b62b101093d5df22dcb752596066c7e89dd725e0afaed242a61be/cffi-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a05d0c237b3349096d3981b727493e22147f934b20f6f125a3eba8f994bec4a9", size = 218971 },
- { url = "https://files.pythonhosted.org/packages/ab/49/fa72cebe2fd8a55fbe14956f9970fe8eb1ac59e5df042f603ef7c8ba0adc/cffi-2.0.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:94698a9c5f91f9d138526b48fe26a199609544591f859c870d477351dc7b2414", size = 211972 },
- { url = "https://files.pythonhosted.org/packages/0b/28/dd0967a76aab36731b6ebfe64dec4e981aff7e0608f60c2d46b46982607d/cffi-2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743", size = 217078 },
- { url = "https://files.pythonhosted.org/packages/2b/c0/015b25184413d7ab0a410775fdb4a50fca20f5589b5dab1dbbfa3baad8ce/cffi-2.0.0-cp311-cp311-win32.whl", hash = "sha256:c649e3a33450ec82378822b3dad03cc228b8f5963c0c12fc3b1e0ab940f768a5", size = 172076 },
- { url = "https://files.pythonhosted.org/packages/ae/8f/dc5531155e7070361eb1b7e4c1a9d896d0cb21c49f807a6c03fd63fc877e/cffi-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5", size = 182820 },
- { url = "https://files.pythonhosted.org/packages/95/5c/1b493356429f9aecfd56bc171285a4c4ac8697f76e9bbbbb105e537853a1/cffi-2.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d", size = 177635 },
- { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271 },
- { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048 },
- { url = "https://files.pythonhosted.org/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529 },
- { url = "https://files.pythonhosted.org/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097 },
- { url = "https://files.pythonhosted.org/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983 },
- { url = "https://files.pythonhosted.org/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519 },
- { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572 },
- { url = "https://files.pythonhosted.org/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963 },
- { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361 },
- { url = "https://files.pythonhosted.org/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932 },
- { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557 },
- { url = "https://files.pythonhosted.org/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762 },
+sdist = { url = "https://files.pythonhosted.org/packages/57/5f/ff100cae70ebe9d8df1c01a00e510e45d9adb5c1fdda84791b199141de97/cffi-2.1.0.tar.gz", hash = "sha256:efc1cdd798b1aaf39b4610bba7aad28c9bea9b910f25c784ccf9ec1fa719d1f9", size = 531036 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d3/67/85c89a59ba36a671e79638f44d466749f08179266a57e4f2ffdf92174072/cffi-2.1.0-cp311-cp311-macosx_10_15_x86_64.whl", hash = "sha256:02cb7ff33ded4f1532476731f89ede53e2e488a8e6205515a82144246ffa7dcc", size = 183845 },
+ { url = "https://files.pythonhosted.org/packages/ea/dd/e3b0baa2d3d6a857ac72b7efbf18e32e487c9cdafcc13049ad765495b15e/cffi-2.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f5bce581e6b8c235e566a14768a943b172ada3ed73537bb0c0be1edee312d4e7", size = 184186 },
+ { url = "https://files.pythonhosted.org/packages/65/68/9f3ef890cf3c6ab97bd531c5677f67613d302165d16f8142b2811782a614/cffi-2.1.0-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:30b65779d598c370374fefabf138d456fd6f3216bfa7bedfab1ba82025b0cd93", size = 211892 },
+ { url = "https://files.pythonhosted.org/packages/22/d7/1a74539db16d8bfd839ff1515948948efbb162e574650fd3d846896eea95/cffi-2.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:88023dfe18799507b73f1dbb0d14326a17465de1bc9c9c7655c22845e9ddc3a2", size = 218793 },
+ { url = "https://files.pythonhosted.org/packages/ec/d1/9a5b7169499e8e8d8e636de70b97ac7c9447104d2ff1a2cd94790cea5162/cffi-2.1.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:0a96b74cda968eebbad56d973efe5098974f0a9fb323865bf99ea1fd24e3e64c", size = 205737 },
+ { url = "https://files.pythonhosted.org/packages/ba/b0/e131a9c41f10607926278453d9596163594fe1c4ebc46efe3b5e5b34eb84/cffi-2.1.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a5781494d4d400a3f47f8f1da94b324f6e6b440a53387774002890a2a2f4b50f", size = 204909 },
+ { url = "https://files.pythonhosted.org/packages/fb/d2/4398416cd699b35167947c6e22aca52c47e69ad5695073c9f1f2c52e04aa/cffi-2.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aa7a1b53a2a4452ada2d1b5dade9960b2522f1e61293a811a077439e39029565", size = 217883 },
+ { url = "https://files.pythonhosted.org/packages/a2/a5/d4fe77b589e5e82d43ebc809bf2e6474afe8e48e32ea050b9357645b6471/cffi-2.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9d8272c0e483b024e1b9ad029821470ed8ec65631dbd90217469da0e7cd89f1c", size = 221251 },
+ { url = "https://files.pythonhosted.org/packages/22/f0/a2fc43084c0433caf7f461bccc013e28f848d04ee1c5ed7fce71423cf4d9/cffi-2.1.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7762faa47e8ff7eb80bd261d9a7d8eea2d8baa69de5e95b70c1f338bbe712f02", size = 214250 },
+ { url = "https://files.pythonhosted.org/packages/04/8c/b925975448cf20634a9fbd5efceb807219db452653648d2897c0989cab2d/cffi-2.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:89095c1968b4ba8285840e131bf2891b09ae137fe2146905acae0354fbce1b5e", size = 219441 },
+ { url = "https://files.pythonhosted.org/packages/eb/da/5c4918a2d61d86fa927d716cb3d8e4626ef8dc8f605a599d32f33897f59a/cffi-2.1.0-cp311-cp311-win32.whl", hash = "sha256:64c753a0f87a256020004f37a1c8c02c480e725f910f0b2a0f3f07debd1b2479", size = 174496 },
+ { url = "https://files.pythonhosted.org/packages/f9/c8/6c2de1d55cf35ef8b92885d5ef280790f0fb9634d87ea1cc315176aecd61/cffi-2.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:4f26194e3d95e06501b942642855aed4f953d55e95d7d01b7c4483db3ecff458", size = 185113 },
+ { url = "https://files.pythonhosted.org/packages/9e/4e/e8d7cb5783f1841a3c8fb3a7735838d7484d08ec08c9f984b14cac1ac0e9/cffi-2.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:35aaea0c7ee0e58a5cd8c2fd1a48fdf7ece0d2699b7ecdda08194e9ce5dd9b3d", size = 179927 },
+ { url = "https://files.pythonhosted.org/packages/1e/85/990925db5df586ec90beb97529c853497e7f85ba0234830447faf41c3057/cffi-2.1.0-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:df2b82571a1b30f58a87bf4e5a9e78d2b1eff6c6ce8fd3aa3757221f93f0863f", size = 184829 },
+ { url = "https://files.pythonhosted.org/packages/4b/92/e7bb136ad6b5352603732cf907ef862ca103f20f2031c1735a46300c20c9/cffi-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:78474632761faa0fb96f30b1c928c84ebcf68713cbb80d15bab09dfe61640fde", size = 184728 },
+ { url = "https://files.pythonhosted.org/packages/c3/c0/d1ec30ffb370f748f2fb54425972bfef9871e0132e82fb589c46b6676049/cffi-2.1.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:5972433ad71a9e46516584ef60a0fda12d9dc459938d1539c3ddecf9bdc1368d", size = 214815 },
+ { url = "https://files.pythonhosted.org/packages/1b/dc/5620cf930688be01f2d673804291de757a934c90b946dbdc3d84130c2ea4/cffi-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b6422532152adf4e59b110cb2808cee7a033800952f5c036b4af047ee43199e7", size = 222429 },
+ { url = "https://files.pythonhosted.org/packages/4b/a4/77b53abbf7a1e0beb9637edbef2a94d15f9c822f591e85d439ffd91519a6/cffi-2.1.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:46b1c8db8f6122420f32d02fffb924c2fe9bc772d228c7c711748fff56aabb2b", size = 210315 },
+ { url = "https://files.pythonhosted.org/packages/58/0c/f528df19cc94b675087324d4760d9e6d5bfae97d6217aa4fac43de4f5fcc/cffi-2.1.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:d9fafc5aa2e2a39aaf7f8cc0c1f044a9b07fca12e558dca53a3cc5c654ad67a7", size = 208859 },
+ { url = "https://files.pythonhosted.org/packages/62/f2/c9522a81c32132799a1972c39f5c5f8b4c8b9f00488a23feaa6c06f07741/cffi-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1e9f50d192a3e525b15a75ab5114e442d83d657b7ec29182a991bc9a88fd3a66", size = 221844 },
+ { url = "https://files.pythonhosted.org/packages/6e/28/bd53988b9833e8f8ad539d26f4c07a6b3f6bcb1e9e02e7ca038250b3428d/cffi-2.1.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:98fff996e983a36d3aa2eca83af40c5821202e7e6f32d13ae94e3d2286f10cfe", size = 225287 },
+ { url = "https://files.pythonhosted.org/packages/79/99/0d0fd37f055224085f42bbb2c022d002e17dde4a97972822327b07d84101/cffi-2.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:379de10ce1ba048b1448599d1b37b24caee16309d1ac98d3982fc997f768700b", size = 223681 },
+ { url = "https://files.pythonhosted.org/packages/b0/80/c138990aa2a70b1a269f6e06348729836d733d6f970867943f61d367f8cc/cffi-2.1.0-cp312-cp312-win32.whl", hash = "sha256:9b8f0f26ca4e7513c534d351eca551947d053fac438f2a04ac96d882909b0d3a", size = 175269 },
+ { url = "https://files.pythonhosted.org/packages/a8/eb/f636456ff21a83fc13c032b58cc5dde061691546ac79efa284b2989b7982/cffi-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:c97f080ea627e2863524c5af3836e2270b5f5dfff1f104392b959f8df0c5d384", size = 185881 },
+ { url = "https://files.pythonhosted.org/packages/dd/2c/400ea43e721727dca8a65c4521390e9196757caba4a45643acb2b63271b8/cffi-2.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:6d194185eabd279f1c05ebe3504265ddfc5ad2b58d0714f7db9f01da592e9eb6", size = 180088 },
+ { url = "https://files.pythonhosted.org/packages/96/88/a996879e2eeccb815f6e3a5967b12a308257412acec882039d386bd2aa7b/cffi-2.1.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:10537b1df4967ca26d21e5072d7d54188354483b91dc75058968d3f0cf13fbda", size = 194331 },
+ { url = "https://files.pythonhosted.org/packages/58/85/7ae00d5c8dd6266f4e944c3db630f3c5c9a98b61d469c714d848b1d8138a/cffi-2.1.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:a95b05f9baf29b91171b3a8bd2020b028835243e7b0ff6bb23e2a3c228518b1b", size = 196966 },
+ { url = "https://files.pythonhosted.org/packages/8c/e9/45c3a76ad8d43ad9261f4c95436da61128d3ca545d72b9612c0ab5be0b1c/cffi-2.1.0-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:15faec4adfff450819f3aee0e2e02c812de6edb88203aa58807955db2003472a", size = 184795 },
+ { url = "https://files.pythonhosted.org/packages/84/4c/82f132cb4418ee6d953d982b19191e87e2a6372c8a4ce36e50b69d6ade4a/cffi-2.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:716ff8ec22f20b4d988b12884086bcef0fc99737043e503f7a3935a6be99b1ea", size = 184746 },
+ { url = "https://files.pythonhosted.org/packages/a0/1c/4ed5a0e5bdca6cbc275556de3328dd1b76fd0c11cc13c88fe66d1d8715f2/cffi-2.1.0-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:63960549e4f8dc41e31accb97b975abaecfc44c03e396c093a6436763c2ea7db", size = 214747 },
+ { url = "https://files.pythonhosted.org/packages/3a/a6/e879bb68cc23a2bc9ba8f4b7d8019f0c2694bad2ab6c4a3701d429439f58/cffi-2.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ff067a8d8d880e7809e4ac88eb009bb848870115317b306666502ccad30b147f", size = 222392 },
+ { url = "https://files.pythonhosted.org/packages/88/f6/01890cfd63c08f8eb96a8319b0443690197d240a8bd6346048cf7bde9190/cffi-2.1.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:3b926723c13eba9f81d2ef3820d63aeceec3b2d4639906047bf675cb8a7a500d", size = 210285 },
+ { url = "https://files.pythonhosted.org/packages/a6/cf/2b684132056f438567b61e19d690dd31cd0921ace051e0a458be6074369e/cffi-2.1.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:47ff3a8bfd8cb9da1af7524b965127095055654c177fcfc7578debcb015eecd0", size = 208801 },
+ { url = "https://files.pythonhosted.org/packages/6f/08/f2e7d62c460faae0926f2d6e423694aa409ced3bc1fe2927a0a6e5f05416/cffi-2.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:799416bae98336e400981ff6e532d67d5c709cfb30afb79865a1315f94b0e224", size = 221808 },
+ { url = "https://files.pythonhosted.org/packages/38/37/04f54b8e63a02f3d908332c9effbf8c366167c6f733ed8a3d4f79b7e2a1e/cffi-2.1.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:961be50688f7fba2fa65f63712d3b9b341a22311f5253460ce933f52f0de1c8c", size = 225241 },
+ { url = "https://files.pythonhosted.org/packages/a9/d6/c72eecca433cd3e681c65ed313ab4835d9d4a379704d0f628a6a05f51c2e/cffi-2.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bf5c6cf48238b0eb4c086978c492ad1cbc22373fc5b2d7353b3a598ce6db887a", size = 223588 },
+ { url = "https://files.pythonhosted.org/packages/c6/4b/e706f67279140f92939da3475ad610df18bfd52d50f14953a8e5fede71d5/cffi-2.1.0-cp313-cp313-win32.whl", hash = "sha256:db3eb7d46527159a878ec3460e9d40615bc25ba337d477db681aea6e4f05c5d2", size = 175248 },
+ { url = "https://files.pythonhosted.org/packages/5a/47/59eb7975cb0e4ef0afa764ea945b29a5bb4537a9f771cb7d6c8a5dd74c95/cffi-2.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:8e74a6135550c4748af665b1b1118b6aab33b1fc6a16f9aff630af107c3b4512", size = 185717 },
+ { url = "https://files.pythonhosted.org/packages/5a/af/34fee85c48f8d94efc8597bc09470c9dd274c145f1c12e0fbc6ab6d38d74/cffi-2.1.0-cp313-cp313-win_arm64.whl", hash = "sha256:2282cd5e38aa8accd03e99d1256af8411c84cdbee6a89d841b563fdbd1f3e50f", size = 180114 },
+ { url = "https://files.pythonhosted.org/packages/d8/f0/81478e482afa03f6d18dc8f2afb5edc45b3080853b634b5ed91961be0998/cffi-2.1.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d2117334c3af3bdcb9a88522b844a2bdb5efdc4f71c6c822df55486ae1c3347a", size = 194142 },
+ { url = "https://files.pythonhosted.org/packages/7d/95/8de304305cd9204974b0ca051b86d307cafca13aa575a0ef1b44d92c0d8c/cffi-2.1.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:702c436735fbe99d59ada02a1f65cfc0d31c0ee8b7290912f8fbc5cd1e4b16c3", size = 196819 },
+ { url = "https://files.pythonhosted.org/packages/20/71/7c8372d30e42415602ed9f268f7cfd66f1b855fed881ecd168bcb45dbc0b/cffi-2.1.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:1ff3456eab0d889592d1936d6125bbfbc7ae4d3354a700f8bd80450a66445d4d", size = 184965 },
+ { url = "https://files.pythonhosted.org/packages/d6/5c/584e626835f0375c928176c04137c96927165cb8733cdb3150ec04e5ee5e/cffi-2.1.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c4165821e131d6d4ca444347c2b694e2311bcfa3fe5a861cc72968f28867beac", size = 184952 },
+ { url = "https://files.pythonhosted.org/packages/2e/d2/065fcae1c73979fac8e054462478d0ff8a29c40cdc2ed7ea5676a061df53/cffi-2.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:276f20fffd7b396e12516ba8edf9509210ac248cbbc5acbc39cd512f9f59ebe6", size = 222353 },
+ { url = "https://files.pythonhosted.org/packages/ed/a5/e8bbb1ce5b3ac2f53ad6a10bde44318a5a8d99d4f4a000d44a6e39aeb3e4/cffi-2.1.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7d5980a3433d4b71a5e120f9dd551403d7824e31e2e67124fe2769c404c06913", size = 210051 },
+ { url = "https://files.pythonhosted.org/packages/28/ed/c127d3ac36e899c965e3361357c3befacd6578c03f40125183e41c3b219e/cffi-2.1.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6ca4919c6e4f89aa99c42510b42cf54596892c00b3f9077f6bdd1505e24b9c8d", size = 208630 },
+ { url = "https://files.pythonhosted.org/packages/cc/d7/97d3136f81db489ec8d1d67748c110d6c994268fd7528014aa9f2b085e4e/cffi-2.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d53d10f7da99ae46f7373b9150393e9c5eab9b224909982b43832668de4779f5", size = 221593 },
+ { url = "https://files.pythonhosted.org/packages/d3/27/93195977168ee63aed233a1a0993a2178798654d1f4bddcdd321d6fd3b21/cffi-2.1.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c351efb95e832a853a29361675f33a7ce53de1a109cd73fd47af0712213aa4ce", size = 225146 },
+ { url = "https://files.pythonhosted.org/packages/b3/c1/6dbd291ee2ae5a50a034aa057207081f545923bbf15dad4511e985aafff5/cffi-2.1.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:dbf7c7a88e2bac086f06d14577332760bdeecc42bdec8ac4077f6260557d9326", size = 223240 },
+ { url = "https://files.pythonhosted.org/packages/0f/6f/ade5ce9863a57992a6ea3d0d10d7e29b8749fc127204b3d493d667b2815f/cffi-2.1.0-cp314-cp314-win32.whl", hash = "sha256:1854b724d00f6654c742097d5387569021be12d3a0f770eae1df8f8acfcc6acd", size = 177723 },
+ { url = "https://files.pythonhosted.org/packages/41/de/92b9eeed4ae4a21d6fd9b2a2c8505cbed573299902ea73981cc13f7ff62c/cffi-2.1.0-cp314-cp314-win_amd64.whl", hash = "sha256:1b96bfe2c4bd825681b7d311ad6d9b7280a091f43e8f63da5729638083cd3bfb", size = 187937 },
+ { url = "https://files.pythonhosted.org/packages/2e/1a/cc6ae6c2913a03aab8898eee57963cf1035b8df5872ed8b9115fcc7e2be8/cffi-2.1.0-cp314-cp314-win_arm64.whl", hash = "sha256:7d28dff1db6764108bc30788d85d61c876beff416d9a49cb9dd7c5a9f34f5804", size = 183001 },
+ { url = "https://files.pythonhosted.org/packages/14/f0/134c00ce0779ec86dea2aa1aac69339c2741a8045072676763512363a2ea/cffi-2.1.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7ea6b3e2c4250ff1de21c630fe72d0f63eb95c2c32ffbf64a358cf4a8836d714", size = 188538 },
+ { url = "https://files.pythonhosted.org/packages/50/d8/3b86aba791cb610d24e8a3e1b2cd529e71fa15096b04e4d4e360049d4a4c/cffi-2.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6af371f3767faeffc6ac1ef57cdfd25844403e9d3f476c5537caee499de96376", size = 188230 },
+ { url = "https://files.pythonhosted.org/packages/14/d0/117dcd9209255ad8571fbc8c92ef32593a1d294dcec91ddc4e4db50606f2/cffi-2.1.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb4e8997a49aa2c08a3e43c9045d224448b8941d88e7ac163c7d383e560cbf98", size = 223899 },
+ { url = "https://files.pythonhosted.org/packages/b6/3d/f20f8b886b254e3ad10e15cd4186d3aed49f3e6a35ab37aab9f8f25f7c03/cffi-2.1.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:bf01d8c84cbea96b944c73b22182e6c7c432b3475632b8111dbfdc95ddad6e13", size = 211652 },
+ { url = "https://files.pythonhosted.org/packages/28/3b/fad54de07260b93ddeef4b96d0131d57ea900675df1d410ae1deee52d7a6/cffi-2.1.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:33eb1ad83ebe8f313e0df035c406227d55a79456704a863fad9842136af5ad7d", size = 210755 },
+ { url = "https://files.pythonhosted.org/packages/cc/82/3d5c705acb7abbba9bbd7d79b8e62e0f25b6120eb7ae6ac49f1b721722fe/cffi-2.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ac0f1a2d0cfa7eea3f2aaf006ab6e70e8feeb16b75d65b7e5939982ca2f11056", size = 223933 },
+ { url = "https://files.pythonhosted.org/packages/6c/d0/47e338384ab6b1004241002fa616301020cea4fc95f283506565d252f276/cffi-2.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c16914df9fb7f500e440e6875fa23ff5e0b31db01fa9c06af98d59a91f0dc2e4", size = 226749 },
+ { url = "https://files.pythonhosted.org/packages/70/25/65bd5b58ea4bfdfc15cde02cb5365f89ef8ab8b2adfb8fe5c4bd4233382f/cffi-2.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5ecbd0499275d57506d397eebe1981cee87b47fcd9ef5c22cab7ed7644a39a94", size = 225703 },
+ { url = "https://files.pythonhosted.org/packages/dc/78/aa01ac599a8a4322533d45a1f9bc93b338276d2d59dabbe7c6d92a775c81/cffi-2.1.0-cp314-cp314t-win32.whl", hash = "sha256:7d034dcffa09e9a46c93fa3a3be402096cb5354ac6e41ab8e5cc9cd8b642ad76", size = 182857 },
+ { url = "https://files.pythonhosted.org/packages/b9/26/d00496b22de4d4228f32dde94ad996f350c8aad676d63bcca0743c8dea4d/cffi-2.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:0582a58f3051372229ca8e7f5f589f9e5632678208d8636fea3676711fdf7fe5", size = 194065 },
+ { url = "https://files.pythonhosted.org/packages/d5/dd/0c7dbf815a579ff005008a2d815a55d6bb047c349eef536d9dc53d3f0a8d/cffi-2.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:510aeeeac94811b138077451da1fb18b308a5feab47dd2b603af55804155e1c8", size = 186404 },
+ { url = "https://files.pythonhosted.org/packages/55/c7/8c8c50cb11c6750051daf12164098a9a6f027ac4356967fd4d800a07f242/cffi-2.1.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:2e9dabb9abcb7ad15938c7196ad5c1718a4e6d33cc79b4c0209bdb64c4a54a5c", size = 194121 },
+ { url = "https://files.pythonhosted.org/packages/99/e2/67680bf19a6b60d2bb7ff83baefa2a4c3d2d7dc0f3277034b802e1fc504c/cffi-2.1.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:37f525a7e7e50c017fdebe58b787be310ad59357ae43a053943a6e1a6c526001", size = 196820 },
+ { url = "https://files.pythonhosted.org/packages/ed/da/4bbe583a3b3a5c8c60892124fe17f3fa3656523faf0d3484eae90f091853/cffi-2.1.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:95f2954c2c9473d892eca6e0409f3568b37ab62a8eedb122461f73cc273476e3", size = 184936 },
+ { url = "https://files.pythonhosted.org/packages/e5/4b/1f4c36ab273980d7aa75bb126ea4f8971f24a96108acad3a0a084028c57b/cffi-2.1.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:cdf2448aab5f661c9315308ec8b93f4e8a1a67a3c733f8631067a2b67d5913dc", size = 185045 },
+ { url = "https://files.pythonhosted.org/packages/ef/c3/ad299dc38f3583f8d916b299f028af418a9ec98bc695fcbebeae7420691c/cffi-2.1.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:90bec57cf82089383bd06a605b3eb8daebf7e5a668520beaf6e327a83a947699", size = 222342 },
+ { url = "https://files.pythonhosted.org/packages/eb/d8/df4543cc087245044ed02ef3ad8e0a26619d0075ac7a77a12dc81177851b/cffi-2.1.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6274dcb2d15cef48daa73ed1be5a40d501d74dccd0cd6db364776d12cb6ba022", size = 210073 },
+ { url = "https://files.pythonhosted.org/packages/2c/0e/fac738d73728c6cea2a88a2883dca54892496cbba88a1dc1f2909cb8a6f5/cffi-2.1.0-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:2b71d409cccee78310ab5dec549aed052aaea483346e282c7b02362596e01bb0", size = 208551 },
+ { url = "https://files.pythonhosted.org/packages/e6/3f/0b04a700dd64f465c93020253a793a82c9b4dff9961f48facd0df945d9b8/cffi-2.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7d3538f9c0e50670f4deb93dbb696576e60590369cae2faf7de681e597a8a1f1", size = 221649 },
+ { url = "https://files.pythonhosted.org/packages/5d/7c/b7379a5704c79eda57ce075869ba70a0368d1c850f803b3c0d078d39dcaf/cffi-2.1.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:8f9ec95b8a043d3dfbc74d9abc6f7baf524dd27a8dc160b0a32ff9cdab650c28", size = 225203 },
+ { url = "https://files.pythonhosted.org/packages/5a/02/d5e6c43ea85c41bda2a184a3418f195fe7cf602967a8d2b94e085b83deef/cffi-2.1.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:af5e2915d41fe6c961694d7bfdc8562942638200f3ce2765dfb8b745cf997629", size = 223263 },
+ { url = "https://files.pythonhosted.org/packages/2c/d8/772b8259bf75749adffb1c546828978381fb516f60cf701f6c83daf60c85/cffi-2.1.0-cp315-cp315-win32.whl", hash = "sha256:0a42c688d19fca6e095a53c6a6e2295a5b050a8b289f109adab02a9e61a25de6", size = 177696 },
+ { url = "https://files.pythonhosted.org/packages/2f/dd/afa2191fc6d57fedd26e5844a2fe2fcc0bbfa00961bbaa5a41e4921e7cca/cffi-2.1.0-cp315-cp315-win_amd64.whl", hash = "sha256:bccbbb5ee76a61f9d99b5bf3846a51d7fca4b6a732fe46f89295610edaf41853", size = 187914 },
+ { url = "https://files.pythonhosted.org/packages/05/ef/6cd4f8c671517162379dc79cfae5aea9106bc38abb89628d5c16adf6a838/cffi-2.1.0-cp315-cp315-win_arm64.whl", hash = "sha256:8d35c139744adb3e727cd51b1a18324bbe44b8bd41bf8322bca4d41289f48eda", size = 183004 },
+ { url = "https://files.pythonhosted.org/packages/11/b6/12fc55092817a5faa26fb8c40c7f9d662e11a46ee248c137aafc42517d92/cffi-2.1.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f9912624a0c0b834b7520d7769b3644453aabc0a7e1c839da7359f050750e9bc", size = 188378 },
+ { url = "https://files.pythonhosted.org/packages/8d/2e/cdac88979f295fde5daa69622c7d2111e56e7ceb94f211357fbe452339e4/cffi-2.1.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:df92f2aba50eb4d96718b68ef76f2e57a57b54f2fa62333496d16c6d585a85ca", size = 188319 },
+ { url = "https://files.pythonhosted.org/packages/e0/27/1d0b408497e41a74795af122d7b603c418c5fed0171450f899afd04e594f/cffi-2.1.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0520e1f4c35f44e209cbbb421b67eec42e6a157f59444dfb6058874ff3610e5d", size = 223904 },
+ { url = "https://files.pythonhosted.org/packages/8b/31/e115c985105dd7ffb32444505f18ceb874bb42d992af05d5dced7ecf1980/cffi-2.1.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:3681e031db29958a7502f5c0c9d6bbc4c36cb20f7b104086fa642d1799631ff8", size = 211554 },
+ { url = "https://files.pythonhosted.org/packages/5a/67/9e6e09409336d9e515c58367e7cfcf4f89df06ad25252675595a58eb59d5/cffi-2.1.0-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:762f99479dcb369f60ab9017ad4ab97a36a1dd7c1ee5a3b15db0f4b8659120cd", size = 210795 },
+ { url = "https://files.pythonhosted.org/packages/19/e5/d3cc82a4a0be7902af279c04181ad038449c096734464a5ae1de3e1401bd/cffi-2.1.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0611e7ebf90573a535ebdc33ae9da222d037853983e13359f580fab781ca017f", size = 223843 },
+ { url = "https://files.pythonhosted.org/packages/b9/65/b434abc97ce7cecc2c640fde160507c0ecc7e21544b483ba3325d2e2ea17/cffi-2.1.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:86cf8755a791f72c85dc287128cc62d4f24d392e3f1e15837245623f4a33cccc", size = 226773 },
+ { url = "https://files.pythonhosted.org/packages/b5/9f/d4dc66ca651eb1145a133314cda721abf13cfac3d28c4a0402263ae6ad75/cffi-2.1.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:ba00f661f8ba35d075c937174e27c2c421cec3942fd2e0ea3e66996757c0fdd9", size = 225719 },
+ { url = "https://files.pythonhosted.org/packages/68/5a/e536c528bc8057496c360c0978559a2dc45653f89dd6151078aa7d8fca1a/cffi-2.1.0-cp315-cp315t-win32.whl", hash = "sha256:cb96698e3c7413d906ce83f8ffd245ec1bd94707541f299d0ce4d6b0193e982b", size = 182760 },
+ { url = "https://files.pythonhosted.org/packages/d3/0b/0ffe8b82d3875bced5fa1e7986a7a46b748262a40ab7f60b475eb9fb1bb3/cffi-2.1.0-cp315-cp315t-win_amd64.whl", hash = "sha256:f146d154428a2523f9cc7936c02353c2459b8f6cf07d3cd1ee1c0a611109c5d5", size = 193769 },
+ { url = "https://files.pythonhosted.org/packages/a0/17/1073b53b68c9b5ca6914adf5f8bf55aacc2d3be102418c90700160ea8605/cffi-2.1.0-cp315-cp315t-win_arm64.whl", hash = "sha256:cbb7640ce37159548d2147b5b8c241f962143d4c71231431820783f4dc78f210", size = 186405 },
]
[[package]]
@@ -277,6 +469,54 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/86/eb/890922a8b03a568ca2f336c36585a4713c55d4d67bf0f0c78924be6315ca/charset_normalizer-3.4.7-cp312-cp312-win32.whl", hash = "sha256:2257141f39fe65a3fdf38aeccae4b953e5f3b3324f4ff0daf9f15b8518666a2c", size = 148460 },
{ url = "https://files.pythonhosted.org/packages/35/d9/0e7dffa06c5ab081f75b1b786f0aefc88365825dfcd0ac544bdb7b2b6853/charset_normalizer-3.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6", size = 159330 },
{ url = "https://files.pythonhosted.org/packages/9e/5d/481bcc2a7c88ea6b0878c299547843b2521ccbc40980cb406267088bc701/charset_normalizer-3.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:56be790f86bfb2c98fb742ce566dfb4816e5a83384616ab59c49e0604d49c51d", size = 147828 },
+ { url = "https://files.pythonhosted.org/packages/c1/3b/66777e39d3ae1ddc77ee606be4ec6d8cbd4c801f65e5a1b6f2b11b8346dd/charset_normalizer-3.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f496c9c3cc02230093d8330875c4c3cdfc3b73612a5fd921c65d39cbcef08063", size = 309627 },
+ { url = "https://files.pythonhosted.org/packages/2e/4e/b7f84e617b4854ade48a1b7915c8ccfadeba444d2a18c291f696e37f0d3b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ea948db76d31190bf08bd371623927ee1339d5f2a0b4b1b4a4439a65298703c", size = 207008 },
+ { url = "https://files.pythonhosted.org/packages/c4/bb/ec73c0257c9e11b268f018f068f5d00aa0ef8c8b09f7753ebd5f2880e248/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a277ab8928b9f299723bc1a2dabb1265911b1a76341f90a510368ca44ad9ab66", size = 228303 },
+ { url = "https://files.pythonhosted.org/packages/85/fb/32d1f5033484494619f701e719429c69b766bfc4dbc61aa9e9c8c166528b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3bec022aec2c514d9cf199522a802bd007cd588ab17ab2525f20f9c34d067c18", size = 224282 },
+ { url = "https://files.pythonhosted.org/packages/fa/07/330e3a0dda4c404d6da83b327270906e9654a24f6c546dc886a0eb0ffb23/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e044c39e41b92c845bc815e5ae4230804e8e7bc29e399b0437d64222d92809dd", size = 215595 },
+ { url = "https://files.pythonhosted.org/packages/e3/7c/fc890655786e423f02556e0216d4b8c6bcb6bdfa890160dc66bf52dee468/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:f495a1652cf3fbab2eb0639776dad966c2fb874d79d87ca07f9d5f059b8bd215", size = 201986 },
+ { url = "https://files.pythonhosted.org/packages/d8/97/bfb18b3db2aed3b90cf54dc292ad79fdd5ad65c4eae454099475cbeadd0d/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e712b419df8ba5e42b226c510472b37bd57b38e897d3eca5e8cfd410a29fa859", size = 211711 },
+ { url = "https://files.pythonhosted.org/packages/6f/a5/a581c13798546a7fd557c82614a5c65a13df2157e9ad6373166d2a3e645d/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7804338df6fcc08105c7745f1502ba68d900f45fd770d5bdd5288ddccb8a42d8", size = 210036 },
+ { url = "https://files.pythonhosted.org/packages/8c/bf/b3ab5bcb478e4193d517644b0fb2bf5497fbceeaa7a1bc0f4d5b50953861/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:481551899c856c704d58119b5025793fa6730adda3571971af568f66d2424bb5", size = 202998 },
+ { url = "https://files.pythonhosted.org/packages/e7/4e/23efd79b65d314fa320ec6017b4b5834d5c12a58ba4610aa353af2e2f577/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f59099f9b66f0d7145115e6f80dd8b1d847176df89b234a5a6b3f00437aa0832", size = 230056 },
+ { url = "https://files.pythonhosted.org/packages/b9/9f/1e1941bc3f0e01df116e68dc37a55c4d249df5e6fa77f008841aef68264f/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f59ad4c0e8f6bba240a9bb85504faa1ab438237199d4cce5f622761507b8f6a6", size = 211537 },
+ { url = "https://files.pythonhosted.org/packages/80/0f/088cbb3020d44428964a6c97fe1edfb1b9550396bf6d278330281e8b709c/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:3dedcc22d73ec993f42055eff4fcfed9318d1eeb9a6606c55892a26964964e48", size = 226176 },
+ { url = "https://files.pythonhosted.org/packages/6a/9f/130394f9bbe06f4f63e22641d32fc9b202b7e251c9aef4db044324dac493/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:64f02c6841d7d83f832cd97ccf8eb8a906d06eb95d5276069175c696b024b60a", size = 217723 },
+ { url = "https://files.pythonhosted.org/packages/73/55/c469897448a06e49f8fa03f6caae97074fde823f432a98f979cc42b90e69/charset_normalizer-3.4.7-cp313-cp313-win32.whl", hash = "sha256:4042d5c8f957e15221d423ba781e85d553722fc4113f523f2feb7b188cc34c5e", size = 148085 },
+ { url = "https://files.pythonhosted.org/packages/5d/78/1b74c5bbb3f99b77a1715c91b3e0b5bdb6fe302d95ace4f5b1bec37b0167/charset_normalizer-3.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:3946fa46a0cf3e4c8cb1cc52f56bb536310d34f25f01ca9b6c16afa767dab110", size = 158819 },
+ { url = "https://files.pythonhosted.org/packages/68/86/46bd42279d323deb8687c4a5a811fd548cb7d1de10cf6535d099877a9a9f/charset_normalizer-3.4.7-cp313-cp313-win_arm64.whl", hash = "sha256:80d04837f55fc81da168b98de4f4b797ef007fc8a79ab71c6ec9bc4dd662b15b", size = 147915 },
+ { url = "https://files.pythonhosted.org/packages/97/c8/c67cb8c70e19ef1960b97b22ed2a1567711de46c4ddf19799923adc836c2/charset_normalizer-3.4.7-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c36c333c39be2dbca264d7803333c896ab8fa7d4d6f0ab7edb7dfd7aea6e98c0", size = 309234 },
+ { url = "https://files.pythonhosted.org/packages/99/85/c091fdee33f20de70d6c8b522743b6f831a2f1cd3ff86de4c6a827c48a76/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c2aed2e5e41f24ea8ef1590b8e848a79b56f3a5564a65ceec43c9d692dc7d8a", size = 208042 },
+ { url = "https://files.pythonhosted.org/packages/87/1c/ab2ce611b984d2fd5d86a5a8a19c1ae26acac6bad967da4967562c75114d/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:54523e136b8948060c0fa0bc7b1b50c32c186f2fceee897a495406bb6e311d2b", size = 228706 },
+ { url = "https://files.pythonhosted.org/packages/a8/29/2b1d2cb00bf085f59d29eb773ce58ec2d325430f8c216804a0a5cd83cbca/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:715479b9a2802ecac752a3b0efa2b0b60285cf962ee38414211abdfccc233b41", size = 224727 },
+ { url = "https://files.pythonhosted.org/packages/47/5c/032c2d5a07fe4d4855fea851209cca2b6f03ebeb6d4e3afdb3358386a684/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bd6c2a1c7573c64738d716488d2cdd3c00e340e4835707d8fdb8dc1a66ef164e", size = 215882 },
+ { url = "https://files.pythonhosted.org/packages/2c/c2/356065d5a8b78ed04499cae5f339f091946a6a74f91e03476c33f0ab7100/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:c45e9440fb78f8ddabcf714b68f936737a121355bf59f3907f4e17721b9d1aae", size = 200860 },
+ { url = "https://files.pythonhosted.org/packages/0c/cd/a32a84217ced5039f53b29f460962abb2d4420def55afabe45b1c3c7483d/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3534e7dcbdcf757da6b85a0bbf5b6868786d5982dd959b065e65481644817a18", size = 211564 },
+ { url = "https://files.pythonhosted.org/packages/44/86/58e6f13ce26cc3b8f4a36b94a0f22ae2f00a72534520f4ae6857c4b81f89/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e8ac484bf18ce6975760921bb6148041faa8fef0547200386ea0b52b5d27bf7b", size = 211276 },
+ { url = "https://files.pythonhosted.org/packages/8f/fe/d17c32dc72e17e155e06883efa84514ca375f8a528ba2546bee73fc4df81/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a5fe03b42827c13cdccd08e6c0247b6a6d4b5e3cdc53fd1749f5896adcdc2356", size = 201238 },
+ { url = "https://files.pythonhosted.org/packages/6a/29/f33daa50b06525a237451cdb6c69da366c381a3dadcd833fa5676bc468b3/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:2d6eb928e13016cea4f1f21d1e10c1cebd5a421bc57ddf5b1142ae3f86824fab", size = 230189 },
+ { url = "https://files.pythonhosted.org/packages/b6/6e/52c84015394a6a0bdcd435210a7e944c5f94ea1055f5cc5d56c5fe368e7b/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e74327fb75de8986940def6e8dee4f127cc9752bee7355bb323cc5b2659b6d46", size = 211352 },
+ { url = "https://files.pythonhosted.org/packages/8c/d7/4353be581b373033fb9198bf1da3cf8f09c1082561e8e922aa7b39bf9fe8/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d6038d37043bced98a66e68d3aa2b6a35505dc01328cd65217cefe82f25def44", size = 227024 },
+ { url = "https://files.pythonhosted.org/packages/30/45/99d18aa925bd1740098ccd3060e238e21115fffbfdcb8f3ece837d0ace6c/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7579e913a5339fb8fa133f6bbcfd8e6749696206cf05acdbdca71a1b436d8e72", size = 217869 },
+ { url = "https://files.pythonhosted.org/packages/5c/05/5ee478aa53f4bb7996482153d4bfe1b89e0f087f0ab6b294fcf92d595873/charset_normalizer-3.4.7-cp314-cp314-win32.whl", hash = "sha256:5b77459df20e08151cd6f8b9ef8ef1f961ef73d85c21a555c7eed5b79410ec10", size = 148541 },
+ { url = "https://files.pythonhosted.org/packages/48/77/72dcb0921b2ce86420b2d79d454c7022bf5be40202a2a07906b9f2a35c97/charset_normalizer-3.4.7-cp314-cp314-win_amd64.whl", hash = "sha256:92a0a01ead5e668468e952e4238cccd7c537364eb7d851ab144ab6627dbbe12f", size = 159634 },
+ { url = "https://files.pythonhosted.org/packages/c6/a3/c2369911cd72f02386e4e340770f6e158c7980267da16af8f668217abaa0/charset_normalizer-3.4.7-cp314-cp314-win_arm64.whl", hash = "sha256:67f6279d125ca0046a7fd386d01b311c6363844deac3e5b069b514ba3e63c246", size = 148384 },
+ { url = "https://files.pythonhosted.org/packages/94/09/7e8a7f73d24dba1f0035fbbf014d2c36828fc1bf9c88f84093e57d315935/charset_normalizer-3.4.7-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:effc3f449787117233702311a1b7d8f59cba9ced946ba727bdc329ec69028e24", size = 330133 },
+ { url = "https://files.pythonhosted.org/packages/8d/da/96975ddb11f8e977f706f45cddd8540fd8242f71ecdb5d18a80723dcf62c/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbccdc05410c9ee21bbf16a35f4c1d16123dcdeb8a1d38f33654fa21d0234f79", size = 216257 },
+ { url = "https://files.pythonhosted.org/packages/e5/e8/1d63bf8ef2d388e95c64b2098f45f84758f6d102a087552da1485912637b/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:733784b6d6def852c814bce5f318d25da2ee65dd4839a0718641c696e09a2960", size = 234851 },
+ { url = "https://files.pythonhosted.org/packages/9b/40/e5ff04233e70da2681fa43969ad6f66ca5611d7e669be0246c4c7aaf6dc8/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a89c23ef8d2c6b27fd200a42aa4ac72786e7c60d40efdc76e6011260b6e949c4", size = 233393 },
+ { url = "https://files.pythonhosted.org/packages/be/c1/06c6c49d5a5450f76899992f1ee40b41d076aee9279b49cf9974d2f313d5/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c114670c45346afedc0d947faf3c7f701051d2518b943679c8ff88befe14f8e", size = 223251 },
+ { url = "https://files.pythonhosted.org/packages/2b/9f/f2ff16fb050946169e3e1f82134d107e5d4ae72647ec8a1b1446c148480f/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:a180c5e59792af262bf263b21a3c49353f25945d8d9f70628e73de370d55e1e1", size = 206609 },
+ { url = "https://files.pythonhosted.org/packages/69/d5/a527c0cd8d64d2eab7459784fb4169a0ac76e5a6fc5237337982fd61347e/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3c9a494bc5ec77d43cea229c4f6db1e4d8fe7e1bbffa8b6f0f0032430ff8ab44", size = 220014 },
+ { url = "https://files.pythonhosted.org/packages/7e/80/8a7b8104a3e203074dc9aa2c613d4b726c0e136bad1cc734594b02867972/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8d828b6667a32a728a1ad1d93957cdf37489c57b97ae6c4de2860fa749b8fc1e", size = 218979 },
+ { url = "https://files.pythonhosted.org/packages/02/9a/b759b503d507f375b2b5c153e4d2ee0a75aa215b7f2489cf314f4541f2c0/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cf1493cd8607bec4d8a7b9b004e699fcf8f9103a9284cc94962cb73d20f9d4a3", size = 209238 },
+ { url = "https://files.pythonhosted.org/packages/c2/4e/0f3f5d47b86bdb79256e7290b26ac847a2832d9a4033f7eb2cd4bcf4bb5b/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:0c96c3b819b5c3e9e165495db84d41914d6894d55181d2d108cc1a69bfc9cce0", size = 236110 },
+ { url = "https://files.pythonhosted.org/packages/96/23/bce28734eb3ed2c91dcf93abeb8a5cf393a7b2749725030bb630e554fdd8/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:752a45dc4a6934060b3b0dab47e04edc3326575f82be64bc4fc293914566503e", size = 219824 },
+ { url = "https://files.pythonhosted.org/packages/2c/6f/6e897c6984cc4d41af319b077f2f600fc8214eb2fe2d6bcb79141b882400/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:8778f0c7a52e56f75d12dae53ae320fae900a8b9b4164b981b9c5ce059cd1fcb", size = 233103 },
+ { url = "https://files.pythonhosted.org/packages/76/22/ef7bd0fe480a0ae9b656189ec00744b60933f68b4f42a7bb06589f6f576a/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ce3412fbe1e31eb81ea42f4169ed94861c56e643189e1e75f0041f3fe7020abe", size = 225194 },
+ { url = "https://files.pythonhosted.org/packages/c5/a7/0e0ab3e0b5bc1219bd80a6a0d4d72ca74d9250cb2382b7c699c147e06017/charset_normalizer-3.4.7-cp314-cp314t-win32.whl", hash = "sha256:c03a41a8784091e67a39648f70c5f97b5b6a37f216896d44d2cdcb82615339a0", size = 159827 },
+ { url = "https://files.pythonhosted.org/packages/7a/1d/29d32e0fb40864b1f878c7f5a0b343ae676c6e2b271a2d55cc3a152391da/charset_normalizer-3.4.7-cp314-cp314t-win_amd64.whl", hash = "sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c", size = 174168 },
+ { url = "https://files.pythonhosted.org/packages/de/32/d92444ad05c7a6e41fb2036749777c163baf7a0301a040cb672d6b2b1ae9/charset_normalizer-3.4.7-cp314-cp314t-win_arm64.whl", hash = "sha256:c35abb8bfff0185efac5878da64c45dafd2b37fb0383add1be155a763c1f083d", size = 153018 },
{ url = "https://files.pythonhosted.org/packages/db/8f/61959034484a4a7c527811f4721e75d02d653a35afb0b6054474d8185d4c/charset_normalizer-3.4.7-py3-none-any.whl", hash = "sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d", size = 61958 },
]
@@ -303,47 +543,58 @@ wheels = [
[[package]]
name = "cryptography"
-version = "48.0.0"
+version = "49.0.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "cffi", marker = "platform_python_implementation != 'PyPy'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/9f/a9/db8f313fdcd85d767d4973515e1db101f9c71f95fced83233de224673757/cryptography-48.0.0.tar.gz", hash = "sha256:5c3932f4436d1cccb036cb0eaef46e6e2db91035166f1ad6505c3c9d5a635920", size = 832984 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/df/3d/01f6dd9190170a5a241e0e98c2d04be3664a9e6f5b9b872cde63aff1c3dd/cryptography-48.0.0-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:0c558d2cdffd8f4bbb30fc7134c74d2ca9a476f830bb053074498fbc86f41ed6", size = 8001587 },
- { url = "https://files.pythonhosted.org/packages/b2/6e/e90527eef33f309beb811cf7c982c3aeffcce8e3edb178baa4ca3ae4a6fa/cryptography-48.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f5333311663ea94f75dd408665686aaf426563556bb5283554a3539177e03b8c", size = 4690433 },
- { url = "https://files.pythonhosted.org/packages/90/04/673510ed51ddff56575f306cf1617d80411ee76831ccd3097599140efdfe/cryptography-48.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7995ef305d7165c3f11ae07f2517e5a4f1d5c18da1376a0a9ed496336b69e5f3", size = 4710620 },
- { url = "https://files.pythonhosted.org/packages/14/d5/e9c4ef932c8d800490c34d8bd589d64a31d5890e27ec9e9ad532be893294/cryptography-48.0.0-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:40ba1f85eaa6959837b1d51c9767e230e14612eea4ef110ee8854ada22da1bf5", size = 4696283 },
- { url = "https://files.pythonhosted.org/packages/0c/29/174b9dfb60b12d59ecfc6cfa04bc88c21b42a54f01b8aae09bb6e51e4c7f/cryptography-48.0.0-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:369a6348999f94bbd53435c894377b20ab95f25a9065c283570e70150d8abc3c", size = 5296573 },
- { url = "https://files.pythonhosted.org/packages/95/38/0d29a6fd7d0d1373f0c0c88a04ba20e359b257753ac497564cd660fc1d55/cryptography-48.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:a0e692c683f4df67815a2d258b324e66f4738bd7a96a218c826dce4f4bd05d8f", size = 4743677 },
- { url = "https://files.pythonhosted.org/packages/30/be/eef653013d5c63b6a490529e0316f9ac14a37602965d4903efed1399f32b/cryptography-48.0.0-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:18349bbc56f4743c8b12dc32e2bccb2cf83ee8b69a3bba74ef8ae857e26b3d25", size = 4330808 },
- { url = "https://files.pythonhosted.org/packages/84/9e/500463e87abb7a0a0f9f256ec21123ecde0a7b5541a15e840ea54551fd81/cryptography-48.0.0-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:7e8eac43dfca5c4cccc6dad9a80504436fca53bb9bc3100a2386d730fbe6b602", size = 4695941 },
- { url = "https://files.pythonhosted.org/packages/e3/dc/7303087450c2ec9e7fbb750e17c2abfbc658f23cbd0e54009509b7cc4091/cryptography-48.0.0-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:9ccdac7d40688ecb5a3b4a604b8a88c8002e3442d6c60aead1db2a89a041560c", size = 5252579 },
- { url = "https://files.pythonhosted.org/packages/d0/c0/7101d3b7215edcdc90c45da544961fd8ed2d6448f77577460fa75a8443f7/cryptography-48.0.0-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:bd72e68b06bb1e96913f97dd4901119bc17f39d4586a5adf2d3e47bc2b9d58b5", size = 4743326 },
- { url = "https://files.pythonhosted.org/packages/ac/d8/5b833bad13016f562ab9d063d68199a4bd121d18458e439515601d3357ec/cryptography-48.0.0-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:59baa2cb386c4f0b9905bd6eb4c2a79a69a128408fd31d32ca4d7102d4156321", size = 4826672 },
- { url = "https://files.pythonhosted.org/packages/98/e1/7074eb8bf3c135558c73fc2bcf0f5633f912e6fb87e868a55c454080ef09/cryptography-48.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9249e3cd978541d665967ac2cb2787fd6a62bddf1e75b3e347a594d7dacf4f74", size = 4972574 },
- { url = "https://files.pythonhosted.org/packages/04/70/e5a1b41d325f797f39427aa44ef8baf0be500065ab6d8e10369d850d4a4f/cryptography-48.0.0-cp311-abi3-win32.whl", hash = "sha256:9c459db21422be75e2809370b829a87eb37f74cd785fc4aa9ea1e5f43b47cda4", size = 3294868 },
- { url = "https://files.pythonhosted.org/packages/f4/ac/8ac51b4a5fc5932eb7ee5c517ba7dc8cd834f0048962b6b352f00f41ebf9/cryptography-48.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:5b012212e08b8dd5edc78ef54da83dd9892fd9105323b3993eff6bea65dc21d7", size = 3817107 },
- { url = "https://files.pythonhosted.org/packages/f2/63/61d4a4e1c6b6bab6ce1e213cd36a24c415d90e76d78c5eb8577c5541d2e8/cryptography-48.0.0-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:58d00498e8933e4a194f3076aee1b4a97dfec1a6da444535755822fe5d8b0b86", size = 7983482 },
- { url = "https://files.pythonhosted.org/packages/d5/ac/f5b5995b87770c693e2596559ffafe195b4033a57f14a82268a2842953f3/cryptography-48.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:614d0949f4790582d2cc25553abd09dd723025f0c0e7c67376a1d77196743d6e", size = 4683266 },
- { url = "https://files.pythonhosted.org/packages/ec/c6/8b14f67e18338fbc4adb76f66c001f5c3610b3e2d1837f268f47a347dbbb/cryptography-48.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7ce4bfae76319a532a2dc68f82cc32f5676ee792a983187dac07183690e5c66f", size = 4696228 },
- { url = "https://files.pythonhosted.org/packages/ea/73/f808fbae9514bd91b47875b003f13e284c8c6bdfd904b7944e803937eec1/cryptography-48.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:2eb992bbd4661238c5a397594c83f5b4dc2bc5b848c365c8f991b6780efcc5c7", size = 4689097 },
- { url = "https://files.pythonhosted.org/packages/93/01/d86632d7d28db8ae83221995752eeb6639ffb374c2d22955648cf8d52797/cryptography-48.0.0-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:22a5cb272895dce158b2cacdfdc3debd299019659f42947dbdac6f32d68fe832", size = 5283582 },
- { url = "https://files.pythonhosted.org/packages/02/e1/50edc7a50334807cc4791fc4a0ce7468b4a1416d9138eab358bfc9a3d70b/cryptography-48.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:2b4d59804e8408e2fea7d1fbaf218e5ec984325221db76e6a241a9abd6cdd95c", size = 4730479 },
- { url = "https://files.pythonhosted.org/packages/6f/af/99a582b1b1641ff5911ac559beb45097cf79efd4ead4657f578ef1af2d47/cryptography-48.0.0-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:984a20b0f62a26f48a3396c72e4bc34c66e356d356bf370053066b3b6d54634a", size = 4326481 },
- { url = "https://files.pythonhosted.org/packages/90/ee/89aa26a06ef0a7d7611788ffd571a7c50e368cc6a4d5eef8b4884e866edb/cryptography-48.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:5a5ed8fde7a1d09376ca0b40e68cd59c69fe23b1f9768bd5824f54681626032a", size = 4688713 },
- { url = "https://files.pythonhosted.org/packages/70/ba/bcb1b0bb7a33d4c7c0c4d4c7874b4a62ae4f56113a5f4baefa362dfb1f0f/cryptography-48.0.0-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:8cd666227ef7af430aa5914a9910e0ddd703e75f039cef0825cd0da71b6b711a", size = 5238165 },
- { url = "https://files.pythonhosted.org/packages/c9/70/ca4003b1ce5ca3dc3186ada51908c8a9b9ff7d5cab83cc0d43ee14ec144f/cryptography-48.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:9071196d81abc88b3516ac8cdfad32e2b66dd4a5393a8e68a961e9161ddc6239", size = 4729947 },
- { url = "https://files.pythonhosted.org/packages/44/a0/4ec7cf774207905aef1a8d11c3750d5a1db805eb380ee4e16df317870128/cryptography-48.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1e2d54c8be6152856a36f0882ab231e70f8ec7f14e93cf87db8a2ed056bf160c", size = 4822059 },
- { url = "https://files.pythonhosted.org/packages/1e/75/a2e55f99c16fcac7b5d6c1eb19ad8e00799854d6be5ca845f9259eae1681/cryptography-48.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a5da777e32ffed6f85a7b2b3f7c5cbc88c146bfcd0a1d7baf5fcc6c52ee35dd4", size = 4960575 },
- { url = "https://files.pythonhosted.org/packages/b8/23/6e6f32143ab5d8b36ca848a502c4bcd477ae75b9e1677e3530d669062578/cryptography-48.0.0-cp39-abi3-win32.whl", hash = "sha256:77a2ccbbe917f6710e05ba9adaa25fb5075620bf3ea6fb751997875aff4ae4bd", size = 3279117 },
- { url = "https://files.pythonhosted.org/packages/9d/9a/0fea98a70cf1749d41d738836f6349d97945f7c89433a259a6c2642eefeb/cryptography-48.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:16cd65b9330583e4619939b3a3843eec1e6e789744bb01e7c7e2e62e33c239c8", size = 3792100 },
- { url = "https://files.pythonhosted.org/packages/be/d2/024b5e06be9d44cb021fb0e1a03d34d63989cf56a0fe62f3dfbab695b9b4/cryptography-48.0.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:84cf79f0dc8b36ac5da873481716e87aef31fcfa0444f9e1d8b4b2cece142855", size = 3950391 },
- { url = "https://files.pythonhosted.org/packages/bc/17/3861e17c56fa0fd37491a14a8673fdb77c57fc5693cafe745ea8b06dba75/cryptography-48.0.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:fdfef35d751d510fcef5252703621574364fec16418c4a1e5e1055248401054b", size = 4637126 },
- { url = "https://files.pythonhosted.org/packages/f0/0a/7e226dbff530f21480727eb764973a7bff2b912f8e15cd4f129e71b56d1d/cryptography-48.0.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:0890f502ddf7d9c6426129c3f49f5c0a39278ed7cd6322c8755ffca6ee675a13", size = 4667270 },
- { url = "https://files.pythonhosted.org/packages/3b/f2/5a72274ca9f1b2a8b44a662ee0bf1b435909deb473d6f97bcd035bcdbc71/cryptography-48.0.0-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:ecde28a596bead48b0cfd2a1b4416c3d43074c2d785e3a398d7ec1fc4d0f7fbb", size = 4636797 },
- { url = "https://files.pythonhosted.org/packages/b4/e1/48cedb2fe63626e91ded1edad159e2a4fb8b6906c4425eb7749673077ce7/cryptography-48.0.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:4defde8685ae324a9eb9d818717e93b4638ef67070ac9bc15b8ca85f63048355", size = 4666800 },
- { url = "https://files.pythonhosted.org/packages/a2/ca/7e8365deec19afb2b2c7be7c1c0aa8f99633b54e90c570999acda93260fc/cryptography-48.0.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:db63bf618e5dea46c07de12e900fe1cdd2541e6dc9dbae772a70b7d4d4765f6a", size = 3739536 },
+sdist = { url = "https://files.pythonhosted.org/packages/1f/99/d1c90d6041656cc6ee229dc99cd67fd0cd5aec3c5f7d72fffc27cc750054/cryptography-49.0.0.tar.gz", hash = "sha256:f89660a348f4f78a92366240a61404e337586ef7f5909a2fef59ca88ef505493", size = 854345 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9b/22/adf66990e63584a68dfb50c24f48a125c07b1699899381c8151e63ed458c/cryptography-49.0.0-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:966fe0e9c67490071f14c0d2b1cb2dfb3023c5ce39457343931415f08382f2db", size = 4032100 },
+ { url = "https://files.pythonhosted.org/packages/09/41/3797cfaf69cae04a13ee78ebd83f0678d9c02b4779d21ce24445326f1a69/cryptography-49.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:36d1709f992593689b45bda411498d62c6e365f2ca00b84657d4dadd24de16db", size = 4692978 },
+ { url = "https://files.pythonhosted.org/packages/e6/8b/43011f7ebe515a8aa20d61f290a326cd890c2e738e16e59eaff8d9c3a412/cryptography-49.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0e959b578856a3924bc0cbb710fc12c387b9412a951389f3ca61704a9e25f325", size = 4716422 },
+ { url = "https://files.pythonhosted.org/packages/4a/91/01ce7303a4579e6d3a6abef01bd322848e9ea7a219adcabc5048b9033571/cryptography-49.0.0-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:53ecee2e23f7169b6117e99fc8a944e5e50f79e69758a83b52a00cb98ab2b2d2", size = 4700503 },
+ { url = "https://files.pythonhosted.org/packages/62/99/a2c95cf8293f07491e9e27c20cc4dcd18176d944e674679adeb1d0173fd6/cryptography-49.0.0-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:2eda353d8a27bcbcaa4cbed18994a74ab4d19a2ca897db188ea269ab9b71419b", size = 5309779 },
+ { url = "https://files.pythonhosted.org/packages/20/2c/0622f20ff02b2ef32558733443805dc82fd4c275be01b2d19d14676f3a1b/cryptography-49.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:2afe9051da7ae7bd5905da5a949280c7d2bb75682e188f650a9d0f2756b834c6", size = 4749683 },
+ { url = "https://files.pythonhosted.org/packages/a3/5b/c5246635d5fd3b64e0d45ae10e99fd32fe9676a79915ccfe5a61ba9af1a5/cryptography-49.0.0-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:0b82e28ee398a386f0807bba7884d30f25218855690f45115831bcce5d90822c", size = 4337874 },
+ { url = "https://files.pythonhosted.org/packages/6d/88/05563c7fe2e914e87d1a536d06fe83e66b4e1d95cb593e05aea375531da8/cryptography-49.0.0-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:ccac2bfebc306b862133e3bb71f3f6ee8bb525240089b2d952e4144b3a6d5da7", size = 4700283 },
+ { url = "https://files.pythonhosted.org/packages/c4/b6/d7696e4e890d6ae1469935164c9e5215c557671cb78d6e3f458ccceaa632/cryptography-49.0.0-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:d0527ce944105f257f605a827d6ebead966c752038b6e8656abb9c5edee6fc68", size = 5265844 },
+ { url = "https://files.pythonhosted.org/packages/a9/3c/f3ad17eecc1a57b0ba236dc01f90e783c51f4a2f35f64777cc4f47a184b2/cryptography-49.0.0-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:cbc77da8c523d5abd028635ba850a6966fcee2c82e2bf65a41d1d8afe0f98be9", size = 4749290 },
+ { url = "https://files.pythonhosted.org/packages/4f/01/339573cf1023163a400b0b5d16f6d507de413b9f60be6fd1b77feeaf6737/cryptography-49.0.0-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:b87e65d263b3e5d3bb92a57e2a6638e2f31110fa7aa890c7b2dbba42248d0a3f", size = 4834612 },
+ { url = "https://files.pythonhosted.org/packages/71/fd/577302e213a1be9468f92d1afef66fcf1ef83d516819d9992ca547f592bd/cryptography-49.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:66ec79c3904820572d7e987abdf304281f141d37ad9a489b8e97066e7b9b6459", size = 4980804 },
+ { url = "https://files.pythonhosted.org/packages/1f/09/f42b1d190c5ba75f72062a387f8030d1d75f6ab035788f1d9c4b01de6525/cryptography-49.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:e5dfc1e64de5677cec922ffa8da89c546d0415bf6efdf081842e5d44c84e1f0e", size = 3810026 },
+ { url = "https://files.pythonhosted.org/packages/ec/9e/db72b3ae7fc9cfad53e630e56c6ae83b9b6ff0bf3718ffb8012d20b3aabf/cryptography-49.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:73a205dce83953d131a4aa1e0fd917a2fd1c5b1eef251e9d7152efefcbf5caf7", size = 4013892 },
+ { url = "https://files.pythonhosted.org/packages/86/12/c48a424f38db03027be9f7ed5c7dc5de9933dbee992865f98b13727a009d/cryptography-49.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:196ecd6a36e4e9aa10270393bb98d8df88fccee0bf1e5128b91ae4eb4375896d", size = 4678835 },
+ { url = "https://files.pythonhosted.org/packages/68/28/8a3ad4653662c93fc44dc4e5d8fd374c25c42e07b34bbfbadf49cf57a5a8/cryptography-49.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7abcee80084cda3f7691f3eb1ce480d8df49cec637b429aa35986c1de71738aa", size = 4697239 },
+ { url = "https://files.pythonhosted.org/packages/a8/b2/2193fc74f81aee4f9b62733133b73b5176718932ed8f2e4b03fa040480a6/cryptography-49.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:4ae387c9cb68ea569ca17e490d66d8142b81c3cc814bf179974b7d146e490bbb", size = 4685593 },
+ { url = "https://files.pythonhosted.org/packages/47/f1/1d3eaa243bfc5de4a187b22aa8c048b3e4980bfbe830ac46e6bac2e66947/cryptography-49.0.0-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:f37d847238971164fdbc68ade6f6574aecc9c0af714190e2083429ff68f4ce9d", size = 5289961 },
+ { url = "https://files.pythonhosted.org/packages/58/39/2d51306721330c486495853eda1c567880ff036de15a14c4b74f399934af/cryptography-49.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:c2bc30226390d60ea19d9f82b19db005fe0452154a23c1c410c12ea801e43561", size = 4731145 },
+ { url = "https://files.pythonhosted.org/packages/17/50/983e838c7fd0d87fd8c969bcdd328edaf5f756e38df5281637424c155873/cryptography-49.0.0-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:07cab27cc7b7e0fd28e5e26bb9eeedde5c135c868b46de4a27845abe94af6122", size = 4321719 },
+ { url = "https://files.pythonhosted.org/packages/a7/f5/8f571d7e27c55bce9f76f026143bcb1e040a4233149ecca0bea5fa5dd5f7/cryptography-49.0.0-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:b20133d204d2bb56ba047642199603876c872026ca53e79c35b83772ab2cc505", size = 4685209 },
+ { url = "https://files.pythonhosted.org/packages/e7/84/0e27016a6fc5a0886f797018b26aa42f40c09a82332bff77822a451deaaa/cryptography-49.0.0-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:b970c6da94d5bb18629db453d14f2a1300f6bf59b61e9b82377931ef95504866", size = 5246285 },
+ { url = "https://files.pythonhosted.org/packages/11/2d/5e1fb307cb5931881516b464c98774b3f2c36b5d4bb9a2830253cf553cad/cryptography-49.0.0-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:d8ecde755e2e91bf773fc94e8c9d730cd7f2007004cb492263a794ec3899a1c8", size = 4730441 },
+ { url = "https://files.pythonhosted.org/packages/e4/c0/bff5a02ee731d207d6a1ed51732549d8c53d2bc8da1d10ec6f2844201d68/cryptography-49.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e3fb64c420688e5319ae25113a354015abbd8dffbfbc41781a1ea66fc7622ac3", size = 4815869 },
+ { url = "https://files.pythonhosted.org/packages/b9/26/814681d14248d95d73d5c3eea0c39a94eb8302df966f670a2c60de90974b/cryptography-49.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:32703d93296f5c1f4b53349ad3a250c2cae0fdecd3a3dd5d47e616d8d616af27", size = 4960948 },
+ { url = "https://files.pythonhosted.org/packages/4c/fe/93ecac273d3738939d023612ad12cca9a3740a5345d69fda04134c43fd96/cryptography-49.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:33cd0565932807baddb67b96dbee92f2c374b5c89dee09fd74079aeb8c8dba61", size = 3799153 },
+ { url = "https://files.pythonhosted.org/packages/19/2a/5bb823f5bedcf80718cea7fbc95ec5515cca3769633c4b01a32be7f30e7c/cryptography-49.0.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ec5e529fb80935c94fe7b729f9972b50e351a0e6b50aa294fd5cabb109fcc29a", size = 4025947 },
+ { url = "https://files.pythonhosted.org/packages/3d/df/40577043ca124e17012f408ddddaeb213b856336ac82ddb3bc915f39e29f/cryptography-49.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f78ff2c9ed8dc2d036b0f4d640e22522213d047c1b14e61205a7e55c80a494d4", size = 4692429 },
+ { url = "https://files.pythonhosted.org/packages/2c/99/2d13299eb3dd27b02dcfaafcc91d6b5cb3329f7cbd6d8f51921acd566c1a/cryptography-49.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:35b151772baff2c74cba7fa290ceaff4c3b11c0c881eb93eb5dbc05a7cfbba18", size = 4700968 },
+ { url = "https://files.pythonhosted.org/packages/a5/4d/9c0cd02f95e2602dd5e563da149ee0830abef3537be8b34dc56281ebe27a/cryptography-49.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:0f21641cf4b30fca7aee061ced0ec7ad7b073518088b7c9969a297c0ae796c69", size = 4697758 },
+ { url = "https://files.pythonhosted.org/packages/24/01/186c825898477d77e2324d5360fefe622ff1d8d1963ec0554e2cada8ec77/cryptography-49.0.0-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:9e82dcc8e56052715fb18b2429e3bca4823b1629136a2084fc45a9a5cecb9b64", size = 5298863 },
+ { url = "https://files.pythonhosted.org/packages/b8/7b/62cbbab75d0659865bf0273790031544a0b16c8072d258f9428dcd8190dc/cryptography-49.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:6f2debedf9ca60cf1d5bd466475638af5130f89965605cd818484d19987d3a21", size = 4735983 },
+ { url = "https://files.pythonhosted.org/packages/6c/72/3e798c064bc39e471008075d0f9bc9daf77a80879c092e4a8e170c585ed4/cryptography-49.0.0-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:8c25ceb16df5b9435f3f6a9829204985b0e0cbee3b48aacd432c7d2c850b44d9", size = 4334173 },
+ { url = "https://files.pythonhosted.org/packages/f0/ee/6fca21d1ac73e06f8bef71940abfd4d2f6472b4bca284d770f32bd4086f6/cryptography-49.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:28d8b15e6275f12c8a207dc309dfa957903c927d08d0cc937ee3f63f200693cc", size = 4697298 },
+ { url = "https://files.pythonhosted.org/packages/67/d0/a5fcd3515f0bae49a7b6d0413cc1bdccdcc1fc0047037a0d480642cdc5d6/cryptography-49.0.0-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:6fc361c34fb6aac015ce19435876635e5c6d21db31998b0920f675f131e043b8", size = 5254338 },
+ { url = "https://files.pythonhosted.org/packages/a0/84/84fe36f19caf857d61cb7fc9c63035a47ffabd84ea12d1d393148efa3615/cryptography-49.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:2400ef9c9e2299a25614eb1dea3db54a69b1349efd043bfac9c67630d136df36", size = 4735650 },
+ { url = "https://files.pythonhosted.org/packages/6c/a0/db537264e234f7273a73ec020873d6d6b39dfd8a53db78b550ca8320440e/cryptography-49.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:67e1d20ad9ef3a563c59ef22e7a8a0b8210bd26604369ea4a30a7c66aefe504e", size = 4834820 },
+ { url = "https://files.pythonhosted.org/packages/93/77/8df9eb486495979bccecd1062e2eaf435250e84437040295b57d09048b0b/cryptography-49.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:42b0684e0e40cf26122427802486f6d93aea593612603a94fbf260c7eb1e9c1b", size = 4967968 },
+ { url = "https://files.pythonhosted.org/packages/c2/e6/f60198ea8d9dfa15fff9ed4ca02ce362f6eadd9ba757dcc50634c4257b63/cryptography-49.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:026ac7423e6fa66872d3bf889be5974507da3944f866f704fa200eadacd00001", size = 3785547 },
+ { url = "https://files.pythonhosted.org/packages/63/d3/4a83af35d65e3fad632c926fad684c193ea4398569ccb0bbbc7fe8f5dc9a/cryptography-49.0.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:fc1e275c2f1d97b1a6450b8b0ea3ebfa6e087a611c2b26cb2404d48588abab7b", size = 3993685 },
+ { url = "https://files.pythonhosted.org/packages/d6/a7/f9dac0ab7f80368c56993a7bf638ef9935f825c91902798481fac0898138/cryptography-49.0.0-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:c83782480a4a9da4d0feb51950131ba32e12e70813848b3343f6e18c28a66838", size = 4676239 },
+ { url = "https://files.pythonhosted.org/packages/d7/70/2ba3769dd0ae167e2f33dfa9592d45db6ff9a61d62ca1a5b3d1bdd09068f/cryptography-49.0.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:b39efa323140595abd3ecca8529d321ae50f55f3aa3ba9cc81ea56a6011953d5", size = 4715584 },
+ { url = "https://files.pythonhosted.org/packages/94/64/2923570ac1c0bd3a737aa366ac3abbbbde273042308b8cde95e2364a6e6a/cryptography-49.0.0-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:b47db11c2c3525083296069b98ac5221907455e989ae0c2e3008bde851921615", size = 4675885 },
+ { url = "https://files.pythonhosted.org/packages/ab/f8/614dc7e051418cfe53d55173c1e24c6b0085e89996fe90508c2fdf769aef/cryptography-49.0.0-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:084ef1af862eb07ec46d25f68689f2102a9fc0e05ce7b80f14f5fe51e4eef0f6", size = 4715449 },
+ { url = "https://files.pythonhosted.org/packages/aa/50/a9caea39ad19c431c1a3f8a31114df65b260cdfe67786b6c7e7c040c4c44/cryptography-49.0.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:be9fcb48a55f023493482827d4f459bd263cc20efde64f204b97c123201850c6", size = 3783731 },
]
[[package]]
@@ -366,6 +617,21 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/ec/ce/9f29f0b0bb4280c2ebafb3ddb6cdff8ef1c2e185ee020c0ec0ecba7dc934/ctranslate2-4.7.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d00a62544db4a3caaa58a3c50d39b25613c042b430053ae32384d94eb1d40990", size = 16859601 },
{ url = "https://files.pythonhosted.org/packages/b3/86/428d270fd72117d19fb48ed3211aa8a3c8bd7577373252962cb634e0fd01/ctranslate2-4.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:722b93a89647974cbd182b4c7f87fefc7794fff7fc9cbd0303b6447905cc157e", size = 38995338 },
{ url = "https://files.pythonhosted.org/packages/4a/f4/d23dbfb9c62cb642c114a30f05d753ba61d6ffbfd8a3a4012fe85a073bcb/ctranslate2-4.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:d0f734dc3757118094663bdaaf713f5090c55c1927fb330a76bb8b84173940e8", size = 18844949 },
+ { url = "https://files.pythonhosted.org/packages/34/6d/eb49ba05db286b4ea9d5d3fcf5f5cd0a9a5e218d46349618d5041001e303/ctranslate2-4.7.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:6b2abf2929756e3ec6246057b56df379995661560a2d776af05f9d97f63afcf5", size = 1256960 },
+ { url = "https://files.pythonhosted.org/packages/45/5a/b9cce7b00d89fc6fdeaf27587aa52d0597b465058563e93ff50910553bdd/ctranslate2-4.7.1-cp313-cp313-macosx_11_0_x86_64.whl", hash = "sha256:857ef3959d6b1c40dc227c715a36db33db2d097164996d6c75b6db8e30828f52", size = 11918645 },
+ { url = "https://files.pythonhosted.org/packages/ea/03/c0db0a5276599fb44ceafa2f2cb1afd5628808ec406fe036060a39693680/ctranslate2-4.7.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:393a9e7e989034660526a2c0e8bb65d1924f43d9a5c77d336494a353d16ba2a4", size = 16860452 },
+ { url = "https://files.pythonhosted.org/packages/0b/03/4e3728ce29d192ee75ed9a2d8589bf4f19edafe5bed3845187de51b179a3/ctranslate2-4.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a3d0682f2b9082e31c73d75b45f16cde77355ab76d7e8356a24c3cb2480a6d3", size = 38995174 },
+ { url = "https://files.pythonhosted.org/packages/9b/15/6e8e87c6a201d69803a79ac2e29623ce7c2cc9cd1df9db99810cca714373/ctranslate2-4.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:baa6d2b10f57933d8c11791e8522659217918722d07bbef2389a443801125fe7", size = 18844953 },
+ { url = "https://files.pythonhosted.org/packages/fd/73/8a6b7ba18cad0c8667ee221ddab8c361cb70926440e5b8dd0e81924c28ac/ctranslate2-4.7.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d5dfb076566551f4959dfd0706f94c923c1931def9b7bb249a2caa6ab23353a0", size = 1257560 },
+ { url = "https://files.pythonhosted.org/packages/70/c2/8817ca5d6c1b175b23a12f7c8b91484652f8718a76353317e5919b038733/ctranslate2-4.7.1-cp314-cp314-macosx_11_0_x86_64.whl", hash = "sha256:eecdb4ed934b384f16e8c01b185b082d6b5ffc7dcbb0b6a6eb48cd465282d957", size = 11918995 },
+ { url = "https://files.pythonhosted.org/packages/ac/33/b8eb3acc67bbca4d9872fc9ff94db78e6167a7ba5cd932f585d1560effc7/ctranslate2-4.7.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1aa6796edcc3c8d163c9e39c429d50076d266d68980fed9d1b2443f617c67e9e", size = 16844162 },
+ { url = "https://files.pythonhosted.org/packages/80/11/6474893b07121057035069a0a483fe1cd8c47878213f282afb4c0c6fc275/ctranslate2-4.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24c0482c51726430fb83724451921c0e539d769c8618dcfd46b1645e7f75960d", size = 38966728 },
+ { url = "https://files.pythonhosted.org/packages/94/88/8fc7ff435c5e783e5fad9586d839d463e023988dbbbad949d442092d01f1/ctranslate2-4.7.1-cp314-cp314-win_amd64.whl", hash = "sha256:76db234c0446a23d20dd8eeaa7a789cc87d1d05283f48bf3152bae9fa0a69844", size = 19100788 },
+ { url = "https://files.pythonhosted.org/packages/d9/b3/f100013a76a98d64e67c721bd4559ea4eeb54be3e4ac45f4d801769899af/ctranslate2-4.7.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:058c9db2277dc8b19ecc86c7937628f69022f341844b9081d2ab642965d88fc6", size = 1280179 },
+ { url = "https://files.pythonhosted.org/packages/39/22/b77f748015667a5e2ca54a5ee080d7016fce34314f0e8cf904784549305a/ctranslate2-4.7.1-cp314-cp314t-macosx_11_0_x86_64.whl", hash = "sha256:5abcf885062c7f28a3f9a46be8d185795e8706ac6230ad086cae0bc82917df31", size = 11940166 },
+ { url = "https://files.pythonhosted.org/packages/7d/78/6d7fd52f646c6ba3343f71277a9bbef33734632949d1651231948b0f0359/ctranslate2-4.7.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9950acb04a002d5c60ae90a1ddceead1a803af1f00cadd9b1a1dc76e1f017481", size = 16849483 },
+ { url = "https://files.pythonhosted.org/packages/40/27/58769ff15ac31b44205bd7a8aeca80cf7357c657ea5df1b94ce0f5c83771/ctranslate2-4.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1dcc734e92e3f1ceeaa0c42bbfd009352857be179ecd4a7ed6cccc086a202f58", size = 38949393 },
+ { url = "https://files.pythonhosted.org/packages/0e/5c/9fa0ad6462b62efd0fb5ac1100eee47bc96ecc198ff4e237c731e5473616/ctranslate2-4.7.1-cp314-cp314t-win_amd64.whl", hash = "sha256:dfb7657bdb7b8211c8f9ecb6f3b70bc0db0e0384d01a8b1808cb66fe7199df59", size = 19123451 },
]
[[package]]
@@ -475,6 +741,28 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/be/9c/909e8c95b494e8e140e8be6165d5fc3f61fdc46198c1554df7b3e1764471/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8", size = 450894 },
{ url = "https://files.pythonhosted.org/packages/90/eb/d29d17521976e673c55ef7f210d4cdd72091a9ec6755d0fd4710d9b3c871/fastuuid-0.14.0-cp312-cp312-win32.whl", hash = "sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176", size = 154374 },
{ url = "https://files.pythonhosted.org/packages/cc/fc/f5c799a6ea6d877faec0472d0b27c079b47c86b1cdc577720a5386483b36/fastuuid-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397", size = 156550 },
+ { url = "https://files.pythonhosted.org/packages/a5/83/ae12dd39b9a39b55d7f90abb8971f1a5f3c321fd72d5aa83f90dc67fe9ed/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77a09cb7427e7af74c594e409f7731a0cf887221de2f698e1ca0ebf0f3139021", size = 510720 },
+ { url = "https://files.pythonhosted.org/packages/53/b0/a4b03ff5d00f563cc7546b933c28cb3f2a07344b2aec5834e874f7d44143/fastuuid-0.14.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:9bd57289daf7b153bfa3e8013446aa144ce5e8c825e9e366d455155ede5ea2dc", size = 262024 },
+ { url = "https://files.pythonhosted.org/packages/9c/6d/64aee0a0f6a58eeabadd582e55d0d7d70258ffdd01d093b30c53d668303b/fastuuid-0.14.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ac60fc860cdf3c3f327374db87ab8e064c86566ca8c49d2e30df15eda1b0c2d5", size = 251679 },
+ { url = "https://files.pythonhosted.org/packages/60/f5/a7e9cda8369e4f7919d36552db9b2ae21db7915083bc6336f1b0082c8b2e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab32f74bd56565b186f036e33129da77db8be09178cd2f5206a5d4035fb2a23f", size = 277862 },
+ { url = "https://files.pythonhosted.org/packages/f0/d3/8ce11827c783affffd5bd4d6378b28eb6cc6d2ddf41474006b8d62e7448e/fastuuid-0.14.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33e678459cf4addaedd9936bbb038e35b3f6b2061330fd8f2f6a1d80414c0f87", size = 278278 },
+ { url = "https://files.pythonhosted.org/packages/a2/51/680fb6352d0bbade04036da46264a8001f74b7484e2fd1f4da9e3db1c666/fastuuid-0.14.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1e3cc56742f76cd25ecb98e4b82a25f978ccffba02e4bdce8aba857b6d85d87b", size = 301788 },
+ { url = "https://files.pythonhosted.org/packages/fa/7c/2014b5785bd8ebdab04ec857635ebd84d5ee4950186a577db9eff0fb8ff6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cb9a030f609194b679e1660f7e32733b7a0f332d519c5d5a6a0a580991290022", size = 459819 },
+ { url = "https://files.pythonhosted.org/packages/01/d2/524d4ceeba9160e7a9bc2ea3e8f4ccf1ad78f3bde34090ca0c51f09a5e91/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:09098762aad4f8da3a888eb9ae01c84430c907a297b97166b8abc07b640f2995", size = 478546 },
+ { url = "https://files.pythonhosted.org/packages/bc/17/354d04951ce114bf4afc78e27a18cfbd6ee319ab1829c2d5fb5e94063ac6/fastuuid-0.14.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:1383fff584fa249b16329a059c68ad45d030d5a4b70fb7c73a08d98fd53bcdab", size = 450921 },
+ { url = "https://files.pythonhosted.org/packages/fb/be/d7be8670151d16d88f15bb121c5b66cdb5ea6a0c2a362d0dcf30276ade53/fastuuid-0.14.0-cp313-cp313-win32.whl", hash = "sha256:a0809f8cc5731c066c909047f9a314d5f536c871a7a22e815cc4967c110ac9ad", size = 154559 },
+ { url = "https://files.pythonhosted.org/packages/22/1d/5573ef3624ceb7abf4a46073d3554e37191c868abc3aecd5289a72f9810a/fastuuid-0.14.0-cp313-cp313-win_amd64.whl", hash = "sha256:0df14e92e7ad3276327631c9e7cec09e32572ce82089c55cb1bb8df71cf394ed", size = 156539 },
+ { url = "https://files.pythonhosted.org/packages/16/c9/8c7660d1fe3862e3f8acabd9be7fc9ad71eb270f1c65cce9a2b7a31329ab/fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:b852a870a61cfc26c884af205d502881a2e59cc07076b60ab4a951cc0c94d1ad", size = 510600 },
+ { url = "https://files.pythonhosted.org/packages/4c/f4/a989c82f9a90d0ad995aa957b3e572ebef163c5299823b4027986f133dfb/fastuuid-0.14.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c7502d6f54cd08024c3ea9b3514e2d6f190feb2f46e6dbcd3747882264bb5f7b", size = 262069 },
+ { url = "https://files.pythonhosted.org/packages/da/6c/a1a24f73574ac995482b1326cf7ab41301af0fabaa3e37eeb6b3df00e6e2/fastuuid-0.14.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1ca61b592120cf314cfd66e662a5b54a578c5a15b26305e1b8b618a6f22df714", size = 251543 },
+ { url = "https://files.pythonhosted.org/packages/1a/20/2a9b59185ba7a6c7b37808431477c2d739fcbdabbf63e00243e37bd6bf49/fastuuid-0.14.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa75b6657ec129d0abded3bec745e6f7ab642e6dba3a5272a68247e85f5f316f", size = 277798 },
+ { url = "https://files.pythonhosted.org/packages/ef/33/4105ca574f6ded0af6a797d39add041bcfb468a1255fbbe82fcb6f592da2/fastuuid-0.14.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a8a0dfea3972200f72d4c7df02c8ac70bad1bb4c58d7e0ec1e6f341679073a7f", size = 278283 },
+ { url = "https://files.pythonhosted.org/packages/fe/8c/fca59f8e21c4deb013f574eae05723737ddb1d2937ce87cb2a5d20992dc3/fastuuid-0.14.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1bf539a7a95f35b419f9ad105d5a8a35036df35fdafae48fb2fd2e5f318f0d75", size = 301627 },
+ { url = "https://files.pythonhosted.org/packages/cb/e2/f78c271b909c034d429218f2798ca4e89eeda7983f4257d7865976ddbb6c/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:9a133bf9cc78fdbd1179cb58a59ad0100aa32d8675508150f3658814aeefeaa4", size = 459778 },
+ { url = "https://files.pythonhosted.org/packages/1e/f0/5ff209d865897667a2ff3e7a572267a9ced8f7313919f6d6043aed8b1caa/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_i686.whl", hash = "sha256:f54d5b36c56a2d5e1a31e73b950b28a0d83eb0c37b91d10408875a5a29494bad", size = 478605 },
+ { url = "https://files.pythonhosted.org/packages/e0/c8/2ce1c78f983a2c4987ea865d9516dbdfb141a120fd3abb977ae6f02ba7ca/fastuuid-0.14.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:ec27778c6ca3393ef662e2762dba8af13f4ec1aaa32d08d77f71f2a70ae9feb8", size = 450837 },
+ { url = "https://files.pythonhosted.org/packages/df/60/dad662ec9a33b4a5fe44f60699258da64172c39bd041da2994422cdc40fe/fastuuid-0.14.0-cp314-cp314-win32.whl", hash = "sha256:e23fc6a83f112de4be0cc1990e5b127c27663ae43f866353166f87df58e73d06", size = 154532 },
+ { url = "https://files.pythonhosted.org/packages/1f/f6/da4db31001e854025ffd26bc9ba0740a9cbba2c3259695f7c5834908b336/fastuuid-0.14.0-cp314-cp314-win_amd64.whl", hash = "sha256:df61342889d0f5e7a32f7284e55ef95103f2110fee433c2ae7c2c0956d76ac8a", size = 156457 },
]
[[package]]
@@ -532,6 +820,70 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985 },
{ url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591 },
{ url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102 },
+ { url = "https://files.pythonhosted.org/packages/2d/40/0832c31a37d60f60ed79e9dfb5a92e1e2af4f40a16a29abcc7992af9edff/frozenlist-1.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8d92f1a84bb12d9e56f818b3a746f3efba93c1b63c8387a73dde655e1e42282a", size = 85717 },
+ { url = "https://files.pythonhosted.org/packages/30/ba/b0b3de23f40bc55a7057bd38434e25c34fa48e17f20ee273bbde5e0650f3/frozenlist-1.8.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:96153e77a591c8adc2ee805756c61f59fef4cf4073a9275ee86fe8cba41241f7", size = 49651 },
+ { url = "https://files.pythonhosted.org/packages/0c/ab/6e5080ee374f875296c4243c381bbdef97a9ac39c6e3ce1d5f7d42cb78d6/frozenlist-1.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f21f00a91358803399890ab167098c131ec2ddd5f8f5fd5fe9c9f2c6fcd91e40", size = 49417 },
+ { url = "https://files.pythonhosted.org/packages/d5/4e/e4691508f9477ce67da2015d8c00acd751e6287739123113a9fca6f1604e/frozenlist-1.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fb30f9626572a76dfe4293c7194a09fb1fe93ba94c7d4f720dfae3b646b45027", size = 234391 },
+ { url = "https://files.pythonhosted.org/packages/40/76/c202df58e3acdf12969a7895fd6f3bc016c642e6726aa63bd3025e0fc71c/frozenlist-1.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eaa352d7047a31d87dafcacbabe89df0aa506abb5b1b85a2fb91bc3faa02d822", size = 233048 },
+ { url = "https://files.pythonhosted.org/packages/f9/c0/8746afb90f17b73ca5979c7a3958116e105ff796e718575175319b5bb4ce/frozenlist-1.8.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:03ae967b4e297f58f8c774c7eabcce57fe3c2434817d4385c50661845a058121", size = 226549 },
+ { url = "https://files.pythonhosted.org/packages/7e/eb/4c7eefc718ff72f9b6c4893291abaae5fbc0c82226a32dcd8ef4f7a5dbef/frozenlist-1.8.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f6292f1de555ffcc675941d65fffffb0a5bcd992905015f85d0592201793e0e5", size = 239833 },
+ { url = "https://files.pythonhosted.org/packages/c2/4e/e5c02187cf704224f8b21bee886f3d713ca379535f16893233b9d672ea71/frozenlist-1.8.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29548f9b5b5e3460ce7378144c3010363d8035cea44bc0bf02d57f5a685e084e", size = 245363 },
+ { url = "https://files.pythonhosted.org/packages/1f/96/cb85ec608464472e82ad37a17f844889c36100eed57bea094518bf270692/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ec3cc8c5d4084591b4237c0a272cc4f50a5b03396a47d9caaf76f5d7b38a4f11", size = 229314 },
+ { url = "https://files.pythonhosted.org/packages/5d/6f/4ae69c550e4cee66b57887daeebe006fe985917c01d0fff9caab9883f6d0/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:517279f58009d0b1f2e7c1b130b377a349405da3f7621ed6bfae50b10adf20c1", size = 243365 },
+ { url = "https://files.pythonhosted.org/packages/7a/58/afd56de246cf11780a40a2c28dc7cbabbf06337cc8ddb1c780a2d97e88d8/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:db1e72ede2d0d7ccb213f218df6a078a9c09a7de257c2fe8fcef16d5925230b1", size = 237763 },
+ { url = "https://files.pythonhosted.org/packages/cb/36/cdfaf6ed42e2644740d4a10452d8e97fa1c062e2a8006e4b09f1b5fd7d63/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b4dec9482a65c54a5044486847b8a66bf10c9cb4926d42927ec4e8fd5db7fed8", size = 240110 },
+ { url = "https://files.pythonhosted.org/packages/03/a8/9ea226fbefad669f11b52e864c55f0bd57d3c8d7eb07e9f2e9a0b39502e1/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:21900c48ae04d13d416f0e1e0c4d81f7931f73a9dfa0b7a8746fb2fe7dd970ed", size = 233717 },
+ { url = "https://files.pythonhosted.org/packages/1e/0b/1b5531611e83ba7d13ccc9988967ea1b51186af64c42b7a7af465dcc9568/frozenlist-1.8.0-cp313-cp313-win32.whl", hash = "sha256:8b7b94a067d1c504ee0b16def57ad5738701e4ba10cec90529f13fa03c833496", size = 39628 },
+ { url = "https://files.pythonhosted.org/packages/d8/cf/174c91dbc9cc49bc7b7aab74d8b734e974d1faa8f191c74af9b7e80848e6/frozenlist-1.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:878be833caa6a3821caf85eb39c5ba92d28e85df26d57afb06b35b2efd937231", size = 43882 },
+ { url = "https://files.pythonhosted.org/packages/c1/17/502cd212cbfa96eb1388614fe39a3fc9ab87dbbe042b66f97acb57474834/frozenlist-1.8.0-cp313-cp313-win_arm64.whl", hash = "sha256:44389d135b3ff43ba8cc89ff7f51f5a0bb6b63d829c8300f79a2fe4fe61bcc62", size = 39676 },
+ { url = "https://files.pythonhosted.org/packages/d2/5c/3bbfaa920dfab09e76946a5d2833a7cbdf7b9b4a91c714666ac4855b88b4/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:e25ac20a2ef37e91c1b39938b591457666a0fa835c7783c3a8f33ea42870db94", size = 89235 },
+ { url = "https://files.pythonhosted.org/packages/d2/d6/f03961ef72166cec1687e84e8925838442b615bd0b8854b54923ce5b7b8a/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:07cdca25a91a4386d2e76ad992916a85038a9b97561bf7a3fd12d5d9ce31870c", size = 50742 },
+ { url = "https://files.pythonhosted.org/packages/1e/bb/a6d12b7ba4c3337667d0e421f7181c82dda448ce4e7ad7ecd249a16fa806/frozenlist-1.8.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4e0c11f2cc6717e0a741f84a527c52616140741cd812a50422f83dc31749fb52", size = 51725 },
+ { url = "https://files.pythonhosted.org/packages/bc/71/d1fed0ffe2c2ccd70b43714c6cab0f4188f09f8a67a7914a6b46ee30f274/frozenlist-1.8.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b3210649ee28062ea6099cfda39e147fa1bc039583c8ee4481cb7811e2448c51", size = 284533 },
+ { url = "https://files.pythonhosted.org/packages/c9/1f/fb1685a7b009d89f9bf78a42d94461bc06581f6e718c39344754a5d9bada/frozenlist-1.8.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:581ef5194c48035a7de2aefc72ac6539823bb71508189e5de01d60c9dcd5fa65", size = 292506 },
+ { url = "https://files.pythonhosted.org/packages/e6/3b/b991fe1612703f7e0d05c0cf734c1b77aaf7c7d321df4572e8d36e7048c8/frozenlist-1.8.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3ef2d026f16a2b1866e1d86fc4e1291e1ed8a387b2c333809419a2f8b3a77b82", size = 274161 },
+ { url = "https://files.pythonhosted.org/packages/ca/ec/c5c618767bcdf66e88945ec0157d7f6c4a1322f1473392319b7a2501ded7/frozenlist-1.8.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5500ef82073f599ac84d888e3a8c1f77ac831183244bfd7f11eaa0289fb30714", size = 294676 },
+ { url = "https://files.pythonhosted.org/packages/7c/ce/3934758637d8f8a88d11f0585d6495ef54b2044ed6ec84492a91fa3b27aa/frozenlist-1.8.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50066c3997d0091c411a66e710f4e11752251e6d2d73d70d8d5d4c76442a199d", size = 300638 },
+ { url = "https://files.pythonhosted.org/packages/fc/4f/a7e4d0d467298f42de4b41cbc7ddaf19d3cfeabaf9ff97c20c6c7ee409f9/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:5c1c8e78426e59b3f8005e9b19f6ff46e5845895adbde20ece9218319eca6506", size = 283067 },
+ { url = "https://files.pythonhosted.org/packages/dc/48/c7b163063d55a83772b268e6d1affb960771b0e203b632cfe09522d67ea5/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:eefdba20de0d938cec6a89bd4d70f346a03108a19b9df4248d3cf0d88f1b0f51", size = 292101 },
+ { url = "https://files.pythonhosted.org/packages/9f/d0/2366d3c4ecdc2fd391e0afa6e11500bfba0ea772764d631bbf82f0136c9d/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:cf253e0e1c3ceb4aaff6df637ce033ff6535fb8c70a764a8f46aafd3d6ab798e", size = 289901 },
+ { url = "https://files.pythonhosted.org/packages/b8/94/daff920e82c1b70e3618a2ac39fbc01ae3e2ff6124e80739ce5d71c9b920/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:032efa2674356903cd0261c4317a561a6850f3ac864a63fc1583147fb05a79b0", size = 289395 },
+ { url = "https://files.pythonhosted.org/packages/e3/20/bba307ab4235a09fdcd3cc5508dbabd17c4634a1af4b96e0f69bfe551ebd/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6da155091429aeba16851ecb10a9104a108bcd32f6c1642867eadaee401c1c41", size = 283659 },
+ { url = "https://files.pythonhosted.org/packages/fd/00/04ca1c3a7a124b6de4f8a9a17cc2fcad138b4608e7a3fc5877804b8715d7/frozenlist-1.8.0-cp313-cp313t-win32.whl", hash = "sha256:0f96534f8bfebc1a394209427d0f8a63d343c9779cda6fc25e8e121b5fd8555b", size = 43492 },
+ { url = "https://files.pythonhosted.org/packages/59/5e/c69f733a86a94ab10f68e496dc6b7e8bc078ebb415281d5698313e3af3a1/frozenlist-1.8.0-cp313-cp313t-win_amd64.whl", hash = "sha256:5d63a068f978fc69421fb0e6eb91a9603187527c86b7cd3f534a5b77a592b888", size = 48034 },
+ { url = "https://files.pythonhosted.org/packages/16/6c/be9d79775d8abe79b05fa6d23da99ad6e7763a1d080fbae7290b286093fd/frozenlist-1.8.0-cp313-cp313t-win_arm64.whl", hash = "sha256:bf0a7e10b077bf5fb9380ad3ae8ce20ef919a6ad93b4552896419ac7e1d8e042", size = 41749 },
+ { url = "https://files.pythonhosted.org/packages/f1/c8/85da824b7e7b9b6e7f7705b2ecaf9591ba6f79c1177f324c2735e41d36a2/frozenlist-1.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:cee686f1f4cadeb2136007ddedd0aaf928ab95216e7691c63e50a8ec066336d0", size = 86127 },
+ { url = "https://files.pythonhosted.org/packages/8e/e8/a1185e236ec66c20afd72399522f142c3724c785789255202d27ae992818/frozenlist-1.8.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:119fb2a1bd47307e899c2fac7f28e85b9a543864df47aa7ec9d3c1b4545f096f", size = 49698 },
+ { url = "https://files.pythonhosted.org/packages/a1/93/72b1736d68f03fda5fdf0f2180fb6caaae3894f1b854d006ac61ecc727ee/frozenlist-1.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4970ece02dbc8c3a92fcc5228e36a3e933a01a999f7094ff7c23fbd2beeaa67c", size = 49749 },
+ { url = "https://files.pythonhosted.org/packages/a7/b2/fabede9fafd976b991e9f1b9c8c873ed86f202889b864756f240ce6dd855/frozenlist-1.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:cba69cb73723c3f329622e34bdbf5ce1f80c21c290ff04256cff1cd3c2036ed2", size = 231298 },
+ { url = "https://files.pythonhosted.org/packages/3a/3b/d9b1e0b0eed36e70477ffb8360c49c85c8ca8ef9700a4e6711f39a6e8b45/frozenlist-1.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:778a11b15673f6f1df23d9586f83c4846c471a8af693a22e066508b77d201ec8", size = 232015 },
+ { url = "https://files.pythonhosted.org/packages/dc/94/be719d2766c1138148564a3960fc2c06eb688da592bdc25adcf856101be7/frozenlist-1.8.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0325024fe97f94c41c08872db482cf8ac4800d80e79222c6b0b7b162d5b13686", size = 225038 },
+ { url = "https://files.pythonhosted.org/packages/e4/09/6712b6c5465f083f52f50cf74167b92d4ea2f50e46a9eea0523d658454ae/frozenlist-1.8.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:97260ff46b207a82a7567b581ab4190bd4dfa09f4db8a8b49d1a958f6aa4940e", size = 240130 },
+ { url = "https://files.pythonhosted.org/packages/f8/d4/cd065cdcf21550b54f3ce6a22e143ac9e4836ca42a0de1022da8498eac89/frozenlist-1.8.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:54b2077180eb7f83dd52c40b2750d0a9f175e06a42e3213ce047219de902717a", size = 242845 },
+ { url = "https://files.pythonhosted.org/packages/62/c3/f57a5c8c70cd1ead3d5d5f776f89d33110b1addae0ab010ad774d9a44fb9/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2f05983daecab868a31e1da44462873306d3cbfd76d1f0b5b69c473d21dbb128", size = 229131 },
+ { url = "https://files.pythonhosted.org/packages/6c/52/232476fe9cb64f0742f3fde2b7d26c1dac18b6d62071c74d4ded55e0ef94/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:33f48f51a446114bc5d251fb2954ab0164d5be02ad3382abcbfe07e2531d650f", size = 240542 },
+ { url = "https://files.pythonhosted.org/packages/5f/85/07bf3f5d0fb5414aee5f47d33c6f5c77bfe49aac680bfece33d4fdf6a246/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:154e55ec0655291b5dd1b8731c637ecdb50975a2ae70c606d100750a540082f7", size = 237308 },
+ { url = "https://files.pythonhosted.org/packages/11/99/ae3a33d5befd41ac0ca2cc7fd3aa707c9c324de2e89db0e0f45db9a64c26/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:4314debad13beb564b708b4a496020e5306c7333fa9a3ab90374169a20ffab30", size = 238210 },
+ { url = "https://files.pythonhosted.org/packages/b2/60/b1d2da22f4970e7a155f0adde9b1435712ece01b3cd45ba63702aea33938/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:073f8bf8becba60aa931eb3bc420b217bb7d5b8f4750e6f8b3be7f3da85d38b7", size = 231972 },
+ { url = "https://files.pythonhosted.org/packages/3f/ab/945b2f32de889993b9c9133216c068b7fcf257d8595a0ac420ac8677cab0/frozenlist-1.8.0-cp314-cp314-win32.whl", hash = "sha256:bac9c42ba2ac65ddc115d930c78d24ab8d4f465fd3fc473cdedfccadb9429806", size = 40536 },
+ { url = "https://files.pythonhosted.org/packages/59/ad/9caa9b9c836d9ad6f067157a531ac48b7d36499f5036d4141ce78c230b1b/frozenlist-1.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:3e0761f4d1a44f1d1a47996511752cf3dcec5bbdd9cc2b4fe595caf97754b7a0", size = 44330 },
+ { url = "https://files.pythonhosted.org/packages/82/13/e6950121764f2676f43534c555249f57030150260aee9dcf7d64efda11dd/frozenlist-1.8.0-cp314-cp314-win_arm64.whl", hash = "sha256:d1eaff1d00c7751b7c6662e9c5ba6eb2c17a2306ba5e2a37f24ddf3cc953402b", size = 40627 },
+ { url = "https://files.pythonhosted.org/packages/c0/c7/43200656ecc4e02d3f8bc248df68256cd9572b3f0017f0a0c4e93440ae23/frozenlist-1.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:d3bb933317c52d7ea5004a1c442eef86f426886fba134ef8cf4226ea6ee1821d", size = 89238 },
+ { url = "https://files.pythonhosted.org/packages/d1/29/55c5f0689b9c0fb765055629f472c0de484dcaf0acee2f7707266ae3583c/frozenlist-1.8.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:8009897cdef112072f93a0efdce29cd819e717fd2f649ee3016efd3cd885a7ed", size = 50738 },
+ { url = "https://files.pythonhosted.org/packages/ba/7d/b7282a445956506fa11da8c2db7d276adcbf2b17d8bb8407a47685263f90/frozenlist-1.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2c5dcbbc55383e5883246d11fd179782a9d07a986c40f49abe89ddf865913930", size = 51739 },
+ { url = "https://files.pythonhosted.org/packages/62/1c/3d8622e60d0b767a5510d1d3cf21065b9db874696a51ea6d7a43180a259c/frozenlist-1.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:39ecbc32f1390387d2aa4f5a995e465e9e2f79ba3adcac92d68e3e0afae6657c", size = 284186 },
+ { url = "https://files.pythonhosted.org/packages/2d/14/aa36d5f85a89679a85a1d44cd7a6657e0b1c75f61e7cad987b203d2daca8/frozenlist-1.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92db2bf818d5cc8d9c1f1fc56b897662e24ea5adb36ad1f1d82875bd64e03c24", size = 292196 },
+ { url = "https://files.pythonhosted.org/packages/05/23/6bde59eb55abd407d34f77d39a5126fb7b4f109a3f611d3929f14b700c66/frozenlist-1.8.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2dc43a022e555de94c3b68a4ef0b11c4f747d12c024a520c7101709a2144fb37", size = 273830 },
+ { url = "https://files.pythonhosted.org/packages/d2/3f/22cff331bfad7a8afa616289000ba793347fcd7bc275f3b28ecea2a27909/frozenlist-1.8.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cb89a7f2de3602cfed448095bab3f178399646ab7c61454315089787df07733a", size = 294289 },
+ { url = "https://files.pythonhosted.org/packages/a4/89/5b057c799de4838b6c69aa82b79705f2027615e01be996d2486a69ca99c4/frozenlist-1.8.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:33139dc858c580ea50e7e60a1b0ea003efa1fd42e6ec7fdbad78fff65fad2fd2", size = 300318 },
+ { url = "https://files.pythonhosted.org/packages/30/de/2c22ab3eb2a8af6d69dc799e48455813bab3690c760de58e1bf43b36da3e/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:168c0969a329b416119507ba30b9ea13688fafffac1b7822802537569a1cb0ef", size = 282814 },
+ { url = "https://files.pythonhosted.org/packages/59/f7/970141a6a8dbd7f556d94977858cfb36fa9b66e0892c6dd780d2219d8cd8/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:28bd570e8e189d7f7b001966435f9dac6718324b5be2990ac496cf1ea9ddb7fe", size = 291762 },
+ { url = "https://files.pythonhosted.org/packages/c1/15/ca1adae83a719f82df9116d66f5bb28bb95557b3951903d39135620ef157/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b2a095d45c5d46e5e79ba1e5b9cb787f541a8dee0433836cea4b96a2c439dcd8", size = 289470 },
+ { url = "https://files.pythonhosted.org/packages/ac/83/dca6dc53bf657d371fbc88ddeb21b79891e747189c5de990b9dfff2ccba1/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:eab8145831a0d56ec9c4139b6c3e594c7a83c2c8be25d5bcf2d86136a532287a", size = 289042 },
+ { url = "https://files.pythonhosted.org/packages/96/52/abddd34ca99be142f354398700536c5bd315880ed0a213812bc491cff5e4/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:974b28cf63cc99dfb2188d8d222bc6843656188164848c4f679e63dae4b0708e", size = 283148 },
+ { url = "https://files.pythonhosted.org/packages/af/d3/76bd4ed4317e7119c2b7f57c3f6934aba26d277acc6309f873341640e21f/frozenlist-1.8.0-cp314-cp314t-win32.whl", hash = "sha256:342c97bf697ac5480c0a7ec73cd700ecfa5a8a40ac923bd035484616efecc2df", size = 44676 },
+ { url = "https://files.pythonhosted.org/packages/89/76/c615883b7b521ead2944bb3480398cbb07e12b7b4e4d073d3752eb721558/frozenlist-1.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:06be8f67f39c8b1dc671f5d83aaefd3358ae5cdcf8314552c57e7ed3e6475bdd", size = 49451 },
+ { url = "https://files.pythonhosted.org/packages/e0/a3/5982da14e113d07b325230f95060e2169f5311b1017ea8af2a29b374c289/frozenlist-1.8.0-cp314-cp314t-win_arm64.whl", hash = "sha256:102e6314ca4da683dca92e3b1355490fed5f313b768500084fbe6371fddfdb79", size = 42507 },
{ url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409 },
]
@@ -568,158 +920,43 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/20/7a/1c6e3562dfd8950adbb11ffbc65d21e7c89d01a6e4f137fa981056de25c5/gitpython-3.1.50-py3-none-any.whl", hash = "sha256:d352abe2908d07355014abdd21ddf798c2a961469239afec4962e9da884858f9", size = 212507 },
]
-[[package]]
-name = "google-ai-generativelanguage"
-version = "0.6.15"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "google-api-core", extra = ["grpc"] },
- { name = "google-auth" },
- { name = "proto-plus" },
- { name = "protobuf" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/11/d1/48fe5d7a43d278e9f6b5ada810b0a3530bbeac7ed7fcbcd366f932f05316/google_ai_generativelanguage-0.6.15.tar.gz", hash = "sha256:8f6d9dc4c12b065fe2d0289026171acea5183ebf2d0b11cefe12f3821e159ec3", size = 1375443 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/7c/a3/67b8a6ff5001a1d8864922f2d6488dc2a14367ceb651bc3f09a947f2f306/google_ai_generativelanguage-0.6.15-py3-none-any.whl", hash = "sha256:5a03ef86377aa184ffef3662ca28f19eeee158733e45d7947982eb953c6ebb6c", size = 1327356 },
-]
-
-[[package]]
-name = "google-api-core"
-version = "2.30.2"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "google-auth" },
- { name = "googleapis-common-protos" },
- { name = "proto-plus" },
- { name = "protobuf" },
- { name = "requests" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/1a/2e/83ca41eb400eb228f9279ec14ed66f6475218b59af4c6daec2d5a509fe83/google_api_core-2.30.2.tar.gz", hash = "sha256:9a8113e1a88bdc09a7ff629707f2214d98d61c7f6ceb0ea38c42a095d02dc0f9", size = 176862 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/84/e1/ebd5100cbb202e561c0c8b59e485ef3bd63fa9beb610f3fdcaea443f0288/google_api_core-2.30.2-py3-none-any.whl", hash = "sha256:a4c226766d6af2580577db1f1a51bf53cd262f722b49731ce7414c43068a9594", size = 173236 },
-]
-
-[package.optional-dependencies]
-grpc = [
- { name = "grpcio" },
- { name = "grpcio-status" },
-]
-
-[[package]]
-name = "google-api-python-client"
-version = "2.193.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "google-api-core" },
- { name = "google-auth" },
- { name = "google-auth-httplib2" },
- { name = "httplib2" },
- { name = "uritemplate" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/90/f4/e14b6815d3b1885328dd209676a3a4c704882743ac94e18ef0093894f5c8/google_api_python_client-2.193.0.tar.gz", hash = "sha256:8f88d16e89d11341e0a8b199cafde0fb7e6b44260dffb88d451577cbd1bb5d33", size = 14281006 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/f0/6d/fe75167797790a56d17799b75e1129bb93f7ff061efc7b36e9731bd4be2b/google_api_python_client-2.193.0-py3-none-any.whl", hash = "sha256:c42aa324b822109901cfecab5dc4fc3915d35a7b376835233c916c70610322db", size = 14856490 },
-]
-
[[package]]
name = "google-auth"
-version = "2.49.1"
+version = "2.55.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "cryptography" },
{ name = "pyasn1-modules" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ea/80/6a696a07d3d3b0a92488933532f03dbefa4a24ab80fb231395b9a2a1be77/google_auth-2.49.1.tar.gz", hash = "sha256:16d40da1c3c5a0533f57d268fe72e0ebb0ae1cc3b567024122651c045d879b64", size = 333825 }
+sdist = { url = "https://files.pythonhosted.org/packages/79/b9/e370d86fea3da13ec0256df30323dd26c0cb9c8c85f0c6ec42ac9df0106b/google_auth-2.55.2.tar.gz", hash = "sha256:97ae7790ff740f2bc9db60eb864a7804f4ac19f5f02c38b3d942f2fea6e9b9ae", size = 361414 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e9/eb/c6c2478d8a8d633460be40e2a8a6f8f429171997a35a96f81d3b680dec83/google_auth-2.49.1-py3-none-any.whl", hash = "sha256:195ebe3dca18eddd1b3db5edc5189b76c13e96f29e73043b923ebcf3f1a860f7", size = 240737 },
+ { url = "https://files.pythonhosted.org/packages/1e/c6/02eb5a337ac316a4c30c012e747bad5cea36e1a876efecdf80865541f7d8/google_auth-2.55.2-py3-none-any.whl", hash = "sha256:d715f265f2cafc6a5f1bf0dc19870d20e3119f6f6682785a250bce3d03d38a3b", size = 256778 },
]
-[[package]]
-name = "google-auth-httplib2"
-version = "0.3.1"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "google-auth" },
- { name = "httplib2" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/ed/99/107612bef8d24b298bb5a7c8466f908ecda791d43f9466f5c3978f5b24c1/google_auth_httplib2-0.3.1.tar.gz", hash = "sha256:0af542e815784cb64159b4469aa5d71dd41069ba93effa006e1916b1dcd88e55", size = 11152 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/97/e9/93afb14d23a949acaa3f4e7cc51a0024671174e116e35f42850764b99634/google_auth_httplib2-0.3.1-py3-none-any.whl", hash = "sha256:682356a90ef4ba3d06548c37e9112eea6fc00395a11b0303a644c1a86abc275c", size = 9534 },
+[package.optional-dependencies]
+requests = [
+ { name = "requests" },
]
[[package]]
-name = "google-generativeai"
-version = "0.8.6"
+name = "google-genai"
+version = "2.11.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
- { name = "google-ai-generativelanguage" },
- { name = "google-api-core" },
- { name = "google-api-python-client" },
- { name = "google-auth" },
- { name = "protobuf" },
+ { name = "anyio" },
+ { name = "distro" },
+ { name = "google-auth", extra = ["requests"] },
+ { name = "httpx" },
{ name = "pydantic" },
- { name = "tqdm" },
- { name = "typing-extensions" },
-]
-wheels = [
- { url = "https://files.pythonhosted.org/packages/97/0f/ef33b5bb71437966590c6297104c81051feae95d54b11ece08533ef937d3/google_generativeai-0.8.6-py3-none-any.whl", hash = "sha256:37a0eaaa95e5bbf888828e20a4a1b2c196cc9527d194706e58a68ff388aeb0fa", size = 155098 },
-]
-
-[[package]]
-name = "googleapis-common-protos"
-version = "1.74.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "protobuf" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/20/18/a746c8344152d368a5aac738d4c857012f2c5d1fd2eac7e17b647a7861bd/googleapis_common_protos-1.74.0.tar.gz", hash = "sha256:57971e4eeeba6aad1163c1f0fc88543f965bb49129b8bb55b2b7b26ecab084f1", size = 151254 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/b6/b0/be5d3329badb9230b765de6eea66b73abd5944bdeb5afb3562ddcd80ae84/googleapis_common_protos-1.74.0-py3-none-any.whl", hash = "sha256:702216f78610bb510e3f12ac3cafd281b7ac45cc5d86e90ad87e4d301a3426b5", size = 300743 },
-]
-
-[[package]]
-name = "grpcio"
-version = "1.80.0"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
+ { name = "requests" },
+ { name = "sniffio" },
+ { name = "tenacity" },
{ name = "typing-extensions" },
+ { name = "websockets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b7/48/af6173dbca4454f4637a4678b67f52ca7e0c1ed7d5894d89d434fecede05/grpcio-1.80.0.tar.gz", hash = "sha256:29aca15edd0688c22ba01d7cc01cb000d72b2033f4a3c72a81a19b56fd143257", size = 12978905 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/5d/db/1d56e5f5823257b291962d6c0ce106146c6447f405b60b234c4f222a7cde/grpcio-1.80.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:dfab85db094068ff42e2a3563f60ab3dddcc9d6488a35abf0132daec13209c8a", size = 6055009 },
- { url = "https://files.pythonhosted.org/packages/6e/18/c83f3cad64c5ca63bca7e91e5e46b0d026afc5af9d0a9972472ceba294b3/grpcio-1.80.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:5c07e82e822e1161354e32da2662f741a4944ea955f9f580ec8fb409dd6f6060", size = 12035295 },
- { url = "https://files.pythonhosted.org/packages/0f/8e/e14966b435be2dda99fbe89db9525ea436edc79780431a1c2875a3582644/grpcio-1.80.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba0915d51fd4ced2db5ff719f84e270afe0e2d4c45a7bdb1e8d036e4502928c2", size = 6610297 },
- { url = "https://files.pythonhosted.org/packages/cc/26/d5eb38f42ce0e3fdc8174ea4d52036ef8d58cc4426cb800f2610f625dd75/grpcio-1.80.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:3cb8130ba457d2aa09fa6b7c3ed6b6e4e6a2685fce63cb803d479576c4d80e21", size = 7300208 },
- { url = "https://files.pythonhosted.org/packages/25/51/bd267c989f85a17a5b3eea65a6feb4ff672af41ca614e5a0279cc0ea381c/grpcio-1.80.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:09e5e478b3d14afd23f12e49e8b44c8684ac3c5f08561c43a5b9691c54d136ab", size = 6813442 },
- { url = "https://files.pythonhosted.org/packages/9e/d9/d80eef735b19e9169e30164bbf889b46f9df9127598a83d174eb13a48b26/grpcio-1.80.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:00168469238b022500e486c1c33916acf2f2a9b2c022202cf8a1885d2e3073c1", size = 7414743 },
- { url = "https://files.pythonhosted.org/packages/de/f2/567f5bd5054398ed6b0509b9a30900376dcf2786bd936812098808b49d8d/grpcio-1.80.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8502122a3cc1714038e39a0b071acb1207ca7844208d5ea0d091317555ee7106", size = 8426046 },
- { url = "https://files.pythonhosted.org/packages/62/29/73ef0141b4732ff5eacd68430ff2512a65c004696997f70476a83e548e7e/grpcio-1.80.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ce1794f4ea6cc3ca29463f42d665c32ba1b964b48958a66497917fe9069f26e6", size = 7851641 },
- { url = "https://files.pythonhosted.org/packages/46/69/abbfa360eb229a8623bab5f5a4f8105e445bd38ce81a89514ba55d281ad0/grpcio-1.80.0-cp311-cp311-win32.whl", hash = "sha256:51b4a7189b0bef2aa30adce3c78f09c83526cf3dddb24c6a96555e3b97340440", size = 4154368 },
- { url = "https://files.pythonhosted.org/packages/6f/d4/ae92206d01183b08613e846076115f5ac5991bae358d2a749fa864da5699/grpcio-1.80.0-cp311-cp311-win_amd64.whl", hash = "sha256:02e64bb0bb2da14d947a49e6f120a75e947250aebe65f9629b62bb1f5c14e6e9", size = 4894235 },
- { url = "https://files.pythonhosted.org/packages/5c/e8/a2b749265eb3415abc94f2e619bbd9e9707bebdda787e61c593004ec927a/grpcio-1.80.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:c624cc9f1008361014378c9d776de7182b11fe8b2e5a81bc69f23a295f2a1ad0", size = 6015616 },
- { url = "https://files.pythonhosted.org/packages/3e/97/b1282161a15d699d1e90c360df18d19165a045ce1c343c7f313f5e8a0b77/grpcio-1.80.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:f49eddcac43c3bf350c0385366a58f36bed8cc2c0ec35ef7b74b49e56552c0c2", size = 12014204 },
- { url = "https://files.pythonhosted.org/packages/6e/5e/d319c6e997b50c155ac5a8cb12f5173d5b42677510e886d250d50264949d/grpcio-1.80.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d334591df610ab94714048e0d5b4f3dd5ad1bee74dfec11eee344220077a79de", size = 6563866 },
- { url = "https://files.pythonhosted.org/packages/ae/f6/fdd975a2cb4d78eb67769a7b3b3830970bfa2e919f1decf724ae4445f42c/grpcio-1.80.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0cb517eb1d0d0aaf1d87af7cc5b801d686557c1d88b2619f5e31fab3c2315921", size = 7273060 },
- { url = "https://files.pythonhosted.org/packages/db/f0/a3deb5feba60d9538a962913e37bd2e69a195f1c3376a3dd44fe0427e996/grpcio-1.80.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4e78c4ac0d97dc2e569b2f4bcbbb447491167cb358d1a389fc4af71ab6f70411", size = 6782121 },
- { url = "https://files.pythonhosted.org/packages/ca/84/36c6dcfddc093e108141f757c407902a05085e0c328007cb090d56646cdf/grpcio-1.80.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2ed770b4c06984f3b47eb0517b1c69ad0b84ef3f40128f51448433be904634cd", size = 7383811 },
- { url = "https://files.pythonhosted.org/packages/7c/ef/f3a77e3dc5b471a0ec86c564c98d6adfa3510d38f8ee99010410858d591e/grpcio-1.80.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:256507e2f524092f1473071a05e65a5b10d84b82e3ff24c5b571513cfaa61e2f", size = 8393860 },
- { url = "https://files.pythonhosted.org/packages/9b/8d/9d4d27ed7f33d109c50d6b5ce578a9914aa68edab75d65869a17e630a8d1/grpcio-1.80.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9a6284a5d907c37db53350645567c522be314bac859a64a7a5ca63b77bb7958f", size = 7830132 },
- { url = "https://files.pythonhosted.org/packages/14/e4/9990b41c6d7a44e1e9dee8ac11d7a9802ba1378b40d77468a7761d1ad288/grpcio-1.80.0-cp312-cp312-win32.whl", hash = "sha256:c71309cfce2f22be26aa4a847357c502db6c621f1a49825ae98aa0907595b193", size = 4140904 },
- { url = "https://files.pythonhosted.org/packages/2f/2c/296f6138caca1f4b92a31ace4ae1b87dab692fc16a7a3417af3bb3c805bf/grpcio-1.80.0-cp312-cp312-win_amd64.whl", hash = "sha256:9fe648599c0e37594c4809d81a9e77bd138cc82eb8baa71b6a86af65426723ff", size = 4880944 },
-]
-
-[[package]]
-name = "grpcio-status"
-version = "1.71.2"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "googleapis-common-protos" },
- { name = "grpcio" },
- { name = "protobuf" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/fd/d1/b6e9877fedae3add1afdeae1f89d1927d296da9cf977eca0eb08fb8a460e/grpcio_status-1.71.2.tar.gz", hash = "sha256:c7a97e176df71cdc2c179cd1847d7fc86cca5832ad12e9798d7fed6b7a1aab50", size = 13677 }
+sdist = { url = "https://files.pythonhosted.org/packages/a6/01/e7b5f3aac89200c78318ed7643401e7f5ed3131b0cd353c07483606b1e61/google_genai-2.11.0.tar.gz", hash = "sha256:4c5e524d24b145c96be327f9a7f8f04b0fe4efee0533877795e9848afed01749", size = 622366 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/67/58/317b0134129b556a93a3b0afe00ee675b5657f0155509e22fcb853bafe2d/grpcio_status-1.71.2-py3-none-any.whl", hash = "sha256:803c98cb6a8b7dc6dbb785b1111aed739f241ab5e9da0bba96888aa74704cfd3", size = 14424 },
+ { url = "https://files.pythonhosted.org/packages/93/ef/d296c23390160a8b0b1dafb36dd3cb36a39ed40c81cd27e04e6233334186/google_genai-2.11.0-py3-none-any.whl", hash = "sha256:5bc8186100e1d34d691fbe0cba392b7e04e98d286ca952323a6672d054accf95", size = 984162 },
]
[[package]]
@@ -737,6 +974,22 @@ version = "1.4.3"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/53/92/ec9ad04d0b5728dca387a45af7bc98fbb0d73b2118759f5f6038b61a57e8/hf_xet-1.4.3.tar.gz", hash = "sha256:8ddedb73c8c08928c793df2f3401ec26f95be7f7e516a7bee2fbb546f6676113", size = 670477 }
wheels = [
+ { url = "https://files.pythonhosted.org/packages/72/43/724d307b34e353da0abd476e02f72f735cdd2bc86082dee1b32ea0bfee1d/hf_xet-1.4.3-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:7551659ba4f1e1074e9623996f28c3873682530aee0a846b7f2f066239228144", size = 3800935 },
+ { url = "https://files.pythonhosted.org/packages/2b/d2/8bee5996b699262edb87dbb54118d287c0e1b2fc78af7cdc41857ba5e3c4/hf_xet-1.4.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:bee693ada985e7045997f05f081d0e12c4c08bd7626dc397f8a7c487e6c04f7f", size = 3558942 },
+ { url = "https://files.pythonhosted.org/packages/c3/a1/e993d09cbe251196fb60812b09a58901c468127b7259d2bf0f68bf6088eb/hf_xet-1.4.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:21644b404bb0100fe3857892f752c4d09642586fd988e61501c95bbf44b393a3", size = 4207657 },
+ { url = "https://files.pythonhosted.org/packages/64/44/9eb6d21e5c34c63e5e399803a6932fa983cabdf47c0ecbcfe7ea97684b8c/hf_xet-1.4.3-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:987f09cfe418237812896a6736b81b1af02a3a6dcb4b4944425c4c4fca7a7cf8", size = 3986765 },
+ { url = "https://files.pythonhosted.org/packages/ea/7b/8ad6f16fdb82f5f7284a34b5ec48645bd575bdcd2f6f0d1644775909c486/hf_xet-1.4.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:60cf7fc43a99da0a853345cf86d23738c03983ee5249613a6305d3e57a5dca74", size = 4188162 },
+ { url = "https://files.pythonhosted.org/packages/1b/c4/39d6e136cbeea9ca5a23aad4b33024319222adbdc059ebcda5fc7d9d5ff4/hf_xet-1.4.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:2815a49a7a59f3e2edf0cf113ae88e8cb2ca2a221bf353fb60c609584f4884d4", size = 4424525 },
+ { url = "https://files.pythonhosted.org/packages/46/f2/adc32dae6bdbc367853118b9878139ac869419a4ae7ba07185dc31251b76/hf_xet-1.4.3-cp313-cp313t-win_amd64.whl", hash = "sha256:42ee323265f1e6a81b0e11094564fb7f7e0ec75b5105ffd91ae63f403a11931b", size = 3671610 },
+ { url = "https://files.pythonhosted.org/packages/e2/19/25d897dcc3f81953e0c2cde9ec186c7a0fee413eb0c9a7a9130d87d94d3a/hf_xet-1.4.3-cp313-cp313t-win_arm64.whl", hash = "sha256:27c976ba60079fb8217f485b9c5c7fcd21c90b0367753805f87cb9f3cdc4418a", size = 3528529 },
+ { url = "https://files.pythonhosted.org/packages/ec/36/3e8f85ca9fe09b8de2b2e10c63b3b3353d7dda88a0b3d426dffbe7b8313b/hf_xet-1.4.3-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:5251d5ece3a81815bae9abab41cf7ddb7bcb8f56411bce0827f4a3071c92fdc6", size = 3801019 },
+ { url = "https://files.pythonhosted.org/packages/b5/9c/defb6cb1de28bccb7bd8d95f6e60f72a3d3fa4cb3d0329c26fb9a488bfe7/hf_xet-1.4.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1feb0f3abeacee143367c326a128a2e2b60868ec12a36c225afb1d6c5a05e6d2", size = 3558746 },
+ { url = "https://files.pythonhosted.org/packages/c1/bd/8d001191893178ff8e826e46ad5299446e62b93cd164e17b0ffea08832ec/hf_xet-1.4.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8b301fc150290ca90b4fccd079829b84bb4786747584ae08b94b4577d82fb791", size = 4207692 },
+ { url = "https://files.pythonhosted.org/packages/ce/48/6790b402803250e9936435613d3a78b9aaeee7973439f0918848dde58309/hf_xet-1.4.3-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:d972fbe95ddc0d3c0fc49b31a8a69f47db35c1e3699bf316421705741aab6653", size = 3986281 },
+ { url = "https://files.pythonhosted.org/packages/51/56/ea62552fe53db652a9099eda600b032d75554d0e86c12a73824bfedef88b/hf_xet-1.4.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c5b48db1ee344a805a1b9bd2cda9b6b65fe77ed3787bd6e87ad5521141d317cd", size = 4187414 },
+ { url = "https://files.pythonhosted.org/packages/7d/f5/bc1456d4638061bea997e6d2db60a1a613d7b200e0755965ec312dc1ef79/hf_xet-1.4.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:22bdc1f5fb8b15bf2831440b91d1c9bbceeb7e10c81a12e8d75889996a5c9da8", size = 4424368 },
+ { url = "https://files.pythonhosted.org/packages/e4/76/ab597bae87e1f06d18d3ecb8ed7f0d3c9a37037fc32ce76233d369273c64/hf_xet-1.4.3-cp314-cp314t-win_amd64.whl", hash = "sha256:0392c79b7cf48418cd61478c1a925246cf10639f4cd9d94368d8ca1e8df9ea07", size = 3672280 },
+ { url = "https://files.pythonhosted.org/packages/62/05/2e462d34e23a09a74d73785dbed71cc5dbad82a72eee2ad60a72a554155d/hf_xet-1.4.3-cp314-cp314t-win_arm64.whl", hash = "sha256:681c92a07796325778a79d76c67011764ecc9042a8c3579332b61b63ae512075", size = 3528945 },
{ url = "https://files.pythonhosted.org/packages/ac/9f/9c23e4a447b8f83120798f9279d0297a4d1360bdbf59ef49ebec78fe2545/hf_xet-1.4.3-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:d0da85329eaf196e03e90b84c2d0aca53bd4573d097a75f99609e80775f98025", size = 3805048 },
{ url = "https://files.pythonhosted.org/packages/0b/f8/7aacb8e5f4a7899d39c787b5984e912e6c18b11be136ef13947d7a66d265/hf_xet-1.4.3-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:e23717ce4186b265f69afa66e6f0069fe7efbf331546f5c313d00e123dc84583", size = 3562178 },
{ url = "https://files.pythonhosted.org/packages/df/9a/a24b26dc8a65f0ecc0fe5be981a19e61e7ca963b85e062c083f3a9100529/hf_xet-1.4.3-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc360b70c815bf340ed56c7b8c63aacf11762a4b099b2fe2c9bd6d6068668c08", size = 4212320 },
@@ -760,18 +1013,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784 },
]
-[[package]]
-name = "httplib2"
-version = "0.31.2"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "pyparsing" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/c1/1f/e86365613582c027dda5ddb64e1010e57a3d53e99ab8a72093fa13d565ec/httplib2-0.31.2.tar.gz", hash = "sha256:385e0869d7397484f4eab426197a4c020b606edd43372492337c0b4010ae5d24", size = 250800 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/2f/90/fd509079dfcab01102c0fdd87f3a9506894bc70afcf9e9785ef6b2b3aff6/httplib2-0.31.2-py3-none-any.whl", hash = "sha256:dbf0c2fa3862acf3c55c078ea9c0bc4481d7dc5117cae71be9514912cf9f8349", size = 91099 },
-]
-
[[package]]
name = "httptools"
version = "0.8.0"
@@ -792,6 +1033,27 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/9e/2d/0c9ac76dd2c893841fbf6498d6acec4f2442e1b7067f6e3e316a80e494e8/httptools-0.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ef7c3c97f4311c7be57e2986629df89d49cb434dbff78eafcd48c2bff986b15a", size = 501238 },
{ url = "https://files.pythonhosted.org/packages/ca/42/906adc91ae3a5fa9c59c0a2f21c139725bd7e5b41ae6acd485cd14123ebf/httptools-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a1afd7c9fbff0d9f5d489c4ce2768bd09c84a46ddefc7161e6aa82ae35c85745", size = 509567 },
{ url = "https://files.pythonhosted.org/packages/05/0b/4240efeb672751ee5b9b380cb0e3fdc050bc05f68adc7a8aefc4fcd9a69a/httptools-0.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:cd96f29b4bab1d42fa6e3d008711c75e0f79e94e06827330160e3a304227f150", size = 90918 },
+ { url = "https://files.pythonhosted.org/packages/5e/e5/8cfcabc5546e8022f168be28bcdaa128a240a0befdd03b59d558b4f18bd6/httptools-0.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:614ceea8ea606848bece2338ac03b3ce5324bcb4be8dc7d377ed708012fa4db8", size = 205148 },
+ { url = "https://files.pythonhosted.org/packages/2a/0e/0fb14848c19a686c8062ff9067c1a48793e3224b47bc5b201535b6036fce/httptools-0.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2d689918c15a013c65ef52d9fd495d766893ab831a2c8d89f2ac5940a5df847c", size = 111368 },
+ { url = "https://files.pythonhosted.org/packages/2e/1b/46f1cecf06b9bbde8e4b8c88034ac7908989e5ff7a3a388ef38392949c1f/httptools-0.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:eb3028cca2fc0a6d720e52ef61d8ebb62fcbfeb1de56874546d858d3f25a26b7", size = 486447 },
+ { url = "https://files.pythonhosted.org/packages/77/00/258bfc0837221f81d9725c45f9b948a6a6b2994a147a4fb66e85100c668f/httptools-0.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:88bdd940f2b5d487b4d032c6afa5489a7dc4694410d43de3c38c4fb3af0dc45d", size = 482448 },
+ { url = "https://files.pythonhosted.org/packages/04/ab/d1cef3b5523f4d272a70f42a776c3169a2dddfe3a54de4b2ce4a36341528/httptools-0.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6a43c9dd399758ccc0531acb0a3c4a6c299ee893ee9400e9c893b7bdcfae0681", size = 464460 },
+ { url = "https://files.pythonhosted.org/packages/ce/48/5d1d072442277bb2b3434e0e60690b8e8c23840ef7de8b6ea54040a536d3/httptools-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0770728beb05094c809b98e814edff5fef69d26ad7d21185f2f6d5884a0ba683", size = 471312 },
+ { url = "https://files.pythonhosted.org/packages/0d/66/b96623b27e51a68199ef4efdda0613cced9233fe3062ac74e50749c5ad37/httptools-0.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:7685df791fad561384bfb139e77fde27a1ffd93134e016f95a0db424ffbf77b1", size = 90117 },
+ { url = "https://files.pythonhosted.org/packages/1a/12/fa3fbf5f9517b273edea2dc982aa82a8c634091e67c590792b729017bc6f/httptools-0.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:de242a49b5d18e0a8776e654e9f6bf6d89f3875a5c35b425a0e7ce940feb3fd6", size = 206183 },
+ { url = "https://files.pythonhosted.org/packages/30/fc/5e7c4cb443370f2090a3aba0453a07384d29ff66b7435bb90e77e1037599/httptools-0.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:159e9ab5f701ccd42e555a12f1ad8ff69702910fc1c996cf2bb66e5fcb7a231b", size = 112079 },
+ { url = "https://files.pythonhosted.org/packages/ba/53/771bd891eb0f236f32145d6a1775777ec85745f3cc983a1f23d1a3b8ddfe/httptools-0.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c4a9f1707e4823d54dfec6c33fa3697d302aed536ed352a7ebb5a061ddb869d0", size = 481596 },
+ { url = "https://files.pythonhosted.org/packages/62/42/94e15bc68ce3d423243c45d7f1b0c7561f13844f97dc52ae23182fb65628/httptools-0.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d76ad7b951387e3632c8716a9bb03ac5b45c5f16119aa409db0459520887944e", size = 480865 },
+ { url = "https://files.pythonhosted.org/packages/1c/7c/fe2980fc03723272e30f135b62360b075f513dfe7cc73aef36c7f04012bd/httptools-0.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a3b7387147361c3fd47a0bde763c5c91b5b4cd4dc9989b8ece84ff436c99843b", size = 463189 },
+ { url = "https://files.pythonhosted.org/packages/15/1b/47fc5fff68acd1bfa20b4734059c9a06cadb88119dcd5258b5b0d21d91c8/httptools-0.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f256d6ce930c52ca1cb2a960b7da03548c454e7d28b06059ad41bfe789036ce0", size = 466610 },
+ { url = "https://files.pythonhosted.org/packages/60/bd/07b13c93ffd9bec9546e0d43f8e19378dd696dbd278511406bc07371ef1f/httptools-0.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:19d1ee275bb59ba2643ba9a3a1e51cc0c788caf2b8df506368e03f56fdd08527", size = 92705 },
+ { url = "https://files.pythonhosted.org/packages/fd/c4/121648f68ce066d7bd762d6b6d97e620847642d38d54f3d90ff11d947629/httptools-0.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:de1ed58a974e75d56560acc7e7fed01a454994429456f65209789992e41f2568", size = 215023 },
+ { url = "https://files.pythonhosted.org/packages/b9/b0/312a062ae741ae3e8baa8c8bf20be81b2e67337b259ab4349bebc7b6142e/httptools-0.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e93c227b595c6926c1acee96891dd9da4be338cfbe82e5cd3bb9d8dd7dc4ac0b", size = 117405 },
+ { url = "https://files.pythonhosted.org/packages/fc/37/fccd705f795386bb05bf413012fecff2a33e5aa8c2f069096de3e9fd8702/httptools-0.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2a021c3a8e65cc125390d72f59b968afca3bdcaff25bd67965e0a055a14946ca", size = 558497 },
+ { url = "https://files.pythonhosted.org/packages/bd/39/f172e8003576de35f5ba77ff417cf0e34429d35dc014deef15afa337a72c/httptools-0.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48774d39cbb70e2b1f71f88852a3087ae1d3a1eb80482bb48c13067ab080c14f", size = 571585 },
+ { url = "https://files.pythonhosted.org/packages/3e/b9/f5564760af99f3dbbf3f9104dc00e5da27e96cf433c6bdcf77617f70bf3f/httptools-0.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:88eead8ec8680a9f146c655bc88445a325bd7921cfd8194c7337e9467282427d", size = 543297 },
+ { url = "https://files.pythonhosted.org/packages/99/67/8d9f2c313618e161b82f3873188e7196126da1d6e29688df40eb3997c77a/httptools-0.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2c032fa028f46871ec7e1fc59fc15e8023eab3e6bbe6ece786a1611719a5d081", size = 539535 },
+ { url = "https://files.pythonhosted.org/packages/48/63/b906c01e53f50d432c0defe43ce52764a111dc1bdd028bafbeb54dcfd008/httptools-0.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:384c17174464c8e873398b7af24f0b1f44d992c820328413951a625323155d77", size = 108209 },
]
[[package]]
@@ -930,6 +1192,49 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/ac/4a/9f2c23255d04a834398b9c2e0e665382116911dc4d06b795710503cdad25/jiter-0.13.0-cp312-cp312-win32.whl", hash = "sha256:0bf670e3b1445fc4d31612199f1744f67f889ee1bbae703c4b54dc097e5dd394", size = 203024 },
{ url = "https://files.pythonhosted.org/packages/09/ee/f0ae675a957ae5a8f160be3e87acea6b11dc7b89f6b7ab057e77b2d2b13a/jiter-0.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:15db60e121e11fe186c0b15236bd5d18381b9ddacdcf4e659feb96fc6c969c92", size = 205424 },
{ url = "https://files.pythonhosted.org/packages/1b/02/ae611edf913d3cbf02c97cdb90374af2082c48d7190d74c1111dde08bcdd/jiter-0.13.0-cp312-cp312-win_arm64.whl", hash = "sha256:41f92313d17989102f3cb5dd533a02787cdb99454d494344b0361355da52fcb9", size = 186818 },
+ { url = "https://files.pythonhosted.org/packages/91/9c/7ee5a6ff4b9991e1a45263bfc46731634c4a2bde27dfda6c8251df2d958c/jiter-0.13.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:1f8a55b848cbabf97d861495cd65f1e5c590246fabca8b48e1747c4dfc8f85bf", size = 306897 },
+ { url = "https://files.pythonhosted.org/packages/7c/02/be5b870d1d2be5dd6a91bdfb90f248fbb7dcbd21338f092c6b89817c3dbf/jiter-0.13.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f556aa591c00f2c45eb1b89f68f52441a016034d18b65da60e2d2875bbbf344a", size = 317507 },
+ { url = "https://files.pythonhosted.org/packages/da/92/b25d2ec333615f5f284f3a4024f7ce68cfa0604c322c6808b2344c7f5d2b/jiter-0.13.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f7e1d61da332ec412350463891923f960c3073cf1aae93b538f0bb4c8cd46efb", size = 350560 },
+ { url = "https://files.pythonhosted.org/packages/be/ec/74dcb99fef0aca9fbe56b303bf79f6bd839010cb18ad41000bf6cc71eec0/jiter-0.13.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3097d665a27bc96fd9bbf7f86178037db139f319f785e4757ce7ccbf390db6c2", size = 363232 },
+ { url = "https://files.pythonhosted.org/packages/1b/37/f17375e0bb2f6a812d4dd92d7616e41917f740f3e71343627da9db2824ce/jiter-0.13.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d01ecc3a8cbdb6f25a37bd500510550b64ddf9f7d64a107d92f3ccb25035d0f", size = 483727 },
+ { url = "https://files.pythonhosted.org/packages/77/d2/a71160a5ae1a1e66c1395b37ef77da67513b0adba73b993a27fbe47eb048/jiter-0.13.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ed9bbc30f5d60a3bdf63ae76beb3f9db280d7f195dfcfa61af792d6ce912d159", size = 370799 },
+ { url = "https://files.pythonhosted.org/packages/01/99/ed5e478ff0eb4e8aa5fd998f9d69603c9fd3f32de3bd16c2b1194f68361c/jiter-0.13.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:98fbafb6e88256f4454de33c1f40203d09fc33ed19162a68b3b257b29ca7f663", size = 359120 },
+ { url = "https://files.pythonhosted.org/packages/16/be/7ffd08203277a813f732ba897352797fa9493faf8dc7995b31f3d9cb9488/jiter-0.13.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5467696f6b827f1116556cb0db620440380434591e93ecee7fd14d1a491b6daa", size = 390664 },
+ { url = "https://files.pythonhosted.org/packages/d1/84/e0787856196d6d346264d6dcccb01f741e5f0bd014c1d9a2ebe149caf4f3/jiter-0.13.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:2d08c9475d48b92892583df9da592a0e2ac49bcd41fae1fec4f39ba6cf107820", size = 513543 },
+ { url = "https://files.pythonhosted.org/packages/65/50/ecbd258181c4313cf79bca6c88fb63207d04d5bf5e4f65174114d072aa55/jiter-0.13.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:aed40e099404721d7fcaf5b89bd3b4568a4666358bcac7b6b15c09fb6252ab68", size = 547262 },
+ { url = "https://files.pythonhosted.org/packages/27/da/68f38d12e7111d2016cd198161b36e1f042bd115c169255bcb7ec823a3bf/jiter-0.13.0-cp313-cp313-win32.whl", hash = "sha256:36ebfbcffafb146d0e6ffb3e74d51e03d9c35ce7c625c8066cdbfc7b953bdc72", size = 200630 },
+ { url = "https://files.pythonhosted.org/packages/25/65/3bd1a972c9a08ecd22eb3b08a95d1941ebe6938aea620c246cf426ae09c2/jiter-0.13.0-cp313-cp313-win_amd64.whl", hash = "sha256:8d76029f077379374cf0dbc78dbe45b38dec4a2eb78b08b5194ce836b2517afc", size = 202602 },
+ { url = "https://files.pythonhosted.org/packages/15/fe/13bd3678a311aa67686bb303654792c48206a112068f8b0b21426eb6851e/jiter-0.13.0-cp313-cp313-win_arm64.whl", hash = "sha256:bb7613e1a427cfcb6ea4544f9ac566b93d5bf67e0d48c787eca673ff9c9dff2b", size = 185939 },
+ { url = "https://files.pythonhosted.org/packages/49/19/a929ec002ad3228bc97ca01dbb14f7632fffdc84a95ec92ceaf4145688ae/jiter-0.13.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fa476ab5dd49f3bf3a168e05f89358c75a17608dbabb080ef65f96b27c19ab10", size = 316616 },
+ { url = "https://files.pythonhosted.org/packages/52/56/d19a9a194afa37c1728831e5fb81b7722c3de18a3109e8f282bfc23e587a/jiter-0.13.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ade8cb6ff5632a62b7dbd4757d8c5573f7a2e9ae285d6b5b841707d8363205ef", size = 346850 },
+ { url = "https://files.pythonhosted.org/packages/36/4a/94e831c6bf287754a8a019cb966ed39ff8be6ab78cadecf08df3bb02d505/jiter-0.13.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9950290340acc1adaded363edd94baebcee7dabdfa8bee4790794cd5cfad2af6", size = 358551 },
+ { url = "https://files.pythonhosted.org/packages/a2/ec/a4c72c822695fa80e55d2b4142b73f0012035d9fcf90eccc56bc060db37c/jiter-0.13.0-cp313-cp313t-win_amd64.whl", hash = "sha256:2b4972c6df33731aac0742b64fd0d18e0a69bc7d6e03108ce7d40c85fd9e3e6d", size = 201950 },
+ { url = "https://files.pythonhosted.org/packages/b6/00/393553ec27b824fbc29047e9c7cd4a3951d7fbe4a76743f17e44034fa4e4/jiter-0.13.0-cp313-cp313t-win_arm64.whl", hash = "sha256:701a1e77d1e593c1b435315ff625fd071f0998c5f02792038a5ca98899261b7d", size = 185852 },
+ { url = "https://files.pythonhosted.org/packages/6e/f5/f1997e987211f6f9bd71b8083047b316208b4aca0b529bb5f8c96c89ef3e/jiter-0.13.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:cc5223ab19fe25e2f0bf2643204ad7318896fe3729bf12fde41b77bfc4fafff0", size = 308804 },
+ { url = "https://files.pythonhosted.org/packages/cd/8f/5482a7677731fd44881f0204981ce2d7175db271f82cba2085dd2212e095/jiter-0.13.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9776ebe51713acf438fd9b4405fcd86893ae5d03487546dae7f34993217f8a91", size = 318787 },
+ { url = "https://files.pythonhosted.org/packages/f3/b9/7257ac59778f1cd025b26a23c5520a36a424f7f1b068f2442a5b499b7464/jiter-0.13.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:879e768938e7b49b5e90b7e3fecc0dbec01b8cb89595861fb39a8967c5220d09", size = 353880 },
+ { url = "https://files.pythonhosted.org/packages/c3/87/719eec4a3f0841dad99e3d3604ee4cba36af4419a76f3cb0b8e2e691ad67/jiter-0.13.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:682161a67adea11e3aae9038c06c8b4a9a71023228767477d683f69903ebc607", size = 366702 },
+ { url = "https://files.pythonhosted.org/packages/d2/65/415f0a75cf6921e43365a1bc227c565cb949caca8b7532776e430cbaa530/jiter-0.13.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a13b68cd1cd8cc9de8f244ebae18ccb3e4067ad205220ef324c39181e23bbf66", size = 486319 },
+ { url = "https://files.pythonhosted.org/packages/54/a2/9e12b48e82c6bbc6081fd81abf915e1443add1b13d8fc586e1d90bb02bb8/jiter-0.13.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:87ce0f14c6c08892b610686ae8be350bf368467b6acd5085a5b65441e2bf36d2", size = 372289 },
+ { url = "https://files.pythonhosted.org/packages/4e/c1/e4693f107a1789a239c759a432e9afc592366f04e901470c2af89cfd28e1/jiter-0.13.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c365005b05505a90d1c47856420980d0237adf82f70c4aff7aebd3c1cc143ad", size = 360165 },
+ { url = "https://files.pythonhosted.org/packages/17/08/91b9ea976c1c758240614bd88442681a87672eebc3d9a6dde476874e706b/jiter-0.13.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1317fdffd16f5873e46ce27d0e0f7f4f90f0cdf1d86bf6abeaea9f63ca2c401d", size = 389634 },
+ { url = "https://files.pythonhosted.org/packages/18/23/58325ef99390d6d40427ed6005bf1ad54f2577866594bcf13ce55675f87d/jiter-0.13.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:c05b450d37ba0c9e21c77fef1f205f56bcee2330bddca68d344baebfc55ae0df", size = 514933 },
+ { url = "https://files.pythonhosted.org/packages/5b/25/69f1120c7c395fd276c3996bb8adefa9c6b84c12bb7111e5c6ccdcd8526d/jiter-0.13.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:775e10de3849d0631a97c603f996f518159272db00fdda0a780f81752255ee9d", size = 548842 },
+ { url = "https://files.pythonhosted.org/packages/18/05/981c9669d86850c5fbb0d9e62bba144787f9fba84546ba43d624ee27ef29/jiter-0.13.0-cp314-cp314-win32.whl", hash = "sha256:632bf7c1d28421c00dd8bbb8a3bac5663e1f57d5cd5ed962bce3c73bf62608e6", size = 202108 },
+ { url = "https://files.pythonhosted.org/packages/8d/96/cdcf54dd0b0341db7d25413229888a346c7130bd20820530905fdb65727b/jiter-0.13.0-cp314-cp314-win_amd64.whl", hash = "sha256:f22ef501c3f87ede88f23f9b11e608581c14f04db59b6a801f354397ae13739f", size = 204027 },
+ { url = "https://files.pythonhosted.org/packages/fb/f9/724bcaaab7a3cd727031fe4f6995cb86c4bd344909177c186699c8dec51a/jiter-0.13.0-cp314-cp314-win_arm64.whl", hash = "sha256:07b75fe09a4ee8e0c606200622e571e44943f47254f95e2436c8bdcaceb36d7d", size = 187199 },
+ { url = "https://files.pythonhosted.org/packages/62/92/1661d8b9fd6a3d7a2d89831db26fe3c1509a287d83ad7838831c7b7a5c7e/jiter-0.13.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:964538479359059a35fb400e769295d4b315ae61e4105396d355a12f7fef09f0", size = 318423 },
+ { url = "https://files.pythonhosted.org/packages/4f/3b/f77d342a54d4ebcd128e520fc58ec2f5b30a423b0fd26acdfc0c6fef8e26/jiter-0.13.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e104da1db1c0991b3eaed391ccd650ae8d947eab1480c733e5a3fb28d4313e40", size = 351438 },
+ { url = "https://files.pythonhosted.org/packages/76/b3/ba9a69f0e4209bd3331470c723c2f5509e6f0482e416b612431a5061ed71/jiter-0.13.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0e3a5f0cde8ff433b8e88e41aa40131455420fb3649a3c7abdda6145f8cb7202", size = 364774 },
+ { url = "https://files.pythonhosted.org/packages/b3/16/6cdb31fa342932602458dbb631bfbd47f601e03d2e4950740e0b2100b570/jiter-0.13.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:57aab48f40be1db920a582b30b116fe2435d184f77f0e4226f546794cedd9cf0", size = 487238 },
+ { url = "https://files.pythonhosted.org/packages/ed/b1/956cc7abaca8d95c13aa8d6c9b3f3797241c246cd6e792934cc4c8b250d2/jiter-0.13.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7772115877c53f62beeb8fd853cab692dbc04374ef623b30f997959a4c0e7e95", size = 372892 },
+ { url = "https://files.pythonhosted.org/packages/26/c4/97ecde8b1e74f67b8598c57c6fccf6df86ea7861ed29da84629cdbba76c4/jiter-0.13.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1211427574b17b633cfceba5040de8081e5abf114f7a7602f73d2e16f9fdaa59", size = 360309 },
+ { url = "https://files.pythonhosted.org/packages/4b/d7/eabe3cf46715854ccc80be2cd78dd4c36aedeb30751dbf85a1d08c14373c/jiter-0.13.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7beae3a3d3b5212d3a55d2961db3c292e02e302feb43fce6a3f7a31b90ea6dfe", size = 389607 },
+ { url = "https://files.pythonhosted.org/packages/df/2d/03963fc0804e6109b82decfb9974eb92df3797fe7222428cae12f8ccaa0c/jiter-0.13.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:e5562a0f0e90a6223b704163ea28e831bd3a9faa3512a711f031611e6b06c939", size = 514986 },
+ { url = "https://files.pythonhosted.org/packages/f6/6c/8c83b45eb3eb1c1e18d841fe30b4b5bc5619d781267ca9bc03e005d8fd0a/jiter-0.13.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:6c26a424569a59140fb51160a56df13f438a2b0967365e987889186d5fc2f6f9", size = 548756 },
+ { url = "https://files.pythonhosted.org/packages/47/66/eea81dfff765ed66c68fd2ed8c96245109e13c896c2a5015c7839c92367e/jiter-0.13.0-cp314-cp314t-win32.whl", hash = "sha256:24dc96eca9f84da4131cdf87a95e6ce36765c3b156fc9ae33280873b1c32d5f6", size = 201196 },
+ { url = "https://files.pythonhosted.org/packages/ff/32/4ac9c7a76402f8f00d00842a7f6b83b284d0cf7c1e9d4227bc95aa6d17fa/jiter-0.13.0-cp314-cp314t-win_amd64.whl", hash = "sha256:0a8d76c7524087272c8ae913f5d9d608bd839154b62c4322ef65723d2e5bb0b8", size = 204215 },
+ { url = "https://files.pythonhosted.org/packages/f9/8e/7def204fea9f9be8b3c21a6f2dd6c020cf56c7d5ff753e0e23ed7f9ea57e/jiter-0.13.0-cp314-cp314t-win_arm64.whl", hash = "sha256:2c26cf47e2cad140fa23b6d58d435a7c0161f5c514284802f25e87fddfe11024", size = 187152 },
{ url = "https://files.pythonhosted.org/packages/79/b3/3c29819a27178d0e461a8571fb63c6ae38be6dc36b78b3ec2876bbd6a910/jiter-0.13.0-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:b1cbfa133241d0e6bdab48dcdc2604e8ba81512f6bbd68ec3e8e1357dd3c316c", size = 307016 },
{ url = "https://files.pythonhosted.org/packages/eb/ae/60993e4b07b1ac5ebe46da7aa99fdbb802eb986c38d26e3883ac0125c4e0/jiter-0.13.0-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:db367d8be9fad6e8ebbac4a7578b7af562e506211036cba2c06c3b998603c3d2", size = 305024 },
{ url = "https://files.pythonhosted.org/packages/77/fa/2227e590e9cf98803db2811f172b2d6460a21539ab73006f251c66f44b14/jiter-0.13.0-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45f6f8efb2f3b0603092401dc2df79fa89ccbc027aaba4174d2d4133ed661434", size = 339337 },
@@ -1043,6 +1348,50 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540 },
{ url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105 },
{ url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906 },
+ { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622 },
+ { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029 },
+ { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374 },
+ { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980 },
+ { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990 },
+ { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784 },
+ { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588 },
+ { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041 },
+ { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543 },
+ { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113 },
+ { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911 },
+ { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658 },
+ { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066 },
+ { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639 },
+ { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569 },
+ { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284 },
+ { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801 },
+ { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769 },
+ { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642 },
+ { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612 },
+ { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200 },
+ { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973 },
+ { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619 },
+ { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029 },
+ { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408 },
+ { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005 },
+ { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048 },
+ { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821 },
+ { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606 },
+ { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043 },
+ { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747 },
+ { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341 },
+ { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073 },
+ { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661 },
+ { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069 },
+ { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670 },
+ { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598 },
+ { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261 },
+ { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835 },
+ { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733 },
+ { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672 },
+ { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819 },
+ { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426 },
+ { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146 },
]
[[package]]
@@ -1056,15 +1405,16 @@ wheels = [
[[package]]
name = "moneyprinterturbo"
-version = "1.3.1"
+version = "1.3.2"
source = { virtual = "." }
dependencies = [
+ { name = "audioop-lts", marker = "python_full_version >= '3.13'" },
{ name = "azure-cognitiveservices-speech" },
{ name = "dashscope" },
{ name = "edge-tts" },
{ name = "fastapi" },
{ name = "faster-whisper" },
- { name = "google-generativeai" },
+ { name = "google-genai" },
{ name = "litellm" },
{ name = "loguru" },
{ name = "moviepy" },
@@ -1076,6 +1426,7 @@ dependencies = [
{ name = "requests" },
{ name = "socksio" },
{ name = "streamlit" },
+ { name = "streamlit-tour" },
{ name = "uvicorn" },
]
@@ -1086,12 +1437,13 @@ twelvelabs = [
[package.metadata]
requires-dist = [
+ { name = "audioop-lts", marker = "python_full_version >= '3.13'", specifier = "==0.2.2" },
{ name = "azure-cognitiveservices-speech", specifier = "==1.41.1" },
{ name = "dashscope", specifier = "==1.20.14" },
{ name = "edge-tts", specifier = "==7.2.7" },
{ name = "fastapi", specifier = "==0.136.3" },
{ name = "faster-whisper", specifier = "==1.1.0" },
- { name = "google-generativeai", specifier = "==0.8.6" },
+ { name = "google-genai", specifier = "==2.11.0" },
{ name = "litellm", specifier = "==1.86.2" },
{ name = "loguru", specifier = "==0.7.3" },
{ name = "moviepy", specifier = "==2.2.1" },
@@ -1102,7 +1454,8 @@ requires-dist = [
{ name = "redis", specifier = "==5.2.0" },
{ name = "requests", specifier = "==2.33.1" },
{ name = "socksio", specifier = "==1.0.0" },
- { name = "streamlit", specifier = "==1.58.0" },
+ { name = "streamlit", specifier = "==1.59.1" },
+ { name = "streamlit-tour", specifier = "==1.1.0" },
{ name = "twelvelabs", marker = "extra == 'twelvelabs'", specifier = ">=1.2.8" },
{ name = "uvicorn", specifier = "==0.32.1" },
]
@@ -1177,6 +1530,78 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887 },
{ url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053 },
{ url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307 },
+ { url = "https://files.pythonhosted.org/packages/f2/22/929c141d6c0dba87d3e1d38fbdf1ba8baba86b7776469f2bc2d3227a1e67/multidict-6.7.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2b41f5fed0ed563624f1c17630cb9941cf2309d4df00e494b551b5f3e3d67a23", size = 76174 },
+ { url = "https://files.pythonhosted.org/packages/c7/75/bc704ae15fee974f8fccd871305e254754167dce5f9e42d88a2def741a1d/multidict-6.7.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84e61e3af5463c19b67ced91f6c634effb89ef8bfc5ca0267f954451ed4bb6a2", size = 45116 },
+ { url = "https://files.pythonhosted.org/packages/79/76/55cd7186f498ed080a18440c9013011eb548f77ae1b297206d030eb1180a/multidict-6.7.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:935434b9853c7c112eee7ac891bc4cb86455aa631269ae35442cb316790c1445", size = 43524 },
+ { url = "https://files.pythonhosted.org/packages/e9/3c/414842ef8d5a1628d68edee29ba0e5bcf235dbfb3ccd3ea303a7fe8c72ff/multidict-6.7.1-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:432feb25a1cb67fe82a9680b4d65fb542e4635cb3166cd9c01560651ad60f177", size = 249368 },
+ { url = "https://files.pythonhosted.org/packages/f6/32/befed7f74c458b4a525e60519fe8d87eef72bb1e99924fa2b0f9d97a221e/multidict-6.7.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e82d14e3c948952a1a85503817e038cba5905a3352de76b9a465075d072fba23", size = 256952 },
+ { url = "https://files.pythonhosted.org/packages/03/d6/c878a44ba877f366630c860fdf74bfb203c33778f12b6ac274936853c451/multidict-6.7.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:4cfb48c6ea66c83bcaaf7e4dfa7ec1b6bbcf751b7db85a328902796dfde4c060", size = 240317 },
+ { url = "https://files.pythonhosted.org/packages/68/49/57421b4d7ad2e9e60e25922b08ceb37e077b90444bde6ead629095327a6f/multidict-6.7.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1d540e51b7e8e170174555edecddbd5538105443754539193e3e1061864d444d", size = 267132 },
+ { url = "https://files.pythonhosted.org/packages/b7/fe/ec0edd52ddbcea2a2e89e174f0206444a61440b40f39704e64dc807a70bd/multidict-6.7.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:273d23f4b40f3dce4d6c8a821c741a86dec62cded82e1175ba3d99be128147ed", size = 268140 },
+ { url = "https://files.pythonhosted.org/packages/b0/73/6e1b01cbeb458807aa0831742232dbdd1fa92bfa33f52a3f176b4ff3dc11/multidict-6.7.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d624335fd4fa1c08a53f8b4be7676ebde19cd092b3895c421045ca87895b429", size = 254277 },
+ { url = "https://files.pythonhosted.org/packages/6a/b2/5fb8c124d7561a4974c342bc8c778b471ebbeb3cc17df696f034a7e9afe7/multidict-6.7.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:12fad252f8b267cc75b66e8fc51b3079604e8d43a75428ffe193cd9e2195dfd6", size = 252291 },
+ { url = "https://files.pythonhosted.org/packages/5a/96/51d4e4e06bcce92577fcd488e22600bd38e4fd59c20cb49434d054903bd2/multidict-6.7.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:03ede2a6ffbe8ef936b92cb4529f27f42be7f56afcdab5ab739cd5f27fb1cbf9", size = 250156 },
+ { url = "https://files.pythonhosted.org/packages/db/6b/420e173eec5fba721a50e2a9f89eda89d9c98fded1124f8d5c675f7a0c0f/multidict-6.7.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:90efbcf47dbe33dcf643a1e400d67d59abeac5db07dc3f27d6bdeae497a2198c", size = 249742 },
+ { url = "https://files.pythonhosted.org/packages/44/a3/ec5b5bd98f306bc2aa297b8c6f11a46714a56b1e6ef5ebda50a4f5d7c5fb/multidict-6.7.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c4b9bfc148f5a91be9244d6264c53035c8a0dcd2f51f1c3c6e30e30ebaa1c84", size = 262221 },
+ { url = "https://files.pythonhosted.org/packages/cd/f7/e8c0d0da0cd1e28d10e624604e1a36bcc3353aaebdfdc3a43c72bc683a12/multidict-6.7.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:401c5a650f3add2472d1d288c26deebc540f99e2fb83e9525007a74cd2116f1d", size = 258664 },
+ { url = "https://files.pythonhosted.org/packages/52/da/151a44e8016dd33feed44f730bd856a66257c1ee7aed4f44b649fb7edeb3/multidict-6.7.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:97891f3b1b3ffbded884e2916cacf3c6fc87b66bb0dde46f7357404750559f33", size = 249490 },
+ { url = "https://files.pythonhosted.org/packages/87/af/a3b86bf9630b732897f6fc3f4c4714b90aa4361983ccbdcd6c0339b21b0c/multidict-6.7.1-cp313-cp313-win32.whl", hash = "sha256:e1c5988359516095535c4301af38d8a8838534158f649c05dd1050222321bcb3", size = 41695 },
+ { url = "https://files.pythonhosted.org/packages/b2/35/e994121b0e90e46134673422dd564623f93304614f5d11886b1b3e06f503/multidict-6.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:960c83bf01a95b12b08fd54324a4eb1d5b52c88932b5cba5d6e712bb3ed12eb5", size = 45884 },
+ { url = "https://files.pythonhosted.org/packages/ca/61/42d3e5dbf661242a69c97ea363f2d7b46c567da8eadef8890022be6e2ab0/multidict-6.7.1-cp313-cp313-win_arm64.whl", hash = "sha256:563fe25c678aaba333d5399408f5ec3c383ca5b663e7f774dd179a520b8144df", size = 43122 },
+ { url = "https://files.pythonhosted.org/packages/6d/b3/e6b21c6c4f314bb956016b0b3ef2162590a529b84cb831c257519e7fde44/multidict-6.7.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:c76c4bec1538375dad9d452d246ca5368ad6e1c9039dadcf007ae59c70619ea1", size = 83175 },
+ { url = "https://files.pythonhosted.org/packages/fb/76/23ecd2abfe0957b234f6c960f4ade497f55f2c16aeb684d4ecdbf1c95791/multidict-6.7.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:57b46b24b5d5ebcc978da4ec23a819a9402b4228b8a90d9c656422b4bdd8a963", size = 48460 },
+ { url = "https://files.pythonhosted.org/packages/c4/57/a0ed92b23f3a042c36bc4227b72b97eca803f5f1801c1ab77c8a212d455e/multidict-6.7.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e954b24433c768ce78ab7929e84ccf3422e46deb45a4dc9f93438f8217fa2d34", size = 46930 },
+ { url = "https://files.pythonhosted.org/packages/b5/66/02ec7ace29162e447f6382c495dc95826bf931d3818799bbef11e8f7df1a/multidict-6.7.1-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:3bd231490fa7217cc832528e1cd8752a96f0125ddd2b5749390f7c3ec8721b65", size = 242582 },
+ { url = "https://files.pythonhosted.org/packages/58/18/64f5a795e7677670e872673aca234162514696274597b3708b2c0d276cce/multidict-6.7.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:253282d70d67885a15c8a7716f3a73edf2d635793ceda8173b9ecc21f2fb8292", size = 250031 },
+ { url = "https://files.pythonhosted.org/packages/c8/ed/e192291dbbe51a8290c5686f482084d31bcd9d09af24f63358c3d42fd284/multidict-6.7.1-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0b4c48648d7649c9335cf1927a8b87fa692de3dcb15faa676c6a6f1f1aabda43", size = 228596 },
+ { url = "https://files.pythonhosted.org/packages/1e/7e/3562a15a60cf747397e7f2180b0a11dc0c38d9175a650e75fa1b4d325e15/multidict-6.7.1-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:98bc624954ec4d2c7cb074b8eefc2b5d0ce7d482e410df446414355d158fe4ca", size = 257492 },
+ { url = "https://files.pythonhosted.org/packages/24/02/7d0f9eae92b5249bb50ac1595b295f10e263dd0078ebb55115c31e0eaccd/multidict-6.7.1-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1b99af4d9eec0b49927b4402bcbb58dea89d3e0db8806a4086117019939ad3dd", size = 255899 },
+ { url = "https://files.pythonhosted.org/packages/00/e3/9b60ed9e23e64c73a5cde95269ef1330678e9c6e34dd4eb6b431b85b5a10/multidict-6.7.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6aac4f16b472d5b7dc6f66a0d49dd57b0e0902090be16594dc9ebfd3d17c47e7", size = 247970 },
+ { url = "https://files.pythonhosted.org/packages/3e/06/538e58a63ed5cfb0bd4517e346b91da32fde409d839720f664e9a4ae4f9d/multidict-6.7.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:21f830fe223215dffd51f538e78c172ed7c7f60c9b96a2bf05c4848ad49921c3", size = 245060 },
+ { url = "https://files.pythonhosted.org/packages/b2/2f/d743a3045a97c895d401e9bd29aaa09b94f5cbdf1bd561609e5a6c431c70/multidict-6.7.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:f5dd81c45b05518b9aa4da4aa74e1c93d715efa234fd3e8a179df611cc85e5f4", size = 235888 },
+ { url = "https://files.pythonhosted.org/packages/38/83/5a325cac191ab28b63c52f14f1131f3b0a55ba3b9aa65a6d0bf2a9b921a0/multidict-6.7.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:eb304767bca2bb92fb9c5bd33cedc95baee5bb5f6c88e63706533a1c06ad08c8", size = 243554 },
+ { url = "https://files.pythonhosted.org/packages/20/1f/9d2327086bd15da2725ef6aae624208e2ef828ed99892b17f60c344e57ed/multidict-6.7.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:c9035dde0f916702850ef66460bc4239d89d08df4d02023a5926e7446724212c", size = 252341 },
+ { url = "https://files.pythonhosted.org/packages/e8/2c/2a1aa0280cf579d0f6eed8ee5211c4f1730bd7e06c636ba2ee6aafda302e/multidict-6.7.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:af959b9beeb66c822380f222f0e0a1889331597e81f1ded7f374f3ecb0fd6c52", size = 246391 },
+ { url = "https://files.pythonhosted.org/packages/e5/03/7ca022ffc36c5a3f6e03b179a5ceb829be9da5783e6fe395f347c0794680/multidict-6.7.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:41f2952231456154ee479651491e94118229844dd7226541788be783be2b5108", size = 243422 },
+ { url = "https://files.pythonhosted.org/packages/dc/1d/b31650eab6c5778aceed46ba735bd97f7c7d2f54b319fa916c0f96e7805b/multidict-6.7.1-cp313-cp313t-win32.whl", hash = "sha256:df9f19c28adcb40b6aae30bbaa1478c389efd50c28d541d76760199fc1037c32", size = 47770 },
+ { url = "https://files.pythonhosted.org/packages/ac/5b/2d2d1d522e51285bd61b1e20df8f47ae1a9d80839db0b24ea783b3832832/multidict-6.7.1-cp313-cp313t-win_amd64.whl", hash = "sha256:d54ecf9f301853f2c5e802da559604b3e95bb7a3b01a9c295c6ee591b9882de8", size = 53109 },
+ { url = "https://files.pythonhosted.org/packages/3d/a3/cc409ba012c83ca024a308516703cf339bdc4b696195644a7215a5164a24/multidict-6.7.1-cp313-cp313t-win_arm64.whl", hash = "sha256:5a37ca18e360377cfda1d62f5f382ff41f2b8c4ccb329ed974cc2e1643440118", size = 45573 },
+ { url = "https://files.pythonhosted.org/packages/91/cc/db74228a8be41884a567e88a62fd589a913708fcf180d029898c17a9a371/multidict-6.7.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8f333ec9c5eb1b7105e3b84b53141e66ca05a19a605368c55450b6ba208cb9ee", size = 75190 },
+ { url = "https://files.pythonhosted.org/packages/d5/22/492f2246bb5b534abd44804292e81eeaf835388901f0c574bac4eeec73c5/multidict-6.7.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a407f13c188f804c759fc6a9f88286a565c242a76b27626594c133b82883b5c2", size = 44486 },
+ { url = "https://files.pythonhosted.org/packages/f1/4f/733c48f270565d78b4544f2baddc2fb2a245e5a8640254b12c36ac7ac68e/multidict-6.7.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0e161ddf326db5577c3a4cc2d8648f81456e8a20d40415541587a71620d7a7d1", size = 43219 },
+ { url = "https://files.pythonhosted.org/packages/24/bb/2c0c2287963f4259c85e8bcbba9182ced8d7fca65c780c38e99e61629d11/multidict-6.7.1-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1e3a8bb24342a8201d178c3b4984c26ba81a577c80d4d525727427460a50c22d", size = 245132 },
+ { url = "https://files.pythonhosted.org/packages/a7/f9/44d4b3064c65079d2467888794dea218d1601898ac50222ab8a9a8094460/multidict-6.7.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97231140a50f5d447d3164f994b86a0bed7cd016e2682f8650d6a9158e14fd31", size = 252420 },
+ { url = "https://files.pythonhosted.org/packages/8b/13/78f7275e73fa17b24c9a51b0bd9d73ba64bb32d0ed51b02a746eb876abe7/multidict-6.7.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6b10359683bd8806a200fd2909e7c8ca3a7b24ec1d8132e483d58e791d881048", size = 233510 },
+ { url = "https://files.pythonhosted.org/packages/4b/25/8167187f62ae3cbd52da7893f58cb036b47ea3fb67138787c76800158982/multidict-6.7.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:283ddac99f7ac25a4acadbf004cb5ae34480bbeb063520f70ce397b281859362", size = 264094 },
+ { url = "https://files.pythonhosted.org/packages/a1/e7/69a3a83b7b030cf283fb06ce074a05a02322359783424d7edf0f15fe5022/multidict-6.7.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:538cec1e18c067d0e6103aa9a74f9e832904c957adc260e61cd9d8cf0c3b3d37", size = 260786 },
+ { url = "https://files.pythonhosted.org/packages/fe/3b/8ec5074bcfc450fe84273713b4b0a0dd47c0249358f5d82eb8104ffe2520/multidict-6.7.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7eee46ccb30ff48a1e35bb818cc90846c6be2b68240e42a78599166722cea709", size = 248483 },
+ { url = "https://files.pythonhosted.org/packages/48/5a/d5a99e3acbca0e29c5d9cba8f92ceb15dce78bab963b308ae692981e3a5d/multidict-6.7.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fa263a02f4f2dd2d11a7b1bb4362aa7cb1049f84a9235d31adf63f30143469a0", size = 248403 },
+ { url = "https://files.pythonhosted.org/packages/35/48/e58cd31f6c7d5102f2a4bf89f96b9cf7e00b6c6f3d04ecc44417c00a5a3c/multidict-6.7.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:2e1425e2f99ec5bd36c15a01b690a1a2456209c5deed58f95469ffb46039ccbb", size = 240315 },
+ { url = "https://files.pythonhosted.org/packages/94/33/1cd210229559cb90b6786c30676bb0c58249ff42f942765f88793b41fdce/multidict-6.7.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:497394b3239fc6f0e13a78a3e1b61296e72bf1c5f94b4c4eb80b265c37a131cd", size = 245528 },
+ { url = "https://files.pythonhosted.org/packages/64/f2/6e1107d226278c876c783056b7db43d800bb64c6131cec9c8dfb6903698e/multidict-6.7.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:233b398c29d3f1b9676b4b6f75c518a06fcb2ea0b925119fb2c1bc35c05e1601", size = 258784 },
+ { url = "https://files.pythonhosted.org/packages/4d/c1/11f664f14d525e4a1b5327a82d4de61a1db604ab34c6603bb3c2cc63ad34/multidict-6.7.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:93b1818e4a6e0930454f0f2af7dfce69307ca03cdcfb3739bf4d91241967b6c1", size = 251980 },
+ { url = "https://files.pythonhosted.org/packages/e1/9f/75a9ac888121d0c5bbd4ecf4eead45668b1766f6baabfb3b7f66a410e231/multidict-6.7.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f33dc2a3abe9249ea5d8360f969ec7f4142e7ac45ee7014d8f8d5acddf178b7b", size = 243602 },
+ { url = "https://files.pythonhosted.org/packages/9a/e7/50bf7b004cc8525d80dbbbedfdc7aed3e4c323810890be4413e589074032/multidict-6.7.1-cp314-cp314-win32.whl", hash = "sha256:3ab8b9d8b75aef9df299595d5388b14530839f6422333357af1339443cff777d", size = 40930 },
+ { url = "https://files.pythonhosted.org/packages/e0/bf/52f25716bbe93745595800f36fb17b73711f14da59ed0bb2eba141bc9f0f/multidict-6.7.1-cp314-cp314-win_amd64.whl", hash = "sha256:5e01429a929600e7dab7b166062d9bb54a5eed752384c7384c968c2afab8f50f", size = 45074 },
+ { url = "https://files.pythonhosted.org/packages/97/ab/22803b03285fa3a525f48217963da3a65ae40f6a1b6f6cf2768879e208f9/multidict-6.7.1-cp314-cp314-win_arm64.whl", hash = "sha256:4885cb0e817aef5d00a2e8451d4665c1808378dc27c2705f1bf4ef8505c0d2e5", size = 42471 },
+ { url = "https://files.pythonhosted.org/packages/e0/6d/f9293baa6146ba9507e360ea0292b6422b016907c393e2f63fc40ab7b7b5/multidict-6.7.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:0458c978acd8e6ea53c81eefaddbbee9c6c5e591f41b3f5e8e194780fe026581", size = 82401 },
+ { url = "https://files.pythonhosted.org/packages/7a/68/53b5494738d83558d87c3c71a486504d8373421c3e0dbb6d0db48ad42ee0/multidict-6.7.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:c0abd12629b0af3cf590982c0b413b1e7395cd4ec026f30986818ab95bfaa94a", size = 48143 },
+ { url = "https://files.pythonhosted.org/packages/37/e8/5284c53310dcdc99ce5d66563f6e5773531a9b9fe9ec7a615e9bc306b05f/multidict-6.7.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:14525a5f61d7d0c94b368a42cff4c9a4e7ba2d52e2672a7b23d84dc86fb02b0c", size = 46507 },
+ { url = "https://files.pythonhosted.org/packages/e4/fc/6800d0e5b3875568b4083ecf5f310dcf91d86d52573160834fb4bfcf5e4f/multidict-6.7.1-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:17307b22c217b4cf05033dabefe68255a534d637c6c9b0cc8382718f87be4262", size = 239358 },
+ { url = "https://files.pythonhosted.org/packages/41/75/4ad0973179361cdf3a113905e6e088173198349131be2b390f9fa4da5fc6/multidict-6.7.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a7e590ff876a3eaf1c02a4dfe0724b6e69a9e9de6d8f556816f29c496046e59", size = 246884 },
+ { url = "https://files.pythonhosted.org/packages/c3/9c/095bb28b5da139bd41fb9a5d5caff412584f377914bd8787c2aa98717130/multidict-6.7.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5fa6a95dfee63893d80a34758cd0e0c118a30b8dcb46372bf75106c591b77889", size = 225878 },
+ { url = "https://files.pythonhosted.org/packages/07/d0/c0a72000243756e8f5a277b6b514fa005f2c73d481b7d9e47cd4568aa2e4/multidict-6.7.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a0543217a6a017692aa6ae5cc39adb75e587af0f3a82288b1492eb73dd6cc2a4", size = 253542 },
+ { url = "https://files.pythonhosted.org/packages/c0/6b/f69da15289e384ecf2a68837ec8b5ad8c33e973aa18b266f50fe55f24b8c/multidict-6.7.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f99fe611c312b3c1c0ace793f92464d8cd263cc3b26b5721950d977b006b6c4d", size = 252403 },
+ { url = "https://files.pythonhosted.org/packages/a2/76/b9669547afa5a1a25cd93eaca91c0da1c095b06b6d2d8ec25b713588d3a1/multidict-6.7.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9004d8386d133b7e6135679424c91b0b854d2d164af6ea3f289f8f2761064609", size = 244889 },
+ { url = "https://files.pythonhosted.org/packages/7e/a9/a50d2669e506dad33cfc45b5d574a205587b7b8a5f426f2fbb2e90882588/multidict-6.7.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e628ef0e6859ffd8273c69412a2465c4be4a9517d07261b33334b5ec6f3c7489", size = 241982 },
+ { url = "https://files.pythonhosted.org/packages/c5/bb/1609558ad8b456b4827d3c5a5b775c93b87878fd3117ed3db3423dfbce1b/multidict-6.7.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:841189848ba629c3552035a6a7f5bf3b02eb304e9fea7492ca220a8eda6b0e5c", size = 232415 },
+ { url = "https://files.pythonhosted.org/packages/d8/59/6f61039d2aa9261871e03ab9dc058a550d240f25859b05b67fd70f80d4b3/multidict-6.7.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:ce1bbd7d780bb5a0da032e095c951f7014d6b0a205f8318308140f1a6aba159e", size = 240337 },
+ { url = "https://files.pythonhosted.org/packages/a1/29/fdc6a43c203890dc2ae9249971ecd0c41deaedfe00d25cb6564b2edd99eb/multidict-6.7.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b26684587228afed0d50cf804cc71062cc9c1cdf55051c4c6345d372947b268c", size = 248788 },
+ { url = "https://files.pythonhosted.org/packages/a9/14/a153a06101323e4cf086ecee3faadba52ff71633d471f9685c42e3736163/multidict-6.7.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:9f9af11306994335398293f9958071019e3ab95e9a707dc1383a35613f6abcb9", size = 242842 },
+ { url = "https://files.pythonhosted.org/packages/41/5f/604ae839e64a4a6efc80db94465348d3b328ee955e37acb24badbcd24d83/multidict-6.7.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b4938326284c4f1224178a560987b6cf8b4d38458b113d9b8c1db1a836e640a2", size = 240237 },
+ { url = "https://files.pythonhosted.org/packages/5f/60/c3a5187bf66f6fb546ff4ab8fb5a077cbdd832d7b1908d4365c7f74a1917/multidict-6.7.1-cp314-cp314t-win32.whl", hash = "sha256:98655c737850c064a65e006a3df7c997cd3b220be4ec8fe26215760b9697d4d7", size = 48008 },
+ { url = "https://files.pythonhosted.org/packages/0c/f7/addf1087b860ac60e6f382240f64fb99f8bfb532bb06f7c542b83c29ca61/multidict-6.7.1-cp314-cp314t-win_amd64.whl", hash = "sha256:497bde6223c212ba11d462853cfa4f0ae6ef97465033e7dc9940cdb3ab5b48e5", size = 53542 },
+ { url = "https://files.pythonhosted.org/packages/4c/81/4629d0aa32302ef7b2ec65c75a728cc5ff4fa410c50096174c1632e70b3e/multidict-6.7.1-cp314-cp314t-win_arm64.whl", hash = "sha256:2bbd113e0d4af5db41d5ebfe9ccaff89de2120578164f86a5d17d5a576d1e5b2", size = 44719 },
{ url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319 },
]
@@ -1217,6 +1642,48 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/63/f6/d417977c5f519b17c8a5c3bc9e8304b0908b0e21136fe43bf628a1343914/numpy-2.4.4-cp312-cp312-win32.whl", hash = "sha256:0d35aea54ad1d420c812bfa0385c71cd7cc5bcf7c65fed95fc2cd02fe8c79827", size = 5961117 },
{ url = "https://files.pythonhosted.org/packages/2d/5b/e1deebf88ff431b01b7406ca3583ab2bbb90972bbe1c568732e49c844f7e/numpy-2.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:b5f0362dc928a6ecd9db58868fca5e48485205e3855957bdedea308f8672ea4a", size = 12320584 },
{ url = "https://files.pythonhosted.org/packages/58/89/e4e856ac82a68c3ed64486a544977d0e7bdd18b8da75b78a577ca31c4395/numpy-2.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:846300f379b5b12cc769334464656bc882e0735d27d9726568bc932fdc49d5ec", size = 10221450 },
+ { url = "https://files.pythonhosted.org/packages/14/1d/d0a583ce4fefcc3308806a749a536c201ed6b5ad6e1322e227ee4848979d/numpy-2.4.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:08f2e31ed5e6f04b118e49821397f12767934cfdd12a1ce86a058f91e004ee50", size = 16684933 },
+ { url = "https://files.pythonhosted.org/packages/c1/62/2b7a48fbb745d344742c0277f01286dead15f3f68e4f359fbfcf7b48f70f/numpy-2.4.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e823b8b6edc81e747526f70f71a9c0a07ac4e7ad13020aa736bb7c9d67196115", size = 14694532 },
+ { url = "https://files.pythonhosted.org/packages/e5/87/499737bfba066b4a3bebff24a8f1c5b2dee410b209bc6668c9be692580f0/numpy-2.4.4-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:4a19d9dba1a76618dd86b164d608566f393f8ec6ac7c44f0cc879011c45e65af", size = 5199661 },
+ { url = "https://files.pythonhosted.org/packages/cd/da/464d551604320d1491bc345efed99b4b7034143a85787aab78d5691d5a0e/numpy-2.4.4-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:d2a8490669bfe99a233298348acc2d824d496dee0e66e31b66a6022c2ad74a5c", size = 6547539 },
+ { url = "https://files.pythonhosted.org/packages/7d/90/8d23e3b0dafd024bf31bdec225b3bb5c2dbfa6912f8a53b8659f21216cbf/numpy-2.4.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45dbed2ab436a9e826e302fcdcbe9133f9b0006e5af7168afb8963a6520da103", size = 15668806 },
+ { url = "https://files.pythonhosted.org/packages/d1/73/a9d864e42a01896bb5974475438f16086be9ba1f0d19d0bb7a07427c4a8b/numpy-2.4.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c901b15172510173f5cb310eae652908340f8dede90fff9e3bf6c0d8dfd92f83", size = 16632682 },
+ { url = "https://files.pythonhosted.org/packages/34/fb/14570d65c3bde4e202a031210475ae9cde9b7686a2e7dc97ee67d2833b35/numpy-2.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:99d838547ace2c4aace6c4f76e879ddfe02bb58a80c1549928477862b7a6d6ed", size = 17019810 },
+ { url = "https://files.pythonhosted.org/packages/8a/77/2ba9d87081fd41f6d640c83f26fb7351e536b7ce6dd9061b6af5904e8e46/numpy-2.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0aec54fd785890ecca25a6003fd9a5aed47ad607bbac5cd64f836ad8666f4959", size = 18357394 },
+ { url = "https://files.pythonhosted.org/packages/a2/23/52666c9a41708b0853fa3b1a12c90da38c507a3074883823126d4e9d5b30/numpy-2.4.4-cp313-cp313-win32.whl", hash = "sha256:07077278157d02f65c43b1b26a3886bce886f95d20aabd11f87932750dfb14ed", size = 5959556 },
+ { url = "https://files.pythonhosted.org/packages/57/fb/48649b4971cde70d817cf97a2a2fdc0b4d8308569f1dd2f2611959d2e0cf/numpy-2.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:5c70f1cc1c4efbe316a572e2d8b9b9cc44e89b95f79ca3331553fbb63716e2bf", size = 12317311 },
+ { url = "https://files.pythonhosted.org/packages/ba/d8/11490cddd564eb4de97b4579ef6bfe6a736cc07e94c1598590ae25415e01/numpy-2.4.4-cp313-cp313-win_arm64.whl", hash = "sha256:ef4059d6e5152fa1a39f888e344c73fdc926e1b2dd58c771d67b0acfbf2aa67d", size = 10222060 },
+ { url = "https://files.pythonhosted.org/packages/99/5d/dab4339177a905aad3e2221c915b35202f1ec30d750dd2e5e9d9a72b804b/numpy-2.4.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4bbc7f303d125971f60ec0aaad5e12c62d0d2c925f0ab1273debd0e4ba37aba5", size = 14822302 },
+ { url = "https://files.pythonhosted.org/packages/eb/e4/0564a65e7d3d97562ed6f9b0fd0fb0a6f559ee444092f105938b50043876/numpy-2.4.4-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:4d6d57903571f86180eb98f8f0c839fa9ebbfb031356d87f1361be91e433f5b7", size = 5327407 },
+ { url = "https://files.pythonhosted.org/packages/29/8d/35a3a6ce5ad371afa58b4700f1c820f8f279948cca32524e0a695b0ded83/numpy-2.4.4-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:4636de7fd195197b7535f231b5de9e4b36d2c440b6e566d2e4e4746e6af0ca93", size = 6647631 },
+ { url = "https://files.pythonhosted.org/packages/f4/da/477731acbd5a58a946c736edfdabb2ac5b34c3d08d1ba1a7b437fa0884df/numpy-2.4.4-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ad2e2ef14e0b04e544ea2fa0a36463f847f113d314aa02e5b402fdf910ef309e", size = 15727691 },
+ { url = "https://files.pythonhosted.org/packages/e6/db/338535d9b152beabeb511579598418ba0212ce77cf9718edd70262cc4370/numpy-2.4.4-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a285b3b96f951841799528cd1f4f01cd70e7e0204b4abebac9463eecfcf2a40", size = 16681241 },
+ { url = "https://files.pythonhosted.org/packages/e2/a9/ad248e8f58beb7a0219b413c9c7d8151c5d285f7f946c3e26695bdbbe2df/numpy-2.4.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:f8474c4241bc18b750be2abea9d7a9ec84f46ef861dbacf86a4f6e043401f79e", size = 17085767 },
+ { url = "https://files.pythonhosted.org/packages/b5/1a/3b88ccd3694681356f70da841630e4725a7264d6a885c8d442a697e1146b/numpy-2.4.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4e874c976154687c1f71715b034739b45c7711bec81db01914770373d125e392", size = 18403169 },
+ { url = "https://files.pythonhosted.org/packages/c2/c9/fcfd5d0639222c6eac7f304829b04892ef51c96a75d479214d77e3ce6e33/numpy-2.4.4-cp313-cp313t-win32.whl", hash = "sha256:9c585a1790d5436a5374bac930dad6ed244c046ed91b2b2a3634eb2971d21008", size = 6083477 },
+ { url = "https://files.pythonhosted.org/packages/d5/e3/3938a61d1c538aaec8ed6fd6323f57b0c2d2d2219512434c5c878db76553/numpy-2.4.4-cp313-cp313t-win_amd64.whl", hash = "sha256:93e15038125dc1e5345d9b5b68aa7f996ec33b98118d18c6ca0d0b7d6198b7e8", size = 12457487 },
+ { url = "https://files.pythonhosted.org/packages/97/6a/7e345032cc60501721ef94e0e30b60f6b0bd601f9174ebd36389a2b86d40/numpy-2.4.4-cp313-cp313t-win_arm64.whl", hash = "sha256:0dfd3f9d3adbe2920b68b5cd3d51444e13a10792ec7154cd0a2f6e74d4ab3233", size = 10292002 },
+ { url = "https://files.pythonhosted.org/packages/6e/06/c54062f85f673dd5c04cbe2f14c3acb8c8b95e3384869bb8cc9bff8cb9df/numpy-2.4.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:f169b9a863d34f5d11b8698ead99febeaa17a13ca044961aa8e2662a6c7766a0", size = 16684353 },
+ { url = "https://files.pythonhosted.org/packages/4c/39/8a320264a84404c74cc7e79715de85d6130fa07a0898f67fb5cd5bd79908/numpy-2.4.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:2483e4584a1cb3092da4470b38866634bafb223cbcd551ee047633fd2584599a", size = 14704914 },
+ { url = "https://files.pythonhosted.org/packages/91/fb/287076b2614e1d1044235f50f03748f31fa287e3dbe6abeb35cdfa351eca/numpy-2.4.4-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:2d19e6e2095506d1736b7d80595e0f252d76b89f5e715c35e06e937679ea7d7a", size = 5210005 },
+ { url = "https://files.pythonhosted.org/packages/63/eb/fcc338595309910de6ecabfcef2419a9ce24399680bfb149421fa2df1280/numpy-2.4.4-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:6a246d5914aa1c820c9443ddcee9c02bec3e203b0c080349533fae17727dfd1b", size = 6544974 },
+ { url = "https://files.pythonhosted.org/packages/44/5d/e7e9044032a716cdfaa3fba27a8e874bf1c5f1912a1ddd4ed071bf8a14a6/numpy-2.4.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:989824e9faf85f96ec9c7761cd8d29c531ad857bfa1daa930cba85baaecf1a9a", size = 15684591 },
+ { url = "https://files.pythonhosted.org/packages/98/7c/21252050676612625449b4807d6b695b9ce8a7c9e1c197ee6216c8a65c7c/numpy-2.4.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:27a8d92cd10f1382a67d7cf4db7ce18341b66438bdd9f691d7b0e48d104c2a9d", size = 16637700 },
+ { url = "https://files.pythonhosted.org/packages/b1/29/56d2bbef9465db24ef25393383d761a1af4f446a1df9b8cded4fe3a5a5d7/numpy-2.4.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e44319a2953c738205bf3354537979eaa3998ed673395b964c1176083dd46252", size = 17035781 },
+ { url = "https://files.pythonhosted.org/packages/e3/2b/a35a6d7589d21f44cea7d0a98de5ddcbb3d421b2622a5c96b1edf18707c3/numpy-2.4.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e892aff75639bbef0d2a2cfd55535510df26ff92f63c92cd84ef8d4ba5a5557f", size = 18362959 },
+ { url = "https://files.pythonhosted.org/packages/64/c9/d52ec581f2390e0f5f85cbfd80fb83d965fc15e9f0e1aec2195faa142cde/numpy-2.4.4-cp314-cp314-win32.whl", hash = "sha256:1378871da56ca8943c2ba674530924bb8ca40cd228358a3b5f302ad60cf875fc", size = 6008768 },
+ { url = "https://files.pythonhosted.org/packages/fa/22/4cc31a62a6c7b74a8730e31a4274c5dc80e005751e277a2ce38e675e4923/numpy-2.4.4-cp314-cp314-win_amd64.whl", hash = "sha256:715d1c092715954784bc79e1174fc2a90093dc4dc84ea15eb14dad8abdcdeb74", size = 12449181 },
+ { url = "https://files.pythonhosted.org/packages/70/2e/14cda6f4d8e396c612d1bf97f22958e92148801d7e4f110cabebdc0eef4b/numpy-2.4.4-cp314-cp314-win_arm64.whl", hash = "sha256:2c194dd721e54ecad9ad387c1d35e63dce5c4450c6dc7dd5611283dda239aabb", size = 10496035 },
+ { url = "https://files.pythonhosted.org/packages/b1/e8/8fed8c8d848d7ecea092dc3469643f9d10bc3a134a815a3b033da1d2039b/numpy-2.4.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2aa0613a5177c264ff5921051a5719d20095ea586ca88cc802c5c218d1c67d3e", size = 14824958 },
+ { url = "https://files.pythonhosted.org/packages/05/1a/d8007a5138c179c2bf33ef44503e83d70434d2642877ee8fbb230e7c0548/numpy-2.4.4-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:42c16925aa5a02362f986765f9ebabf20de75cdefdca827d14315c568dcab113", size = 5330020 },
+ { url = "https://files.pythonhosted.org/packages/99/64/ffb99ac6ae93faf117bcbd5c7ba48a7f45364a33e8e458545d3633615dda/numpy-2.4.4-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:874f200b2a981c647340f841730fc3a2b54c9d940566a3c4149099591e2c4c3d", size = 6650758 },
+ { url = "https://files.pythonhosted.org/packages/6e/6e/795cc078b78a384052e73b2f6281ff7a700e9bf53bcce2ee579d4f6dd879/numpy-2.4.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c9b39d38a9bd2ae1becd7eac1303d031c5c110ad31f2b319c6e7d98b135c934d", size = 15729948 },
+ { url = "https://files.pythonhosted.org/packages/5f/86/2acbda8cc2af5f3d7bfc791192863b9e3e19674da7b5e533fded124d1299/numpy-2.4.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b268594bccac7d7cf5844c7732e3f20c50921d94e36d7ec9b79e9857694b1b2f", size = 16679325 },
+ { url = "https://files.pythonhosted.org/packages/bc/59/cafd83018f4aa55e0ac6fa92aa066c0a1877b77a615ceff1711c260ffae8/numpy-2.4.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ac6b31e35612a26483e20750126d30d0941f949426974cace8e6b5c58a3657b0", size = 17084883 },
+ { url = "https://files.pythonhosted.org/packages/f0/85/a42548db84e65ece46ab2caea3d3f78b416a47af387fcbb47ec28e660dc2/numpy-2.4.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8e3ed142f2728df44263aaf5fb1f5b0b99f4070c553a0d7f033be65338329150", size = 18403474 },
+ { url = "https://files.pythonhosted.org/packages/ed/ad/483d9e262f4b831000062e5d8a45e342166ec8aaa1195264982bca267e62/numpy-2.4.4-cp314-cp314t-win32.whl", hash = "sha256:dddbbd259598d7240b18c9d87c56a9d2fb3b02fe266f49a7c101532e78c1d871", size = 6155500 },
+ { url = "https://files.pythonhosted.org/packages/c7/03/2fc4e14c7bd4ff2964b74ba90ecb8552540b6315f201df70f137faa5c589/numpy-2.4.4-cp314-cp314t-win_amd64.whl", hash = "sha256:a7164afb23be6e37ad90b2f10426149fd75aee07ca55653d2aa41e66c4ef697e", size = 12637755 },
+ { url = "https://files.pythonhosted.org/packages/58/78/548fb8e07b1a341746bfbecb32f2c268470f45fa028aacdbd10d9bc73aab/numpy-2.4.4-cp314-cp314t-win_arm64.whl", hash = "sha256:ba203255017337d39f89bdd58417f03c4426f12beed0440cfd933cb15f8669c7", size = 10566643 },
{ url = "https://files.pythonhosted.org/packages/6b/33/8fae8f964a4f63ed528264ddf25d2b683d0b663e3cba26961eb838a7c1bd/numpy-2.4.4-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:58c8b5929fcb8287cbd6f0a3fae19c6e03a5c48402ae792962ac465224a629a4", size = 16854491 },
{ url = "https://files.pythonhosted.org/packages/bc/d0/1aabee441380b981cf8cdda3ae7a46aa827d1b5a8cce84d14598bc94d6d9/numpy-2.4.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:eea7ac5d2dce4189771cedb559c738a71512768210dc4e4753b107a2048b3d0e", size = 14895830 },
{ url = "https://files.pythonhosted.org/packages/a5/b8/aafb0d1065416894fccf4df6b49ef22b8db045187949545bced89c034b8e/numpy-2.4.4-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:51fc224f7ca4d92656d5a5eb315f12eb5fe2c97a66249aa7b5f562528a3be38c", size = 5400927 },
@@ -1248,6 +1715,20 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/6d/ab/5b68110e0460d73fad814d5bd11c7b1ddcce5c37b10177eb264d6a36e331/onnxruntime-1.24.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0d640eb9f3782689b55cfa715094474cd5662f2f137be6a6f847a594b6e9705c", size = 17244912 },
{ url = "https://files.pythonhosted.org/packages/8b/f4/6b89e297b93704345f0f3f8c62229bee323ef25682a3f9b4f89a39324950/onnxruntime-1.24.4-cp312-cp312-win_amd64.whl", hash = "sha256:535b29475ca42b593c45fbb2152fbf1cdf3f287315bf650e6a724a0a1d065cdb", size = 12596856 },
{ url = "https://files.pythonhosted.org/packages/43/06/8b8ec6e9e6a474fcd5d772453f627ad4549dfe3ab8c0bf70af5afcde551b/onnxruntime-1.24.4-cp312-cp312-win_arm64.whl", hash = "sha256:e6214096e14b7b52e3bee1903dc12dc7ca09cb65e26664668a4620cc5e6f9a90", size = 12270275 },
+ { url = "https://files.pythonhosted.org/packages/e9/f0/8a21ec0a97e40abb7d8da1e8b20fb9e1af509cc6d191f6faa75f73622fb2/onnxruntime-1.24.4-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:e99a48078baaefa2b50fe5836c319499f71f13f76ed32d0211f39109147a49e0", size = 17341922 },
+ { url = "https://files.pythonhosted.org/packages/8b/25/d7908de8e08cee9abfa15b8aa82349b79733ae5865162a3609c11598805d/onnxruntime-1.24.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc4aaed1e5e1aaacf2343c838a30a7c3ade78f13eeb16817411f929d04040a13", size = 15172290 },
+ { url = "https://files.pythonhosted.org/packages/7f/72/105ec27a78c5aa0154a7c0cd8c41c19a97799c3b12fc30392928997e3be3/onnxruntime-1.24.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e30c972bc02e072911aabb6891453ec73795386c0af2b761b65444b8a4c4745f", size = 17244738 },
+ { url = "https://files.pythonhosted.org/packages/05/fb/a592736d968c2f58e12de4d52088dda8e0e724b26ad5c0487263adb45875/onnxruntime-1.24.4-cp313-cp313-win_amd64.whl", hash = "sha256:3b6ba8b0181a3aa88edab00eb01424ffc06f42e71095a91186c2249415fcff93", size = 12597435 },
+ { url = "https://files.pythonhosted.org/packages/ad/04/ae2479e9841b64bd2eb44f8a64756c62593f896514369a11243b1b86ca5c/onnxruntime-1.24.4-cp313-cp313-win_arm64.whl", hash = "sha256:71d6a5c1821d6e8586a024000ece458db8f2fc0ecd050435d45794827ce81e19", size = 12269852 },
+ { url = "https://files.pythonhosted.org/packages/b4/af/a479a536c4398ffaf49fbbe755f45d5b8726bdb4335ab31b537f3d7149b8/onnxruntime-1.24.4-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1700f559c8086d06b2a4d5de51e62cb4ff5e2631822f71a36db8c72383db71ee", size = 15176861 },
+ { url = "https://files.pythonhosted.org/packages/be/13/19f5da70c346a76037da2c2851ecbf1266e61d7f0dcdb887c667210d4608/onnxruntime-1.24.4-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4c74e268dc808e61e63784d43f9ddcdaf50a776c2819e8bd1d1b11ef64bf7e36", size = 17247454 },
+ { url = "https://files.pythonhosted.org/packages/89/db/b30dbbd6037847b205ab75d962bc349bf1e46d02a65b30d7047a6893ffd6/onnxruntime-1.24.4-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:fbff2a248940e3398ae78374c5a839e49a2f39079b488bc64439fa0ec327a3e4", size = 17343300 },
+ { url = "https://files.pythonhosted.org/packages/61/88/1746c0e7959961475b84c776d35601a21d445f463c93b1433a409ec3e188/onnxruntime-1.24.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e2b7969e72d8cb53ffc88ab6d49dd5e75c1c663bda7be7eb0ece192f127343d1", size = 15175936 },
+ { url = "https://files.pythonhosted.org/packages/5f/ba/4699cde04a52cece66cbebc85bd8335a0d3b9ad485abc9a2e15946a1349d/onnxruntime-1.24.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:14ed1f197fab812b695a5eaddb536c635e58a2fbbe50a517c78f082cc6ce9177", size = 17246432 },
+ { url = "https://files.pythonhosted.org/packages/ef/60/4590910841bb28bd3b4b388a9efbedf4e2d2cca99ddf0c863642b4e87814/onnxruntime-1.24.4-cp314-cp314-win_amd64.whl", hash = "sha256:311e309f573bf3c12aa5723e23823077f83d5e412a18499d4485c7eb41040858", size = 12903276 },
+ { url = "https://files.pythonhosted.org/packages/7f/6f/60e2c0acea1e1ac09b3e794b5a19c166eebf91c0b860b3e6db8e74983fda/onnxruntime-1.24.4-cp314-cp314-win_arm64.whl", hash = "sha256:3f0b910e86b759a4732663ec61fd57ac42ee1b0066f68299de164220b660546d", size = 12594365 },
+ { url = "https://files.pythonhosted.org/packages/cf/68/0c05d10f8f6c40fe0912ebec0d5a33884aaa2af2053507e864dab0883208/onnxruntime-1.24.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa12ddc54c9c4594073abcaa265cd9681e95fb89dae982a6f508a794ca42e661", size = 15176889 },
+ { url = "https://files.pythonhosted.org/packages/6c/1d/1666dc64e78d8587d168fec4e3b7922b92eb286a2ddeebcf6acb55c7dc82/onnxruntime-1.24.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e1cc6a518255f012134bc791975a6294806be9a3b20c4a54cca25194c90cf731", size = 17247021 },
]
[[package]]
@@ -1304,6 +1785,32 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a6/de/8b1895b107277d52f2b42d3a6806e69cfef0d5cf1d0ba343470b9d8e0a04/pandas-2.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a68e15f780eddf2b07d242e17a04aa187a7ee12b40b930bfdd78070556550e98", size = 12771002 },
{ url = "https://files.pythonhosted.org/packages/87/21/84072af3187a677c5893b170ba2c8fbe450a6ff911234916da889b698220/pandas-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:371a4ab48e950033bcf52b6527eccb564f52dc826c02afd9a1bc0ab731bba084", size = 13450971 },
{ url = "https://files.pythonhosted.org/packages/86/41/585a168330ff063014880a80d744219dbf1dd7a1c706e75ab3425a987384/pandas-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:a16dcec078a01eeef8ee61bf64074b4e524a2a3f4b3be9326420cabe59c4778b", size = 10992722 },
+ { url = "https://files.pythonhosted.org/packages/cd/4b/18b035ee18f97c1040d94debd8f2e737000ad70ccc8f5513f4eefad75f4b/pandas-2.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:56851a737e3470de7fa88e6131f41281ed440d29a9268dcbf0002da5ac366713", size = 11544671 },
+ { url = "https://files.pythonhosted.org/packages/31/94/72fac03573102779920099bcac1c3b05975c2cb5f01eac609faf34bed1ca/pandas-2.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bdcd9d1167f4885211e401b3036c0c8d9e274eee67ea8d0758a256d60704cfe8", size = 10680807 },
+ { url = "https://files.pythonhosted.org/packages/16/87/9472cf4a487d848476865321de18cc8c920b8cab98453ab79dbbc98db63a/pandas-2.3.3-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e32e7cc9af0f1cc15548288a51a3b681cc2a219faa838e995f7dc53dbab1062d", size = 11709872 },
+ { url = "https://files.pythonhosted.org/packages/15/07/284f757f63f8a8d69ed4472bfd85122bd086e637bf4ed09de572d575a693/pandas-2.3.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:318d77e0e42a628c04dc56bcef4b40de67918f7041c2b061af1da41dcff670ac", size = 12306371 },
+ { url = "https://files.pythonhosted.org/packages/33/81/a3afc88fca4aa925804a27d2676d22dcd2031c2ebe08aabd0ae55b9ff282/pandas-2.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4e0a175408804d566144e170d0476b15d78458795bb18f1304fb94160cabf40c", size = 12765333 },
+ { url = "https://files.pythonhosted.org/packages/8d/0f/b4d4ae743a83742f1153464cf1a8ecfafc3ac59722a0b5c8602310cb7158/pandas-2.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:93c2d9ab0fc11822b5eece72ec9587e172f63cff87c00b062f6e37448ced4493", size = 13418120 },
+ { url = "https://files.pythonhosted.org/packages/4f/c7/e54682c96a895d0c808453269e0b5928a07a127a15704fedb643e9b0a4c8/pandas-2.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:f8bfc0e12dc78f777f323f55c58649591b2cd0c43534e8355c51d3fede5f4dee", size = 10993991 },
+ { url = "https://files.pythonhosted.org/packages/f9/ca/3f8d4f49740799189e1395812f3bf23b5e8fc7c190827d55a610da72ce55/pandas-2.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:75ea25f9529fdec2d2e93a42c523962261e567d250b0013b16210e1d40d7c2e5", size = 12048227 },
+ { url = "https://files.pythonhosted.org/packages/0e/5a/f43efec3e8c0cc92c4663ccad372dbdff72b60bdb56b2749f04aa1d07d7e/pandas-2.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:74ecdf1d301e812db96a465a525952f4dde225fdb6d8e5a521d47e1f42041e21", size = 11411056 },
+ { url = "https://files.pythonhosted.org/packages/46/b1/85331edfc591208c9d1a63a06baa67b21d332e63b7a591a5ba42a10bb507/pandas-2.3.3-cp313-cp313t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6435cb949cb34ec11cc9860246ccb2fdc9ecd742c12d3304989017d53f039a78", size = 11645189 },
+ { url = "https://files.pythonhosted.org/packages/44/23/78d645adc35d94d1ac4f2a3c4112ab6f5b8999f4898b8cdf01252f8df4a9/pandas-2.3.3-cp313-cp313t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:900f47d8f20860de523a1ac881c4c36d65efcb2eb850e6948140fa781736e110", size = 12121912 },
+ { url = "https://files.pythonhosted.org/packages/53/da/d10013df5e6aaef6b425aa0c32e1fc1f3e431e4bcabd420517dceadce354/pandas-2.3.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a45c765238e2ed7d7c608fc5bc4a6f88b642f2f01e70c0c23d2224dd21829d86", size = 12712160 },
+ { url = "https://files.pythonhosted.org/packages/bd/17/e756653095a083d8a37cbd816cb87148debcfcd920129b25f99dd8d04271/pandas-2.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c4fc4c21971a1a9f4bdb4c73978c7f7256caa3e62b323f70d6cb80db583350bc", size = 13199233 },
+ { url = "https://files.pythonhosted.org/packages/04/fd/74903979833db8390b73b3a8a7d30d146d710bd32703724dd9083950386f/pandas-2.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ee15f284898e7b246df8087fc82b87b01686f98ee67d85a17b7ab44143a3a9a0", size = 11540635 },
+ { url = "https://files.pythonhosted.org/packages/21/00/266d6b357ad5e6d3ad55093a7e8efc7dd245f5a842b584db9f30b0f0a287/pandas-2.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1611aedd912e1ff81ff41c745822980c49ce4a7907537be8692c8dbc31924593", size = 10759079 },
+ { url = "https://files.pythonhosted.org/packages/ca/05/d01ef80a7a3a12b2f8bbf16daba1e17c98a2f039cbc8e2f77a2c5a63d382/pandas-2.3.3-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d2cefc361461662ac48810cb14365a365ce864afe85ef1f447ff5a1e99ea81c", size = 11814049 },
+ { url = "https://files.pythonhosted.org/packages/15/b2/0e62f78c0c5ba7e3d2c5945a82456f4fac76c480940f805e0b97fcbc2f65/pandas-2.3.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ee67acbbf05014ea6c763beb097e03cd629961c8a632075eeb34247120abcb4b", size = 12332638 },
+ { url = "https://files.pythonhosted.org/packages/c5/33/dd70400631b62b9b29c3c93d2feee1d0964dc2bae2e5ad7a6c73a7f25325/pandas-2.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c46467899aaa4da076d5abc11084634e2d197e9460643dd455ac3db5856b24d6", size = 12886834 },
+ { url = "https://files.pythonhosted.org/packages/d3/18/b5d48f55821228d0d2692b34fd5034bb185e854bdb592e9c640f6290e012/pandas-2.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6253c72c6a1d990a410bc7de641d34053364ef8bcd3126f7e7450125887dffe3", size = 13409925 },
+ { url = "https://files.pythonhosted.org/packages/a6/3d/124ac75fcd0ecc09b8fdccb0246ef65e35b012030defb0e0eba2cbbbe948/pandas-2.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:1b07204a219b3b7350abaae088f451860223a52cfb8a6c53358e7948735158e5", size = 11109071 },
+ { url = "https://files.pythonhosted.org/packages/89/9c/0e21c895c38a157e0faa1fb64587a9226d6dd46452cac4532d80c3c4a244/pandas-2.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:2462b1a365b6109d275250baaae7b760fd25c726aaca0054649286bcfbb3e8ec", size = 12048504 },
+ { url = "https://files.pythonhosted.org/packages/d7/82/b69a1c95df796858777b68fbe6a81d37443a33319761d7c652ce77797475/pandas-2.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0242fe9a49aa8b4d78a4fa03acb397a58833ef6199e9aa40a95f027bb3a1b6e7", size = 11410702 },
+ { url = "https://files.pythonhosted.org/packages/f9/88/702bde3ba0a94b8c73a0181e05144b10f13f29ebfc2150c3a79062a8195d/pandas-2.3.3-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a21d830e78df0a515db2b3d2f5570610f5e6bd2e27749770e8bb7b524b89b450", size = 11634535 },
+ { url = "https://files.pythonhosted.org/packages/a4/1e/1bac1a839d12e6a82ec6cb40cda2edde64a2013a66963293696bbf31fbbb/pandas-2.3.3-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2e3ebdb170b5ef78f19bfb71b0dc5dc58775032361fa188e814959b74d726dd5", size = 12121582 },
+ { url = "https://files.pythonhosted.org/packages/44/91/483de934193e12a3b1d6ae7c8645d083ff88dec75f46e827562f1e4b4da6/pandas-2.3.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d051c0e065b94b7a3cea50eb1ec32e912cd96dba41647eb24104b6c6c14c5788", size = 12699963 },
+ { url = "https://files.pythonhosted.org/packages/70/44/5191d2e4026f86a2a109053e194d3ba7a31a2d10a9c2348368c63ed4e85a/pandas-2.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3869faf4bd07b3b66a9f462417d0ca3a9df29a9f6abd5d0d0dbab15dac7abe87", size = 13202175 },
]
[[package]]
@@ -1334,6 +1841,53 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/26/7d/73699ad77895f69edff76b0f332acc3d497f22f5d75e5360f78cbcaff248/pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149", size = 6275079 },
{ url = "https://files.pythonhosted.org/packages/8c/ce/e7dfc873bdd9828f3b6e5c2bbb74e47a98ec23cc5c74fc4e54462f0d9204/pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d", size = 6986324 },
{ url = "https://files.pythonhosted.org/packages/16/8f/b13447d1bf0b1f7467ce7d86f6e6edf66c0ad7cf44cf5c87a37f9bed9936/pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542", size = 2423067 },
+ { url = "https://files.pythonhosted.org/packages/1e/93/0952f2ed8db3a5a4c7a11f91965d6184ebc8cd7cbb7941a260d5f018cd2d/pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1c627742b539bba4309df89171356fcb3cc5a9178355b2727d1b74a6cf155fbd", size = 2128328 },
+ { url = "https://files.pythonhosted.org/packages/4b/e8/100c3d114b1a0bf4042f27e0f87d2f25e857e838034e98ca98fe7b8c0a9c/pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:30b7c02f3899d10f13d7a48163c8969e4e653f8b43416d23d13d1bbfdc93b9f8", size = 2170652 },
+ { url = "https://files.pythonhosted.org/packages/aa/86/3f758a28a6e381758545f7cdb4942e1cb79abd271bea932998fc0db93cb6/pillow-11.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7859a4cc7c9295f5838015d8cc0a9c215b77e43d07a25e460f35cf516df8626f", size = 2227443 },
+ { url = "https://files.pythonhosted.org/packages/01/f4/91d5b3ffa718df2f53b0dc109877993e511f4fd055d7e9508682e8aba092/pillow-11.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ec1ee50470b0d050984394423d96325b744d55c701a439d2bd66089bff963d3c", size = 5278474 },
+ { url = "https://files.pythonhosted.org/packages/f9/0e/37d7d3eca6c879fbd9dba21268427dffda1ab00d4eb05b32923d4fbe3b12/pillow-11.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7db51d222548ccfd274e4572fdbf3e810a5e66b00608862f947b163e613b67dd", size = 4686038 },
+ { url = "https://files.pythonhosted.org/packages/ff/b0/3426e5c7f6565e752d81221af9d3676fdbb4f352317ceafd42899aaf5d8a/pillow-11.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2d6fcc902a24ac74495df63faad1884282239265c6839a0a6416d33faedfae7e", size = 5864407 },
+ { url = "https://files.pythonhosted.org/packages/fc/c1/c6c423134229f2a221ee53f838d4be9d82bab86f7e2f8e75e47b6bf6cd77/pillow-11.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0f5d8f4a08090c6d6d578351a2b91acf519a54986c055af27e7a93feae6d3f1", size = 7639094 },
+ { url = "https://files.pythonhosted.org/packages/ba/c9/09e6746630fe6372c67c648ff9deae52a2bc20897d51fa293571977ceb5d/pillow-11.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c37d8ba9411d6003bba9e518db0db0c58a680ab9fe5179f040b0463644bc9805", size = 5973503 },
+ { url = "https://files.pythonhosted.org/packages/d5/1c/a2a29649c0b1983d3ef57ee87a66487fdeb45132df66ab30dd37f7dbe162/pillow-11.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:13f87d581e71d9189ab21fe0efb5a23e9f28552d5be6979e84001d3b8505abe8", size = 6642574 },
+ { url = "https://files.pythonhosted.org/packages/36/de/d5cc31cc4b055b6c6fd990e3e7f0f8aaf36229a2698501bcb0cdf67c7146/pillow-11.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:023f6d2d11784a465f09fd09a34b150ea4672e85fb3d05931d89f373ab14abb2", size = 6084060 },
+ { url = "https://files.pythonhosted.org/packages/d5/ea/502d938cbaeec836ac28a9b730193716f0114c41325db428e6b280513f09/pillow-11.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:45dfc51ac5975b938e9809451c51734124e73b04d0f0ac621649821a63852e7b", size = 6721407 },
+ { url = "https://files.pythonhosted.org/packages/45/9c/9c5e2a73f125f6cbc59cc7087c8f2d649a7ae453f83bd0362ff7c9e2aee2/pillow-11.3.0-cp313-cp313-win32.whl", hash = "sha256:a4d336baed65d50d37b88ca5b60c0fa9d81e3a87d4a7930d3880d1624d5b31f3", size = 6273841 },
+ { url = "https://files.pythonhosted.org/packages/23/85/397c73524e0cd212067e0c969aa245b01d50183439550d24d9f55781b776/pillow-11.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0bce5c4fd0921f99d2e858dc4d4d64193407e1b99478bc5cacecba2311abde51", size = 6978450 },
+ { url = "https://files.pythonhosted.org/packages/17/d2/622f4547f69cd173955194b78e4d19ca4935a1b0f03a302d655c9f6aae65/pillow-11.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:1904e1264881f682f02b7f8167935cce37bc97db457f8e7849dc3a6a52b99580", size = 2423055 },
+ { url = "https://files.pythonhosted.org/packages/dd/80/a8a2ac21dda2e82480852978416cfacd439a4b490a501a288ecf4fe2532d/pillow-11.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:4c834a3921375c48ee6b9624061076bc0a32a60b5532b322cc0ea64e639dd50e", size = 5281110 },
+ { url = "https://files.pythonhosted.org/packages/44/d6/b79754ca790f315918732e18f82a8146d33bcd7f4494380457ea89eb883d/pillow-11.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5e05688ccef30ea69b9317a9ead994b93975104a677a36a8ed8106be9260aa6d", size = 4689547 },
+ { url = "https://files.pythonhosted.org/packages/49/20/716b8717d331150cb00f7fdd78169c01e8e0c219732a78b0e59b6bdb2fd6/pillow-11.3.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1019b04af07fc0163e2810167918cb5add8d74674b6267616021ab558dc98ced", size = 5901554 },
+ { url = "https://files.pythonhosted.org/packages/74/cf/a9f3a2514a65bb071075063a96f0a5cf949c2f2fce683c15ccc83b1c1cab/pillow-11.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f944255db153ebb2b19c51fe85dd99ef0ce494123f21b9db4877ffdfc5590c7c", size = 7669132 },
+ { url = "https://files.pythonhosted.org/packages/98/3c/da78805cbdbee9cb43efe8261dd7cc0b4b93f2ac79b676c03159e9db2187/pillow-11.3.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f85acb69adf2aaee8b7da124efebbdb959a104db34d3a2cb0f3793dbae422a8", size = 6005001 },
+ { url = "https://files.pythonhosted.org/packages/6c/fa/ce044b91faecf30e635321351bba32bab5a7e034c60187fe9698191aef4f/pillow-11.3.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05f6ecbeff5005399bb48d198f098a9b4b6bdf27b8487c7f38ca16eeb070cd59", size = 6668814 },
+ { url = "https://files.pythonhosted.org/packages/7b/51/90f9291406d09bf93686434f9183aba27b831c10c87746ff49f127ee80cb/pillow-11.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a7bc6e6fd0395bc052f16b1a8670859964dbd7003bd0af2ff08342eb6e442cfe", size = 6113124 },
+ { url = "https://files.pythonhosted.org/packages/cd/5a/6fec59b1dfb619234f7636d4157d11fb4e196caeee220232a8d2ec48488d/pillow-11.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:83e1b0161c9d148125083a35c1c5a89db5b7054834fd4387499e06552035236c", size = 6747186 },
+ { url = "https://files.pythonhosted.org/packages/49/6b/00187a044f98255225f172de653941e61da37104a9ea60e4f6887717e2b5/pillow-11.3.0-cp313-cp313t-win32.whl", hash = "sha256:2a3117c06b8fb646639dce83694f2f9eac405472713fcb1ae887469c0d4f6788", size = 6277546 },
+ { url = "https://files.pythonhosted.org/packages/e8/5c/6caaba7e261c0d75bab23be79f1d06b5ad2a2ae49f028ccec801b0e853d6/pillow-11.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:857844335c95bea93fb39e0fa2726b4d9d758850b34075a7e3ff4f4fa3aa3b31", size = 6985102 },
+ { url = "https://files.pythonhosted.org/packages/f3/7e/b623008460c09a0cb38263c93b828c666493caee2eb34ff67f778b87e58c/pillow-11.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:8797edc41f3e8536ae4b10897ee2f637235c94f27404cac7297f7b607dd0716e", size = 2424803 },
+ { url = "https://files.pythonhosted.org/packages/73/f4/04905af42837292ed86cb1b1dabe03dce1edc008ef14c473c5c7e1443c5d/pillow-11.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:d9da3df5f9ea2a89b81bb6087177fb1f4d1c7146d583a3fe5c672c0d94e55e12", size = 5278520 },
+ { url = "https://files.pythonhosted.org/packages/41/b0/33d79e377a336247df6348a54e6d2a2b85d644ca202555e3faa0cf811ecc/pillow-11.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0b275ff9b04df7b640c59ec5a3cb113eefd3795a8df80bac69646ef699c6981a", size = 4686116 },
+ { url = "https://files.pythonhosted.org/packages/49/2d/ed8bc0ab219ae8768f529597d9509d184fe8a6c4741a6864fea334d25f3f/pillow-11.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0743841cabd3dba6a83f38a92672cccbd69af56e3e91777b0ee7f4dba4385632", size = 5864597 },
+ { url = "https://files.pythonhosted.org/packages/b5/3d/b932bb4225c80b58dfadaca9d42d08d0b7064d2d1791b6a237f87f661834/pillow-11.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2465a69cf967b8b49ee1b96d76718cd98c4e925414ead59fdf75cf0fd07df673", size = 7638246 },
+ { url = "https://files.pythonhosted.org/packages/09/b5/0487044b7c096f1b48f0d7ad416472c02e0e4bf6919541b111efd3cae690/pillow-11.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41742638139424703b4d01665b807c6468e23e699e8e90cffefe291c5832b027", size = 5973336 },
+ { url = "https://files.pythonhosted.org/packages/a8/2d/524f9318f6cbfcc79fbc004801ea6b607ec3f843977652fdee4857a7568b/pillow-11.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93efb0b4de7e340d99057415c749175e24c8864302369e05914682ba642e5d77", size = 6642699 },
+ { url = "https://files.pythonhosted.org/packages/6f/d2/a9a4f280c6aefedce1e8f615baaa5474e0701d86dd6f1dede66726462bbd/pillow-11.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7966e38dcd0fa11ca390aed7c6f20454443581d758242023cf36fcb319b1a874", size = 6083789 },
+ { url = "https://files.pythonhosted.org/packages/fe/54/86b0cd9dbb683a9d5e960b66c7379e821a19be4ac5810e2e5a715c09a0c0/pillow-11.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:98a9afa7b9007c67ed84c57c9e0ad86a6000da96eaa638e4f8abe5b65ff83f0a", size = 6720386 },
+ { url = "https://files.pythonhosted.org/packages/e7/95/88efcaf384c3588e24259c4203b909cbe3e3c2d887af9e938c2022c9dd48/pillow-11.3.0-cp314-cp314-win32.whl", hash = "sha256:02a723e6bf909e7cea0dac1b0e0310be9d7650cd66222a5f1c571455c0a45214", size = 6370911 },
+ { url = "https://files.pythonhosted.org/packages/2e/cc/934e5820850ec5eb107e7b1a72dd278140731c669f396110ebc326f2a503/pillow-11.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:a418486160228f64dd9e9efcd132679b7a02a5f22c982c78b6fc7dab3fefb635", size = 7117383 },
+ { url = "https://files.pythonhosted.org/packages/d6/e9/9c0a616a71da2a5d163aa37405e8aced9a906d574b4a214bede134e731bc/pillow-11.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:155658efb5e044669c08896c0c44231c5e9abcaadbc5cd3648df2f7c0b96b9a6", size = 2511385 },
+ { url = "https://files.pythonhosted.org/packages/1a/33/c88376898aff369658b225262cd4f2659b13e8178e7534df9e6e1fa289f6/pillow-11.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:59a03cdf019efbfeeed910bf79c7c93255c3d54bc45898ac2a4140071b02b4ae", size = 5281129 },
+ { url = "https://files.pythonhosted.org/packages/1f/70/d376247fb36f1844b42910911c83a02d5544ebd2a8bad9efcc0f707ea774/pillow-11.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f8a5827f84d973d8636e9dc5764af4f0cf2318d26744b3d902931701b0d46653", size = 4689580 },
+ { url = "https://files.pythonhosted.org/packages/eb/1c/537e930496149fbac69efd2fc4329035bbe2e5475b4165439e3be9cb183b/pillow-11.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ee92f2fd10f4adc4b43d07ec5e779932b4eb3dbfbc34790ada5a6669bc095aa6", size = 5902860 },
+ { url = "https://files.pythonhosted.org/packages/bd/57/80f53264954dcefeebcf9dae6e3eb1daea1b488f0be8b8fef12f79a3eb10/pillow-11.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c96d333dcf42d01f47b37e0979b6bd73ec91eae18614864622d9b87bbd5bbf36", size = 7670694 },
+ { url = "https://files.pythonhosted.org/packages/70/ff/4727d3b71a8578b4587d9c276e90efad2d6fe0335fd76742a6da08132e8c/pillow-11.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4c96f993ab8c98460cd0c001447bff6194403e8b1d7e149ade5f00594918128b", size = 6005888 },
+ { url = "https://files.pythonhosted.org/packages/05/ae/716592277934f85d3be51d7256f3636672d7b1abfafdc42cf3f8cbd4b4c8/pillow-11.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41342b64afeba938edb034d122b2dda5db2139b9a4af999729ba8818e0056477", size = 6670330 },
+ { url = "https://files.pythonhosted.org/packages/e7/bb/7fe6cddcc8827b01b1a9766f5fdeb7418680744f9082035bdbabecf1d57f/pillow-11.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:068d9c39a2d1b358eb9f245ce7ab1b5c3246c7c8c7d9ba58cfa5b43146c06e50", size = 6114089 },
+ { url = "https://files.pythonhosted.org/packages/8b/f5/06bfaa444c8e80f1a8e4bff98da9c83b37b5be3b1deaa43d27a0db37ef84/pillow-11.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a1bc6ba083b145187f648b667e05a2534ecc4b9f2784c2cbe3089e44868f2b9b", size = 6748206 },
+ { url = "https://files.pythonhosted.org/packages/f0/77/bc6f92a3e8e6e46c0ca78abfffec0037845800ea38c73483760362804c41/pillow-11.3.0-cp314-cp314t-win32.whl", hash = "sha256:118ca10c0d60b06d006be10a501fd6bbdfef559251ed31b794668ed569c87e12", size = 6377370 },
+ { url = "https://files.pythonhosted.org/packages/4a/82/3a721f7d69dca802befb8af08b7c79ebcab461007ce1c18bd91a5d5896f9/pillow-11.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:8924748b688aa210d79883357d102cd64690e56b923a186f35a82cbc10f997db", size = 7121500 },
+ { url = "https://files.pythonhosted.org/packages/89/c7/5572fa4a3f45740eaab6ae86fcdf7195b55beac1371ac8c619d880cfe948/pillow-11.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:79ea0d14d3ebad43ec77ad5272e6ff9bba5b679ef73375ea760261207fa8e0aa", size = 2512835 },
{ url = "https://files.pythonhosted.org/packages/9e/e3/6fa84033758276fb31da12e5fb66ad747ae83b93c67af17f8c6ff4cc8f34/pillow-11.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7c8ec7a017ad1bd562f93dbd8505763e688d388cde6e4a010ae1486916e713e6", size = 5270566 },
{ url = "https://files.pythonhosted.org/packages/5b/ee/e8d2e1ab4892970b561e1ba96cbd59c0d28cf66737fc44abb2aec3795a4e/pillow-11.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9ab6ae226de48019caa8074894544af5b53a117ccb9d3b3dcb2871464c829438", size = 4654618 },
{ url = "https://files.pythonhosted.org/packages/f2/6d/17f80f4e1f0761f02160fc433abd4109fa1548dcfdca46cfdadaf9efa565/pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fe27fb049cdcca11f11a7bfda64043c37b30e6b91f10cb5bab275806c32f6ab3", size = 4874248 },
@@ -1391,21 +1945,69 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/80/9e/e7b85720b98c45a45e1fca6a177024934dc9bc5f4d5dd04207f216fc33ed/propcache-0.4.1-cp312-cp312-win32.whl", hash = "sha256:671538c2262dadb5ba6395e26c1731e1d52534bfe9ae56d0b5573ce539266aa8", size = 38066 },
{ url = "https://files.pythonhosted.org/packages/54/09/d19cff2a5aaac632ec8fc03737b223597b1e347416934c1b3a7df079784c/propcache-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:cb2d222e72399fcf5890d1d5cc1060857b9b236adff2792ff48ca2dfd46c81db", size = 41655 },
{ url = "https://files.pythonhosted.org/packages/68/ab/6b5c191bb5de08036a8c697b265d4ca76148efb10fa162f14af14fb5f076/propcache-0.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:204483131fb222bdaaeeea9f9e6c6ed0cac32731f75dfc1d4a567fc1926477c1", size = 37789 },
+ { url = "https://files.pythonhosted.org/packages/bf/df/6d9c1b6ac12b003837dde8a10231a7344512186e87b36e855bef32241942/propcache-0.4.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:43eedf29202c08550aac1d14e0ee619b0430aaef78f85864c1a892294fbc28cf", size = 77750 },
+ { url = "https://files.pythonhosted.org/packages/8b/e8/677a0025e8a2acf07d3418a2e7ba529c9c33caf09d3c1f25513023c1db56/propcache-0.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d62cdfcfd89ccb8de04e0eda998535c406bf5e060ffd56be6c586cbcc05b3311", size = 44780 },
+ { url = "https://files.pythonhosted.org/packages/89/a4/92380f7ca60f99ebae761936bc48a72a639e8a47b29050615eef757cb2a7/propcache-0.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cae65ad55793da34db5f54e4029b89d3b9b9490d8abe1b4c7ab5d4b8ec7ebf74", size = 46308 },
+ { url = "https://files.pythonhosted.org/packages/2d/48/c5ac64dee5262044348d1d78a5f85dd1a57464a60d30daee946699963eb3/propcache-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:333ddb9031d2704a301ee3e506dc46b1fe5f294ec198ed6435ad5b6a085facfe", size = 208182 },
+ { url = "https://files.pythonhosted.org/packages/c6/0c/cd762dd011a9287389a6a3eb43aa30207bde253610cca06824aeabfe9653/propcache-0.4.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:fd0858c20f078a32cf55f7e81473d96dcf3b93fd2ccdb3d40fdf54b8573df3af", size = 211215 },
+ { url = "https://files.pythonhosted.org/packages/30/3e/49861e90233ba36890ae0ca4c660e95df565b2cd15d4a68556ab5865974e/propcache-0.4.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:678ae89ebc632c5c204c794f8dab2837c5f159aeb59e6ed0539500400577298c", size = 218112 },
+ { url = "https://files.pythonhosted.org/packages/f1/8b/544bc867e24e1bd48f3118cecd3b05c694e160a168478fa28770f22fd094/propcache-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d472aeb4fbf9865e0c6d622d7f4d54a4e101a89715d8904282bb5f9a2f476c3f", size = 204442 },
+ { url = "https://files.pythonhosted.org/packages/50/a6/4282772fd016a76d3e5c0df58380a5ea64900afd836cec2c2f662d1b9bb3/propcache-0.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4d3df5fa7e36b3225954fba85589da77a0fe6a53e3976de39caf04a0db4c36f1", size = 199398 },
+ { url = "https://files.pythonhosted.org/packages/3e/ec/d8a7cd406ee1ddb705db2139f8a10a8a427100347bd698e7014351c7af09/propcache-0.4.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:ee17f18d2498f2673e432faaa71698032b0127ebf23ae5974eeaf806c279df24", size = 196920 },
+ { url = "https://files.pythonhosted.org/packages/f6/6c/f38ab64af3764f431e359f8baf9e0a21013e24329e8b85d2da32e8ed07ca/propcache-0.4.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:580e97762b950f993ae618e167e7be9256b8353c2dcd8b99ec100eb50f5286aa", size = 203748 },
+ { url = "https://files.pythonhosted.org/packages/d6/e3/fa846bd70f6534d647886621388f0a265254d30e3ce47e5c8e6e27dbf153/propcache-0.4.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:501d20b891688eb8e7aa903021f0b72d5a55db40ffaab27edefd1027caaafa61", size = 205877 },
+ { url = "https://files.pythonhosted.org/packages/e2/39/8163fc6f3133fea7b5f2827e8eba2029a0277ab2c5beee6c1db7b10fc23d/propcache-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9a0bd56e5b100aef69bd8562b74b46254e7c8812918d3baa700c8a8009b0af66", size = 199437 },
+ { url = "https://files.pythonhosted.org/packages/93/89/caa9089970ca49c7c01662bd0eeedfe85494e863e8043565aeb6472ce8fe/propcache-0.4.1-cp313-cp313-win32.whl", hash = "sha256:bcc9aaa5d80322bc2fb24bb7accb4a30f81e90ab8d6ba187aec0744bc302ad81", size = 37586 },
+ { url = "https://files.pythonhosted.org/packages/f5/ab/f76ec3c3627c883215b5c8080debb4394ef5a7a29be811f786415fc1e6fd/propcache-0.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:381914df18634f5494334d201e98245c0596067504b9372d8cf93f4bb23e025e", size = 40790 },
+ { url = "https://files.pythonhosted.org/packages/59/1b/e71ae98235f8e2ba5004d8cb19765a74877abf189bc53fc0c80d799e56c3/propcache-0.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:8873eb4460fd55333ea49b7d189749ecf6e55bf85080f11b1c4530ed3034cba1", size = 37158 },
+ { url = "https://files.pythonhosted.org/packages/83/ce/a31bbdfc24ee0dcbba458c8175ed26089cf109a55bbe7b7640ed2470cfe9/propcache-0.4.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:92d1935ee1f8d7442da9c0c4fa7ac20d07e94064184811b685f5c4fada64553b", size = 81451 },
+ { url = "https://files.pythonhosted.org/packages/25/9c/442a45a470a68456e710d96cacd3573ef26a1d0a60067e6a7d5e655621ed/propcache-0.4.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:473c61b39e1460d386479b9b2f337da492042447c9b685f28be4f74d3529e566", size = 46374 },
+ { url = "https://files.pythonhosted.org/packages/f4/bf/b1d5e21dbc3b2e889ea4327044fb16312a736d97640fb8b6aa3f9c7b3b65/propcache-0.4.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:c0ef0aaafc66fbd87842a3fe3902fd889825646bc21149eafe47be6072725835", size = 48396 },
+ { url = "https://files.pythonhosted.org/packages/f4/04/5b4c54a103d480e978d3c8a76073502b18db0c4bc17ab91b3cb5092ad949/propcache-0.4.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f95393b4d66bfae908c3ca8d169d5f79cd65636ae15b5e7a4f6e67af675adb0e", size = 275950 },
+ { url = "https://files.pythonhosted.org/packages/b4/c1/86f846827fb969c4b78b0af79bba1d1ea2156492e1b83dea8b8a6ae27395/propcache-0.4.1-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c07fda85708bc48578467e85099645167a955ba093be0a2dcba962195676e859", size = 273856 },
+ { url = "https://files.pythonhosted.org/packages/36/1d/fc272a63c8d3bbad6878c336c7a7dea15e8f2d23a544bda43205dfa83ada/propcache-0.4.1-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:af223b406d6d000830c6f65f1e6431783fc3f713ba3e6cc8c024d5ee96170a4b", size = 280420 },
+ { url = "https://files.pythonhosted.org/packages/07/0c/01f2219d39f7e53d52e5173bcb09c976609ba30209912a0680adfb8c593a/propcache-0.4.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a78372c932c90ee474559c5ddfffd718238e8673c340dc21fe45c5b8b54559a0", size = 263254 },
+ { url = "https://files.pythonhosted.org/packages/2d/18/cd28081658ce597898f0c4d174d4d0f3c5b6d4dc27ffafeef835c95eb359/propcache-0.4.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:564d9f0d4d9509e1a870c920a89b2fec951b44bf5ba7d537a9e7c1ccec2c18af", size = 261205 },
+ { url = "https://files.pythonhosted.org/packages/7a/71/1f9e22eb8b8316701c2a19fa1f388c8a3185082607da8e406a803c9b954e/propcache-0.4.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:17612831fda0138059cc5546f4d12a2aacfb9e47068c06af35c400ba58ba7393", size = 247873 },
+ { url = "https://files.pythonhosted.org/packages/4a/65/3d4b61f36af2b4eddba9def857959f1016a51066b4f1ce348e0cf7881f58/propcache-0.4.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:41a89040cb10bd345b3c1a873b2bf36413d48da1def52f268a055f7398514874", size = 262739 },
+ { url = "https://files.pythonhosted.org/packages/2a/42/26746ab087faa77c1c68079b228810436ccd9a5ce9ac85e2b7307195fd06/propcache-0.4.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:e35b88984e7fa64aacecea39236cee32dd9bd8c55f57ba8a75cf2399553f9bd7", size = 263514 },
+ { url = "https://files.pythonhosted.org/packages/94/13/630690fe201f5502d2403dd3cfd451ed8858fe3c738ee88d095ad2ff407b/propcache-0.4.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f8b465489f927b0df505cbe26ffbeed4d6d8a2bbc61ce90eb074ff129ef0ab1", size = 257781 },
+ { url = "https://files.pythonhosted.org/packages/92/f7/1d4ec5841505f423469efbfc381d64b7b467438cd5a4bbcbb063f3b73d27/propcache-0.4.1-cp313-cp313t-win32.whl", hash = "sha256:2ad890caa1d928c7c2965b48f3a3815c853180831d0e5503d35cf00c472f4717", size = 41396 },
+ { url = "https://files.pythonhosted.org/packages/48/f0/615c30622316496d2cbbc29f5985f7777d3ada70f23370608c1d3e081c1f/propcache-0.4.1-cp313-cp313t-win_amd64.whl", hash = "sha256:f7ee0e597f495cf415bcbd3da3caa3bd7e816b74d0d52b8145954c5e6fd3ff37", size = 44897 },
+ { url = "https://files.pythonhosted.org/packages/fd/ca/6002e46eccbe0e33dcd4069ef32f7f1c9e243736e07adca37ae8c4830ec3/propcache-0.4.1-cp313-cp313t-win_arm64.whl", hash = "sha256:929d7cbe1f01bb7baffb33dc14eb5691c95831450a26354cd210a8155170c93a", size = 39789 },
+ { url = "https://files.pythonhosted.org/packages/8e/5c/bca52d654a896f831b8256683457ceddd490ec18d9ec50e97dfd8fc726a8/propcache-0.4.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3f7124c9d820ba5548d431afb4632301acf965db49e666aa21c305cbe8c6de12", size = 78152 },
+ { url = "https://files.pythonhosted.org/packages/65/9b/03b04e7d82a5f54fb16113d839f5ea1ede58a61e90edf515f6577c66fa8f/propcache-0.4.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:c0d4b719b7da33599dfe3b22d3db1ef789210a0597bc650b7cee9c77c2be8c5c", size = 44869 },
+ { url = "https://files.pythonhosted.org/packages/b2/fa/89a8ef0468d5833a23fff277b143d0573897cf75bd56670a6d28126c7d68/propcache-0.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f302f4783709a78240ebc311b793f123328716a60911d667e0c036bc5dcbded", size = 46596 },
+ { url = "https://files.pythonhosted.org/packages/86/bd/47816020d337f4a746edc42fe8d53669965138f39ee117414c7d7a340cfe/propcache-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c80ee5802e3fb9ea37938e7eecc307fb984837091d5fd262bb37238b1ae97641", size = 206981 },
+ { url = "https://files.pythonhosted.org/packages/df/f6/c5fa1357cc9748510ee55f37173eb31bfde6d94e98ccd9e6f033f2fc06e1/propcache-0.4.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ed5a841e8bb29a55fb8159ed526b26adc5bdd7e8bd7bf793ce647cb08656cdf4", size = 211490 },
+ { url = "https://files.pythonhosted.org/packages/80/1e/e5889652a7c4a3846683401a48f0f2e5083ce0ec1a8a5221d8058fbd1adf/propcache-0.4.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:55c72fd6ea2da4c318e74ffdf93c4fe4e926051133657459131a95c846d16d44", size = 215371 },
+ { url = "https://files.pythonhosted.org/packages/b2/f2/889ad4b2408f72fe1a4f6a19491177b30ea7bf1a0fd5f17050ca08cfc882/propcache-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8326e144341460402713f91df60ade3c999d601e7eb5ff8f6f7862d54de0610d", size = 201424 },
+ { url = "https://files.pythonhosted.org/packages/27/73/033d63069b57b0812c8bd19f311faebeceb6ba31b8f32b73432d12a0b826/propcache-0.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:060b16ae65bc098da7f6d25bf359f1f31f688384858204fe5d652979e0015e5b", size = 197566 },
+ { url = "https://files.pythonhosted.org/packages/dc/89/ce24f3dc182630b4e07aa6d15f0ff4b14ed4b9955fae95a0b54c58d66c05/propcache-0.4.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:89eb3fa9524f7bec9de6e83cf3faed9d79bffa560672c118a96a171a6f55831e", size = 193130 },
+ { url = "https://files.pythonhosted.org/packages/a9/24/ef0d5fd1a811fb5c609278d0209c9f10c35f20581fcc16f818da959fc5b4/propcache-0.4.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:dee69d7015dc235f526fe80a9c90d65eb0039103fe565776250881731f06349f", size = 202625 },
+ { url = "https://files.pythonhosted.org/packages/f5/02/98ec20ff5546f68d673df2f7a69e8c0d076b5abd05ca882dc7ee3a83653d/propcache-0.4.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:5558992a00dfd54ccbc64a32726a3357ec93825a418a401f5cc67df0ac5d9e49", size = 204209 },
+ { url = "https://files.pythonhosted.org/packages/a0/87/492694f76759b15f0467a2a93ab68d32859672b646aa8a04ce4864e7932d/propcache-0.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c9b822a577f560fbd9554812526831712c1436d2c046cedee4c3796d3543b144", size = 197797 },
+ { url = "https://files.pythonhosted.org/packages/ee/36/66367de3575db1d2d3f3d177432bd14ee577a39d3f5d1b3d5df8afe3b6e2/propcache-0.4.1-cp314-cp314-win32.whl", hash = "sha256:ab4c29b49d560fe48b696cdcb127dd36e0bc2472548f3bf56cc5cb3da2b2984f", size = 38140 },
+ { url = "https://files.pythonhosted.org/packages/0c/2a/a758b47de253636e1b8aef181c0b4f4f204bf0dd964914fb2af90a95b49b/propcache-0.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:5a103c3eb905fcea0ab98be99c3a9a5ab2de60228aa5aceedc614c0281cf6153", size = 41257 },
+ { url = "https://files.pythonhosted.org/packages/34/5e/63bd5896c3fec12edcbd6f12508d4890d23c265df28c74b175e1ef9f4f3b/propcache-0.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:74c1fb26515153e482e00177a1ad654721bf9207da8a494a0c05e797ad27b992", size = 38097 },
+ { url = "https://files.pythonhosted.org/packages/99/85/9ff785d787ccf9bbb3f3106f79884a130951436f58392000231b4c737c80/propcache-0.4.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:824e908bce90fb2743bd6b59db36eb4f45cd350a39637c9f73b1c1ea66f5b75f", size = 81455 },
+ { url = "https://files.pythonhosted.org/packages/90/85/2431c10c8e7ddb1445c1f7c4b54d886e8ad20e3c6307e7218f05922cad67/propcache-0.4.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c2b5e7db5328427c57c8e8831abda175421b709672f6cfc3d630c3b7e2146393", size = 46372 },
+ { url = "https://files.pythonhosted.org/packages/01/20/b0972d902472da9bcb683fa595099911f4d2e86e5683bcc45de60dd05dc3/propcache-0.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6f6ff873ed40292cd4969ef5310179afd5db59fdf055897e282485043fc80ad0", size = 48411 },
+ { url = "https://files.pythonhosted.org/packages/e2/e3/7dc89f4f21e8f99bad3d5ddb3a3389afcf9da4ac69e3deb2dcdc96e74169/propcache-0.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49a2dc67c154db2c1463013594c458881a069fcf98940e61a0569016a583020a", size = 275712 },
+ { url = "https://files.pythonhosted.org/packages/20/67/89800c8352489b21a8047c773067644e3897f02ecbbd610f4d46b7f08612/propcache-0.4.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:005f08e6a0529984491e37d8dbc3dd86f84bd78a8ceb5fa9a021f4c48d4984be", size = 273557 },
+ { url = "https://files.pythonhosted.org/packages/e2/a1/b52b055c766a54ce6d9c16d9aca0cad8059acd9637cdf8aa0222f4a026ef/propcache-0.4.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5c3310452e0d31390da9035c348633b43d7e7feb2e37be252be6da45abd1abcc", size = 280015 },
+ { url = "https://files.pythonhosted.org/packages/48/c8/33cee30bd890672c63743049f3c9e4be087e6780906bfc3ec58528be59c1/propcache-0.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4c3c70630930447f9ef1caac7728c8ad1c56bc5015338b20fed0d08ea2480b3a", size = 262880 },
+ { url = "https://files.pythonhosted.org/packages/0c/b1/8f08a143b204b418285c88b83d00edbd61afbc2c6415ffafc8905da7038b/propcache-0.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8e57061305815dfc910a3634dcf584f08168a8836e6999983569f51a8544cd89", size = 260938 },
+ { url = "https://files.pythonhosted.org/packages/cf/12/96e4664c82ca2f31e1c8dff86afb867348979eb78d3cb8546a680287a1e9/propcache-0.4.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:521a463429ef54143092c11a77e04056dd00636f72e8c45b70aaa3140d639726", size = 247641 },
+ { url = "https://files.pythonhosted.org/packages/18/ed/e7a9cfca28133386ba52278136d42209d3125db08d0a6395f0cba0c0285c/propcache-0.4.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:120c964da3fdc75e3731aa392527136d4ad35868cc556fd09bb6d09172d9a367", size = 262510 },
+ { url = "https://files.pythonhosted.org/packages/f5/76/16d8bf65e8845dd62b4e2b57444ab81f07f40caa5652b8969b87ddcf2ef6/propcache-0.4.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:d8f353eb14ee3441ee844ade4277d560cdd68288838673273b978e3d6d2c8f36", size = 263161 },
+ { url = "https://files.pythonhosted.org/packages/e7/70/c99e9edb5d91d5ad8a49fa3c1e8285ba64f1476782fed10ab251ff413ba1/propcache-0.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ab2943be7c652f09638800905ee1bab2c544e537edb57d527997a24c13dc1455", size = 257393 },
+ { url = "https://files.pythonhosted.org/packages/08/02/87b25304249a35c0915d236575bc3574a323f60b47939a2262b77632a3ee/propcache-0.4.1-cp314-cp314t-win32.whl", hash = "sha256:05674a162469f31358c30bcaa8883cb7829fa3110bf9c0991fe27d7896c42d85", size = 42546 },
+ { url = "https://files.pythonhosted.org/packages/cb/ef/3c6ecf8b317aa982f309835e8f96987466123c6e596646d4e6a1dfcd080f/propcache-0.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:990f6b3e2a27d683cb7602ed6c86f15ee6b43b1194736f9baaeb93d0016633b1", size = 46259 },
+ { url = "https://files.pythonhosted.org/packages/c4/2d/346e946d4951f37eca1e4f55be0f0174c52cd70720f84029b02f296f4a38/propcache-0.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ecef2343af4cc68e05131e45024ba34f6095821988a9d0a02aa7c73fcc448aa9", size = 40428 },
{ url = "https://files.pythonhosted.org/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305 },
]
-[[package]]
-name = "proto-plus"
-version = "1.27.2"
-source = { registry = "https://pypi.org/simple" }
-dependencies = [
- { name = "protobuf" },
-]
-sdist = { url = "https://files.pythonhosted.org/packages/81/0d/94dfe80193e79d55258345901acd2917523d56e8381bc4dee7fd38e3868a/proto_plus-1.27.2.tar.gz", hash = "sha256:b2adde53adadf75737c44d3dcb0104fde65250dfc83ad59168b4aa3e574b6a24", size = 57204 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/84/f3/1fba73eeffafc998a25d59703b63f8be4fe8a5cb12eaff7386a0ba0f7125/proto_plus-1.27.2-py3-none-any.whl", hash = "sha256:6432f75893d3b9e70b9c412f1d2f03f65b11fb164b793d14ae2ca01821d22718", size = 50450 },
-]
-
[[package]]
name = "protobuf"
version = "5.29.6"
@@ -1440,15 +2042,43 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/5b/3c/b7d2ebcff47a514f47f9da1e74b7949138c58cfeb108cdd4ee62f43f0cf3/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bf5842f960cddd2ef757d486041d57c96483efc295a8c4a0e20e704cbbf39c67", size = 48173045 },
{ url = "https://files.pythonhosted.org/packages/43/b2/b40961262213beaba6acfc88698eb773dfce32ecdf34d19291db94c2bd73/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:564baf97c858ecc03ec01a41062e8f4698abc3e6e2acd79c01c2e97880a19730", size = 50621741 },
{ url = "https://files.pythonhosted.org/packages/f6/70/1fdda42d65b28b078e93d75d371b2185a61da89dda4def8ba6ba41ebdeb4/pyarrow-23.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:07deae7783782ac7250989a7b2ecde9b3c343a643f82e8a4df03d93b633006f0", size = 27620678 },
+ { url = "https://files.pythonhosted.org/packages/47/10/2cbe4c6f0fb83d2de37249567373d64327a5e4d8db72f486db42875b08f6/pyarrow-23.0.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:6b8fda694640b00e8af3c824f99f789e836720aa8c9379fb435d4c4953a756b8", size = 34210066 },
+ { url = "https://files.pythonhosted.org/packages/cb/4f/679fa7e84dadbaca7a65f7cdba8d6c83febbd93ca12fa4adf40ba3b6362b/pyarrow-23.0.1-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:8ff51b1addc469b9444b7c6f3548e19dc931b172ab234e995a60aea9f6e6025f", size = 35825526 },
+ { url = "https://files.pythonhosted.org/packages/f9/63/d2747d930882c9d661e9398eefc54f15696547b8983aaaf11d4a2e8b5426/pyarrow-23.0.1-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:71c5be5cbf1e1cb6169d2a0980850bccb558ddc9b747b6206435313c47c37677", size = 44473279 },
+ { url = "https://files.pythonhosted.org/packages/b3/93/10a48b5e238de6d562a411af6467e71e7aedbc9b87f8d3a35f1560ae30fb/pyarrow-23.0.1-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:9b6f4f17b43bc39d56fec96e53fe89d94bac3eb134137964371b45352d40d0c2", size = 47585798 },
+ { url = "https://files.pythonhosted.org/packages/5c/20/476943001c54ef078dbf9542280e22741219a184a0632862bca4feccd666/pyarrow-23.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:9fc13fc6c403d1337acab46a2c4346ca6c9dec5780c3c697cf8abfd5e19b6b37", size = 48179446 },
+ { url = "https://files.pythonhosted.org/packages/4b/b6/5dd0c47b335fcd8edba9bfab78ad961bd0fd55ebe53468cc393f45e0be60/pyarrow-23.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5c16ed4f53247fa3ffb12a14d236de4213a4415d127fe9cebed33d51671113e2", size = 50623972 },
+ { url = "https://files.pythonhosted.org/packages/d5/09/a532297c9591a727d67760e2e756b83905dd89adb365a7f6e9c72578bcc1/pyarrow-23.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:cecfb12ef629cf6be0b1887f9f86463b0dd3dc3195ae6224e74006be4736035a", size = 27540749 },
+ { url = "https://files.pythonhosted.org/packages/a5/8e/38749c4b1303e6ae76b3c80618f84861ae0c55dd3c2273842ea6f8258233/pyarrow-23.0.1-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:29f7f7419a0e30264ea261fdc0e5fe63ce5a6095003db2945d7cd78df391a7e1", size = 34471544 },
+ { url = "https://files.pythonhosted.org/packages/a3/73/f237b2bc8c669212f842bcfd842b04fc8d936bfc9d471630569132dc920d/pyarrow-23.0.1-cp313-cp313t-macosx_12_0_x86_64.whl", hash = "sha256:33d648dc25b51fd8055c19e4261e813dfc4d2427f068bcecc8b53d01b81b0500", size = 35949911 },
+ { url = "https://files.pythonhosted.org/packages/0c/86/b912195eee0903b5611bf596833def7d146ab2d301afeb4b722c57ffc966/pyarrow-23.0.1-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:cd395abf8f91c673dd3589cadc8cc1ee4e8674fa61b2e923c8dd215d9c7d1f41", size = 44520337 },
+ { url = "https://files.pythonhosted.org/packages/69/c2/f2a717fb824f62d0be952ea724b4f6f9372a17eed6f704b5c9526f12f2f1/pyarrow-23.0.1-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:00be9576d970c31defb5c32eb72ef585bf600ef6d0a82d5eccaae96639cf9d07", size = 47548944 },
+ { url = "https://files.pythonhosted.org/packages/84/a7/90007d476b9f0dc308e3bc57b832d004f848fd6c0da601375d20d92d1519/pyarrow-23.0.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c2139549494445609f35a5cda4eb94e2c9e4d704ce60a095b342f82460c73a83", size = 48236269 },
+ { url = "https://files.pythonhosted.org/packages/b0/3f/b16fab3e77709856eb6ac328ce35f57a6d4a18462c7ca5186ef31b45e0e0/pyarrow-23.0.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:7044b442f184d84e2351e5084600f0d7343d6117aabcbc1ac78eb1ae11eb4125", size = 50604794 },
+ { url = "https://files.pythonhosted.org/packages/e9/a1/22df0620a9fac31d68397a75465c344e83c3dfe521f7612aea33e27ab6c0/pyarrow-23.0.1-cp313-cp313t-win_amd64.whl", hash = "sha256:a35581e856a2fafa12f3f54fce4331862b1cfb0bef5758347a858a4aa9d6bae8", size = 27660642 },
+ { url = "https://files.pythonhosted.org/packages/8d/1b/6da9a89583ce7b23ac611f183ae4843cd3a6cf54f079549b0e8c14031e73/pyarrow-23.0.1-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:5df1161da23636a70838099d4aaa65142777185cc0cdba4037a18cee7d8db9ca", size = 34238755 },
+ { url = "https://files.pythonhosted.org/packages/ae/b5/d58a241fbe324dbaeb8df07be6af8752c846192d78d2272e551098f74e88/pyarrow-23.0.1-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:fa8e51cb04b9f8c9c5ace6bab63af9a1f88d35c0d6cbf53e8c17c098552285e1", size = 35847826 },
+ { url = "https://files.pythonhosted.org/packages/54/a5/8cbc83f04aba433ca7b331b38f39e000efd9f0c7ce47128670e737542996/pyarrow-23.0.1-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:0b95a3994f015be13c63148fef8832e8a23938128c185ee951c98908a696e0eb", size = 44536859 },
+ { url = "https://files.pythonhosted.org/packages/36/2e/c0f017c405fcdc252dbccafbe05e36b0d0eb1ea9a958f081e01c6972927f/pyarrow-23.0.1-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:4982d71350b1a6e5cfe1af742c53dfb759b11ce14141870d05d9e540d13bc5d1", size = 47614443 },
+ { url = "https://files.pythonhosted.org/packages/af/6b/2314a78057912f5627afa13ba43809d9d653e6630859618b0fd81a4e0759/pyarrow-23.0.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c250248f1fe266db627921c89b47b7c06fee0489ad95b04d50353537d74d6886", size = 48232991 },
+ { url = "https://files.pythonhosted.org/packages/40/f2/1bcb1d3be3460832ef3370d621142216e15a2c7c62602a4ea19ec240dd64/pyarrow-23.0.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5f4763b83c11c16e5f4c15601ba6dfa849e20723b46aa2617cb4bffe8768479f", size = 50645077 },
+ { url = "https://files.pythonhosted.org/packages/eb/3f/b1da7b61cd66566a4d4c8383d376c606d1c34a906c3f1cb35c479f59d1aa/pyarrow-23.0.1-cp314-cp314-win_amd64.whl", hash = "sha256:3a4c85ef66c134161987c17b147d6bffdca4566f9a4c1d81a0a01cdf08414ea5", size = 28234271 },
+ { url = "https://files.pythonhosted.org/packages/b5/78/07f67434e910a0f7323269be7bfbf58699bd0c1d080b18a1ab49ba943fe8/pyarrow-23.0.1-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:17cd28e906c18af486a499422740298c52d7c6795344ea5002a7720b4eadf16d", size = 34488692 },
+ { url = "https://files.pythonhosted.org/packages/50/76/34cf7ae93ece1f740a04910d9f7e80ba166b9b4ab9596a953e9e62b90fe1/pyarrow-23.0.1-cp314-cp314t-macosx_12_0_x86_64.whl", hash = "sha256:76e823d0e86b4fb5e1cf4a58d293036e678b5a4b03539be933d3b31f9406859f", size = 35964383 },
+ { url = "https://files.pythonhosted.org/packages/46/90/459b827238936d4244214be7c684e1b366a63f8c78c380807ae25ed92199/pyarrow-23.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a62e1899e3078bf65943078b3ad2a6ddcacf2373bc06379aac61b1e548a75814", size = 44538119 },
+ { url = "https://files.pythonhosted.org/packages/28/a1/93a71ae5881e99d1f9de1d4554a87be37da11cd6b152239fb5bd924fdc64/pyarrow-23.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:df088e8f640c9fae3b1f495b3c64755c4e719091caf250f3a74d095ddf3c836d", size = 47571199 },
+ { url = "https://files.pythonhosted.org/packages/88/a3/d2c462d4ef313521eaf2eff04d204ac60775263f1fb08c374b543f79f610/pyarrow-23.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:46718a220d64677c93bc243af1d44b55998255427588e400677d7192671845c7", size = 48259435 },
+ { url = "https://files.pythonhosted.org/packages/cc/f1/11a544b8c3d38a759eb3fbb022039117fd633e9a7b19e4841cc3da091915/pyarrow-23.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a09f3876e87f48bc2f13583ab551f0379e5dfb83210391e68ace404181a20690", size = 50629149 },
+ { url = "https://files.pythonhosted.org/packages/50/f2/c0e76a0b451ffdf0cf788932e182758eb7558953f4f27f1aff8e2518b653/pyarrow-23.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:527e8d899f14bd15b740cd5a54ad56b7f98044955373a17179d5956ddb93d9ce", size = 28365807 },
]
[[package]]
name = "pyasn1"
-version = "0.6.3"
+version = "0.6.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/5c/5f/6583902b6f79b399c9c40674ac384fd9cd77805f9e6205075f828ef11fb2/pyasn1-0.6.3.tar.gz", hash = "sha256:697a8ecd6d98891189184ca1fa05d1bb00e2f84b5977c481452050549c8a72cf", size = 148685 }
+sdist = { url = "https://files.pythonhosted.org/packages/a4/9a/23310166d960def5897e91fe20e5b724601b02a22e84ba1f94232c0b7f67/pyasn1-0.6.4.tar.gz", hash = "sha256:9c447d8431c947fe4c8febc4ed9e760bc29011a5b01e5c74b67025bd9fb8ce81", size = 151262 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5d/a0/7d793dce3fa811fe047d6ae2431c672364b462850c6235ae306c0efd025f/pyasn1-0.6.3-py3-none-any.whl", hash = "sha256:a80184d120f0864a52a073acc6fc642847d0be408e7c7252f31390c0f4eadcde", size = 83997 },
+ { url = "https://files.pythonhosted.org/packages/9a/3b/6163796d69c3977d1e4287bea4a6979161cbbdd170ebb430511e8e1999ce/pyasn1-0.6.4-py3-none-any.whl", hash = "sha256:deda9277cfd454080ec40b207fb6df82206a3a2688735233cdcd8d3d565f088b", size = 84410 },
]
[[package]]
@@ -1524,6 +2154,48 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/49/3b/774f2b5cd4192d5ab75870ce4381fd89cf218af999515baf07e7206753f0/pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d", size = 1985908 },
{ url = "https://files.pythonhosted.org/packages/86/45/00173a033c801cacf67c190fef088789394feaf88a98a7035b0e40d53dc9/pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815", size = 2020145 },
{ url = "https://files.pythonhosted.org/packages/f9/22/91fbc821fa6d261b376a3f73809f907cec5ca6025642c463d3488aad22fb/pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3", size = 1976179 },
+ { url = "https://files.pythonhosted.org/packages/87/06/8806241ff1f70d9939f9af039c6c35f2360cf16e93c2ca76f184e76b1564/pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9", size = 2120403 },
+ { url = "https://files.pythonhosted.org/packages/94/02/abfa0e0bda67faa65fef1c84971c7e45928e108fe24333c81f3bfe35d5f5/pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34", size = 1896206 },
+ { url = "https://files.pythonhosted.org/packages/15/df/a4c740c0943e93e6500f9eb23f4ca7ec9bf71b19e608ae5b579678c8d02f/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0", size = 1919307 },
+ { url = "https://files.pythonhosted.org/packages/9a/e3/6324802931ae1d123528988e0e86587c2072ac2e5394b4bc2bc34b61ff6e/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33", size = 2063258 },
+ { url = "https://files.pythonhosted.org/packages/c9/d4/2230d7151d4957dd79c3044ea26346c148c98fbf0ee6ebd41056f2d62ab5/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e", size = 2214917 },
+ { url = "https://files.pythonhosted.org/packages/e6/9f/eaac5df17a3672fef0081b6c1bb0b82b33ee89aa5cec0d7b05f52fd4a1fa/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2", size = 2332186 },
+ { url = "https://files.pythonhosted.org/packages/cf/4e/35a80cae583a37cf15604b44240e45c05e04e86f9cfd766623149297e971/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586", size = 2073164 },
+ { url = "https://files.pythonhosted.org/packages/bf/e3/f6e262673c6140dd3305d144d032f7bd5f7497d3871c1428521f19f9efa2/pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d", size = 2179146 },
+ { url = "https://files.pythonhosted.org/packages/75/c7/20bd7fc05f0c6ea2056a4565c6f36f8968c0924f19b7d97bbfea55780e73/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740", size = 2137788 },
+ { url = "https://files.pythonhosted.org/packages/3a/8d/34318ef985c45196e004bc46c6eab2eda437e744c124ef0dbe1ff2c9d06b/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e", size = 2340133 },
+ { url = "https://files.pythonhosted.org/packages/9c/59/013626bf8c78a5a5d9350d12e7697d3d4de951a75565496abd40ccd46bee/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858", size = 2324852 },
+ { url = "https://files.pythonhosted.org/packages/1a/d9/c248c103856f807ef70c18a4f986693a46a8ffe1602e5d361485da502d20/pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36", size = 1994679 },
+ { url = "https://files.pythonhosted.org/packages/9e/8b/341991b158ddab181cff136acd2552c9f35bd30380422a639c0671e99a91/pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11", size = 2019766 },
+ { url = "https://files.pythonhosted.org/packages/73/7d/f2f9db34af103bea3e09735bb40b021788a5e834c81eedb541991badf8f5/pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd", size = 1981005 },
+ { url = "https://files.pythonhosted.org/packages/ea/28/46b7c5c9635ae96ea0fbb779e271a38129df2550f763937659ee6c5dbc65/pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a", size = 2119622 },
+ { url = "https://files.pythonhosted.org/packages/74/1a/145646e5687e8d9a1e8d09acb278c8535ebe9e972e1f162ed338a622f193/pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14", size = 1891725 },
+ { url = "https://files.pythonhosted.org/packages/23/04/e89c29e267b8060b40dca97bfc64a19b2a3cf99018167ea1677d96368273/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1", size = 1915040 },
+ { url = "https://files.pythonhosted.org/packages/84/a3/15a82ac7bd97992a82257f777b3583d3e84bdb06ba6858f745daa2ec8a85/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66", size = 2063691 },
+ { url = "https://files.pythonhosted.org/packages/74/9b/0046701313c6ef08c0c1cf0e028c67c770a4e1275ca73131563c5f2a310a/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869", size = 2213897 },
+ { url = "https://files.pythonhosted.org/packages/8a/cd/6bac76ecd1b27e75a95ca3a9a559c643b3afcd2dd62086d4b7a32a18b169/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2", size = 2333302 },
+ { url = "https://files.pythonhosted.org/packages/4c/d2/ef2074dc020dd6e109611a8be4449b98cd25e1b9b8a303c2f0fca2f2bcf7/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375", size = 2064877 },
+ { url = "https://files.pythonhosted.org/packages/18/66/e9db17a9a763d72f03de903883c057b2592c09509ccfe468187f2a2eef29/pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553", size = 2180680 },
+ { url = "https://files.pythonhosted.org/packages/d3/9e/3ce66cebb929f3ced22be85d4c2399b8e85b622db77dad36b73c5387f8f8/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90", size = 2138960 },
+ { url = "https://files.pythonhosted.org/packages/a6/62/205a998f4327d2079326b01abee48e502ea739d174f0a89295c481a2272e/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07", size = 2339102 },
+ { url = "https://files.pythonhosted.org/packages/3c/0d/f05e79471e889d74d3d88f5bd20d0ed189ad94c2423d81ff8d0000aab4ff/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb", size = 2326039 },
+ { url = "https://files.pythonhosted.org/packages/ec/e1/e08a6208bb100da7e0c4b288eed624a703f4d129bde2da475721a80cab32/pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23", size = 1995126 },
+ { url = "https://files.pythonhosted.org/packages/48/5d/56ba7b24e9557f99c9237e29f5c09913c81eeb2f3217e40e922353668092/pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf", size = 2015489 },
+ { url = "https://files.pythonhosted.org/packages/4e/bb/f7a190991ec9e3e0ba22e4993d8755bbc4a32925c0b5b42775c03e8148f9/pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0", size = 1977288 },
+ { url = "https://files.pythonhosted.org/packages/92/ed/77542d0c51538e32e15afe7899d79efce4b81eee631d99850edc2f5e9349/pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a", size = 2120255 },
+ { url = "https://files.pythonhosted.org/packages/bb/3d/6913dde84d5be21e284439676168b28d8bbba5600d838b9dca99de0fad71/pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3", size = 1863760 },
+ { url = "https://files.pythonhosted.org/packages/5a/f0/e5e6b99d4191da102f2b0eb9687aaa7f5bea5d9964071a84effc3e40f997/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c", size = 1878092 },
+ { url = "https://files.pythonhosted.org/packages/71/48/36fb760642d568925953bcc8116455513d6e34c4beaa37544118c36aba6d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612", size = 2053385 },
+ { url = "https://files.pythonhosted.org/packages/20/25/92dc684dd8eb75a234bc1c764b4210cf2646479d54b47bf46061657292a8/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d", size = 2218832 },
+ { url = "https://files.pythonhosted.org/packages/e2/09/f53e0b05023d3e30357d82eb35835d0f6340ca344720a4599cd663dca599/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9", size = 2327585 },
+ { url = "https://files.pythonhosted.org/packages/aa/4e/2ae1aa85d6af35a39b236b1b1641de73f5a6ac4d5a7509f77b814885760c/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660", size = 2041078 },
+ { url = "https://files.pythonhosted.org/packages/cd/13/2e215f17f0ef326fc72afe94776edb77525142c693767fc347ed6288728d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9", size = 2173914 },
+ { url = "https://files.pythonhosted.org/packages/02/7a/f999a6dcbcd0e5660bc348a3991c8915ce6599f4f2c6ac22f01d7a10816c/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3", size = 2129560 },
+ { url = "https://files.pythonhosted.org/packages/3a/b1/6c990ac65e3b4c079a4fb9f5b05f5b013afa0f4ed6780a3dd236d2cbdc64/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf", size = 2329244 },
+ { url = "https://files.pythonhosted.org/packages/d9/02/3c562f3a51afd4d88fff8dffb1771b30cfdfd79befd9883ee094f5b6c0d8/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470", size = 2331955 },
+ { url = "https://files.pythonhosted.org/packages/5c/96/5fb7d8c3c17bc8c62fdb031c47d77a1af698f1d7a406b0f79aaa1338f9ad/pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa", size = 1988906 },
+ { url = "https://files.pythonhosted.org/packages/22/ed/182129d83032702912c2e2d8bbe33c036f342cc735737064668585dac28f/pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c", size = 1981607 },
+ { url = "https://files.pythonhosted.org/packages/9f/ed/068e41660b832bb0b1aa5b58011dea2a3fe0ba7861ff38c4d4904c1c1a99/pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008", size = 1974769 },
{ url = "https://files.pythonhosted.org/packages/11/72/90fda5ee3b97e51c494938a4a44c3a35a9c96c19bba12372fb9c634d6f57/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:b96d5f26b05d03cc60f11a7761a5ded1741da411e7fe0909e27a5e6a0cb7b034", size = 2115441 },
{ url = "https://files.pythonhosted.org/packages/1f/53/8942f884fa33f50794f119012dc6a1a02ac43a56407adaac20463df8e98f/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:634e8609e89ceecea15e2d61bc9ac3718caaaa71963717bf3c8f38bfde64242c", size = 1930291 },
{ url = "https://files.pythonhosted.org/packages/79/c8/ecb9ed9cd942bce09fc888ee960b52654fbdbede4ba6c2d6e0d3b1d8b49c/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:93e8740d7503eb008aa2df04d3b9735f845d43ae845e6dcd2be0b55a2da43cd2", size = 1948632 },
@@ -1573,15 +2245,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151 },
]
-[[package]]
-name = "pyparsing"
-version = "3.3.2"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781 },
-]
-
[[package]]
name = "python-dateutil"
version = "2.9.0.post0"
@@ -1646,6 +2309,34 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658 },
{ url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003 },
{ url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344 },
+ { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669 },
+ { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252 },
+ { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081 },
+ { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159 },
+ { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626 },
+ { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613 },
+ { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115 },
+ { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427 },
+ { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090 },
+ { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246 },
+ { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814 },
+ { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809 },
+ { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454 },
+ { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355 },
+ { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175 },
+ { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228 },
+ { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194 },
+ { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429 },
+ { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912 },
+ { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108 },
+ { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641 },
+ { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901 },
+ { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132 },
+ { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261 },
+ { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272 },
+ { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923 },
+ { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062 },
+ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341 },
]
[[package]]
@@ -1667,7 +2358,7 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "attrs" },
{ name = "rpds-py" },
- { name = "typing-extensions" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036 }
wheels = [
@@ -1712,6 +2403,70 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/49/1d/1d957a61976ab9d4e767dd4f9d04b66cc0c41c5e36cf40e2d43688b5ae6f/regex-2026.4.4-cp312-cp312-win32.whl", hash = "sha256:04bb679bc0bde8a7bfb71e991493d47314e7b98380b083df2447cda4b6edb60f", size = 266700 },
{ url = "https://files.pythonhosted.org/packages/c5/5c/bf575d396aeb58ea13b06ef2adf624f65b70fafef6950a80fc3da9cae3bc/regex-2026.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:db0ac18435a40a2543dbb3d21e161a6c78e33e8159bd2e009343d224bb03bb1b", size = 277768 },
{ url = "https://files.pythonhosted.org/packages/c9/27/049df16ec6a6828ccd72add3c7f54b4df029669bea8e9817df6fff58be90/regex-2026.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:4ce255cc05c1947a12989c6db801c96461947adb7a59990f1360b5983fab4983", size = 270568 },
+ { url = "https://files.pythonhosted.org/packages/9d/83/c4373bc5f31f2cf4b66f9b7c31005bd87fe66f0dce17701f7db4ee79ee29/regex-2026.4.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:62f5519042c101762509b1d717b45a69c0139d60414b3c604b81328c01bd1943", size = 490273 },
+ { url = "https://files.pythonhosted.org/packages/46/f8/fe62afbcc3cf4ad4ac9adeaafd98aa747869ae12d3e8e2ac293d0593c435/regex-2026.4.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3790ba9fb5dd76715a7afe34dbe603ba03f8820764b1dc929dd08106214ed031", size = 291954 },
+ { url = "https://files.pythonhosted.org/packages/5a/92/4712b9fe6a33d232eeb1c189484b80c6c4b8422b90e766e1195d6e758207/regex-2026.4.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8fae3c6e795d7678963f2170152b0d892cf6aee9ee8afc8c45e6be38d5107fe7", size = 289487 },
+ { url = "https://files.pythonhosted.org/packages/88/2c/f83b93f85e01168f1070f045a42d4c937b69fdb8dd7ae82d307253f7e36e/regex-2026.4.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:298c3ec2d53225b3bf91142eb9691025bab610e0c0c51592dde149db679b3d17", size = 796646 },
+ { url = "https://files.pythonhosted.org/packages/df/55/61a2e17bf0c4dc57e11caf8dd11771280d8aaa361785f9e3bc40d653f4a7/regex-2026.4.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e9638791082eaf5b3ac112c587518ee78e083a11c4b28012d8fe2a0f536dfb17", size = 865904 },
+ { url = "https://files.pythonhosted.org/packages/45/32/1ac8ed1b5a346b5993a3d256abe0a0f03b0b73c8cc88d928537368ac65b6/regex-2026.4.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ae3e764bd4c5ff55035dc82a8d49acceb42a5298edf6eb2fc4d328ee5dd7afae", size = 912304 },
+ { url = "https://files.pythonhosted.org/packages/26/47/2ee5c613ab546f0eddebf9905d23e07beb933416b1246c2d8791d01979b4/regex-2026.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ffa81f81b80047ba89a3c69ae6a0f78d06f4a42ce5126b0eb2a0a10ad44e0b2e", size = 801126 },
+ { url = "https://files.pythonhosted.org/packages/75/cd/41dacd129ca9fd20bd7d02f83e0fad83e034ac8a084ec369c90f55ef37e2/regex-2026.4.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f56ebf9d70305307a707911b88469213630aba821e77de7d603f9d2f0730687d", size = 776772 },
+ { url = "https://files.pythonhosted.org/packages/89/6d/5af0b588174cb5f46041fa7dd64d3fd5cd2fe51f18766703d1edc387f324/regex-2026.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:773d1dfd652bbffb09336abf890bfd64785c7463716bf766d0eb3bc19c8b7f27", size = 785228 },
+ { url = "https://files.pythonhosted.org/packages/b7/3b/f5a72b7045bd59575fc33bf1345f156fcfd5a8484aea6ad84b12c5a82114/regex-2026.4.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d51d20befd5275d092cdffba57ded05f3c436317ee56466c8928ac32d960edaf", size = 860032 },
+ { url = "https://files.pythonhosted.org/packages/39/a4/72a317003d6fcd7a573584a85f59f525dfe8f67e355ca74eb6b53d66a5e2/regex-2026.4.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:0a51cdb3c1e9161154f976cb2bef9894bc063ac82f31b733087ffb8e880137d0", size = 765714 },
+ { url = "https://files.pythonhosted.org/packages/25/1e/5672e16f34dbbcb2560cc7e6a2fbb26dfa8b270711e730101da4423d3973/regex-2026.4.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:ae5266a82596114e41fb5302140e9630204c1b5f325c770bec654b95dd54b0aa", size = 852078 },
+ { url = "https://files.pythonhosted.org/packages/f7/0d/c813f0af7c6cc7ed7b9558bac2e5120b60ad0fa48f813e4d4bd55446f214/regex-2026.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:c882cd92ec68585e9c1cf36c447ec846c0d94edd706fe59e0c198e65822fd23b", size = 789181 },
+ { url = "https://files.pythonhosted.org/packages/ea/6d/a344608d1adbd2a95090ddd906cec09a11be0e6517e878d02a5123e0917f/regex-2026.4.4-cp313-cp313-win32.whl", hash = "sha256:05568c4fbf3cb4fa9e28e3af198c40d3237cf6041608a9022285fe567ec3ad62", size = 266690 },
+ { url = "https://files.pythonhosted.org/packages/31/07/54049f89b46235ca6f45cd6c88668a7050e77d4a15555e47dd40fde75263/regex-2026.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:3384df51ed52db0bea967e21458ab0a414f67cdddfd94401688274e55147bb81", size = 277733 },
+ { url = "https://files.pythonhosted.org/packages/0e/21/61366a8e20f4d43fb597708cac7f0e2baadb491ecc9549b4980b2be27d16/regex-2026.4.4-cp313-cp313-win_arm64.whl", hash = "sha256:acd38177bd2c8e69a411d6521760806042e244d0ef94e2dd03ecdaa8a3c99427", size = 270565 },
+ { url = "https://files.pythonhosted.org/packages/f1/1e/3a2b9672433bef02f5d39aa1143ca2c08f311c1d041c464a42be9ae648dc/regex-2026.4.4-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:f94a11a9d05afcfcfa640e096319720a19cc0c9f7768e1a61fceee6a3afc6c7c", size = 494126 },
+ { url = "https://files.pythonhosted.org/packages/4e/4b/c132a4f4fe18ad3340d89fcb56235132b69559136036b845be3c073142ed/regex-2026.4.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:36bcb9d6d1307ab629edc553775baada2aefa5c50ccc0215fbfd2afcfff43141", size = 293882 },
+ { url = "https://files.pythonhosted.org/packages/f4/5f/eaa38092ce7a023656280f2341dbbd4ad5f05d780a70abba7bb4f4bea54c/regex-2026.4.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:261c015b3e2ed0919157046d768774ecde57f03d8fa4ba78d29793447f70e717", size = 292334 },
+ { url = "https://files.pythonhosted.org/packages/5f/f6/dd38146af1392dac33db7074ab331cec23cced3759167735c42c5460a243/regex-2026.4.4-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c228cf65b4a54583763645dcd73819b3b381ca8b4bb1b349dee1c135f4112c07", size = 811691 },
+ { url = "https://files.pythonhosted.org/packages/7a/f0/dc54c2e69f5eeec50601054998ec3690d5344277e782bd717e49867c1d29/regex-2026.4.4-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dd2630faeb6876fb0c287f664d93ddce4d50cd46c6e88e60378c05c9047e08ca", size = 871227 },
+ { url = "https://files.pythonhosted.org/packages/a1/af/cb16bd5dc61621e27df919a4449bbb7e5a1034c34d307e0a706e9cc0f3e3/regex-2026.4.4-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6a50ab11b7779b849472337191f3a043e27e17f71555f98d0092fa6d73364520", size = 917435 },
+ { url = "https://files.pythonhosted.org/packages/5c/71/8b260897f22996b666edd9402861668f45a2ca259f665ac029e6104a2d7d/regex-2026.4.4-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0734f63afe785138549fbe822a8cfeaccd1bae814c5057cc0ed5b9f2de4fc883", size = 816358 },
+ { url = "https://files.pythonhosted.org/packages/1c/60/775f7f72a510ef238254906c2f3d737fc80b16ca85f07d20e318d2eea894/regex-2026.4.4-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c4ee50606cb1967db7e523224e05f32089101945f859928e65657a2cbb3d278b", size = 785549 },
+ { url = "https://files.pythonhosted.org/packages/58/42/34d289b3627c03cf381e44da534a0021664188fa49ba41513da0b4ec6776/regex-2026.4.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6c1818f37be3ca02dcb76d63f2c7aaba4b0dc171b579796c6fbe00148dfec6b1", size = 801364 },
+ { url = "https://files.pythonhosted.org/packages/fc/20/f6ecf319b382a8f1ab529e898b222c3f30600fcede7834733c26279e7465/regex-2026.4.4-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:f5bfc2741d150d0be3e4a0401a5c22b06e60acb9aa4daa46d9e79a6dcd0f135b", size = 866221 },
+ { url = "https://files.pythonhosted.org/packages/92/6a/9f16d3609d549bd96d7a0b2aee1625d7512ba6a03efc01652149ef88e74d/regex-2026.4.4-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:504ffa8a03609a087cad81277a629b6ce884b51a24bd388a7980ad61748618ff", size = 772530 },
+ { url = "https://files.pythonhosted.org/packages/fa/f6/aa9768bc96a4c361ac96419fbaf2dcdc33970bb813df3ba9b09d5d7b6d96/regex-2026.4.4-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:70aadc6ff12e4b444586e57fc30771f86253f9f0045b29016b9605b4be5f7dfb", size = 856989 },
+ { url = "https://files.pythonhosted.org/packages/4d/b4/c671db3556be2473ae3e4bb7a297c518d281452871501221251ea4ecba57/regex-2026.4.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f4f83781191007b6ef43b03debc35435f10cad9b96e16d147efe84a1d48bdde4", size = 803241 },
+ { url = "https://files.pythonhosted.org/packages/2a/5c/83e3b1d89fa4f6e5a1bc97b4abd4a9a97b3c1ac7854164f694f5f0ba98a0/regex-2026.4.4-cp313-cp313t-win32.whl", hash = "sha256:e014a797de43d1847df957c0a2a8e861d1c17547ee08467d1db2c370b7568baa", size = 269921 },
+ { url = "https://files.pythonhosted.org/packages/28/07/077c387121f42cdb4d92b1301133c0d93b5709d096d1669ab847dda9fe2e/regex-2026.4.4-cp313-cp313t-win_amd64.whl", hash = "sha256:b15b88b0d52b179712632832c1d6e58e5774f93717849a41096880442da41ab0", size = 281240 },
+ { url = "https://files.pythonhosted.org/packages/9d/22/ead4a4abc7c59a4d882662aa292ca02c8b617f30b6e163bc1728879e9353/regex-2026.4.4-cp313-cp313t-win_arm64.whl", hash = "sha256:586b89cdadf7d67bf86ae3342a4dcd2b8d70a832d90c18a0ae955105caf34dbe", size = 272440 },
+ { url = "https://files.pythonhosted.org/packages/f0/f5/ed97c2dc47b5fbd4b73c0d7d75f9ebc8eca139f2bbef476bba35f28c0a77/regex-2026.4.4-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:2da82d643fa698e5e5210e54af90181603d5853cf469f5eedf9bfc8f59b4b8c7", size = 490343 },
+ { url = "https://files.pythonhosted.org/packages/80/e9/de4828a7385ec166d673a5790ad06ac48cdaa98bc0960108dd4b9cc1aef7/regex-2026.4.4-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:54a1189ad9d9357760557c91103d5e421f0a2dabe68a5cdf9103d0dcf4e00752", size = 291909 },
+ { url = "https://files.pythonhosted.org/packages/b4/d6/5cfbfc97f3201a4d24b596a77957e092030dcc4205894bc035cedcfce62f/regex-2026.4.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:76d67d5afb1fe402d10a6403bae668d000441e2ab115191a804287d53b772951", size = 289692 },
+ { url = "https://files.pythonhosted.org/packages/8e/ac/f2212d9fd56fe897e36d0110ba30ba2d247bd6410c5bd98499c7e5a1e1f2/regex-2026.4.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e7cd3e4ee8d80447a83bbc9ab0c8459781fa77087f856c3e740d7763be0df27f", size = 796979 },
+ { url = "https://files.pythonhosted.org/packages/c9/e3/a016c12675fbac988a60c7e1c16e67823ff0bc016beb27bd7a001dbdabc6/regex-2026.4.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2e19e18c568d2866d8b6a6dfad823db86193503f90823a8f66689315ba28fbe8", size = 866744 },
+ { url = "https://files.pythonhosted.org/packages/af/a4/0b90ca4cf17adc3cb43de80ec71018c37c88ad64987e8d0d481a95ca60b5/regex-2026.4.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7698a6f38730fd1385d390d1ed07bb13dce39aa616aca6a6d89bea178464b9a4", size = 911613 },
+ { url = "https://files.pythonhosted.org/packages/8e/3b/2b3dac0b82d41ab43aa87c6ecde63d71189d03fe8854b8ca455a315edac3/regex-2026.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:173a66f3651cdb761018078e2d9487f4cf971232c990035ec0eb1cdc6bf929a9", size = 800551 },
+ { url = "https://files.pythonhosted.org/packages/25/fe/5365eb7aa0e753c4b5957815c321519ecab033c279c60e1b1ae2367fa810/regex-2026.4.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fa7922bbb2cc84fa062d37723f199d4c0cd200245ce269c05db82d904db66b83", size = 776911 },
+ { url = "https://files.pythonhosted.org/packages/aa/b3/7fb0072156bba065e3b778a7bc7b0a6328212be5dd6a86fd207e0c4f2dab/regex-2026.4.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:59f67cd0a0acaf0e564c20bbd7f767286f23e91e2572c5703bf3e56ea7557edb", size = 785751 },
+ { url = "https://files.pythonhosted.org/packages/02/1a/9f83677eb699273e56e858f7bd95acdbee376d42f59e8bfca2fd80d79df3/regex-2026.4.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:475e50f3f73f73614f7cba5524d6de49dee269df00272a1b85e3d19f6d498465", size = 860484 },
+ { url = "https://files.pythonhosted.org/packages/3b/7a/93937507b61cfcff8b4c5857f1b452852b09f741daa9acae15c971d8554e/regex-2026.4.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:a1c0c7d67b64d85ac2e1879923bad2f08a08f3004055f2f406ef73c850114bd4", size = 765939 },
+ { url = "https://files.pythonhosted.org/packages/86/ea/81a7f968a351c6552b1670ead861e2a385be730ee28402233020c67f9e0f/regex-2026.4.4-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:1371c2ccbb744d66ee63631cc9ca12aa233d5749972626b68fe1a649dd98e566", size = 851417 },
+ { url = "https://files.pythonhosted.org/packages/4c/7e/323c18ce4b5b8f44517a36342961a0306e931e499febbd876bb149d900f0/regex-2026.4.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:59968142787042db793348a3f5b918cf24ced1f23247328530e063f89c128a95", size = 789056 },
+ { url = "https://files.pythonhosted.org/packages/c0/af/e7510f9b11b1913b0cd44eddb784b2d650b2af6515bfce4cffcc5bfd1d38/regex-2026.4.4-cp314-cp314-win32.whl", hash = "sha256:59efe72d37fd5a91e373e5146f187f921f365f4abc1249a5ab446a60f30dd5f8", size = 272130 },
+ { url = "https://files.pythonhosted.org/packages/9a/51/57dae534c915e2d3a21490e88836fa2ae79dde3b66255ecc0c0a155d2c10/regex-2026.4.4-cp314-cp314-win_amd64.whl", hash = "sha256:e0aab3ff447845049d676827d2ff714aab4f73f340e155b7de7458cf53baa5a4", size = 280992 },
+ { url = "https://files.pythonhosted.org/packages/0a/5e/abaf9f4c3792e34edb1434f06717fae2b07888d85cb5cec29f9204931bf8/regex-2026.4.4-cp314-cp314-win_arm64.whl", hash = "sha256:a7a5bb6aa0cf62208bb4fa079b0c756734f8ad0e333b425732e8609bd51ee22f", size = 273563 },
+ { url = "https://files.pythonhosted.org/packages/ff/06/35da85f9f217b9538b99cbb170738993bcc3b23784322decb77619f11502/regex-2026.4.4-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:97850d0638391bdc7d35dc1c1039974dcb921eaafa8cc935ae4d7f272b1d60b3", size = 494191 },
+ { url = "https://files.pythonhosted.org/packages/54/5b/1bc35f479eef8285c4baf88d8c002023efdeebb7b44a8735b36195486ae7/regex-2026.4.4-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:ee7337f88f2a580679f7bbfe69dc86c043954f9f9c541012f49abc554a962f2e", size = 293877 },
+ { url = "https://files.pythonhosted.org/packages/39/5b/f53b9ad17480b3ddd14c90da04bfb55ac6894b129e5dea87bcaf7d00e336/regex-2026.4.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7429f4e6192c11d659900c0648ba8776243bf396ab95558b8c51a345afeddde6", size = 292410 },
+ { url = "https://files.pythonhosted.org/packages/bb/56/52377f59f60a7c51aa4161eecf0b6032c20b461805aca051250da435ffc9/regex-2026.4.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc4f10fbd5dd13dcf4265b4cc07d69ca70280742870c97ae10093e3d66000359", size = 811831 },
+ { url = "https://files.pythonhosted.org/packages/dd/63/8026310bf066f702a9c361f83a8c9658f3fe4edb349f9c1e5d5273b7c40c/regex-2026.4.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a152560af4f9742b96f3827090f866eeec5becd4765c8e0d3473d9d280e76a5a", size = 871199 },
+ { url = "https://files.pythonhosted.org/packages/20/9f/a514bbb00a466dbb506d43f187a04047f7be1505f10a9a15615ead5080ee/regex-2026.4.4-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:54170b3e95339f415d54651f97df3bff7434a663912f9358237941bbf9143f55", size = 917649 },
+ { url = "https://files.pythonhosted.org/packages/cb/6b/8399f68dd41a2030218839b9b18360d79b86d22b9fab5ef477c7f23ca67c/regex-2026.4.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:07f190d65f5a72dcb9cf7106bfc3d21e7a49dd2879eda2207b683f32165e4d99", size = 816388 },
+ { url = "https://files.pythonhosted.org/packages/1e/9c/103963f47c24339a483b05edd568594c2be486188f688c0170fd504b2948/regex-2026.4.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9a2741ce5a29d3c84b0b94261ba630ab459a1b847a0d6beca7d62d188175c790", size = 785746 },
+ { url = "https://files.pythonhosted.org/packages/fa/ee/7f6054c0dec0cee3463c304405e4ff42e27cff05bf36fcb34be549ab17bd/regex-2026.4.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:b26c30df3a28fd9793113dac7385a4deb7294a06c0f760dd2b008bd49a9139bc", size = 801483 },
+ { url = "https://files.pythonhosted.org/packages/30/c2/51d3d941cf6070dc00c3338ecf138615fc3cce0421c3df6abe97a08af61a/regex-2026.4.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:421439d1bee44b19f4583ccf42670ca464ffb90e9fdc38d37f39d1ddd1e44f1f", size = 866331 },
+ { url = "https://files.pythonhosted.org/packages/16/e8/76d50dcc122ac33927d939f350eebcfe3dbcbda96913e03433fc36de5e63/regex-2026.4.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:b40379b53ecbc747fd9bdf4a0ea14eb8188ca1bd0f54f78893a39024b28f4863", size = 772673 },
+ { url = "https://files.pythonhosted.org/packages/a5/6e/5f6bf75e20ea6873d05ba4ec78378c375cbe08cdec571c83fbb01606e563/regex-2026.4.4-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:08c55c13d2eef54f73eeadc33146fb0baaa49e7335eb1aff6ae1324bf0ddbe4a", size = 857146 },
+ { url = "https://files.pythonhosted.org/packages/0b/33/3c76d9962949e487ebba353a18e89399f292287204ac8f2f4cfc3a51c233/regex-2026.4.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:9776b85f510062f5a75ef112afe5f494ef1635607bf1cc220c1391e9ac2f5e81", size = 803463 },
+ { url = "https://files.pythonhosted.org/packages/19/eb/ef32dcd2cb69b69bc0c3e55205bce94a7def48d495358946bc42186dcccc/regex-2026.4.4-cp314-cp314t-win32.whl", hash = "sha256:385edaebde5db5be103577afc8699fea73a0e36a734ba24870be7ffa61119d74", size = 275709 },
+ { url = "https://files.pythonhosted.org/packages/a0/86/c291bf740945acbf35ed7dbebf8e2eea2f3f78041f6bd7cdab80cb274dc0/regex-2026.4.4-cp314-cp314t-win_amd64.whl", hash = "sha256:5d354b18839328927832e2fa5f7c95b7a3ccc39e7a681529e1685898e6436d45", size = 285622 },
+ { url = "https://files.pythonhosted.org/packages/d5/e7/ec846d560ae6a597115153c02ca6138a7877a1748b2072d9521c10a93e58/regex-2026.4.4-cp314-cp314t-win_arm64.whl", hash = "sha256:af0384cb01a33600c49505c27c6c57ab0b27bf84a74e28524c92ca897ebdac9d", size = 275773 },
]
[[package]]
@@ -1778,6 +2533,64 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/6f/ab/d5d5e3bcedb0a77f4f613706b750e50a5a3ba1c15ccd3665ecc636c968fd/rpds_py-0.30.0-cp312-cp312-win32.whl", hash = "sha256:1ab5b83dbcf55acc8b08fc62b796ef672c457b17dbd7820a11d6c52c06839bdf", size = 223782 },
{ url = "https://files.pythonhosted.org/packages/39/3b/f786af9957306fdc38a74cef405b7b93180f481fb48453a114bb6465744a/rpds_py-0.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:a090322ca841abd453d43456ac34db46e8b05fd9b3b4ac0c78bcde8b089f959b", size = 240463 },
{ url = "https://files.pythonhosted.org/packages/f3/d2/b91dc748126c1559042cfe41990deb92c4ee3e2b415f6b5234969ffaf0cc/rpds_py-0.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:669b1805bd639dd2989b281be2cfd951c6121b65e729d9b843e9639ef1fd555e", size = 230868 },
+ { url = "https://files.pythonhosted.org/packages/ed/dc/d61221eb88ff410de3c49143407f6f3147acf2538c86f2ab7ce65ae7d5f9/rpds_py-0.30.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:f83424d738204d9770830d35290ff3273fbb02b41f919870479fab14b9d303b2", size = 374887 },
+ { url = "https://files.pythonhosted.org/packages/fd/32/55fb50ae104061dbc564ef15cc43c013dc4a9f4527a1f4d99baddf56fe5f/rpds_py-0.30.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e7536cd91353c5273434b4e003cbda89034d67e7710eab8761fd918ec6c69cf8", size = 358904 },
+ { url = "https://files.pythonhosted.org/packages/58/70/faed8186300e3b9bdd138d0273109784eea2396c68458ed580f885dfe7ad/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2771c6c15973347f50fece41fc447c054b7ac2ae0502388ce3b6738cd366e3d4", size = 389945 },
+ { url = "https://files.pythonhosted.org/packages/bd/a8/073cac3ed2c6387df38f71296d002ab43496a96b92c823e76f46b8af0543/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0a59119fc6e3f460315fe9d08149f8102aa322299deaa5cab5b40092345c2136", size = 407783 },
+ { url = "https://files.pythonhosted.org/packages/77/57/5999eb8c58671f1c11eba084115e77a8899d6e694d2a18f69f0ba471ec8b/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:76fec018282b4ead0364022e3c54b60bf368b9d926877957a8624b58419169b7", size = 515021 },
+ { url = "https://files.pythonhosted.org/packages/e0/af/5ab4833eadc36c0a8ed2bc5c0de0493c04f6c06de223170bd0798ff98ced/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:692bef75a5525db97318e8cd061542b5a79812d711ea03dbc1f6f8dbb0c5f0d2", size = 414589 },
+ { url = "https://files.pythonhosted.org/packages/b7/de/f7192e12b21b9e9a68a6d0f249b4af3fdcdff8418be0767a627564afa1f1/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9027da1ce107104c50c81383cae773ef5c24d296dd11c99e2629dbd7967a20c6", size = 394025 },
+ { url = "https://files.pythonhosted.org/packages/91/c4/fc70cd0249496493500e7cc2de87504f5aa6509de1e88623431fec76d4b6/rpds_py-0.30.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:9cf69cdda1f5968a30a359aba2f7f9aa648a9ce4b580d6826437f2b291cfc86e", size = 408895 },
+ { url = "https://files.pythonhosted.org/packages/58/95/d9275b05ab96556fefff73a385813eb66032e4c99f411d0795372d9abcea/rpds_py-0.30.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a4796a717bf12b9da9d3ad002519a86063dcac8988b030e405704ef7d74d2d9d", size = 422799 },
+ { url = "https://files.pythonhosted.org/packages/06/c1/3088fc04b6624eb12a57eb814f0d4997a44b0d208d6cace713033ff1a6ba/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5d4c2aa7c50ad4728a094ebd5eb46c452e9cb7edbfdb18f9e1221f597a73e1e7", size = 572731 },
+ { url = "https://files.pythonhosted.org/packages/d8/42/c612a833183b39774e8ac8fecae81263a68b9583ee343db33ab571a7ce55/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ba81a9203d07805435eb06f536d95a266c21e5b2dfbf6517748ca40c98d19e31", size = 599027 },
+ { url = "https://files.pythonhosted.org/packages/5f/60/525a50f45b01d70005403ae0e25f43c0384369ad24ffe46e8d9068b50086/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:945dccface01af02675628334f7cf49c2af4c1c904748efc5cf7bbdf0b579f95", size = 563020 },
+ { url = "https://files.pythonhosted.org/packages/0b/5d/47c4655e9bcd5ca907148535c10e7d489044243cc9941c16ed7cd53be91d/rpds_py-0.30.0-cp313-cp313-win32.whl", hash = "sha256:b40fb160a2db369a194cb27943582b38f79fc4887291417685f3ad693c5a1d5d", size = 223139 },
+ { url = "https://files.pythonhosted.org/packages/f2/e1/485132437d20aa4d3e1d8b3fb5a5e65aa8139f1e097080c2a8443201742c/rpds_py-0.30.0-cp313-cp313-win_amd64.whl", hash = "sha256:806f36b1b605e2d6a72716f321f20036b9489d29c51c91f4dd29a3e3afb73b15", size = 240224 },
+ { url = "https://files.pythonhosted.org/packages/24/95/ffd128ed1146a153d928617b0ef673960130be0009c77d8fbf0abe306713/rpds_py-0.30.0-cp313-cp313-win_arm64.whl", hash = "sha256:d96c2086587c7c30d44f31f42eae4eac89b60dabbac18c7669be3700f13c3ce1", size = 230645 },
+ { url = "https://files.pythonhosted.org/packages/ff/1b/b10de890a0def2a319a2626334a7f0ae388215eb60914dbac8a3bae54435/rpds_py-0.30.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:eb0b93f2e5c2189ee831ee43f156ed34e2a89a78a66b98cadad955972548be5a", size = 364443 },
+ { url = "https://files.pythonhosted.org/packages/0d/bf/27e39f5971dc4f305a4fb9c672ca06f290f7c4e261c568f3dea16a410d47/rpds_py-0.30.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:922e10f31f303c7c920da8981051ff6d8c1a56207dbdf330d9047f6d30b70e5e", size = 353375 },
+ { url = "https://files.pythonhosted.org/packages/40/58/442ada3bba6e8e6615fc00483135c14a7538d2ffac30e2d933ccf6852232/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cdc62c8286ba9bf7f47befdcea13ea0e26bf294bda99758fd90535cbaf408000", size = 383850 },
+ { url = "https://files.pythonhosted.org/packages/14/14/f59b0127409a33c6ef6f5c1ebd5ad8e32d7861c9c7adfa9a624fc3889f6c/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:47f9a91efc418b54fb8190a6b4aa7813a23fb79c51f4bb84e418f5476c38b8db", size = 392812 },
+ { url = "https://files.pythonhosted.org/packages/b3/66/e0be3e162ac299b3a22527e8913767d869e6cc75c46bd844aa43fb81ab62/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f3587eb9b17f3789ad50824084fa6f81921bbf9a795826570bda82cb3ed91f2", size = 517841 },
+ { url = "https://files.pythonhosted.org/packages/3d/55/fa3b9cf31d0c963ecf1ba777f7cf4b2a2c976795ac430d24a1f43d25a6ba/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39c02563fc592411c2c61d26b6c5fe1e51eaa44a75aa2c8735ca88b0d9599daa", size = 408149 },
+ { url = "https://files.pythonhosted.org/packages/60/ca/780cf3b1a32b18c0f05c441958d3758f02544f1d613abf9488cd78876378/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:51a1234d8febafdfd33a42d97da7a43f5dcb120c1060e352a3fbc0c6d36e2083", size = 383843 },
+ { url = "https://files.pythonhosted.org/packages/82/86/d5f2e04f2aa6247c613da0c1dd87fcd08fa17107e858193566048a1e2f0a/rpds_py-0.30.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:eb2c4071ab598733724c08221091e8d80e89064cd472819285a9ab0f24bcedb9", size = 396507 },
+ { url = "https://files.pythonhosted.org/packages/4b/9a/453255d2f769fe44e07ea9785c8347edaf867f7026872e76c1ad9f7bed92/rpds_py-0.30.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6bdfdb946967d816e6adf9a3d8201bfad269c67efe6cefd7093ef959683c8de0", size = 414949 },
+ { url = "https://files.pythonhosted.org/packages/a3/31/622a86cdc0c45d6df0e9ccb6becdba5074735e7033c20e401a6d9d0e2ca0/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c77afbd5f5250bf27bf516c7c4a016813eb2d3e116139aed0096940c5982da94", size = 565790 },
+ { url = "https://files.pythonhosted.org/packages/1c/5d/15bbf0fb4a3f58a3b1c67855ec1efcc4ceaef4e86644665fff03e1b66d8d/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:61046904275472a76c8c90c9ccee9013d70a6d0f73eecefd38c1ae7c39045a08", size = 590217 },
+ { url = "https://files.pythonhosted.org/packages/6d/61/21b8c41f68e60c8cc3b2e25644f0e3681926020f11d06ab0b78e3c6bbff1/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4c5f36a861bc4b7da6516dbdf302c55313afa09b81931e8280361a4f6c9a2d27", size = 555806 },
+ { url = "https://files.pythonhosted.org/packages/f9/39/7e067bb06c31de48de3eb200f9fc7c58982a4d3db44b07e73963e10d3be9/rpds_py-0.30.0-cp313-cp313t-win32.whl", hash = "sha256:3d4a69de7a3e50ffc214ae16d79d8fbb0922972da0356dcf4d0fdca2878559c6", size = 211341 },
+ { url = "https://files.pythonhosted.org/packages/0a/4d/222ef0b46443cf4cf46764d9c630f3fe4abaa7245be9417e56e9f52b8f65/rpds_py-0.30.0-cp313-cp313t-win_amd64.whl", hash = "sha256:f14fc5df50a716f7ece6a80b6c78bb35ea2ca47c499e422aa4463455dd96d56d", size = 225768 },
+ { url = "https://files.pythonhosted.org/packages/86/81/dad16382ebbd3d0e0328776d8fd7ca94220e4fa0798d1dc5e7da48cb3201/rpds_py-0.30.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:68f19c879420aa08f61203801423f6cd5ac5f0ac4ac82a2368a9fcd6a9a075e0", size = 362099 },
+ { url = "https://files.pythonhosted.org/packages/2b/60/19f7884db5d5603edf3c6bce35408f45ad3e97e10007df0e17dd57af18f8/rpds_py-0.30.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ec7c4490c672c1a0389d319b3a9cfcd098dcdc4783991553c332a15acf7249be", size = 353192 },
+ { url = "https://files.pythonhosted.org/packages/bf/c4/76eb0e1e72d1a9c4703c69607cec123c29028bff28ce41588792417098ac/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f251c812357a3fed308d684a5079ddfb9d933860fc6de89f2b7ab00da481e65f", size = 384080 },
+ { url = "https://files.pythonhosted.org/packages/72/87/87ea665e92f3298d1b26d78814721dc39ed8d2c74b86e83348d6b48a6f31/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ac98b175585ecf4c0348fd7b29c3864bda53b805c773cbf7bfdaffc8070c976f", size = 394841 },
+ { url = "https://files.pythonhosted.org/packages/77/ad/7783a89ca0587c15dcbf139b4a8364a872a25f861bdb88ed99f9b0dec985/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3e62880792319dbeb7eb866547f2e35973289e7d5696c6e295476448f5b63c87", size = 516670 },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/2882bdac942bd2172f3da574eab16f309ae10a3925644e969536553cb4ee/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e7fc54e0900ab35d041b0601431b0a0eb495f0851a0639b6ef90f7741b39a18", size = 408005 },
+ { url = "https://files.pythonhosted.org/packages/ce/81/9a91c0111ce1758c92516a3e44776920b579d9a7c09b2b06b642d4de3f0f/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47e77dc9822d3ad616c3d5759ea5631a75e5809d5a28707744ef79d7a1bcfcad", size = 382112 },
+ { url = "https://files.pythonhosted.org/packages/cf/8e/1da49d4a107027e5fbc64daeab96a0706361a2918da10cb41769244b805d/rpds_py-0.30.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:b4dc1a6ff022ff85ecafef7979a2c6eb423430e05f1165d6688234e62ba99a07", size = 399049 },
+ { url = "https://files.pythonhosted.org/packages/df/5a/7ee239b1aa48a127570ec03becbb29c9d5a9eb092febbd1699d567cae859/rpds_py-0.30.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4559c972db3a360808309e06a74628b95eaccbf961c335c8fe0d590cf587456f", size = 415661 },
+ { url = "https://files.pythonhosted.org/packages/70/ea/caa143cf6b772f823bc7929a45da1fa83569ee49b11d18d0ada7f5ee6fd6/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:0ed177ed9bded28f8deb6ab40c183cd1192aa0de40c12f38be4d59cd33cb5c65", size = 565606 },
+ { url = "https://files.pythonhosted.org/packages/64/91/ac20ba2d69303f961ad8cf55bf7dbdb4763f627291ba3d0d7d67333cced9/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ad1fa8db769b76ea911cb4e10f049d80bf518c104f15b3edb2371cc65375c46f", size = 591126 },
+ { url = "https://files.pythonhosted.org/packages/21/20/7ff5f3c8b00c8a95f75985128c26ba44503fb35b8e0259d812766ea966c7/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:46e83c697b1f1c72b50e5ee5adb4353eef7406fb3f2043d64c33f20ad1c2fc53", size = 553371 },
+ { url = "https://files.pythonhosted.org/packages/72/c7/81dadd7b27c8ee391c132a6b192111ca58d866577ce2d9b0ca157552cce0/rpds_py-0.30.0-cp314-cp314-win32.whl", hash = "sha256:ee454b2a007d57363c2dfd5b6ca4a5d7e2c518938f8ed3b706e37e5d470801ed", size = 215298 },
+ { url = "https://files.pythonhosted.org/packages/3e/d2/1aaac33287e8cfb07aab2e6b8ac1deca62f6f65411344f1433c55e6f3eb8/rpds_py-0.30.0-cp314-cp314-win_amd64.whl", hash = "sha256:95f0802447ac2d10bcc69f6dc28fe95fdf17940367b21d34e34c737870758950", size = 228604 },
+ { url = "https://files.pythonhosted.org/packages/e8/95/ab005315818cc519ad074cb7784dae60d939163108bd2b394e60dc7b5461/rpds_py-0.30.0-cp314-cp314-win_arm64.whl", hash = "sha256:613aa4771c99f03346e54c3f038e4cc574ac09a3ddfb0e8878487335e96dead6", size = 222391 },
+ { url = "https://files.pythonhosted.org/packages/9e/68/154fe0194d83b973cdedcdcc88947a2752411165930182ae41d983dcefa6/rpds_py-0.30.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:7e6ecfcb62edfd632e56983964e6884851786443739dbfe3582947e87274f7cb", size = 364868 },
+ { url = "https://files.pythonhosted.org/packages/83/69/8bbc8b07ec854d92a8b75668c24d2abcb1719ebf890f5604c61c9369a16f/rpds_py-0.30.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a1d0bc22a7cdc173fedebb73ef81e07faef93692b8c1ad3733b67e31e1b6e1b8", size = 353747 },
+ { url = "https://files.pythonhosted.org/packages/ab/00/ba2e50183dbd9abcce9497fa5149c62b4ff3e22d338a30d690f9af970561/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d08f00679177226c4cb8c5265012eea897c8ca3b93f429e546600c971bcbae7", size = 383795 },
+ { url = "https://files.pythonhosted.org/packages/05/6f/86f0272b84926bcb0e4c972262f54223e8ecc556b3224d281e6598fc9268/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5965af57d5848192c13534f90f9dd16464f3c37aaf166cc1da1cae1fd5a34898", size = 393330 },
+ { url = "https://files.pythonhosted.org/packages/cb/e9/0e02bb2e6dc63d212641da45df2b0bf29699d01715913e0d0f017ee29438/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a4e86e34e9ab6b667c27f3211ca48f73dba7cd3d90f8d5b11be56e5dbc3fb4e", size = 518194 },
+ { url = "https://files.pythonhosted.org/packages/ee/ca/be7bca14cf21513bdf9c0606aba17d1f389ea2b6987035eb4f62bd923f25/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e5d3e6b26f2c785d65cc25ef1e5267ccbe1b069c5c21b8cc724efee290554419", size = 408340 },
+ { url = "https://files.pythonhosted.org/packages/c2/c7/736e00ebf39ed81d75544c0da6ef7b0998f8201b369acf842f9a90dc8fce/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:626a7433c34566535b6e56a1b39a7b17ba961e97ce3b80ec62e6f1312c025551", size = 383765 },
+ { url = "https://files.pythonhosted.org/packages/4a/3f/da50dfde9956aaf365c4adc9533b100008ed31aea635f2b8d7b627e25b49/rpds_py-0.30.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:acd7eb3f4471577b9b5a41baf02a978e8bdeb08b4b355273994f8b87032000a8", size = 396834 },
+ { url = "https://files.pythonhosted.org/packages/4e/00/34bcc2565b6020eab2623349efbdec810676ad571995911f1abdae62a3a0/rpds_py-0.30.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fe5fa731a1fa8a0a56b0977413f8cacac1768dad38d16b3a296712709476fbd5", size = 415470 },
+ { url = "https://files.pythonhosted.org/packages/8c/28/882e72b5b3e6f718d5453bd4d0d9cf8df36fddeb4ddbbab17869d5868616/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:74a3243a411126362712ee1524dfc90c650a503502f135d54d1b352bd01f2404", size = 565630 },
+ { url = "https://files.pythonhosted.org/packages/3b/97/04a65539c17692de5b85c6e293520fd01317fd878ea1995f0367d4532fb1/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:3e8eeb0544f2eb0d2581774be4c3410356eba189529a6b3e36bbbf9696175856", size = 591148 },
+ { url = "https://files.pythonhosted.org/packages/85/70/92482ccffb96f5441aab93e26c4d66489eb599efdcf96fad90c14bbfb976/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:dbd936cde57abfee19ab3213cf9c26be06d60750e60a8e4dd85d1ab12c8b1f40", size = 556030 },
+ { url = "https://files.pythonhosted.org/packages/20/53/7c7e784abfa500a2b6b583b147ee4bb5a2b3747a9166bab52fec4b5b5e7d/rpds_py-0.30.0-cp314-cp314t-win32.whl", hash = "sha256:dc824125c72246d924f7f796b4f63c1e9dc810c7d9e2355864b3c3a73d59ade0", size = 211570 },
+ { url = "https://files.pythonhosted.org/packages/d0/02/fa464cdfbe6b26e0600b62c528b72d8608f5cc49f96b8d6e38c95d60c676/rpds_py-0.30.0-cp314-cp314t-win_amd64.whl", hash = "sha256:27f4b0e92de5bfbc6f86e43959e6edd1425c33b5e69aab0984a72047f2bcf1e3", size = 226532 },
{ url = "https://files.pythonhosted.org/packages/69/71/3f34339ee70521864411f8b6992e7ab13ac30d8e4e3309e07c7361767d91/rpds_py-0.30.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c2262bdba0ad4fc6fb5545660673925c2d2a5d9e2e0fb603aad545427be0fc58", size = 372292 },
{ url = "https://files.pythonhosted.org/packages/57/09/f183df9b8f2d66720d2ef71075c59f7e1b336bec7ee4c48f0a2b06857653/rpds_py-0.30.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:ee6af14263f25eedc3bb918a3c04245106a42dfd4f5c2285ea6f997b1fc3f89a", size = 362128 },
{ url = "https://files.pythonhosted.org/packages/7a/68/5c2594e937253457342e078f0cc1ded3dd7b2ad59afdbf2d354869110a02/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3adbb8179ce342d235c31ab8ec511e66c73faa27a47e076ccc92421add53e2bb", size = 391542 },
@@ -1852,7 +2665,7 @@ version = "1.2.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
- { name = "typing-extensions" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
]
sdist = { url = "https://files.pythonhosted.org/packages/25/44/ec35f1b6e83094b997da438a02c8c9b0ade2b1e84cfc48bd4656780760a6/starlette-1.2.1.tar.gz", hash = "sha256:9b9b5ebb992e67d6093741e63c2f59e4f6fff986f81163c087867bd7b924b3f6", size = 2701854 }
wheels = [
@@ -1861,7 +2674,7 @@ wheels = [
[[package]]
name = "streamlit"
-version = "1.58.0"
+version = "1.59.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "altair" },
@@ -1889,9 +2702,21 @@ dependencies = [
{ name = "watchdog", marker = "sys_platform != 'darwin'" },
{ name = "websockets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/91/74/20dac6d6200d6ec0e1c230fb8eeb6a1a423645eacb76e8d802adfc246456/streamlit-1.58.0.tar.gz", hash = "sha256:78a22e7085b053af7ce544442bf4b670771e68c509ba1bdaa056ba0708f49c3d", size = 8721149 }
+sdist = { url = "https://files.pythonhosted.org/packages/91/70/1d488cb07fe8510805233c7128272d6502e621146eb0531420211279a898/streamlit-1.59.1.tar.gz", hash = "sha256:0f75162a43b1cd2542f34bff3168c4ea56c7a151fa80bfea02499913fbfccfca", size = 9770793 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/84/732e4c832a6ec79cc3119aea2da367bbc00c376a41a063bc477d62e20077/streamlit-1.59.1-py3-none-any.whl", hash = "sha256:b00d41fa9024d28ab30b81e56ddf07d61cda6ae625231dcb13e0be6c07ef1e0f", size = 10338093 },
+]
+
+[[package]]
+name = "streamlit-tour"
+version = "1.1.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "streamlit" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f1/58/a5b31838ff8ac81ba8220c4abc057b9d9b0cfc1e78dbd4a6904cf6bba22a/streamlit_tour-1.1.0.tar.gz", hash = "sha256:034712c8e7c13743c7af4eb2163ecfa8c41ffd969e9def1ec992bef3d91b62d9", size = 32157 }
wheels = [
- { url = "https://files.pythonhosted.org/packages/df/84/14c36a92fb24f8e1cea452f53b0744b5da69d52cdd2fe22e71e6fbf765d5/streamlit-1.58.0-py3-none-any.whl", hash = "sha256:4ca8a7afc5bd16a5f176ccf4be1e34e8121cad0240becd127fb58a103ea3178d", size = 9219185 },
+ { url = "https://files.pythonhosted.org/packages/8f/a4/00dd225f3e55587ecf02e8bcf575e164e94bdfb4e9e7042a9fccb7a5461e/streamlit_tour-1.1.0-py3-none-any.whl", hash = "sha256:595a3f463dfe6779031b5540910928462a4c2bd0c8554bb210cfe9a9dcd9ff97", size = 31213 },
]
[[package]]
@@ -1948,6 +2773,34 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/a3/fe/26df24ce53ffde419a42f5f53d755b995c9318908288c17ec3f3448313a3/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:35a2f8ddd3824608b3d650a000c1ef71f730d0c56486845705a8248da00f9fe5", size = 1194230 },
{ url = "https://files.pythonhosted.org/packages/20/cc/b064cae1a0e9fac84b0d2c46b89f4e57051a5f41324e385d10225a984c24/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:83d16643edb7fa2c99eff2ab7733508aae1eebb03d5dfc46f5565862810f24e3", size = 1254688 },
{ url = "https://files.pythonhosted.org/packages/81/10/b8523105c590c5b8349f2587e2fdfe51a69544bd5a76295fc20f2374f470/tiktoken-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffc5288f34a8bc02e1ea7047b8d041104791d2ddbf42d1e5fa07822cbffe16bd", size = 878694 },
+ { url = "https://files.pythonhosted.org/packages/00/61/441588ee21e6b5cdf59d6870f86beb9789e532ee9718c251b391b70c68d6/tiktoken-0.12.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:775c2c55de2310cc1bc9a3ad8826761cbdc87770e586fd7b6da7d4589e13dab3", size = 1050802 },
+ { url = "https://files.pythonhosted.org/packages/1f/05/dcf94486d5c5c8d34496abe271ac76c5b785507c8eae71b3708f1ad9b45a/tiktoken-0.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a01b12f69052fbe4b080a2cfb867c4de12c704b56178edf1d1d7b273561db160", size = 993995 },
+ { url = "https://files.pythonhosted.org/packages/a0/70/5163fe5359b943f8db9946b62f19be2305de8c3d78a16f629d4165e2f40e/tiktoken-0.12.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:01d99484dc93b129cd0964f9d34eee953f2737301f18b3c7257bf368d7615baa", size = 1128948 },
+ { url = "https://files.pythonhosted.org/packages/0c/da/c028aa0babf77315e1cef357d4d768800c5f8a6de04d0eac0f377cb619fa/tiktoken-0.12.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:4a1a4fcd021f022bfc81904a911d3df0f6543b9e7627b51411da75ff2fe7a1be", size = 1151986 },
+ { url = "https://files.pythonhosted.org/packages/a0/5a/886b108b766aa53e295f7216b509be95eb7d60b166049ce2c58416b25f2a/tiktoken-0.12.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:981a81e39812d57031efdc9ec59fa32b2a5a5524d20d4776574c4b4bd2e9014a", size = 1194222 },
+ { url = "https://files.pythonhosted.org/packages/f4/f8/4db272048397636ac7a078d22773dd2795b1becee7bc4922fe6207288d57/tiktoken-0.12.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9baf52f84a3f42eef3ff4e754a0db79a13a27921b457ca9832cf944c6be4f8f3", size = 1255097 },
+ { url = "https://files.pythonhosted.org/packages/8e/32/45d02e2e0ea2be3a9ed22afc47d93741247e75018aac967b713b2941f8ea/tiktoken-0.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:b8a0cd0c789a61f31bf44851defbd609e8dd1e2c8589c614cc1060940ef1f697", size = 879117 },
+ { url = "https://files.pythonhosted.org/packages/ce/76/994fc868f88e016e6d05b0da5ac24582a14c47893f4474c3e9744283f1d5/tiktoken-0.12.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:d5f89ea5680066b68bcb797ae85219c72916c922ef0fcdd3480c7d2315ffff16", size = 1050309 },
+ { url = "https://files.pythonhosted.org/packages/f6/b8/57ef1456504c43a849821920d582a738a461b76a047f352f18c0b26c6516/tiktoken-0.12.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b4e7ed1c6a7a8a60a3230965bdedba8cc58f68926b835e519341413370e0399a", size = 993712 },
+ { url = "https://files.pythonhosted.org/packages/72/90/13da56f664286ffbae9dbcfadcc625439142675845baa62715e49b87b68b/tiktoken-0.12.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:fc530a28591a2d74bce821d10b418b26a094bf33839e69042a6e86ddb7a7fb27", size = 1128725 },
+ { url = "https://files.pythonhosted.org/packages/05/df/4f80030d44682235bdaecd7346c90f67ae87ec8f3df4a3442cb53834f7e4/tiktoken-0.12.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:06a9f4f49884139013b138920a4c393aa6556b2f8f536345f11819389c703ebb", size = 1151875 },
+ { url = "https://files.pythonhosted.org/packages/22/1f/ae535223a8c4ef4c0c1192e3f9b82da660be9eb66b9279e95c99288e9dab/tiktoken-0.12.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:04f0e6a985d95913cabc96a741c5ffec525a2c72e9df086ff17ebe35985c800e", size = 1194451 },
+ { url = "https://files.pythonhosted.org/packages/78/a7/f8ead382fce0243cb625c4f266e66c27f65ae65ee9e77f59ea1653b6d730/tiktoken-0.12.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0ee8f9ae00c41770b5f9b0bb1235474768884ae157de3beb5439ca0fd70f3e25", size = 1253794 },
+ { url = "https://files.pythonhosted.org/packages/93/e0/6cc82a562bc6365785a3ff0af27a2a092d57c47d7a81d9e2295d8c36f011/tiktoken-0.12.0-cp313-cp313t-win_amd64.whl", hash = "sha256:dc2dd125a62cb2b3d858484d6c614d136b5b848976794edfb63688d539b8b93f", size = 878777 },
+ { url = "https://files.pythonhosted.org/packages/72/05/3abc1db5d2c9aadc4d2c76fa5640134e475e58d9fbb82b5c535dc0de9b01/tiktoken-0.12.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:a90388128df3b3abeb2bfd1895b0681412a8d7dc644142519e6f0a97c2111646", size = 1050188 },
+ { url = "https://files.pythonhosted.org/packages/e3/7b/50c2f060412202d6c95f32b20755c7a6273543b125c0985d6fa9465105af/tiktoken-0.12.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:da900aa0ad52247d8794e307d6446bd3cdea8e192769b56276695d34d2c9aa88", size = 993978 },
+ { url = "https://files.pythonhosted.org/packages/14/27/bf795595a2b897e271771cd31cb847d479073497344c637966bdf2853da1/tiktoken-0.12.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:285ba9d73ea0d6171e7f9407039a290ca77efcdb026be7769dccc01d2c8d7fff", size = 1129271 },
+ { url = "https://files.pythonhosted.org/packages/f5/de/9341a6d7a8f1b448573bbf3425fa57669ac58258a667eb48a25dfe916d70/tiktoken-0.12.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:d186a5c60c6a0213f04a7a802264083dea1bbde92a2d4c7069e1a56630aef830", size = 1151216 },
+ { url = "https://files.pythonhosted.org/packages/75/0d/881866647b8d1be4d67cb24e50d0c26f9f807f994aa1510cb9ba2fe5f612/tiktoken-0.12.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:604831189bd05480f2b885ecd2d1986dc7686f609de48208ebbbddeea071fc0b", size = 1194860 },
+ { url = "https://files.pythonhosted.org/packages/b3/1e/b651ec3059474dab649b8d5b69f5c65cd8fcd8918568c1935bd4136c9392/tiktoken-0.12.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8f317e8530bb3a222547b85a58583238c8f74fd7a7408305f9f63246d1a0958b", size = 1254567 },
+ { url = "https://files.pythonhosted.org/packages/80/57/ce64fd16ac390fafde001268c364d559447ba09b509181b2808622420eec/tiktoken-0.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:399c3dd672a6406719d84442299a490420b458c44d3ae65516302a99675888f3", size = 921067 },
+ { url = "https://files.pythonhosted.org/packages/ac/a4/72eed53e8976a099539cdd5eb36f241987212c29629d0a52c305173e0a68/tiktoken-0.12.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c2c714c72bc00a38ca969dae79e8266ddec999c7ceccd603cc4f0d04ccd76365", size = 1050473 },
+ { url = "https://files.pythonhosted.org/packages/e6/d7/0110b8f54c008466b19672c615f2168896b83706a6611ba6e47313dbc6e9/tiktoken-0.12.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cbb9a3ba275165a2cb0f9a83f5d7025afe6b9d0ab01a22b50f0e74fee2ad253e", size = 993855 },
+ { url = "https://files.pythonhosted.org/packages/5f/77/4f268c41a3957c418b084dd576ea2fad2e95da0d8e1ab705372892c2ca22/tiktoken-0.12.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:dfdfaa5ffff8993a3af94d1125870b1d27aed7cb97aa7eb8c1cefdbc87dbee63", size = 1129022 },
+ { url = "https://files.pythonhosted.org/packages/4e/2b/fc46c90fe5028bd094cd6ee25a7db321cb91d45dc87531e2bdbb26b4867a/tiktoken-0.12.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:584c3ad3d0c74f5269906eb8a659c8bfc6144a52895d9261cdaf90a0ae5f4de0", size = 1150736 },
+ { url = "https://files.pythonhosted.org/packages/28/c0/3c7a39ff68022ddfd7d93f3337ad90389a342f761c4d71de99a3ccc57857/tiktoken-0.12.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:54c891b416a0e36b8e2045b12b33dd66fb34a4fe7965565f1b482da50da3e86a", size = 1194908 },
+ { url = "https://files.pythonhosted.org/packages/ab/0d/c1ad6f4016a3968c048545f5d9b8ffebf577774b2ede3e2e352553b685fe/tiktoken-0.12.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5edb8743b88d5be814b1a8a8854494719080c28faaa1ccbef02e87354fe71ef0", size = 1253706 },
+ { url = "https://files.pythonhosted.org/packages/af/df/c7891ef9d2712ad774777271d39fdef63941ffba0a9d59b7ad1fd2765e57/tiktoken-0.12.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f61c0aea5565ac82e2ec50a05e02a6c44734e91b51c10510b084ea1b8e633a71", size = 920667 },
]
[[package]]
@@ -2057,15 +2910,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/c7/b0/003792df09decd6849a5e39c28b513c06e84436a54440380862b5aeff25d/tzdata-2025.3-py2.py3-none-any.whl", hash = "sha256:06a47e5700f3081aab02b2e513160914ff0694bce9947d6b76ebd6bf57cfc5d1", size = 348521 },
]
-[[package]]
-name = "uritemplate"
-version = "4.2.0"
-source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/98/60/f174043244c5306c9988380d2cb10009f91563fc4b31293d27e17201af56/uritemplate-4.2.0.tar.gz", hash = "sha256:480c2ed180878955863323eea31b0ede668795de182617fef9c6ca09e6ec9d0e", size = 33267 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/a9/99/3ae339466c9183ea5b8ae87b34c0b897eda475d2aec2307cae60e5cd4f29/uritemplate-4.2.0-py3-none-any.whl", hash = "sha256:962201ba1c4edcab02e60f9a0d3821e82dfc5d2d6662a21abd533879bdb8a686", size = 11488 },
-]
-
[[package]]
name = "urllib3"
version = "2.7.0"
@@ -2139,6 +2983,33 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/47/88/4dd516068e1a3d6ab3c7c183288404cd424a9a02d585efbac226cb61ff2d/websockets-16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:485c49116d0af10ac698623c513c1cc01c9446c058a4e61e3bf6c19dff7335a2", size = 184880 },
{ url = "https://files.pythonhosted.org/packages/91/d6/7d4553ad4bf1c0421e1ebd4b18de5d9098383b5caa1d937b63df8d04b565/websockets-16.0-cp312-cp312-win32.whl", hash = "sha256:eaded469f5e5b7294e2bdca0ab06becb6756ea86894a47806456089298813c89", size = 178261 },
{ url = "https://files.pythonhosted.org/packages/c3/f0/f3a17365441ed1c27f850a80b2bc680a0fa9505d733fe152fdf5e98c1c0b/websockets-16.0-cp312-cp312-win_amd64.whl", hash = "sha256:5569417dc80977fc8c2d43a86f78e0a5a22fee17565d78621b6bb264a115d4ea", size = 178693 },
+ { url = "https://files.pythonhosted.org/packages/cc/9c/baa8456050d1c1b08dd0ec7346026668cbc6f145ab4e314d707bb845bf0d/websockets-16.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:878b336ac47938b474c8f982ac2f7266a540adc3fa4ad74ae96fea9823a02cc9", size = 177364 },
+ { url = "https://files.pythonhosted.org/packages/7e/0c/8811fc53e9bcff68fe7de2bcbe75116a8d959ac699a3200f4847a8925210/websockets-16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:52a0fec0e6c8d9a784c2c78276a48a2bdf099e4ccc2a4cad53b27718dbfd0230", size = 175039 },
+ { url = "https://files.pythonhosted.org/packages/aa/82/39a5f910cb99ec0b59e482971238c845af9220d3ab9fa76dd9162cda9d62/websockets-16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e6578ed5b6981005df1860a56e3617f14a6c307e6a71b4fff8c48fdc50f3ed2c", size = 175323 },
+ { url = "https://files.pythonhosted.org/packages/bd/28/0a25ee5342eb5d5f297d992a77e56892ecb65e7854c7898fb7d35e9b33bd/websockets-16.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:95724e638f0f9c350bb1c2b0a7ad0e83d9cc0c9259f3ea94e40d7b02a2179ae5", size = 184975 },
+ { url = "https://files.pythonhosted.org/packages/f9/66/27ea52741752f5107c2e41fda05e8395a682a1e11c4e592a809a90c6a506/websockets-16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0204dc62a89dc9d50d682412c10b3542d748260d743500a85c13cd1ee4bde82", size = 186203 },
+ { url = "https://files.pythonhosted.org/packages/37/e5/8e32857371406a757816a2b471939d51c463509be73fa538216ea52b792a/websockets-16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:52ac480f44d32970d66763115edea932f1c5b1312de36df06d6b219f6741eed8", size = 185653 },
+ { url = "https://files.pythonhosted.org/packages/9b/67/f926bac29882894669368dc73f4da900fcdf47955d0a0185d60103df5737/websockets-16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6e5a82b677f8f6f59e8dfc34ec06ca6b5b48bc4fcda346acd093694cc2c24d8f", size = 184920 },
+ { url = "https://files.pythonhosted.org/packages/3c/a1/3d6ccdcd125b0a42a311bcd15a7f705d688f73b2a22d8cf1c0875d35d34a/websockets-16.0-cp313-cp313-win32.whl", hash = "sha256:abf050a199613f64c886ea10f38b47770a65154dc37181bfaff70c160f45315a", size = 178255 },
+ { url = "https://files.pythonhosted.org/packages/6b/ae/90366304d7c2ce80f9b826096a9e9048b4bb760e44d3b873bb272cba696b/websockets-16.0-cp313-cp313-win_amd64.whl", hash = "sha256:3425ac5cf448801335d6fdc7ae1eb22072055417a96cc6b31b3861f455fbc156", size = 178689 },
+ { url = "https://files.pythonhosted.org/packages/f3/1d/e88022630271f5bd349ed82417136281931e558d628dd52c4d8621b4a0b2/websockets-16.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8cc451a50f2aee53042ac52d2d053d08bf89bcb31ae799cb4487587661c038a0", size = 177406 },
+ { url = "https://files.pythonhosted.org/packages/f2/78/e63be1bf0724eeb4616efb1ae1c9044f7c3953b7957799abb5915bffd38e/websockets-16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:daa3b6ff70a9241cf6c7fc9e949d41232d9d7d26fd3522b1ad2b4d62487e9904", size = 175085 },
+ { url = "https://files.pythonhosted.org/packages/bb/f4/d3c9220d818ee955ae390cf319a7c7a467beceb24f05ee7aaaa2414345ba/websockets-16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fd3cb4adb94a2a6e2b7c0d8d05cb94e6f1c81a0cf9dc2694fb65c7e8d94c42e4", size = 175328 },
+ { url = "https://files.pythonhosted.org/packages/63/bc/d3e208028de777087e6fb2b122051a6ff7bbcca0d6df9d9c2bf1dd869ae9/websockets-16.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:781caf5e8eee67f663126490c2f96f40906594cb86b408a703630f95550a8c3e", size = 185044 },
+ { url = "https://files.pythonhosted.org/packages/ad/6e/9a0927ac24bd33a0a9af834d89e0abc7cfd8e13bed17a86407a66773cc0e/websockets-16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:caab51a72c51973ca21fa8a18bd8165e1a0183f1ac7066a182ff27107b71e1a4", size = 186279 },
+ { url = "https://files.pythonhosted.org/packages/b9/ca/bf1c68440d7a868180e11be653c85959502efd3a709323230314fda6e0b3/websockets-16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:19c4dc84098e523fd63711e563077d39e90ec6702aff4b5d9e344a60cb3c0cb1", size = 185711 },
+ { url = "https://files.pythonhosted.org/packages/c4/f8/fdc34643a989561f217bb477cbc47a3a07212cbda91c0e4389c43c296ebf/websockets-16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5e18a238a2b2249c9a9235466b90e96ae4795672598a58772dd806edc7ac6d3", size = 184982 },
+ { url = "https://files.pythonhosted.org/packages/dd/d1/574fa27e233764dbac9c52730d63fcf2823b16f0856b3329fc6268d6ae4f/websockets-16.0-cp314-cp314-win32.whl", hash = "sha256:a069d734c4a043182729edd3e9f247c3b2a4035415a9172fd0f1b71658a320a8", size = 177915 },
+ { url = "https://files.pythonhosted.org/packages/8a/f1/ae6b937bf3126b5134ce1f482365fde31a357c784ac51852978768b5eff4/websockets-16.0-cp314-cp314-win_amd64.whl", hash = "sha256:c0ee0e63f23914732c6d7e0cce24915c48f3f1512ec1d079ed01fc629dab269d", size = 178381 },
+ { url = "https://files.pythonhosted.org/packages/06/9b/f791d1db48403e1f0a27577a6beb37afae94254a8c6f08be4a23e4930bc0/websockets-16.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:a35539cacc3febb22b8f4d4a99cc79b104226a756aa7400adc722e83b0d03244", size = 177737 },
+ { url = "https://files.pythonhosted.org/packages/bd/40/53ad02341fa33b3ce489023f635367a4ac98b73570102ad2cdd770dacc9a/websockets-16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:b784ca5de850f4ce93ec85d3269d24d4c82f22b7212023c974c401d4980ebc5e", size = 175268 },
+ { url = "https://files.pythonhosted.org/packages/74/9b/6158d4e459b984f949dcbbb0c5d270154c7618e11c01029b9bbd1bb4c4f9/websockets-16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:569d01a4e7fba956c5ae4fc988f0d4e187900f5497ce46339c996dbf24f17641", size = 175486 },
+ { url = "https://files.pythonhosted.org/packages/e5/2d/7583b30208b639c8090206f95073646c2c9ffd66f44df967981a64f849ad/websockets-16.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:50f23cdd8343b984957e4077839841146f67a3d31ab0d00e6b824e74c5b2f6e8", size = 185331 },
+ { url = "https://files.pythonhosted.org/packages/45/b0/cce3784eb519b7b5ad680d14b9673a31ab8dcb7aad8b64d81709d2430aa8/websockets-16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:152284a83a00c59b759697b7f9e9cddf4e3c7861dd0d964b472b70f78f89e80e", size = 186501 },
+ { url = "https://files.pythonhosted.org/packages/19/60/b8ebe4c7e89fb5f6cdf080623c9d92789a53636950f7abacfc33fe2b3135/websockets-16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bc59589ab64b0022385f429b94697348a6a234e8ce22544e3681b2e9331b5944", size = 186062 },
+ { url = "https://files.pythonhosted.org/packages/88/a8/a080593f89b0138b6cba1b28f8df5673b5506f72879322288b031337c0b8/websockets-16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:32da954ffa2814258030e5a57bc73a3635463238e797c7375dc8091327434206", size = 185356 },
+ { url = "https://files.pythonhosted.org/packages/c2/b6/b9afed2afadddaf5ebb2afa801abf4b0868f42f8539bfe4b071b5266c9fe/websockets-16.0-cp314-cp314t-win32.whl", hash = "sha256:5a4b4cc550cb665dd8a47f868c8d04c8230f857363ad3c9caf7a0c3bf8c61ca6", size = 178085 },
+ { url = "https://files.pythonhosted.org/packages/9f/3e/28135a24e384493fa804216b79a6a6759a38cc4ff59118787b9fb693df93/websockets-16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b14dc141ed6d2dde437cddb216004bcac6a1df0935d79656387bd41632ba0bbd", size = 178531 },
{ url = "https://files.pythonhosted.org/packages/72/07/c98a68571dcf256e74f1f816b8cc5eae6eb2d3d5cfa44d37f801619d9166/websockets-16.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:349f83cd6c9a415428ee1005cadb5c2c56f4389bc06a9af16103c3bc3dcc8b7d", size = 174947 },
{ url = "https://files.pythonhosted.org/packages/7e/52/93e166a81e0305b33fe416338be92ae863563fe7bce446b0f687b9df5aea/websockets-16.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:4a1aba3340a8dca8db6eb5a7986157f52eb9e436b74813764241981ca4888f03", size = 175260 },
{ url = "https://files.pythonhosted.org/packages/56/0c/2dbf513bafd24889d33de2ff0368190a0e69f37bcfa19009ef819fe4d507/websockets-16.0-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f4a32d1bd841d4bcbffdcb3d2ce50c09c3909fbead375ab28d0181af89fd04da", size = 176071 },
@@ -2203,6 +3074,78 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/69/7f/cd5ef733f2550de6241bd8bd8c3febc78158b9d75f197d9c7baa113436af/yarl-1.23.0-cp312-cp312-win32.whl", hash = "sha256:fffc45637bcd6538de8b85f51e3df3223e4ad89bccbfca0481c08c7fc8b7ed7d", size = 82359 },
{ url = "https://files.pythonhosted.org/packages/f5/be/25216a49daeeb7af2bec0db22d5e7df08ed1d7c9f65d78b14f3b74fd72fc/yarl-1.23.0-cp312-cp312-win_amd64.whl", hash = "sha256:f69f57305656a4852f2a7203efc661d8c042e6cc67f7acd97d8667fb448a426e", size = 87674 },
{ url = "https://files.pythonhosted.org/packages/d2/35/aeab955d6c425b227d5b7247eafb24f2653fedc32f95373a001af5dfeb9e/yarl-1.23.0-cp312-cp312-win_arm64.whl", hash = "sha256:6e87a6e8735b44816e7db0b2fbc9686932df473c826b0d9743148432e10bb9b9", size = 81879 },
+ { url = "https://files.pythonhosted.org/packages/9a/4b/a0a6e5d0ee8a2f3a373ddef8a4097d74ac901ac363eea1440464ccbe0898/yarl-1.23.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:16c6994ac35c3e74fb0ae93323bf8b9c2a9088d55946109489667c510a7d010e", size = 123796 },
+ { url = "https://files.pythonhosted.org/packages/67/b6/8925d68af039b835ae876db5838e82e76ec87b9782ecc97e192b809c4831/yarl-1.23.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4a42e651629dafb64fd5b0286a3580613702b5809ad3f24934ea87595804f2c5", size = 86547 },
+ { url = "https://files.pythonhosted.org/packages/ae/50/06d511cc4b8e0360d3c94af051a768e84b755c5eb031b12adaaab6dec6e5/yarl-1.23.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7c6b9461a2a8b47c65eef63bb1c76a4f1c119618ffa99ea79bc5bb1e46c5821b", size = 85854 },
+ { url = "https://files.pythonhosted.org/packages/c4/f4/4e30b250927ffdab4db70da08b9b8d2194d7c7b400167b8fbeca1e4701ca/yarl-1.23.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2569b67d616eab450d262ca7cb9f9e19d2f718c70a8b88712859359d0ab17035", size = 98351 },
+ { url = "https://files.pythonhosted.org/packages/86/fc/4118c5671ea948208bdb1492d8b76bdf1453d3e73df051f939f563e7dcc5/yarl-1.23.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e9d9a4d06d3481eab79803beb4d9bd6f6a8e781ec078ac70d7ef2dcc29d1bea5", size = 92711 },
+ { url = "https://files.pythonhosted.org/packages/56/11/1ed91d42bd9e73c13dc9e7eb0dd92298d75e7ac4dd7f046ad0c472e231cd/yarl-1.23.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f514f6474e04179d3d33175ed3f3e31434d3130d42ec153540d5b157deefd735", size = 106014 },
+ { url = "https://files.pythonhosted.org/packages/ce/c9/74e44e056a23fbc33aca71779ef450ca648a5bc472bdad7a82339918f818/yarl-1.23.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fda207c815b253e34f7e1909840fd14299567b1c0eb4908f8c2ce01a41265401", size = 105557 },
+ { url = "https://files.pythonhosted.org/packages/66/fe/b1e10b08d287f518994f1e2ff9b6d26f0adeecd8dd7d533b01bab29a3eda/yarl-1.23.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34b6cf500e61c90f305094911f9acc9c86da1a05a7a3f5be9f68817043f486e4", size = 101559 },
+ { url = "https://files.pythonhosted.org/packages/72/59/c5b8d94b14e3d3c2a9c20cb100119fd534ab5a14b93673ab4cc4a4141ea5/yarl-1.23.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d7504f2b476d21653e4d143f44a175f7f751cd41233525312696c76aa3dbb23f", size = 100502 },
+ { url = "https://files.pythonhosted.org/packages/77/4f/96976cb54cbfc5c9fd73ed4c51804f92f209481d1fb190981c0f8a07a1d7/yarl-1.23.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:578110dd426f0d209d1509244e6d4a3f1a3e9077655d98c5f22583d63252a08a", size = 98027 },
+ { url = "https://files.pythonhosted.org/packages/63/6e/904c4f476471afdbad6b7e5b70362fb5810e35cd7466529a97322b6f5556/yarl-1.23.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:609d3614d78d74ebe35f54953c5bbd2ac647a7ddb9c30a5d877580f5e86b22f2", size = 95369 },
+ { url = "https://files.pythonhosted.org/packages/9d/40/acfcdb3b5f9d68ef499e39e04d25e141fe90661f9d54114556cf83be8353/yarl-1.23.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4966242ec68afc74c122f8459abd597afd7d8a60dc93d695c1334c5fd25f762f", size = 105565 },
+ { url = "https://files.pythonhosted.org/packages/5e/c6/31e28f3a6ba2869c43d124f37ea5260cac9c9281df803c354b31f4dd1f3c/yarl-1.23.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:e0fd068364a6759bc794459f0a735ab151d11304346332489c7972bacbe9e72b", size = 99813 },
+ { url = "https://files.pythonhosted.org/packages/08/1f/6f65f59e72d54aa467119b63fc0b0b1762eff0232db1f4720cd89e2f4a17/yarl-1.23.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:39004f0ad156da43e86aa71f44e033de68a44e5a31fc53507b36dd253970054a", size = 105632 },
+ { url = "https://files.pythonhosted.org/packages/a3/c4/18b178a69935f9e7a338127d5b77d868fdc0f0e49becd286d51b3a18c61d/yarl-1.23.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e5723c01a56c5028c807c701aa66722916d2747ad737a046853f6c46f4875543", size = 101895 },
+ { url = "https://files.pythonhosted.org/packages/8f/54/f5b870b5505663911dba950a8e4776a0dbd51c9c54c0ae88e823e4b874a0/yarl-1.23.0-cp313-cp313-win32.whl", hash = "sha256:1b6b572edd95b4fa8df75de10b04bc81acc87c1c7d16bcdd2035b09d30acc957", size = 82356 },
+ { url = "https://files.pythonhosted.org/packages/7a/84/266e8da36879c6edcd37b02b547e2d9ecdfea776be49598e75696e3316e1/yarl-1.23.0-cp313-cp313-win_amd64.whl", hash = "sha256:baaf55442359053c7d62f6f8413a62adba3205119bcb6f49594894d8be47e5e3", size = 87515 },
+ { url = "https://files.pythonhosted.org/packages/00/fd/7e1c66efad35e1649114fa13f17485f62881ad58edeeb7f49f8c5e748bf9/yarl-1.23.0-cp313-cp313-win_arm64.whl", hash = "sha256:fb4948814a2a98e3912505f09c9e7493b1506226afb1f881825368d6fb776ee3", size = 81785 },
+ { url = "https://files.pythonhosted.org/packages/9c/fc/119dd07004f17ea43bb91e3ece6587759edd7519d6b086d16bfbd3319982/yarl-1.23.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:aecfed0b41aa72b7881712c65cf764e39ce2ec352324f5e0837c7048d9e6daaa", size = 130719 },
+ { url = "https://files.pythonhosted.org/packages/e6/0d/9f2348502fbb3af409e8f47730282cd6bc80dec6630c1e06374d882d6eb2/yarl-1.23.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a41bcf68efd19073376eb8cf948b8d9be0af26256403e512bb18f3966f1f9120", size = 89690 },
+ { url = "https://files.pythonhosted.org/packages/50/93/e88f3c80971b42cfc83f50a51b9d165a1dbf154b97005f2994a79f212a07/yarl-1.23.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:cde9a2ecd91668bcb7f077c4966d8ceddb60af01b52e6e3e2680e4cf00ad1a59", size = 89851 },
+ { url = "https://files.pythonhosted.org/packages/1c/07/61c9dd8ba8f86473263b4036f70fb594c09e99c0d9737a799dfd8bc85651/yarl-1.23.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5023346c4ee7992febc0068e7593de5fa2bf611848c08404b35ebbb76b1b0512", size = 95874 },
+ { url = "https://files.pythonhosted.org/packages/9e/e9/f9ff8ceefba599eac6abddcfb0b3bee9b9e636e96dbf54342a8577252379/yarl-1.23.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d1009abedb49ae95b136a8904a3f71b342f849ffeced2d3747bf29caeda218c4", size = 88710 },
+ { url = "https://files.pythonhosted.org/packages/eb/78/0231bfcc5d4c8eec220bc2f9ef82cb4566192ea867a7c5b4148f44f6cbcd/yarl-1.23.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a8d00f29b42f534cc8aa3931cfe773b13b23e561e10d2b26f27a8d309b0e82a1", size = 101033 },
+ { url = "https://files.pythonhosted.org/packages/cd/9b/30ea5239a61786f18fd25797151a17fbb3be176977187a48d541b5447dd4/yarl-1.23.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:95451e6ce06c3e104556d73b559f5da6c34a069b6b62946d3ad66afcd51642ea", size = 100817 },
+ { url = "https://files.pythonhosted.org/packages/62/e2/a4980481071791bc83bce2b7a1a1f7adcabfa366007518b4b845e92eeee3/yarl-1.23.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:531ef597132086b6cf96faa7c6c1dcd0361dd5f1694e5cc30375907b9b7d3ea9", size = 97482 },
+ { url = "https://files.pythonhosted.org/packages/e5/1e/304a00cf5f6100414c4b5a01fc7ff9ee724b62158a08df2f8170dfc72a2d/yarl-1.23.0-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:88f9fb0116fbfcefcab70f85cf4b74a2b6ce5d199c41345296f49d974ddb4123", size = 95949 },
+ { url = "https://files.pythonhosted.org/packages/68/03/093f4055ed4cae649ac53bca3d180bd37102e9e11d048588e9ab0c0108d0/yarl-1.23.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e7b0460976dc75cb87ad9cc1f9899a4b97751e7d4e77ab840fc9b6d377b8fd24", size = 95839 },
+ { url = "https://files.pythonhosted.org/packages/b9/28/4c75ebb108f322aa8f917ae10a8ffa4f07cae10a8a627b64e578617df6a0/yarl-1.23.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:115136c4a426f9da976187d238e84139ff6b51a20839aa6e3720cd1026d768de", size = 90696 },
+ { url = "https://files.pythonhosted.org/packages/23/9c/42c2e2dd91c1a570402f51bdf066bfdb1241c2240ba001967bad778e77b7/yarl-1.23.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:ead11956716a940c1abc816b7df3fa2b84d06eaed8832ca32f5c5e058c65506b", size = 100865 },
+ { url = "https://files.pythonhosted.org/packages/74/05/1bcd60a8a0a914d462c305137246b6f9d167628d73568505fce3f1cb2e65/yarl-1.23.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:fe8f8f5e70e6dbdfca9882cd9deaac058729bcf323cf7a58660901e55c9c94f6", size = 96234 },
+ { url = "https://files.pythonhosted.org/packages/90/b2/f52381aac396d6778ce516b7bc149c79e65bfc068b5de2857ab69eeea3b7/yarl-1.23.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:a0e317df055958a0c1e79e5d2aa5a5eaa4a6d05a20d4b0c9c3f48918139c9fc6", size = 100295 },
+ { url = "https://files.pythonhosted.org/packages/e5/e8/638bae5bbf1113a659b2435d8895474598afe38b4a837103764f603aba56/yarl-1.23.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f0fd84de0c957b2d280143522c4f91a73aada1923caee763e24a2b3fda9f8a5", size = 97784 },
+ { url = "https://files.pythonhosted.org/packages/80/25/a3892b46182c586c202629fc2159aa13975d3741d52ebd7347fd501d48d5/yarl-1.23.0-cp313-cp313t-win32.whl", hash = "sha256:93a784271881035ab4406a172edb0faecb6e7d00f4b53dc2f55919d6c9688595", size = 88313 },
+ { url = "https://files.pythonhosted.org/packages/43/68/8c5b36aa5178900b37387937bc2c2fe0e9505537f713495472dcf6f6fccc/yarl-1.23.0-cp313-cp313t-win_amd64.whl", hash = "sha256:dd00607bffbf30250fe108065f07453ec124dbf223420f57f5e749b04295e090", size = 94932 },
+ { url = "https://files.pythonhosted.org/packages/c6/cc/d79ba8292f51f81f4dc533a8ccfb9fc6992cabf0998ed3245de7589dc07c/yarl-1.23.0-cp313-cp313t-win_arm64.whl", hash = "sha256:ac09d42f48f80c9ee1635b2fcaa819496a44502737660d3c0f2ade7526d29144", size = 84786 },
+ { url = "https://files.pythonhosted.org/packages/90/98/b85a038d65d1b92c3903ab89444f48d3cee490a883477b716d7a24b1a78c/yarl-1.23.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:21d1b7305a71a15b4794b5ff22e8eef96ff4a6d7f9657155e5aa419444b28912", size = 124455 },
+ { url = "https://files.pythonhosted.org/packages/39/54/bc2b45559f86543d163b6e294417a107bb87557609007c007ad889afec18/yarl-1.23.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:85610b4f27f69984932a7abbe52703688de3724d9f72bceb1cca667deff27474", size = 86752 },
+ { url = "https://files.pythonhosted.org/packages/24/f9/e8242b68362bffe6fb536c8db5076861466fc780f0f1b479fc4ffbebb128/yarl-1.23.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23f371bd662cf44a7630d4d113101eafc0cfa7518a2760d20760b26021454719", size = 86291 },
+ { url = "https://files.pythonhosted.org/packages/ea/d8/d1cb2378c81dd729e98c716582b1ccb08357e8488e4c24714658cc6630e8/yarl-1.23.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4a80f77dc1acaaa61f0934176fccca7096d9b1ff08c8ba9cddf5ae034a24319", size = 99026 },
+ { url = "https://files.pythonhosted.org/packages/0a/ff/7196790538f31debe3341283b5b0707e7feb947620fc5e8236ef28d44f72/yarl-1.23.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:bd654fad46d8d9e823afbb4f87c79160b5a374ed1ff5bde24e542e6ba8f41434", size = 92355 },
+ { url = "https://files.pythonhosted.org/packages/c1/56/25d58c3eddde825890a5fe6aa1866228377354a3c39262235234ab5f616b/yarl-1.23.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:682bae25f0a0dd23a056739f23a134db9f52a63e2afd6bfb37ddc76292bbd723", size = 106417 },
+ { url = "https://files.pythonhosted.org/packages/51/8a/882c0e7bc8277eb895b31bce0138f51a1ba551fc2e1ec6753ffc1e7c1377/yarl-1.23.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a82836cab5f197a0514235aaf7ffccdc886ccdaa2324bc0aafdd4ae898103039", size = 106422 },
+ { url = "https://files.pythonhosted.org/packages/42/2b/fef67d616931055bf3d6764885990a3ac647d68734a2d6a9e1d13de437a2/yarl-1.23.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c57676bdedc94cd3bc37724cf6f8cd2779f02f6aba48de45feca073e714fe52", size = 101915 },
+ { url = "https://files.pythonhosted.org/packages/18/6a/530e16aebce27c5937920f3431c628a29a4b6b430fab3fd1c117b26ff3f6/yarl-1.23.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c7f8dc16c498ff06497c015642333219871effba93e4a2e8604a06264aca5c5c", size = 100690 },
+ { url = "https://files.pythonhosted.org/packages/88/08/93749219179a45e27b036e03260fda05190b911de8e18225c294ac95bbc9/yarl-1.23.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5ee586fb17ff8f90c91cf73c6108a434b02d69925f44f5f8e0d7f2f260607eae", size = 98750 },
+ { url = "https://files.pythonhosted.org/packages/d9/cf/ea424a004969f5d81a362110a6ac1496d79efdc6d50c2c4b2e3ea0fc2519/yarl-1.23.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:17235362f580149742739cc3828b80e24029d08cbb9c4bda0242c7b5bc610a8e", size = 94685 },
+ { url = "https://files.pythonhosted.org/packages/e2/b7/14341481fe568e2b0408bcf1484c652accafe06a0ade9387b5d3fd9df446/yarl-1.23.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:0793e2bd0cf14234983bbb371591e6bea9e876ddf6896cdcc93450996b0b5c85", size = 106009 },
+ { url = "https://files.pythonhosted.org/packages/0a/e6/5c744a9b54f4e8007ad35bce96fbc9218338e84812d36f3390cea616881a/yarl-1.23.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:3650dc2480f94f7116c364096bc84b1d602f44224ef7d5c7208425915c0475dd", size = 100033 },
+ { url = "https://files.pythonhosted.org/packages/0c/23/e3bfc188d0b400f025bc49d99793d02c9abe15752138dcc27e4eaf0c4a9e/yarl-1.23.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:f40e782d49630ad384db66d4d8b73ff4f1b8955dc12e26b09a3e3af064b3b9d6", size = 106483 },
+ { url = "https://files.pythonhosted.org/packages/72/42/f0505f949a90b3f8b7a363d6cbdf398f6e6c58946d85c6d3a3bc70595b26/yarl-1.23.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:94f8575fbdf81749008d980c17796097e645574a3b8c28ee313931068dad14fe", size = 102175 },
+ { url = "https://files.pythonhosted.org/packages/aa/65/b39290f1d892a9dd671d1c722014ca062a9c35d60885d57e5375db0404b5/yarl-1.23.0-cp314-cp314-win32.whl", hash = "sha256:c8aa34a5c864db1087d911a0b902d60d203ea3607d91f615acd3f3108ac32169", size = 83871 },
+ { url = "https://files.pythonhosted.org/packages/a9/5b/9b92f54c784c26e2a422e55a8d2607ab15b7ea3349e28359282f84f01d43/yarl-1.23.0-cp314-cp314-win_amd64.whl", hash = "sha256:63e92247f383c85ab00dd0091e8c3fa331a96e865459f5ee80353c70a4a42d70", size = 89093 },
+ { url = "https://files.pythonhosted.org/packages/e0/7d/8a84dc9381fd4412d5e7ff04926f9865f6372b4c2fd91e10092e65d29eb8/yarl-1.23.0-cp314-cp314-win_arm64.whl", hash = "sha256:70efd20be968c76ece7baa8dafe04c5be06abc57f754d6f36f3741f7aa7a208e", size = 83384 },
+ { url = "https://files.pythonhosted.org/packages/dd/8d/d2fad34b1c08aa161b74394183daa7d800141aaaee207317e82c790b418d/yarl-1.23.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:9a18d6f9359e45722c064c97464ec883eb0e0366d33eda61cb19a244bf222679", size = 131019 },
+ { url = "https://files.pythonhosted.org/packages/19/ff/33009a39d3ccf4b94d7d7880dfe17fb5816c5a4fe0096d9b56abceea9ac7/yarl-1.23.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:2803ed8b21ca47a43da80a6fd1ed3019d30061f7061daa35ac54f63933409412", size = 89894 },
+ { url = "https://files.pythonhosted.org/packages/0c/f1/dab7ac5e7306fb79c0190766a3c00b4cb8d09a1f390ded68c85a5934faf5/yarl-1.23.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:394906945aa8b19fc14a61cf69743a868bb8c465efe85eee687109cc540b98f4", size = 89979 },
+ { url = "https://files.pythonhosted.org/packages/aa/b1/08e95f3caee1fad6e65017b9f26c1d79877b502622d60e517de01e72f95d/yarl-1.23.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:71d006bee8397a4a89f469b8deb22469fe7508132d3c17fa6ed871e79832691c", size = 95943 },
+ { url = "https://files.pythonhosted.org/packages/c0/cc/6409f9018864a6aa186c61175b977131f373f1988e198e031236916e87e4/yarl-1.23.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:62694e275c93d54f7ccedcfef57d42761b2aad5234b6be1f3e3026cae4001cd4", size = 88786 },
+ { url = "https://files.pythonhosted.org/packages/76/40/cc22d1d7714b717fde2006fad2ced5efe5580606cb059ae42117542122f3/yarl-1.23.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a31de1613658308efdb21ada98cbc86a97c181aa050ba22a808120bb5be3ab94", size = 101307 },
+ { url = "https://files.pythonhosted.org/packages/8f/0d/476c38e85ddb4c6ec6b20b815bdd779aa386a013f3d8b85516feee55c8dc/yarl-1.23.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fb1e8b8d66c278b21d13b0a7ca22c41dd757a7c209c6b12c313e445c31dd3b28", size = 100904 },
+ { url = "https://files.pythonhosted.org/packages/72/32/0abe4a76d59adf2081dcb0397168553ece4616ada1c54d1c49d8936c74f8/yarl-1.23.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50f9d8d531dfb767c565f348f33dd5139a6c43f5cbdf3f67da40d54241df93f6", size = 97728 },
+ { url = "https://files.pythonhosted.org/packages/b7/35/7b30f4810fba112f60f5a43237545867504e15b1c7647a785fbaf588fac2/yarl-1.23.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:575aa4405a656e61a540f4a80eaa5260f2a38fff7bfdc4b5f611840d76e9e277", size = 95964 },
+ { url = "https://files.pythonhosted.org/packages/2d/86/ed7a73ab85ef00e8bb70b0cb5421d8a2a625b81a333941a469a6f4022828/yarl-1.23.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:041b1a4cefacf65840b4e295c6985f334ba83c30607441ae3cf206a0eed1a2e4", size = 95882 },
+ { url = "https://files.pythonhosted.org/packages/19/90/d56967f61a29d8498efb7afb651e0b2b422a1e9b47b0ab5f4e40a19b699b/yarl-1.23.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:d38c1e8231722c4ce40d7593f28d92b5fc72f3e9774fe73d7e800ec32299f63a", size = 90797 },
+ { url = "https://files.pythonhosted.org/packages/72/00/8b8f76909259f56647adb1011d7ed8b321bcf97e464515c65016a47ecdf0/yarl-1.23.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:d53834e23c015ee83a99377db6e5e37d8484f333edb03bd15b4bc312cc7254fb", size = 101023 },
+ { url = "https://files.pythonhosted.org/packages/ac/e2/cab11b126fb7d440281b7df8e9ddbe4851e70a4dde47a202b6642586b8d9/yarl-1.23.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:2e27c8841126e017dd2a054a95771569e6070b9ee1b133366d8b31beb5018a41", size = 96227 },
+ { url = "https://files.pythonhosted.org/packages/c2/9b/2c893e16bfc50e6b2edf76c1a9eb6cb0c744346197e74c65e99ad8d634d0/yarl-1.23.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:76855800ac56f878847a09ce6dba727c93ca2d89c9e9d63002d26b916810b0a2", size = 100302 },
+ { url = "https://files.pythonhosted.org/packages/28/ec/5498c4e3a6d5f1003beb23405671c2eb9cdbf3067d1c80f15eeafe301010/yarl-1.23.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e09fd068c2e169a7070d83d3bde728a4d48de0549f975290be3c108c02e499b4", size = 98202 },
+ { url = "https://files.pythonhosted.org/packages/fe/c3/cd737e2d45e70717907f83e146f6949f20cc23cd4bf7b2688727763aa458/yarl-1.23.0-cp314-cp314t-win32.whl", hash = "sha256:73309162a6a571d4cbd3b6a1dcc703c7311843ae0d1578df6f09be4e98df38d4", size = 90558 },
+ { url = "https://files.pythonhosted.org/packages/e1/19/3774d162f6732d1cfb0b47b4140a942a35ca82bb19b6db1f80e9e7bdc8f8/yarl-1.23.0-cp314-cp314t-win_amd64.whl", hash = "sha256:4503053d296bc6e4cbd1fad61cf3b6e33b939886c4f249ba7c78b602214fabe2", size = 97610 },
+ { url = "https://files.pythonhosted.org/packages/51/47/3fa2286c3cb162c71cdb34c4224d5745a1ceceb391b2bd9b19b668a8d724/yarl-1.23.0-cp314-cp314t-win_arm64.whl", hash = "sha256:44bb7bef4ea409384e3f8bc36c063d77ea1b8d4a5b2706956c0d6695f07dcc25", size = 86041 },
{ url = "https://files.pythonhosted.org/packages/69/68/c8739671f5699c7dc470580a4f821ef37c32c4cb0b047ce223a7f115757f/yarl-1.23.0-py3-none-any.whl", hash = "sha256:a2df6afe50dea8ae15fa34c9f824a3ee958d785fd5d089063d960bae1daa0a3f", size = 48288 },
]
diff --git a/webui.bat b/webui.bat
index 947746e0..1e0cb817 100644
--- a/webui.bat
+++ b/webui.bat
@@ -49,4 +49,4 @@ if not "%SELECTED_WEBUI_PORT%"=="%MPT_WEBUI_PORT%" (
set "MPT_WEBUI_PORT=%SELECTED_WEBUI_PORT%"
echo ***** WebUI address: http://%MPT_WEBUI_HOST%:%MPT_WEBUI_PORT% *****
-%STREAMLIT_CMD% run .\webui\Main.py --server.address=%MPT_WEBUI_HOST% --server.port=%MPT_WEBUI_PORT% --browser.serverAddress=%MPT_WEBUI_HOST% --browser.gatherUsageStats=False --server.showEmailPrompt=False --server.enableCORS=True
+%STREAMLIT_CMD% run .\webui\Main.py --server.address=%MPT_WEBUI_HOST% --server.port=%MPT_WEBUI_PORT% --browser.serverAddress=%MPT_WEBUI_HOST% --browser.gatherUsageStats=False --client.toolbarMode=minimal --logger.hideWelcomeMessage=True --server.showEmailPrompt=False --server.enableCORS=True
diff --git a/webui.sh b/webui.sh
index dc30bcd7..27027c45 100644
--- a/webui.sh
+++ b/webui.sh
@@ -75,5 +75,7 @@ echo "***** WebUI address: http://$MPT_WEBUI_HOST:$MPT_WEBUI_PORT *****"
--server.port="$MPT_WEBUI_PORT" \
--browser.serverAddress="$MPT_WEBUI_HOST" \
--browser.gatherUsageStats=False \
+ --client.toolbarMode=minimal \
+ --logger.hideWelcomeMessage=True \
--server.showEmailPrompt=False \
--server.enableCORS=True
diff --git a/webui/.streamlit/config.toml b/webui/.streamlit/config.toml
index b690b747..4b8e2686 100644
--- a/webui/.streamlit/config.toml
+++ b/webui/.streamlit/config.toml
@@ -1,2 +1,8 @@
[browser]
-gatherUsageStats = false
\ No newline at end of file
+gatherUsageStats = false
+
+[client]
+toolbarMode = "minimal"
+
+[logger]
+hideWelcomeMessage = true
diff --git a/webui/Main.py b/webui/Main.py
index 86e46284..7b6c399a 100644
--- a/webui/Main.py
+++ b/webui/Main.py
@@ -1,21 +1,34 @@
+import html
+import json
import os
+import re
+import shutil
+import subprocess
import sys
import webbrowser
+from collections.abc import Mapping
+from datetime import datetime
+from pathlib import Path
from uuid import UUID, uuid4
import requests
import streamlit as st
from loguru import logger
+from streamlit_tour import Tour
-# Add the root directory of the project to the system path to allow importing modules from the project
+# WebUI 作为独立入口运行时,需要将项目根目录加入模块搜索路径。
root_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
if root_dir not in sys.path:
sys.path.append(root_dir)
- print("******** sys.path ********")
- print(sys.path)
- print("")
from app.config import config
+from app.models import const
+from app.models.llm_provider import (
+ DEFAULT_LLM_PROVIDER_ID,
+ LLM_PROVIDER_REGISTRY,
+ get_llm_provider,
+ normalize_provider_override,
+)
from app.models.schema import (
MaterialInfo,
VideoAspect,
@@ -23,7 +36,8 @@ from app.models.schema import (
VideoParams,
VideoTransitionMode,
)
-from app.services import llm, voice
+from app.services import cache_manager, llm, video, voice
+from app.services import state as sm
from app.services import task as tm
from app.utils import utils
@@ -42,24 +56,65 @@ st.set_page_config(
)
-streamlit_style = """
-<style>
-h1 {
- padding-top: 0 !important;
-}
-</style>
-"""
+# Streamlit 1.59 会在页面右上角默认展示 Deploy、skills nudge 等平台入口。
+# MoneyPrinterTurbo 是面向终端用户的本地工具,这些入口会造成顶部大块空白,
+# 也会让新用户误以为需要安装额外组件。这里统一隐藏 Streamlit 平台工具栏,
+# 并压缩主容器顶部留白,只保留项目自己的标题、语言选择和业务设置区域。
+style_file = Path(__file__).with_name("styles.css")
+streamlit_style = f"<style>{style_file.read_text(encoding='utf-8')}</style>"
st.markdown(streamlit_style, unsafe_allow_html=True)
-
# 定义资源目录
font_dir = os.path.join(root_dir, "resource", "fonts")
song_dir = os.path.join(root_dir, "resource", "songs")
i18n_dir = os.path.join(root_dir, "webui", "i18n")
config_file = os.path.join(root_dir, "webui", ".streamlit", "webui.toml")
-system_locale = utils.get_system_locale()
+# 语言列表必须在会话状态初始化前可用,首次访问时才能把浏览器 locale 映射到
+# 项目真正支持的语言;自动识别结果只进入当前会话,不修改全局配置。
+locales = utils.load_locales(i18n_dir)
DEFAULT_CHATTERBOX_BASE_URL = "http://127.0.0.1:4123/v1"
DEFAULT_CHATTERBOX_MODEL = "chatterbox"
DEFAULT_CHATTERBOX_VOICES = ["default-Female"]
+ONBOARDING_TOUR_KEY = "mpt-onboarding-v1"
+VOICE_MODE_TTS = "tts"
+VOICE_MODE_UPLOAD = "upload"
+VOICE_MODE_NONE = "none"
+# “默认”是 WebUI 专用哨兵,不会写入 config.toml,也不会传给 FFmpeg。
+# 后端在 video_codec 未配置时继续采用稳定的 libx264;单独保留该哨兵可以区分
+# “跟随项目默认策略”和“用户明确固定 libx264”,便于未来安全调整默认策略。
+DEFAULT_VIDEO_CODEC_OPTION = "__default__"
+DEFAULT_SUBTITLE_SETTINGS = {
+ "subtitle_enabled": True,
+ "font_name": "MicrosoftYaHeiBold.ttc",
+ "subtitle_position": "bottom",
+ "custom_position": 70.0,
+ "text_fore_color": "#FFFFFF",
+ "font_size": 60,
+ "stroke_color": "#000000",
+ "stroke_width": 1.5,
+ "subtitle_background_enabled": False,
+ "subtitle_background_color": "#000000",
+ "rounded_subtitle_background": False,
+}
+LOCAL_MATERIAL_EXTENSIONS = {
+ ".mp4",
+ ".mov",
+ ".avi",
+ ".flv",
+ ".mkv",
+ ".jpg",
+ ".jpeg",
+ ".png",
+}
+CUSTOM_AUDIO_EXTENSIONS = {".mp3", ".wav", ".m4a", ".aac", ".flac", ".ogg"}
+_FINAL_VIDEO_PATTERN = re.compile(
+ r"^final-(?P<index>\d+)\.(?P<extension>mp4|mov|mkv|webm)$",
+ re.IGNORECASE,
+)
+
+
+# -----------------------------------------------------------------------------
+# 启动配置、会话状态与本地化
+# -----------------------------------------------------------------------------
def _parse_chatterbox_voices(voices):
@@ -108,7 +163,11 @@ def _detect_audio_mime(audio_file: str, audio_bytes: bytes) -> str:
header = audio_bytes[:12]
if header.startswith(b"RIFF") and header[8:12] == b"WAVE":
return "audio/wav"
- if header.startswith(b"ID3") or header[:2] in (b"\xff\xfb", b"\xff\xf3", b"\xff\xf2"):
+ if header.startswith(b"ID3") or header[:2] in (
+ b"\xff\xfb",
+ b"\xff\xf3",
+ b"\xff\xf2",
+ ):
return "audio/mp3"
if header.startswith(b"OggS"):
return "audio/ogg"
@@ -122,61 +181,919 @@ def _detect_audio_mime(audio_file: str, audio_bytes: bytes) -> str:
}.get(ext, "audio/mp3")
-if "video_subject" not in st.session_state:
- st.session_state["video_subject"] = ""
-if "video_script" not in st.session_state:
- st.session_state["video_script"] = ""
-if "video_terms" not in st.session_state:
- st.session_state["video_terms"] = ""
-if "video_script_prompt" not in st.session_state:
- st.session_state["video_script_prompt"] = ""
-if "custom_system_prompt" not in st.session_state:
- st.session_state["custom_system_prompt"] = llm.DEFAULT_SCRIPT_SYSTEM_PROMPT
-if "use_custom_system_prompt" not in st.session_state:
- st.session_state["use_custom_system_prompt"] = False
-if "match_materials_to_script" not in st.session_state:
+def _build_uploaded_file_path(uploaded_file, target_dir, allowed_extensions, prefix):
+ """为浏览器上传文件生成受控的服务端保存路径。"""
+ original_name = os.path.basename(str(uploaded_file.name or ""))
+ extension = os.path.splitext(original_name)[1].lower()
+ if extension not in allowed_extensions:
+ logger.warning(
+ f"reject unsupported uploaded file extension: {original_name or '<empty>'}"
+ )
+ raise ValueError("unsupported uploaded file type")
+
+ normalized_target_dir = os.path.realpath(target_dir)
+ os.makedirs(normalized_target_dir, exist_ok=True)
+ # 不复用浏览器传入的文件名,避免路径分隔符、控制字符或同名覆盖。UUID 只用于
+ # 服务端落盘,不改变用户在上传控件中看到的原始名称。
+ file_path = os.path.realpath(
+ os.path.join(normalized_target_dir, f"{prefix}-{uuid4().hex}{extension}")
+ )
+ if os.path.commonpath([normalized_target_dir, file_path]) != normalized_target_dir:
+ logger.warning(f"invalid uploaded file path: {file_path}")
+ raise ValueError("invalid uploaded file path")
+ return file_path
+
+
+def _initialize_session_state():
+ """集中初始化跨 rerun 保留的页面状态。"""
+ saved_ui_language = config.ui.get("language", "")
+ browser_locale = st.context.locale
+ initial_ui_language = utils.resolve_ui_language(
+ saved_language=saved_ui_language,
+ browser_locale=browser_locale,
+ supported_languages=locales.keys(),
+ )
+
+ if "ui_language" not in st.session_state:
+ # 语言初始化只在当前浏览器会话首次运行时记录一次。Accept-Language 可以
+ # 帮助判断浏览器首选语言顺序,而 st.context.locale 对应浏览器实际返回的
+ # navigator.language;两者一起记录能定位“系统是中文但页面显示英文”。
+ accept_language = st.context.headers.get("Accept-Language", "")
+ logger.info(
+ "initialize UI language: "
+ f"saved_language={saved_ui_language or '<empty>'}, "
+ f"browser_locale={browser_locale or '<empty>'}, "
+ f"accept_language={accept_language or '<empty>'}, "
+ f"resolved_language={initial_ui_language}, "
+ f"supported_languages={','.join(locales.keys())}"
+ )
+
+ defaults = {
+ "video_subject": "",
+ "video_script": "",
+ "video_terms": "",
+ "video_script_prompt": "",
+ "custom_system_prompt": llm.DEFAULT_SCRIPT_SYSTEM_PROMPT,
+ "match_materials_to_script": bool(
+ config.app.get("match_materials_to_script", False)
+ ),
+ "ui_language": initial_ui_language,
+ # 已落盘的本地素材允许用户只修改文案后继续复用。
+ "local_video_materials": [],
+ # 控件交互会触发 rerun,日志必须保存在会话中才能持续显示。
+ "generation_log_records": [],
+ # 生成按钮回调先登记任务,使顶部入口能立即显示运行中数量。
+ "active_generation_tasks": {},
+ }
+ for key, value in defaults.items():
+ st.session_state.setdefault(key, value)
+
+
+_initialize_session_state()
+
+
+def tr(key):
+ loc = locales.get(st.session_state["ui_language"], {})
+ return loc.get("Translation", {}).get(key, key)
+
+
+# -----------------------------------------------------------------------------
+# 任务管理:历史扫描、运行状态、参数恢复与列表交互
+# -----------------------------------------------------------------------------
+
+
+def _format_task_time(timestamp):
+ if not timestamp:
+ return "-"
+ return datetime.fromtimestamp(timestamp).strftime("%Y-%m-%d %H:%M")
+
+
+def _format_task_subject(subject, max_length=30):
+ subject = str(subject or "").replace("\n", " ").strip()
+ if len(subject) <= max_length:
+ return subject or "-"
+ return f"{subject[:max_length]}..."
+
+
+def _safe_load_task_script(task_path):
+ script_file = os.path.join(task_path, "script.json")
+ if not os.path.isfile(script_file):
+ return {}
+
+ try:
+ with open(script_file, "r", encoding="utf-8") as f:
+ return json.load(f)
+ except Exception as e:
+ logger.warning(f"failed to read task script data: {script_file}, {e}")
+ return {}
+
+
+def _find_final_task_video(task_path: str) -> str:
+ """
+ 返回任务目录中序号最小的最终成片。
+
+ 合成流程还会产生 combined、temp-clip 和 MoviePy 临时文件,这些文件不能
+ 表示任务已成功完成,因此这里只接受 ``final-<序号>.<扩展名>``。
+ """
+ try:
+ files = os.listdir(task_path)
+ except OSError:
+ return ""
+
+ candidates = []
+ for file_name in files:
+ match = _FINAL_VIDEO_PATTERN.fullmatch(file_name)
+ if match:
+ candidates.append((int(match.group("index")), file_name))
+
+ if not candidates:
+ return ""
+
+ _, file_name = min(candidates, key=lambda item: item[0])
+ return os.path.join(task_path, file_name)
+
+
+def _build_restore_upload_requirements(params: Mapping) -> dict:
+ """
+ 记录历史任务中无法由 Streamlit 自动恢复的上传文件依赖。
+
+ 浏览器不允许程序重新填充 file_uploader,因此恢复任务时需要单独记录本地
+ 素材和自定义音频依赖,并在用户重新生成前检查是否已经主动补充或替换。
+ """
+ return {
+ "local_materials": params.get("video_source") == "local",
+ "custom_audio": bool(params.get("custom_audio_file")),
+ "original_voice_name": params.get("voice_name") or "",
+ }
+
+
+def _get_unmet_restore_upload_requirements(
+ requirements: Mapping | None,
+ *,
+ video_source: str,
+ voice_name: str,
+ has_local_materials: bool,
+ has_custom_audio: bool,
+ voice_mode: str | None = None,
+) -> set[str]:
+ """返回当前表单仍未满足的历史上传文件依赖。"""
+ requirements = requirements or {}
+ unmet = set()
+
+ if (
+ requirements.get("local_materials")
+ and video_source == "local"
+ and not has_local_materials
+ ):
+ unmet.add("local_materials")
+
+ if requirements.get("custom_audio") and not has_custom_audio:
+ if voice_mode is not None:
+ # 新版 WebUI 使用显式配音方式。用户切换到自动配音或无配音,表示
+ # 已主动替换历史上传音频;只有继续选择上传模式时才要求重新上传。
+ if voice_mode == VOICE_MODE_UPLOAD:
+ unmet.add("custom_audio")
+ elif voice_name == requirements.get("original_voice_name", ""):
+ # 保留旧调用方按音色判断的兼容行为,避免影响 API 和已有测试工具。
+ unmet.add("custom_audio")
+
+ return unmet
+
+
+def _queue_task_restore(task_id):
+ # 任务列表运行在 fragment 中,不能直接修改已经创建的主表单控件状态。
+ # 这里只记录候选任务并触发整页 rerun,确认和参数恢复由主页面统一处理。
+ st.session_state["task_restore_candidate_id"] = task_id
+ st.session_state["task_manager_popover_nonce"] = (
+ st.session_state.get("task_manager_popover_nonce", 0) + 1
+ )
+ st.rerun(scope="app")
+
+
+def _normalize_task_state(state):
+ if state in (
+ const.TASK_STATE_COMPLETE,
+ const.TASK_STATE_FAILED,
+ const.TASK_STATE_PROCESSING,
+ ):
+ return state
+ try:
+ return int(state)
+ except (TypeError, ValueError):
+ return state
+
+
+def _active_generation_tasks():
+ tasks = st.session_state.setdefault("active_generation_tasks", {})
+ if not isinstance(tasks, dict):
+ tasks = {}
+ st.session_state["active_generation_tasks"] = tasks
+ return tasks
+
+
+def _add_active_generation_task(task_id, subject=None):
+ tasks = _active_generation_tasks()
+ task = tasks.setdefault(task_id, {})
+ task["subject"] = subject or task.get("subject") or task_id
+ task["mtime"] = task.get("mtime") or datetime.now().timestamp()
+
+
+def _remove_active_generation_task(task_id):
+ tasks = _active_generation_tasks()
+ if task_id in tasks:
+ del tasks[task_id]
+ if st.session_state.get("pending_generation_task_id") == task_id:
+ del st.session_state["pending_generation_task_id"]
+
+
+def _prepare_generation_task():
+ # st.button 的 on_click 会在页面脚本重新执行前触发。这里提前生成任务 ID,
+ # 顶部任务管理入口就能在同一次 rerun 中显示“生成中”数量。
+ task_id = str(uuid4())
+ st.session_state["pending_generation_task_id"] = task_id
+ subject = st.session_state.get("video_subject") or st.session_state.get(
+ "video_script"
+ )
+ _add_active_generation_task(task_id, subject=subject)
+
+
+def _task_state_label(state, has_video):
+ normalized_state = _normalize_task_state(state)
+ if normalized_state == const.TASK_STATE_COMPLETE:
+ return tr("Task Status Complete")
+ if normalized_state == const.TASK_STATE_FAILED:
+ return tr("Task Status Failed")
+ if normalized_state == const.TASK_STATE_PROCESSING:
+ return tr("Task Status Processing")
+ if has_video:
+ return tr("Task Status Complete")
+ return tr("Task Status History")
+
+
+def _task_state_filter_key(task):
+ normalized_state = _normalize_task_state(task.get("state"))
+ if normalized_state == const.TASK_STATE_PROCESSING:
+ return "processing"
+ if normalized_state == const.TASK_STATE_FAILED:
+ return "failed"
+ if normalized_state == const.TASK_STATE_COMPLETE or task["video_file"]:
+ return "complete"
+ return "history"
+
+
+def _scan_history_tasks(limit=30):
+ tasks_root = utils.task_dir()
+ if not os.path.isdir(tasks_root):
+ return []
+
+ # 任务管理 fragment 每两秒刷新一次。先只读取低成本的目录元数据并截取最近
+ # 的任务,再解析 script.json 和视频列表,避免历史任务很多时反复扫描全部内容。
+ task_entries = []
+ try:
+ with os.scandir(tasks_root) as entries:
+ for entry in entries:
+ try:
+ if entry.name.startswith(".") or not entry.is_dir(
+ follow_symlinks=False
+ ):
+ continue
+ task_entries.append(
+ (
+ entry.stat(follow_symlinks=False).st_mtime,
+ entry.name,
+ entry.path,
+ )
+ )
+ except OSError as e:
+ # 单个任务目录可能正在被删除,不应因此让整个任务面板失效。
+ logger.debug(f"skip unavailable task directory: {entry.path}, {e}")
+ except OSError as e:
+ logger.warning(f"failed to scan task directory: {tasks_root}, {e}")
+ return []
+
+ task_entries.sort(key=lambda item: item[0], reverse=True)
+ tasks = []
+ for mtime, name, task_path in task_entries[:limit]:
+ script_data = _safe_load_task_script(task_path)
+ params_data = script_data.get("params", {}) if script_data else {}
+ video_file = _find_final_task_video(task_path)
+ subject = (
+ params_data.get("video_subject")
+ or script_data.get("script", "")[:40]
+ or name
+ )
+ tasks.append(
+ {
+ "task_id": name,
+ "subject": subject,
+ "state": const.TASK_STATE_COMPLETE if video_file else None,
+ "progress": 100 if video_file else 0,
+ "mtime": mtime,
+ "task_path": task_path,
+ "video_file": video_file,
+ "source": "history",
+ }
+ )
+
+ return tasks
+
+
+def _collect_task_summaries(limit=20):
+ history_tasks = {task["task_id"]: task for task in _scan_history_tasks(limit=50)}
+
+ try:
+ runtime_tasks, _ = sm.state.get_all_tasks(1, 50)
+ except Exception as e:
+ logger.warning(f"failed to load runtime tasks: {e}")
+ runtime_tasks = []
+
+ for task in runtime_tasks:
+ task_id = task.get("task_id", "")
+ if not task_id:
+ continue
+
+ task_path = os.path.join(utils.task_dir(), task_id)
+ history_task = history_tasks.get(task_id, {})
+ video_files = task.get("videos") or []
+ video_file = (
+ video_files[0] if video_files else history_task.get("video_file", "")
+ )
+ subject = (
+ task.get("video_subject")
+ or history_task.get("subject")
+ or (task.get("script", "")[:40] if task.get("script") else "")
+ or task_id
+ )
+
+ history_tasks[task_id] = {
+ "task_id": task_id,
+ "subject": subject,
+ "state": task.get("state"),
+ "progress": int(task.get("progress", 0) or 0),
+ "mtime": os.path.getmtime(task_path)
+ if os.path.isdir(task_path)
+ else history_task.get("mtime", 0),
+ "task_path": task_path,
+ "video_file": video_file,
+ "source": "runtime",
+ }
+
+ for task_id, active_task in _active_generation_tasks().items():
+ history_task = history_tasks.get(task_id, {})
+ if history_task and _task_state_filter_key(history_task) == "complete":
+ continue
+
+ task_path = os.path.join(utils.task_dir(), task_id)
+ history_tasks[task_id] = {
+ "task_id": task_id,
+ "subject": active_task.get("subject")
+ or history_task.get("subject")
+ or task_id,
+ "state": const.TASK_STATE_PROCESSING,
+ "progress": history_task.get("progress", 0),
+ "mtime": active_task.get("mtime")
+ or history_task.get("mtime", datetime.now().timestamp()),
+ "task_path": task_path,
+ "video_file": history_task.get("video_file", ""),
+ "source": "active",
+ }
+
+ tasks = list(history_tasks.values())
+ return sorted(tasks, key=lambda item: item["mtime"], reverse=True)[:limit]
+
+
+def _open_task_path(task_path):
+ tasks_root = os.path.abspath(utils.task_dir())
+ normalized_path = os.path.abspath(task_path)
+ if not normalized_path.startswith(tasks_root + os.sep):
+ logger.warning(f"invalid task folder path: {normalized_path}")
+ return
+ if os.path.isdir(normalized_path):
+ webbrowser.open(f"file://{normalized_path}")
+
+
+def _open_task_video(video_file):
+ tasks_root = os.path.abspath(utils.task_dir())
+ normalized_file = os.path.abspath(video_file)
+
+ # 视频路径来自任务目录扫描或运行期状态。这里仍然限制只能打开任务目录
+ # 内的文件,避免 UI 操作被异常路径扩展成任意本地文件打开能力。
+ if not normalized_file.startswith(tasks_root + os.sep):
+ logger.warning(f"invalid task video path: {normalized_file}")
+ return
+ if not os.path.isfile(normalized_file):
+ logger.warning(f"task video does not exist: {normalized_file}")
+ return
+
+ try:
+ if sys.platform == "darwin":
+ subprocess.Popen(["open", normalized_file])
+ elif sys.platform.startswith("win"):
+ os.startfile(normalized_file) # type: ignore[attr-defined]
+ else:
+ subprocess.Popen(["xdg-open", normalized_file])
+ except Exception as e:
+ logger.error(f"failed to open task video: {normalized_file}, {e}")
+
+
+def _delete_task(task_id, task_path, task_state=None):
+ # 页面展示的状态可能落后于后台任务。删除前同时检查传入状态、当前会话的
+ # 活跃任务和最新状态,避免任务刚开始或已产出中间视频时被误删。
+ current_task = None
+ try:
+ current_task = sm.state.get_task(task_id)
+ except Exception as e:
+ logger.exception(f"failed to verify task state before deletion: {task_id}, {e}")
+ return False
+
+ current_state = current_task.get("state") if current_task else None
+ is_processing = (
+ any(
+ _normalize_task_state(state) == const.TASK_STATE_PROCESSING
+ for state in (task_state, current_state)
+ )
+ or task_id in _active_generation_tasks()
+ )
+ if is_processing:
+ logger.warning(f"refused to delete running task: {task_id}")
+ return False
+
+ tasks_root = os.path.abspath(utils.task_dir())
+ normalized_path = os.path.abspath(task_path)
+
+ # 删除任务会移除任务状态和本地生成文件。这里必须限定在 storage/tasks
+ # 下,避免异常 task_path 造成误删其它本地目录。
+ if not normalized_path.startswith(tasks_root + os.sep):
+ logger.warning(f"invalid task folder path for deletion: {normalized_path}")
+ return False
+
+ try:
+ if hasattr(sm.state, "delete_task"):
+ sm.state.delete_task(task_id)
+ if os.path.isdir(normalized_path):
+ shutil.rmtree(normalized_path)
+ logger.info(f"deleted task: {task_id}")
+ return True
+ except Exception as e:
+ logger.exception(f"failed to delete task: {task_id}, {e}")
+ return False
+
+
+def _count_processing_tasks(tasks):
+ # 顶部任务管理入口只需要展示“生成中”任务数量。
+ # 这里复用内部状态 key 判断,避免依赖多语言展示文案导致不同语言下统计不一致。
+ processing_task_ids = {
+ task["task_id"]
+ for task in tasks
+ if _task_state_filter_key(task) == "processing"
+ }
+ return len(processing_task_ids)
+
+
+def _task_manager_label(processing_count):
+ label = tr("Task Manager")
+ if processing_count <= 0:
+ return label
+ return f"{label} · {processing_count}"
+
+
+def _render_task_table(filtered_tasks, key_prefix):
+ with st.container(key=f"task_table_header_{key_prefix}"):
+ header_cols = st.columns([1.1, 1.7, 3.0, 0.8, 1.6], vertical_alignment="center")
+ header_cols[0].caption(tr("Task Status"))
+ header_cols[1].caption(tr("Task Updated At"))
+ header_cols[2].caption(tr("Task Subject"))
+ header_cols[3].caption(tr("Task Progress"))
+ header_cols[4].caption(tr("Task Actions"))
+
+ if not filtered_tasks:
+ st.info(tr("No Tasks Match Filter"))
+ return
+
+ visible_tasks = filtered_tasks[:12]
+ list_height = min(390, max(96, len(visible_tasks) * 58))
+ with st.container(height=list_height, border=False):
+ for task in visible_tasks:
+ task_id = task["task_id"]
+ has_video = bool(task["video_file"] and os.path.isfile(task["video_file"]))
+ is_processing = _task_state_filter_key(task) == "processing"
+ has_restore_data = os.path.isfile(
+ os.path.join(task["task_path"], "script.json")
+ )
+ safe_task_key = "".join(ch if ch.isalnum() else "_" for ch in task_id)[:40]
+
+ # 使用 Streamlit 原生 bordered container + columns 保留每行操作。
+ # 相比自定义 HTML/CSS 表格,这种方式对 Streamlit 版本变更更稳;
+ # 相比 dataframe,又能保留播放、打开目录、删除等行内动作。
+ with st.container(
+ key=f"task_row_{key_prefix}_{safe_task_key}", border=True
+ ):
+ row_cols = st.columns(
+ [1.1, 1.7, 3.0, 0.8, 1.6],
+ vertical_alignment="center",
+ )
+ row_cols[0].write(_task_state_label(task["state"], has_video))
+ row_cols[1].write(_format_task_time(task["mtime"]))
+ row_cols[2].write(_format_task_subject(task["subject"]))
+ row_cols[3].write(f"{task['progress']}%")
+
+ action_cols = row_cols[4].columns(
+ 4,
+ vertical_alignment="center",
+ gap="small",
+ )
+ with action_cols[0]:
+ play_label = tr("Play")
+ if st.button(
+ play_label,
+ key=f"play_task_{key_prefix}_{task_id}",
+ use_container_width=True,
+ icon=":material/play_arrow:",
+ help=play_label,
+ disabled=not has_video,
+ ):
+ _open_task_video(task["video_file"])
+
+ with action_cols[1]:
+ open_label = tr("Open Task Folder")
+ if st.button(
+ open_label,
+ key=f"open_task_{key_prefix}_{task_id}",
+ use_container_width=True,
+ icon=":material/folder_open:",
+ help=open_label,
+ ):
+ _open_task_path(task["task_path"])
+
+ with action_cols[2]:
+ restore_label = tr("Regenerate Task")
+ if st.button(
+ restore_label,
+ key=f"restore_task_{key_prefix}_{task_id}",
+ use_container_width=True,
+ icon=":material/replay:",
+ help=restore_label,
+ disabled=is_processing or not has_restore_data,
+ ):
+ _queue_task_restore(task_id)
+
+ with action_cols[3]:
+ delete_label = tr("Delete Task")
+ delete_help = (
+ f"{delete_label} ({tr('Task Status Processing')})"
+ if is_processing
+ else delete_label
+ )
+ if st.button(
+ delete_label,
+ key=f"delete_task_{key_prefix}_{task_id}",
+ use_container_width=True,
+ icon=":material/delete:",
+ help=delete_help,
+ disabled=is_processing,
+ ):
+ if _delete_task(task_id, task["task_path"], task["state"]):
+ st.toast(tr("Task Deleted"))
+ st.rerun()
+ else:
+ st.error(tr("Task Delete Failed"))
+
+
+def _render_task_manager_panel(tasks=None):
+ tasks = tasks if tasks is not None else _collect_task_summaries()
+ if not tasks:
+ st.info(tr("No Tasks Yet"))
+ return
+
+ # Streamlit 1.59 支持有状态 Tabs 的惰性渲染。切换时只重新构建当前列表,
+ # 避免定时 Fragment 每两秒重复创建四套任务行和操作按钮。
+ status_tabs = [
+ ("all", tr("All Tasks")),
+ ("processing", tr("Task Status Processing")),
+ ("complete", tr("Task Status Complete")),
+ ("failed", tr("Task Status Failed")),
+ ]
+ tabs = st.tabs(
+ [label for _, label in status_tabs],
+ key="task_manager_status_tabs",
+ on_change="rerun",
+ )
+ for (status_key, _), tab in zip(status_tabs, tabs):
+ if not tab.open:
+ continue
+ with tab:
+ filtered_tasks = [
+ task
+ for task in tasks
+ if status_key == "all" or _task_state_filter_key(task) == status_key
+ ]
+ _render_task_table(filtered_tasks, status_key)
+
+
[email protected](run_every="2s")
+def _render_task_manager_entry():
+ # 任务可能由当前页面或其它页面触发生成。入口单独用 fragment 定时刷新,
+ # 只更新任务数量和 popover 内容,不打断主页面表单输入。
+ task_summaries = _collect_task_summaries()
+ processing_task_count = _count_processing_tasks(task_summaries)
+ with st.container(key="task_manager_entry", width="content"):
+ with st.popover(
+ _task_manager_label(processing_task_count),
+ width="content",
+ key=(
+ "task_manager_popover_"
+ f"{st.session_state.get('task_manager_popover_nonce', 0)}"
+ ),
+ ):
+ _render_task_manager_panel(task_summaries)
+
+
+def _load_task_restore_payload(task_id):
+ tasks_root = os.path.realpath(utils.task_dir())
+ task_path = os.path.realpath(os.path.join(tasks_root, str(task_id)))
+ try:
+ if os.path.commonpath([tasks_root, task_path]) != tasks_root:
+ raise ValueError("task path is outside the task directory")
+ except ValueError as e:
+ logger.warning(f"invalid task restore path: {task_id}, {e}")
+ return None
+
+ script_data = _safe_load_task_script(task_path)
+ raw_params = script_data.get("params")
+ if not isinstance(raw_params, dict):
+ logger.warning(f"task has no restorable parameters: {task_id}")
+ return None
+
+ params_input = dict(raw_params)
+ if script_data.get("script"):
+ params_input["video_script"] = script_data["script"]
+ if script_data.get("search_terms"):
+ params_input["video_terms"] = script_data["search_terms"]
+
+ try:
+ params = VideoParams.model_validate(params_input).model_dump(mode="json")
+ except Exception as e:
+ logger.warning(f"failed to validate task restore parameters: {task_id}, {e}")
+ return None
+
+ return {
+ "task_id": str(task_id),
+ "subject": params.get("video_subject") or script_data.get("script") or task_id,
+ "params": params,
+ }
+
+
+def _infer_tts_server_from_voice(voice_name):
+ if voice.is_no_voice(voice_name):
+ return voice.NO_VOICE_NAME
+ if voice.is_siliconflow_voice(voice_name):
+ return "siliconflow"
+ if voice.is_gemini_voice(voice_name):
+ return "gemini-tts"
+ if voice.is_mimo_voice(voice_name):
+ return "mimo-tts"
+ if voice.is_elevenlabs_voice(voice_name):
+ return "elevenlabs"
+ if voice.is_chatterbox_voice(voice_name):
+ return "chatterbox"
+ if voice.is_azure_v2_voice(voice_name):
+ return "azure-tts-v2"
+ return "azure-tts-v1"
+
+
+def _set_stable_widget_value(key, value):
+ if value is not None:
+ st.session_state[localized_widget_key(key)] = value
+
+
+def _apply_pending_task_restore():
+ payload = st.session_state.pop("task_restore_payload", None)
+ if not payload:
+ return False
+
+ params = payload["params"]
+ video_terms = params.get("video_terms") or ""
+ if isinstance(video_terms, list):
+ video_terms = ", ".join(str(term) for term in video_terms)
+
+ # 文案与高级脚本设置。
+ st.session_state["video_subject"] = params.get("video_subject") or ""
+ st.session_state["video_script"] = params.get("video_script") or ""
+ st.session_state["video_terms"] = str(video_terms)
+ _set_stable_widget_value(
+ "script_language_select", params.get("video_language") or ""
+ )
+ st.session_state["paragraph_number_input"] = params.get("paragraph_number", 1)
+ st.session_state["video_script_prompt"] = params.get("video_script_prompt") or ""
+ st.session_state["custom_system_prompt"] = (
+ params.get("custom_system_prompt") or llm.DEFAULT_SCRIPT_SYSTEM_PROMPT
+ )
+
+ # 视频设置。素材上传控件不能由服务端写入,因此本地素材需要用户重新选择。
+ video_source = params.get("video_source") or "pexels"
+ _set_stable_widget_value("video_source_select", video_source)
+ _set_stable_widget_value(
+ "video_concat_mode_select", params.get("video_concat_mode") or "random"
+ )
+ _set_stable_widget_value(
+ "video_transition_mode_select",
+ params.get("video_transition_mode") or VideoTransitionMode.none.value,
+ )
+ _set_stable_widget_value(
+ f"video_aspect_for_{video_source}",
+ params.get("video_aspect") or VideoAspect.portrait.value,
+ )
+ _set_stable_widget_value(
+ "video_clip_duration_select", params.get("video_clip_duration", 3)
+ )
+ _set_stable_widget_value("video_count_select", params.get("video_count", 1))
st.session_state["match_materials_to_script"] = bool(
- config.app.get("match_materials_to_script", False)
+ params.get("match_materials_to_script", False)
)
-if "ui_language" not in st.session_state:
- st.session_state["ui_language"] = config.ui.get("language", system_locale)
-if "local_video_materials" not in st.session_state:
- # 记住用户最近一次已经落盘的本地素材,避免仅修改文案后二次生成时丢失素材列表。
- st.session_state["local_video_materials"] = []
-# 加载语言文件
-locales = utils.load_locales(i18n_dir)
+ # 音频设置。TTS server 未写入旧任务,根据历史 voice_name 推断。
+ voice_name = params.get("voice_name") or voice.NO_VOICE_NAME
+ tts_server = _infer_tts_server_from_voice(voice_name)
+ if params.get("custom_audio_file"):
+ voice_mode = VOICE_MODE_UPLOAD
+ elif voice.is_no_voice(voice_name):
+ voice_mode = VOICE_MODE_NONE
+ else:
+ voice_mode = VOICE_MODE_TTS
+ _set_stable_widget_value("voice_mode_control", voice_mode)
+ if tts_server != voice.NO_VOICE_NAME:
+ _set_stable_widget_value("tts_server_select", tts_server)
+ _set_stable_widget_value(f"speech_synthesis_select_{tts_server}", voice_name)
+ _set_stable_widget_value("voice_volume_select", params.get("voice_volume", 1.0))
+ _set_stable_widget_value("voice_rate_select", params.get("voice_rate", 1.0))
+ bgm_type = params.get("bgm_type") or ""
+ _set_stable_widget_value("bgm_type_select", bgm_type)
+ _set_stable_widget_value("bgm_volume_select", params.get("bgm_volume", 0.2))
+ st.session_state["custom_bgm_file_input"] = params.get("bgm_file") or ""
+
+ # 字幕设置。对旧任务中的越界数值做最小限幅,避免 Slider 无法初始化。
+ st.session_state["subtitle_enabled_checkbox"] = bool(
+ params.get("subtitle_enabled", True)
+ )
+ _set_stable_widget_value("font_name_select", params.get("font_name") or "")
+ _set_stable_widget_value(
+ "subtitle_position_select", params.get("subtitle_position") or "bottom"
+ )
+ custom_position = min(100.0, max(0.0, float(params.get("custom_position", 70.0))))
+ st.session_state["custom_position_input"] = str(custom_position)
+ st.session_state["font_color_picker"] = params.get("text_fore_color") or "#FFFFFF"
+ st.session_state["font_size_slider"] = min(
+ 100, max(30, int(params.get("font_size", 60)))
+ )
+ st.session_state["stroke_color_picker"] = params.get("stroke_color") or "#000000"
+ st.session_state["stroke_width_slider"] = min(
+ 10.0, max(0.0, float(params.get("stroke_width", 1.5)))
+ )
+ background_color = params.get("text_background_color")
+ background_enabled = bool(background_color)
+ st.session_state["subtitle_background_enabled_checkbox"] = background_enabled
+ if isinstance(background_color, str):
+ st.session_state["subtitle_background_color_picker"] = background_color
+ st.session_state["rounded_subtitle_background_checkbox"] = bool(
+ params.get("rounded_subtitle_background", False) and background_enabled
+ )
-# 创建一个顶部栏,包含标题和语言选择
-title_col, lang_col = st.columns([3, 1])
-
-with title_col:
- st.title(f"MoneyPrinterTurbo v{config.project_version}")
-
-with lang_col:
- display_languages = []
- selected_index = 0
- for i, code in enumerate(locales.keys()):
- display_languages.append(f"{code} - {locales[code].get('Language')}")
- if code == st.session_state.get("ui_language", ""):
- selected_index = i
-
- selected_language = st.selectbox(
- "Language / 语言",
- options=display_languages,
- index=selected_index,
- key="top_language_selector",
- label_visibility="collapsed",
+ st.session_state.pop("local_video_materials_uploader", None)
+ # 历史任务只保存素材路径,不能保证这些文件在当前环境仍然存在。
+ # 同时清空当前页面已缓存的上传素材,避免恢复后误用另一个任务的文件。
+ st.session_state["local_video_materials"] = []
+ st.session_state.pop("custom_audio_file_uploader", None)
+ st.session_state["task_restore_upload_requirements"] = (
+ _build_restore_upload_requirements(params)
)
- if selected_language:
- code = selected_language.split(" - ")[0].strip()
- previous_language = st.session_state.get("ui_language", "")
- st.session_state["ui_language"] = code
- config.ui["language"] = code
- # 语言切换后需要强制刷新一次,否则部分 Streamlit selectbox 会保留
- # 切换前的展示文本,出现 provider、视频比例等选项文案混用旧语言。
- if code != previous_language:
- st.rerun()
+
+ st.session_state["task_restore_succeeded"] = True
+ logger.info(f"restored task configuration: {payload['task_id']}")
+ return True
+
+
+def _dismiss_task_restore_dialog():
+ st.session_state.pop("task_restore_candidate_id", None)
+
+
+ tr("Regenerate Task"),
+ width="small",
+ on_dismiss=_dismiss_task_restore_dialog,
+)
+def _render_task_restore_dialog(task_id):
+ payload = _load_task_restore_payload(task_id)
+ if payload is None:
+ st.error(tr("Task Restore Failed"))
+ if st.button(tr("Cancel"), key="cancel_invalid_task_restore"):
+ st.session_state.pop("task_restore_candidate_id", None)
+ st.rerun(scope="app")
+ return
+
+ st.write(tr("Regenerate Task Confirmation"))
+ st.caption(_format_task_subject(payload["subject"], max_length=80))
+ cancel_col, load_col = st.columns(2)
+ if cancel_col.button(
+ tr("Cancel"),
+ key="cancel_task_restore",
+ use_container_width=True,
+ ):
+ st.session_state.pop("task_restore_candidate_id", None)
+ st.rerun(scope="app")
+ if load_col.button(
+ tr("Load Task Configuration"),
+ key="confirm_task_restore",
+ type="primary",
+ use_container_width=True,
+ ):
+ st.session_state["task_restore_payload"] = payload
+ st.session_state.pop("task_restore_candidate_id", None)
+ st.rerun(scope="app")
+
+
+def _dismiss_settings_dialog():
+ """关闭设置弹窗,并确保下一次整页 rerun 不会再次自动打开。"""
+ st.session_state["settings_dialog_open"] = False
+
+
+def _render_top_bar():
+ """渲染品牌、任务管理、设置和语言切换组成的页面顶部栏。"""
+ # 顶部栏分为品牌区和操作区两个独立区域。窄屏下由 Streamlit
+ # 将两个区域整体换行,操作区内部再根据剩余宽度自动换行。
+ with st.container(key="top_bar"):
+ brand_col, actions_col = st.columns(
+ [3.5, 2.0],
+ vertical_alignment="center",
+ gap="small",
+ )
+
+ with brand_col:
+ st.markdown(
+ f"""
+ <h1 class="mpt-brand">
+ <span class="mpt-brand__name">MoneyPrinterTurbo</span>
+ <a class="mpt-brand__version"
+ href="https://github.com/harry0703/MoneyPrinterTurbo"
+ target="_blank"
+ rel="noopener noreferrer"
+ aria-label="Open MoneyPrinterTurbo on GitHub"
+ title="Open project on GitHub">v{config.project_version}</a>
+ </h1>
+ """,
+ unsafe_allow_html=True,
+ )
+
+ with actions_col:
+ with st.container(
+ key="top_bar_actions",
+ horizontal=True,
+ horizontal_alignment="right",
+ vertical_alignment="center",
+ gap="small",
+ width="stretch",
+ ):
+ _render_task_manager_entry()
+
+ if st.button(
+ tr("Settings"),
+ key="open_settings_dialog_button",
+ type="secondary",
+ icon=":material/settings:",
+ width="content",
+ ):
+ st.session_state["settings_dialog_open"] = True
+
+ language_codes = list(locales.keys())
+ selected_index = 0
+ for i, code in enumerate(language_codes):
+ if code == st.session_state.get("ui_language", ""):
+ selected_index = i
+
+ selected_language_code = st.selectbox(
+ "Language / 语言",
+ options=language_codes,
+ index=selected_index,
+ format_func=lambda code: locales[code].get("Language", code),
+ key="top_language_code_selector",
+ label_visibility="collapsed",
+ width=180,
+ )
+ if selected_language_code:
+ previous_language = st.session_state.get("ui_language", "")
+ if selected_language_code != previous_language:
+ logger.info(
+ "UI language changed by user: "
+ f"previous_language={previous_language or '<empty>'}, "
+ f"selected_language={selected_language_code}"
+ )
+ st.session_state["ui_language"] = selected_language_code
+ # 浏览器自动识别只影响当前会话;只有用户主动切换下拉框时才
+ # 写入 config.toml,后续新会话将优先使用该明确选择。
+ config.ui["language"] = selected_language_code
+ config.save_config()
+ # 切换语言后强制刷新,避免 selectbox 继续展示旧语言文案。
+ st.rerun()
+
support_locales = [
"zh-CN",
@@ -193,7 +1110,15 @@ support_locales = [
]
+# -----------------------------------------------------------------------------
+# 通用 UI 组件、资源缓存与日志
+# -----------------------------------------------------------------------------
+
+
[email protected]_data(ttl=30, show_spinner=False)
def get_all_fonts():
+ # 字体目录很少变化,但 Streamlit 每次控件交互都会 rerun 页面。短周期缓存
+ # 可以避免连续重复 os.walk,同时保证新增字体后最多 30 秒即可被发现。
fonts = []
for root, dirs, files in os.walk(font_dir):
for file in files:
@@ -203,7 +1128,10 @@ def get_all_fonts():
return fonts
[email protected]_data(ttl=30, show_spinner=False)
def get_all_songs():
+ # 背景音乐与字体使用相同的短周期策略,不做永久缓存,兼顾 rerun 性能和
+ # 用户运行期间手动添加音乐文件的场景。
songs = []
for root, dirs, files in os.walk(song_dir):
for file in files:
@@ -230,39 +1158,23 @@ def open_task_folder(task_id):
if os.path.isdir(path):
webbrowser.open(f"file://{path}")
except Exception as e:
- logger.error(e)
-
-
-def scroll_to_bottom():
- js = """
- <script>
- console.log("scroll_to_bottom");
- function scroll(dummy_var_to_force_repeat_execution){
- var sections = parent.document.querySelectorAll('section.main');
- console.log(sections);
- for(let index = 0; index<sections.length; index++) {
- sections[index].scrollTop = sections[index].scrollHeight;
- }
- }
- scroll(1);
- </script>
- """
- st.components.v1.html(js, height=0, width=0)
+ logger.exception(f"failed to open task folder: task_id={task_id}, error={e}")
def init_log():
+ # 基础日志 Handler 属于进程级资源,而不是页面会话状态。Streamlit 每次组件
+ # 交互都会 rerun 页面脚本;如果每次都执行 logger.remove(),会把其它会话或
+ # 正在生成任务使用的临时 Handler 一并删除。cache_resource 保证每个进程只
+ # 初始化一次,页面级生成日志仍通过各自的 handler id 单独添加和移除。
logger.remove()
_lvl = "DEBUG"
def format_record(record):
- # 获取日志记录中的文件全路径
+ # 日志统一展示项目相对路径,并移除消息中可能重复出现的项目根目录。
file_path = record["file"].path
- # 将绝对路径转换为相对于项目根目录的路径
relative_path = os.path.relpath(file_path, root_dir)
- # 更新记录中的文件路径
record["file"].path = f"./{relative_path}"
- # 返回修改后的格式字符串
- # 您可以根据需要调整这里的格式
record["message"] = record["message"].replace(root_dir, ".")
_format = (
@@ -274,7 +1186,7 @@ def init_log():
)
return _format
- logger.add(
+ return logger.add(
sys.stdout,
level=_lvl,
format=format_record,
@@ -284,41 +1196,150 @@ def init_log():
init_log()
-locales = utils.load_locales(i18n_dir)
-
-
-def tr(key):
- loc = locales.get(st.session_state["ui_language"], {})
- return loc.get("Translation", {}).get(key, key)
-
-def tr_optional(key):
+def tr_optional(key, fallback_language=""):
loc = locales.get(st.session_state["ui_language"], {})
value = loc.get("Translation", {}).get(key, "")
+ if not value and fallback_language:
+ fallback_loc = locales.get(fallback_language, {})
+ value = fallback_loc.get("Translation", {}).get(key, "")
return value if value else ""
+def render_onboarding_tour():
+ # 引导只覆盖三个稳定入口,不尝试控制 Dialog、Tabs 或业务表单。这样既能让
+ # 新用户理解完整流程,也不会把引导状态与 Streamlit 的动态组件生命周期耦合。
+ steps = [
+ Tour.bind(
+ "open_settings_dialog_button",
+ title=tr("Onboarding Model Settings Title"),
+ desc=tr("Onboarding Model Settings Description"),
+ side="bottom",
+ align="end",
+ ),
+ Tour.bind(
+ "main_settings_grid",
+ title=tr("Onboarding Creation Settings Title"),
+ desc=tr("Onboarding Creation Settings Description"),
+ side="top",
+ align="center",
+ ),
+ Tour.bind(
+ "generate_video_button",
+ title=tr("Onboarding Generate Video Title"),
+ desc=tr("Onboarding Generate Video Description"),
+ side="top",
+ align="center",
+ ),
+ ]
+
+ # streamlit-tour 1.1.0 没有在 Python 构造参数中暴露导航文案,但底层
+ # Driver.js 支持在每一步的 popover 配置中覆盖按钮文本。这里统一注入本地化
+ # 文案,并对内容做 HTML 转义,因为组件会通过 innerHTML 渲染这些字段。
+ previous_text = html.escape(tr("Onboarding Previous"))
+ next_text = html.escape(tr("Onboarding Next"))
+ done_text = html.escape(tr("Onboarding Done"))
+ for index, step in enumerate(steps):
+ step.popover["prevBtnText"] = f"&larr; {previous_text}"
+ # Driver.js 会在合并单步配置时覆盖已经替换过变量的进度模板,因此直接
+ # 写入当前步骤和总步骤数,避免页面显示未解析的 {{current}} 占位符。
+ step.popover["progressText"] = f"{index + 1} / {len(steps)}"
+ if index == len(steps) - 1:
+ step.popover["doneBtnText"] = done_text
+ else:
+ step.popover["nextBtnText"] = f"{next_text} &rarr;"
+
+ tour = Tour(
+ steps=steps,
+ key=ONBOARDING_TOUR_KEY,
+ show_progress=True,
+ animate=True,
+ overlay_opacity=0.55,
+ one_time_tour=True,
+ )
+
+ # 每个 Streamlit 会话只主动启动一次。是否已经完成则由组件通过浏览器
+ # localStorage 判断,避免页面 rerun 或普通控件交互反复弹出引导。
+ auto_start_key = f"{ONBOARDING_TOUR_KEY}-auto-started"
+ if not st.session_state.get(auto_start_key, False):
+ st.session_state[auto_start_key] = True
+ tour.start()
+
+
+def render_generation_logs(container):
+ if config.ui.get("hide_log", False):
+ container.empty()
+ return
+
+ log_records = st.session_state.get("generation_log_records", [])
+ if not log_records:
+ container.empty()
+ return
+
+ with container:
+ st.code("\n".join(log_records))
+
+
+def remove_logger_handler_safely(handler_id):
+ try:
+ logger.remove(handler_id)
+ except ValueError:
+ # Streamlit 交互可能触发 rerun,Loguru handler 在 finally 执行前
+ # 已经被其它初始化流程移除。这里忽略缺失 handler,避免生成成功后
+ # 因清理日志监听器失败而把页面打成异常。
+ logger.debug(f"log handler already removed: {handler_id}")
+
+
def get_llm_provider_tips(provider_id, **kwargs):
# LLM provider 说明文案统一使用 `llm_provider_tips.<provider_id>` 规则。
# 这样新增 provider 时只需要在 locale 中补文案;没有文案时不展示提示块,
# 避免 Main.py 里继续堆叠大量中英文硬编码说明。
- tips = tr_optional(f"llm_provider_tips.{provider_id}")
- if not tips or not kwargs:
+ provider = get_llm_provider(provider_id)
+ if provider is None:
+ return ""
+
+ # Provider 配置说明目前统一维护中文和英文两套规范模板;其它界面语言
+ # 统一使用英文,避免在 locale 中复制英文后长期不同步。后续某个语种完成
+ # 全量翻译后,再将它加入这里的独立维护范围。
+ ui_language = st.session_state.get("ui_language", "en")
+ tips_language = ui_language if ui_language in {"zh", "en"} else "en"
+ tips = (
+ locales.get(tips_language, {}).get("Translation", {}).get(provider.tips_key, "")
+ )
+ if not tips:
return tips
+ format_context = {
+ "api_key_url": provider.api_key_url,
+ "default_model": provider.default_model,
+ "default_base_url": provider.default_base_url,
+ **{
+ f"default_{field.config_suffix}": field.default_value
+ for field in provider.extra_fields
+ },
+ **kwargs,
+ }
try:
- return tips.format(**kwargs)
+ return tips.format(**format_context)
except Exception as e:
logger.warning(f"format llm provider tips failed: {provider_id}, {e}")
return tips
-def get_llm_provider_label(provider_id, default_label):
- return tr_optional(f"llm_provider_label.{provider_id}") or default_label
+def get_llm_provider_label(provider):
+ return tr_optional(provider.label_key) or provider.default_label
def get_tts_provider_tips(provider_id):
- return tr_optional(f"tts_provider_tips.{provider_id}")
+ # TTS 配置说明与 LLM Provider 采用相同维护策略:只维护中英文,
+ # 其它界面语言统一回退英文,避免复制后长期不同步。
+ ui_language = st.session_state.get("ui_language", "en")
+ tips_language = ui_language if ui_language in {"zh", "en"} else "en"
+ return (
+ locales.get(tips_language, {})
+ .get("Translation", {})
+ .get(f"tts_provider_tips.{provider_id}", "")
+ )
def localized_widget_key(name, *parts):
@@ -329,12 +1350,141 @@ def localized_widget_key(name, *parts):
return "_".join(suffix_parts)
+def stable_selectbox(label, options, default_value, key, format_func=None, **kwargs):
+ # Streamlit 1.59 对 selectbox 的状态复用更敏感:如果控件没有固定 key,
+ # 或者真实选项只是一组临时下标,页面 rerun 后容易被重新计算的 index 覆盖,
+ # 表现为用户第一次选择不生效、需要再选一次。这个 helper 统一用稳定业务值
+ # 作为真实选项,并在 session_state 里保存该值;展示文案只通过 format_func
+ # 转换,避免翻译文案、选项顺序或上游配置变化影响选择状态。
+ options = list(options)
+ if not options:
+ raise ValueError(f"selectbox options cannot be empty: {key}")
+
+ if default_value not in options:
+ default_value = options[0]
+
+ widget_key = localized_widget_key(key)
+ selected_value = st.session_state.get(widget_key)
+ if selected_value not in options:
+ # 如果上游选项发生变化(例如切换 TTS provider 后声音列表变了),
+ # 旧值已经不合法。控件创建前直接初始化 session_state,之后只让 key
+ # 管理状态,不再同时传入 index。这样可以避免 Streamlit 在 rerun 时
+ # 用重新计算的 index 覆盖用户刚选择的值,导致第一次选择不生效。
+ st.session_state[widget_key] = default_value
+
+ if format_func is None:
+ format_func = str
+
+ return st.selectbox(
+ label,
+ options=options,
+ format_func=format_func,
+ key=widget_key,
+ **kwargs,
+ )
+
+
+def sync_script_order_concat_mode():
+ """在文案顺序匹配开启时固定使用顺序拼接,并在关闭后恢复原选择。"""
+ widget_key = localized_widget_key("video_concat_mode_select")
+ previous_key = "video_concat_mode_before_script_order_match"
+ match_script_order = bool(st.session_state.get("match_materials_to_script", False))
+
+ if match_script_order:
+ current_mode = st.session_state.get(widget_key, VideoConcatMode.random.value)
+ if current_mode != VideoConcatMode.sequential.value:
+ st.session_state[previous_key] = current_mode
+ st.session_state[widget_key] = VideoConcatMode.sequential.value
+ return
+
+ previous_mode = st.session_state.pop(previous_key, None)
+ if previous_mode in {
+ VideoConcatMode.sequential.value,
+ VideoConcatMode.random.value,
+ }:
+ st.session_state[widget_key] = previous_mode
+
+
+def reset_script_system_prompt():
+ """将高级脚本设置中的系统提示词恢复为当前版本的默认内容。"""
+ st.session_state["custom_system_prompt"] = llm.DEFAULT_SCRIPT_SYSTEM_PROMPT
+
+
+def reset_subtitle_settings():
+ """恢复 WebUI 字幕控件和持久化配置中的默认值。"""
+ defaults = DEFAULT_SUBTITLE_SETTINGS
+ st.session_state["subtitle_enabled_checkbox"] = defaults["subtitle_enabled"]
+ _set_stable_widget_value("font_name_select", defaults["font_name"])
+ _set_stable_widget_value("subtitle_position_select", defaults["subtitle_position"])
+ st.session_state["custom_position_input"] = str(defaults["custom_position"])
+ st.session_state["font_color_picker"] = defaults["text_fore_color"]
+ st.session_state["font_size_slider"] = defaults["font_size"]
+ st.session_state["stroke_color_picker"] = defaults["stroke_color"]
+ st.session_state["stroke_width_slider"] = defaults["stroke_width"]
+ st.session_state["subtitle_background_enabled_checkbox"] = defaults[
+ "subtitle_background_enabled"
+ ]
+ st.session_state["subtitle_background_color_picker"] = defaults[
+ "subtitle_background_color"
+ ]
+ st.session_state["rounded_subtitle_background_checkbox"] = defaults[
+ "rounded_subtitle_background"
+ ]
+
+ # 同步会持久化的 UI 选项,确保恢复后刷新页面仍保持默认设置。
+ for key in (
+ "font_name",
+ "subtitle_position",
+ "custom_position",
+ "text_fore_color",
+ "font_size",
+ "subtitle_background_enabled",
+ "subtitle_background_color",
+ "rounded_subtitle_background",
+ ):
+ config.ui[key] = defaults[key]
+
+
[email protected](tr("Final Prompt Preview"), width="large")
+def render_script_prompt_preview(prompt):
+ """展示将要发送给大模型的完整脚本生成提示词。"""
+ st.code(prompt, language="markdown", wrap_lines=True)
+
+
+def stable_segmented_control(
+ label, options, default_value, key, format_func=None, **kwargs
+):
+ """使用稳定业务值创建单选分段控件,避免语言切换后状态被展示文案覆盖。"""
+ options = list(options)
+ if not options:
+ raise ValueError(f"segmented control options cannot be empty: {key}")
+
+ if default_value not in options:
+ default_value = options[0]
+
+ widget_key = localized_widget_key(key)
+ if st.session_state.get(widget_key) not in options:
+ st.session_state[widget_key] = default_value
+
+ return st.segmented_control(
+ label,
+ options=options,
+ selection_mode="single",
+ required=True,
+ format_func=format_func or str,
+ key=widget_key,
+ **kwargs,
+ )
+
+
@st.cache_data(ttl=300, show_spinner=False)
def get_groq_model_ids(api_key: str, base_url: str) -> list[str]:
if not api_key:
return []
- normalized_base_url = (base_url or "https://api.groq.com/openai/v1").strip().rstrip("/")
+ normalized_base_url = (
+ (base_url or "https://api.groq.com/openai/v1").strip().rstrip("/")
+ )
models_url = f"{normalized_base_url}/models"
try:
@@ -359,533 +1509,690 @@ def get_groq_model_ids(api_key: str, base_url: str) -> list[str]:
logger.warning(f"failed to fetch groq models: {e}")
return []
-# 创建基础设置折叠框
-if not config.app.get("hide_config", False):
- with st.expander(tr("Basic Settings"), expanded=False):
- config_panels = st.columns(3)
- left_config_panel = config_panels[0]
- middle_config_panel = config_panels[1]
- right_config_panel = config_panels[2]
- # 左侧面板 - 日志设置
- with left_config_panel:
- # 是否隐藏配置面板
- hide_config = st.checkbox(
- tr("Hide Basic Settings"), value=config.app.get("hide_config", False)
+def _get_material_api_keys(config_key):
+ """将配置中的素材 API Key 统一转换为 WebUI 可编辑字符串。"""
+ api_keys = config.app.get(config_key, [])
+ if isinstance(api_keys, str):
+ api_keys = [api_keys]
+ return ", ".join(api_keys)
+
+
+def _save_material_api_keys(config_key, value):
+ """保存逗号分隔的素材 API Key,并允许用户显式清空旧配置。"""
+ normalized_value = value.replace(" ", "")
+ config.app[config_key] = normalized_value.split(",") if normalized_value else []
+
+
+def _format_file_size(size_bytes):
+ """将字节数格式化为适合设置页展示的紧凑容量文本。"""
+ size = float(max(0, size_bytes))
+ units = ("B", "KB", "MB", "GB", "TB")
+ for unit in units:
+ if size < 1024 or unit == units[-1]:
+ return f"{size:.0f} {unit}" if unit in ("B", "KB") else f"{size:.2f} {unit}"
+ size /= 1024
+ return f"{size_bytes} B"
+
+
[email protected]_data(ttl=30, show_spinner=False)
+def _get_video_cache_stats(max_age_days=None):
+ """
+ 短周期缓存目录统计,避免设置弹窗内普通控件交互反复扫描大量文件。
+
+ 缓存键包含清理天数,因此切换范围只会为每个范围扫描一次;主动刷新或清理
+ 完成后会显式清空,最多 30 秒的缓存不会影响实际删除时的二次扫描。
+ """
+ return cache_manager.get_video_cache_stats(max_age_days=max_age_days)
+
+
+def _render_cache_management_settings(panel):
+ """渲染默认在线视频素材缓存的统计、预览和安全清理操作。"""
+ with panel:
+ cleanup_message = st.session_state.pop("video_cache_cleanup_message", None)
+ if cleanup_message:
+ message_type, message = cleanup_message
+ if message_type == "success":
+ st.success(message)
+ else:
+ st.warning(message)
+
+ st.caption(tr("Video Cache Directory"))
+ st.code(cache_manager.video_cache_dir(), language="text")
+
+ total_stats = _get_video_cache_stats()
+ metric_count, metric_size, metric_oldest = st.columns(3)
+ metric_count.metric(tr("Cache File Count"), total_stats.file_count)
+ metric_size.metric(
+ tr("Cache Total Size"), _format_file_size(total_stats.total_size)
+ )
+ oldest_text = (
+ datetime.fromtimestamp(total_stats.oldest_mtime).strftime("%Y-%m-%d")
+ if total_stats.oldest_mtime is not None
+ else "-"
+ )
+ metric_oldest.metric(tr("Oldest Cache Date"), oldest_text)
+
+ st.caption(tr("Video Cache Management Help"))
+ cleanup_options = (30, 7, 90, None)
+ cleanup_labels = {
+ 30: tr("Cache Older Than 30 Days"),
+ 7: tr("Cache Older Than 7 Days"),
+ 90: tr("Cache Older Than 90 Days"),
+ None: tr("All Video Cache"),
+ }
+ max_age_days = st.selectbox(
+ tr("Cache Cleanup Range"),
+ options=cleanup_options,
+ format_func=lambda value: cleanup_labels[value],
+ key="video_cache_cleanup_range",
+ )
+ cleanup_preview = _get_video_cache_stats(max_age_days=max_age_days)
+ st.info(
+ tr("Cache Cleanup Preview").format(
+ count=cleanup_preview.file_count,
+ size=_format_file_size(cleanup_preview.total_size),
+ )
+ )
+
+ confirm_nonce = st.session_state.get("video_cache_cleanup_confirm_nonce", 0)
+ confirmed = st.checkbox(
+ tr("Confirm Cache Cleanup"),
+ key=f"video_cache_cleanup_confirm_{confirm_nonce}",
+ )
+ refresh_col, open_col, cleanup_col = st.columns(3)
+ if refresh_col.button(
+ tr("Refresh Cache Stats"),
+ key="refresh_video_cache_stats",
+ use_container_width=True,
+ icon=":material/refresh:",
+ ):
+ _get_video_cache_stats.clear()
+ st.rerun(scope="fragment")
+
+ if open_col.button(
+ tr("Open Cache Directory"),
+ key="open_video_cache_directory",
+ use_container_width=True,
+ icon=":material/folder_open:",
+ ):
+ webbrowser.open(Path(cache_manager.video_cache_dir()).as_uri())
+
+ cleanup_disabled = not confirmed or cleanup_preview.file_count == 0
+ if cleanup_col.button(
+ tr("Clean Cache Now"),
+ key="clean_video_cache_now",
+ type="primary",
+ disabled=cleanup_disabled,
+ use_container_width=True,
+ icon=":material/delete_sweep:",
+ ):
+ result = cache_manager.clean_video_cache(max_age_days=max_age_days)
+ message_key = (
+ "Cache Cleanup Completed With Failures"
+ if result.failed_count
+ else "Cache Cleanup Completed"
+ )
+ st.session_state["video_cache_cleanup_message"] = (
+ "warning" if result.failed_count else "success",
+ tr(message_key).format(
+ count=result.deleted_count,
+ size=_format_file_size(result.deleted_size),
+ failed=result.failed_count,
+ ),
)
- config.app["hide_config"] = hide_config
+ # Streamlit 不允许在控件实例化后修改同名 session_state。通过递增
+ # nonce 让下一次 fragment rerun 创建未勾选的新控件,避免清理完成后
+ # 危险确认状态被继续保留。
+ st.session_state["video_cache_cleanup_confirm_nonce"] = confirm_nonce + 1
+ _get_video_cache_stats.clear()
+ st.rerun(scope="fragment")
+
+
+# -----------------------------------------------------------------------------
+# 设置与提示词弹窗
+# -----------------------------------------------------------------------------
+
+
+# 设置属于低频操作,使用中等尺寸 Dialog 避免长期占用主页面纵向空间,
+# 同时控制阅读行宽,避免弹窗在宽屏设备上显得过于松散。
+# Dialog 继承 fragment 行为,内部控件交互只重绘弹窗;函数末尾单独保存配置,
+# 关闭时通过回调触发整页同步,确保生成流程读取最新 Provider 和界面设置。
+ tr("Settings"),
+ width="medium",
+ on_dismiss=_dismiss_settings_dialog,
+)
+def _render_settings_dialog():
+ with st.container():
+ # 历史 hide_config 只用于隐藏旧基础设置面板。改为固定设置入口后,该值
+ # 不再有用户可见意义,统一迁移为 false,避免旧配置影响后续版本。
+ config.app["hide_config"] = False
+ (
+ middle_config_panel,
+ right_config_panel,
+ cache_config_panel,
+ left_config_panel,
+ ) = st.tabs(
+ [
+ tr("LLM Settings Tab"),
+ tr("Material API Tab"),
+ tr("Cache Management Tab"),
+ tr("Interface Settings Tab"),
+ ]
+ )
- # 是否禁用日志显示
+ # 左侧面板 - 日志设置
+ with left_config_panel:
hide_log = st.checkbox(
- tr("Hide Log"), value=config.ui.get("hide_log", False)
+ tr("Hide Log"),
+ value=config.ui.get("hide_log", False),
+ key="hide_log_checkbox",
)
config.ui["hide_log"] = hide_log
+ _render_cache_management_settings(cache_config_panel)
+
# 中间面板 - LLM 设置
with middle_config_panel:
- st.write(tr("LLM Settings"))
- # 下拉框展示文本和后端 provider id 分开维护,避免 UI 文案变化
- # 污染 `config.app["llm_provider"]` 这类稳定配置值。
- llm_provider_options = [
- ("Kimi/Moonshot", "moonshot"),
- ("OpenAI", "openai"),
- ("AIHubMix", "aihubmix"),
- ("AIML API", "aimlapi"),
- ("EvoLink", "evolink"),
- ("VolcEngine", "volcengine"),
- ("Azure", "azure"),
- ("Qwen", "qwen"),
- ("DeepSeek", "deepseek"),
- ("ModelScope", "modelscope"),
- ("Gemini", "gemini"),
- ("Grok", "grok"),
- ("Groq", "groq"),
- ("Ollama", "ollama"),
- ("OneAPI", "oneapi"),
- ("Cloudflare", "cloudflare"),
- ("ERNIE", "ernie"),
- ("MiniMax", "minimax"),
- ("MiMo", "mimo"),
- ("Pollinations", "pollinations"),
- ("LiteLLM", "litellm"),
+ # 下拉顺序、默认 label 和稳定 provider id 全部来自 Registry;locale
+ # 只覆盖展示文案,不再让 Main.py 维护第二份 Provider 列表。
+ llm_provider_ids = [
+ provider.provider_id for provider in LLM_PROVIDER_REGISTRY
]
- llm_provider_ids = [provider_id for _, provider_id in llm_provider_options]
llm_provider_labels = {
- provider_id: get_llm_provider_label(provider_id, label)
- for label, provider_id in llm_provider_options
+ provider.provider_id: get_llm_provider_label(provider)
+ for provider in LLM_PROVIDER_REGISTRY
}
- saved_llm_provider = config.app.get("llm_provider", "moonshot").lower()
+ saved_llm_provider = config.app.get(
+ "llm_provider", DEFAULT_LLM_PROVIDER_ID
+ ).lower()
if saved_llm_provider not in llm_provider_ids:
- saved_llm_provider = "moonshot"
-
- # Streamlit 会把没有 key 的 selectbox 视为一个由 label/options/index
- # 共同决定的临时控件。如果每次选择后都根据 config.app 重新计算 index,
- # 用户第一次切换 provider 后控件可能被重建,表现为“必须选择两次才生效”。
- # 这里用稳定的 provider id 作为真实选项,并给控件固定 key;展示文案只
- # 通过 format_func 转换,避免 UI 文案变化影响状态。
- llm_provider_select_key = localized_widget_key("llm_provider_select")
- if st.session_state.get(llm_provider_select_key) not in (
- None,
- *llm_provider_ids,
- ):
- del st.session_state[llm_provider_select_key]
+ saved_llm_provider = DEFAULT_LLM_PROVIDER_ID
- llm_provider = st.selectbox(
+ llm_provider = stable_selectbox(
tr("LLM Provider"),
options=llm_provider_ids,
- index=llm_provider_ids.index(saved_llm_provider),
+ default_value=saved_llm_provider,
+ key="llm_provider_select",
format_func=lambda provider_id: llm_provider_labels[provider_id],
- key=llm_provider_select_key,
)
- llm_helper = st.container()
+ # 配置表单和 Provider 说明并排展示,减少长说明在窄列中的换行,
+ # 同时充分利用基础设置面板的横向空间。
+ llm_form_panel, llm_help_panel = st.columns(
+ [0.9, 1.1],
+ gap="large",
+ vertical_alignment="top",
+ )
+ llm_helper = llm_help_panel.container()
config.app["llm_provider"] = llm_provider
-
- llm_api_key = config.app.get(f"{llm_provider}_api_key", "")
- llm_secret_key = config.app.get(
- f"{llm_provider}_secret_key", ""
- ) # only for baidu ernie
- llm_base_url = config.app.get(f"{llm_provider}_base_url", "")
- llm_model_name = config.app.get(f"{llm_provider}_model_name", "")
- llm_account_id = config.app.get(f"{llm_provider}_account_id", "")
+ llm_provider_spec = get_llm_provider(llm_provider)
+ if llm_provider_spec is None:
+ # 正常情况下下拉选项全部来自 Registry,不会进入该分支;保留
+ # 明确错误用于诊断损坏的 session state 或后续接入遗漏。
+ raise RuntimeError(f"unsupported llm provider: {llm_provider}")
+
+ llm_api_key = config.app.get(llm_provider_spec.config_key("api_key"), "")
+ llm_base_url = (
+ config.app.get(llm_provider_spec.config_key("base_url"), "")
+ or llm_provider_spec.default_base_url
+ )
+ llm_default_base_url = llm_provider_spec.default_base_url
+ llm_model_name = llm_provider_spec.resolve_model_name(
+ config.app.get(llm_provider_spec.config_key("model_name"), "")
+ )
provider_tip_context = {}
if llm_provider == "ollama":
- if not llm_model_name:
- llm_model_name = "qwen:7b"
+ llm_default_base_url = config.get_default_ollama_base_url()
if not llm_base_url:
- llm_base_url = config.get_default_ollama_base_url()
+ llm_base_url = llm_default_base_url
docker_hint = ""
if config.is_running_in_container():
- docker_hint = tr_optional("llm_provider_tips.ollama.docker_hint")
+ docker_hint = tr_optional(
+ "llm_provider_tips.ollama.docker_hint",
+ fallback_language="en",
+ )
provider_tip_context["docker_hint"] = docker_hint
- if llm_provider == "openai":
- if not llm_model_name:
- llm_model_name = "gpt-3.5-turbo"
-
- if llm_provider == "aihubmix":
- if not llm_model_name:
- llm_model_name = "gpt-5.4-mini"
- if not llm_base_url:
- llm_base_url = "https://aihubmix.com/v1"
-
- if llm_provider == "aimlapi":
- if not llm_model_name:
- llm_model_name = "openai/gpt-4o-mini"
- if not llm_base_url:
- llm_base_url = "https://api.aimlapi.com/v1"
+ tips = get_llm_provider_tips(llm_provider, **provider_tip_context)
+ if tips:
+ with llm_helper:
+ st.info(tips)
- if llm_provider == "evolink":
- if not llm_model_name:
- llm_model_name = "gpt-5.5"
- if not llm_base_url:
- llm_base_url = "https://direct.evolink.ai/v1"
+ st_llm_api_key = llm_api_key
+ if llm_provider_spec.show_api_key:
+ st_llm_api_key = llm_form_panel.text_input(
+ tr("API Key"),
+ value=llm_api_key,
+ type="password",
+ key=f"{llm_provider}_api_key_input",
+ )
- if llm_provider == "volcengine":
- if not llm_model_name:
- llm_model_name = "doubao-seed-2-1-turbo-260628"
- if not llm_base_url:
- llm_base_url = "https://ark.cn-beijing.volces.com/api/v3"
+ st_llm_base_url = llm_base_url
+ if llm_provider_spec.show_base_url:
+ st_llm_base_url = llm_form_panel.text_input(
+ tr("Base Url"),
+ value=llm_base_url,
+ key=f"{llm_provider}_base_url_input",
+ )
+ st_llm_model_name = ""
+ if llm_provider == "groq":
+ effective_api_key = st_llm_api_key or llm_api_key
+ effective_base_url = st_llm_base_url or llm_base_url
+ groq_models = get_groq_model_ids(
+ api_key=effective_api_key,
+ base_url=effective_base_url,
+ )
- if llm_provider == "moonshot":
- if not llm_model_name:
- llm_model_name = "kimi-k2.7-code"
+ if groq_models:
+ selected_index = 0
+ if llm_model_name in groq_models:
+ selected_index = groq_models.index(llm_model_name)
- if llm_provider == "oneapi":
- if not llm_model_name:
- llm_model_name = (
- "claude-3-5-sonnet-20240620" # 默认模型,可以根据需要调整
+ st_llm_model_name = llm_form_panel.selectbox(
+ tr("Model Name"),
+ options=groq_models,
+ index=selected_index,
+ key="groq_model_name_select",
)
-
- if llm_provider == "qwen":
- if not llm_model_name:
- llm_model_name = "qwen-max"
-
- if llm_provider == "gemini":
- if not llm_model_name:
- llm_model_name = "gemini-1.0-pro"
-
- if llm_provider == "grok":
- if not llm_model_name:
- llm_model_name = "grok-4.3"
- if not llm_base_url:
- llm_base_url = "https://api.x.ai/v1"
-
- if llm_provider == "groq":
- if not llm_model_name:
- llm_model_name = "llama-3.3-70b-versatile"
- if not llm_base_url:
- llm_base_url = "https://api.groq.com/openai/v1"
-
- if llm_provider == "deepseek":
- if not llm_model_name:
- llm_model_name = "deepseek-chat"
- if not llm_base_url:
- llm_base_url = "https://api.deepseek.com"
-
- if llm_provider == "mimo":
- if not llm_model_name:
- llm_model_name = "mimo-v2.5-pro"
- if not llm_base_url:
- llm_base_url = "https://api.xiaomimimo.com/v1"
-
- if llm_provider == "modelscope":
- if not llm_model_name:
- llm_model_name = "Qwen/Qwen3-32B"
- if not llm_base_url:
- llm_base_url = "https://api-inference.modelscope.cn/v1/"
-
- if llm_provider == "pollinations":
- if not llm_model_name:
- llm_model_name = "default"
-
- if llm_provider == "litellm":
- if not llm_model_name:
- llm_model_name = "openai/gpt-4o-mini"
-
- tips = get_llm_provider_tips(llm_provider, **provider_tip_context)
- if tips:
- with llm_helper:
- st.info(tips)
-
- st_llm_api_key = st.text_input(
- tr("API Key"), value=llm_api_key, type="password"
- )
- st_llm_base_url = st.text_input(tr("Base Url"), value=llm_base_url)
- st_llm_model_name = ""
- if llm_provider != "ernie":
- if llm_provider == "groq":
- effective_api_key = st_llm_api_key or llm_api_key
- effective_base_url = st_llm_base_url or llm_base_url
- groq_models = get_groq_model_ids(
- api_key=effective_api_key,
- base_url=effective_base_url,
- )
-
- if groq_models:
- selected_index = 0
- if llm_model_name in groq_models:
- selected_index = groq_models.index(llm_model_name)
-
- st_llm_model_name = st.selectbox(
- tr("Model Name"),
- options=groq_models,
- index=selected_index,
- key="groq_model_name_select",
- )
- else:
- st_llm_model_name = st.text_input(
- tr("Model Name"),
- value=llm_model_name,
- key="groq_model_name_input",
- )
- if effective_api_key:
- st.caption(tr("Groq Model List Load Failed"))
- else:
- st.caption(tr("Groq API Key Required for Model List"))
else:
- st_llm_model_name = st.text_input(
+ st_llm_model_name = llm_form_panel.text_input(
tr("Model Name"),
value=llm_model_name,
- key=f"{llm_provider}_model_name_input",
+ key="groq_model_name_input",
)
- if st_llm_model_name:
- config.app[f"{llm_provider}_model_name"] = st_llm_model_name
+ if effective_api_key:
+ llm_form_panel.caption(tr("Groq Model List Load Failed"))
+ else:
+ llm_form_panel.caption(
+ tr("Groq API Key Required for Model List")
+ )
else:
- st_llm_model_name = None
-
- if st_llm_api_key:
- config.app[f"{llm_provider}_api_key"] = st_llm_api_key
- if st_llm_base_url:
- config.app[f"{llm_provider}_base_url"] = st_llm_base_url
- if st_llm_model_name:
- config.app[f"{llm_provider}_model_name"] = st_llm_model_name
- if llm_provider == "ernie":
- st_llm_secret_key = st.text_input(
- tr("Secret Key"), value=llm_secret_key, type="password"
+ st_llm_model_name = llm_form_panel.text_input(
+ tr("Model Name"),
+ value=llm_model_name,
+ key=f"{llm_provider}_model_name_input",
)
- config.app[f"{llm_provider}_secret_key"] = st_llm_secret_key
-
- if llm_provider == "cloudflare":
- st_llm_account_id = st.text_input(
- tr("Account ID"), value=llm_account_id
+ # 输入框展示 Registry 默认值,但配置只保存真实的用户覆盖值。
+ # 这样默认模型、Base URL 更新后,未自定义的用户能够自动跟随。
+ config.app[llm_provider_spec.config_key("api_key")] = st_llm_api_key
+ config.app[llm_provider_spec.config_key("base_url")] = (
+ normalize_provider_override(
+ st_llm_base_url,
+ llm_default_base_url,
)
- if st_llm_account_id:
- config.app[f"{llm_provider}_account_id"] = st_llm_account_id
-
- # 右侧面板 - API 密钥设置
- with right_config_panel:
+ )
+ config.app[llm_provider_spec.config_key("model_name")] = (
+ normalize_provider_override(
+ st_llm_model_name,
+ llm_provider_spec.default_model,
+ )
+ )
- def get_keys_from_config(cfg_key):
- api_keys = config.app.get(cfg_key, [])
- if isinstance(api_keys, str):
- api_keys = [api_keys]
- api_key = ", ".join(api_keys)
- return api_key
+ # Provider 专用字段也由 Registry 声明。例如 Cloudflare AI Gateway
+ # 需要 Account ID;以后新增类似字段时无需再在 Main.py 增加判断。
+ for field in llm_provider_spec.extra_fields:
+ field_config_key = llm_provider_spec.config_key(field.config_suffix)
+ field_value = llm_form_panel.text_input(
+ tr(field.label_key),
+ value=(config.app.get(field_config_key, "") or field.default_value),
+ type="password" if field.secret else "default",
+ key=f"{llm_provider}_{field.config_suffix}_input",
+ )
+ config.app[field_config_key] = normalize_provider_override(
+ field_value,
+ field.default_value,
+ )
- def save_keys_to_config(cfg_key, value):
- value = value.replace(" ", "")
- if value:
- config.app[cfg_key] = value.split(",")
+ if llm_form_panel.button(
+ tr("Test LLM Connection"),
+ key="test_llm_connection_button",
+ use_container_width=True,
+ type="secondary",
+ icon=":material/network_check:",
+ ):
+ with llm_form_panel.spinner(tr("Testing LLM Connection")):
+ with config.runtime_config_lock():
+ connection_ok, connection_error, connection_elapsed = (
+ llm.test_connection()
+ )
- st.write(tr("Video Source Settings"))
+ if connection_ok:
+ llm_form_panel.success(
+ tr("LLM Connection Test Succeeded").format(
+ provider=llm_provider_labels[llm_provider],
+ model=st_llm_model_name or "-",
+ elapsed=f"{connection_elapsed:.2f}",
+ )
+ )
+ else:
+ llm_form_panel.error(
+ tr("LLM Connection Test Failed").format(error=connection_error)
+ )
- pexels_api_key = get_keys_from_config("pexels_api_keys")
+ # 右侧面板 - API 密钥设置
+ with right_config_panel:
+ pexels_api_key = _get_material_api_keys("pexels_api_keys")
pexels_api_key = st.text_input(
- tr("Pexels API Key"), value=pexels_api_key, type="password"
+ tr("Pexels API Key"),
+ value=pexels_api_key,
+ type="password",
+ key="pexels_api_keys_input",
)
- save_keys_to_config("pexels_api_keys", pexels_api_key)
+ _save_material_api_keys("pexels_api_keys", pexels_api_key)
- pixabay_api_key = get_keys_from_config("pixabay_api_keys")
+ pixabay_api_key = _get_material_api_keys("pixabay_api_keys")
pixabay_api_key = st.text_input(
- tr("Pixabay API Key"), value=pixabay_api_key, type="password"
+ tr("Pixabay API Key"),
+ value=pixabay_api_key,
+ type="password",
+ key="pixabay_api_keys_input",
)
- save_keys_to_config("pixabay_api_keys", pixabay_api_key)
+ _save_material_api_keys("pixabay_api_keys", pixabay_api_key)
- coverr_api_key = get_keys_from_config("coverr_api_keys")
+ coverr_api_key = _get_material_api_keys("coverr_api_keys")
coverr_api_key = st.text_input(
- tr("Coverr API Key"), value=coverr_api_key, type="password"
+ tr("Coverr API Key"),
+ value=coverr_api_key,
+ type="password",
+ key="coverr_api_keys_input",
)
- save_keys_to_config("coverr_api_keys", coverr_api_key)
+ _save_material_api_keys("coverr_api_keys", coverr_api_key)
-llm_provider = config.app.get("llm_provider", "").lower()
-panel = st.columns(3)
-left_panel = panel[0]
-middle_panel = panel[1]
-right_panel = panel[2]
+ config.save_config()
-params = VideoParams(video_subject="")
-params.match_materials_to_script = bool(
- st.session_state.get("match_materials_to_script", False)
-)
-uploaded_files = []
-uploaded_audio_file = None
-
-with left_panel:
- with st.container(border=True):
- st.write(tr("Video Script Settings"))
- params.video_subject = st.text_input(
- tr("Video Subject"),
- key="video_subject",
- ).strip()
-
- video_languages = [
- (tr("Auto Detect"), ""),
- ]
- for code in support_locales:
- video_languages.append((code, code))
-
- selected_index = st.selectbox(
- tr("Script Language"),
- index=0,
- options=range(
- len(video_languages)
- ), # Use the index as the internal option value
- format_func=lambda x: video_languages[x][
- 0
- ], # The label is displayed to the user
- )
- params.video_language = video_languages[selected_index][1]
-
- with st.expander(tr("Advanced Script Settings"), expanded=False):
- params.paragraph_number = st.slider(
- tr("Script Paragraph Number"),
- min_value=llm.MIN_SCRIPT_PARAGRAPH_NUMBER,
- max_value=llm.MAX_SCRIPT_PARAGRAPH_NUMBER,
- value=st.session_state.get("paragraph_number_input", 1),
- key="paragraph_number_input",
- )
- params.video_script_prompt = st.text_area(
- tr("Custom Script Requirements"),
- height=100,
- max_chars=llm.MAX_SCRIPT_PROMPT_LENGTH,
- placeholder=tr("Custom Script Requirements Placeholder"),
- key="video_script_prompt",
+
+# -----------------------------------------------------------------------------
+# 主生成表单:文案、视频、音频与字幕面板
+# -----------------------------------------------------------------------------
+
+
+def _render_script_settings(panel, params):
+ """渲染文案设置并更新生成参数。"""
+ with panel:
+ with st.container(border=True):
+ st.write(tr("Video Script Settings"))
+ params.video_subject = st.text_input(
+ tr("Video Subject"),
+ placeholder=tr("Video Subject Placeholder"),
+ key="video_subject",
).strip()
- use_custom_system_prompt = st.checkbox(
- tr("Use Custom System Prompt"),
- help=tr("Use Custom System Prompt Help"),
- key="use_custom_system_prompt",
+ video_languages = [
+ (tr("Auto Detect"), ""),
+ ]
+ for code in support_locales:
+ video_languages.append((code, code))
+
+ selected_language_code = stable_selectbox(
+ tr("Script Language"),
+ options=[value for _, value in video_languages],
+ default_value="",
+ key="script_language_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in video_languages
+ )[value],
)
+ params.video_language = selected_language_code
+
+ # 使用带 key 的局部容器限定折叠入口样式,保持 expander 的原生交互,
+ # 同时避免样式误伤页面顶部的“基础设置”等其他折叠区域。
+ with st.container(key="advanced_settings_script"):
+ with st.expander(tr("Advanced Script Settings"), expanded=False):
+ st.session_state.setdefault("paragraph_number_input", 1)
+ params.paragraph_number = st.slider(
+ tr("Script Paragraph Number"),
+ min_value=llm.MIN_SCRIPT_PARAGRAPH_NUMBER,
+ max_value=llm.MAX_SCRIPT_PARAGRAPH_NUMBER,
+ key="paragraph_number_input",
+ )
+ params.video_script_prompt = st.text_area(
+ tr("Custom Script Requirements"),
+ height=100,
+ max_chars=llm.MAX_SCRIPT_PROMPT_LENGTH,
+ placeholder=tr("Custom Script Requirements Placeholder"),
+ key="video_script_prompt",
+ ).strip()
+
+ system_prompt = st.text_area(
+ tr("Custom System Prompt"),
+ height=240,
+ max_chars=llm.MAX_SCRIPT_SYSTEM_PROMPT_LENGTH,
+ key="custom_system_prompt",
+ ).strip()
+ # 默认内容由服务层统一维护。界面虽然直接展示默认提示词,但只有
+ # 用户实际修改后才随任务传递,避免历史任务固化旧版本默认规则。
+ params.custom_system_prompt = (
+ ""
+ if system_prompt == llm.DEFAULT_SCRIPT_SYSTEM_PROMPT.strip()
+ else system_prompt
+ )
- if use_custom_system_prompt:
- custom_system_prompt = st.text_area(
- tr("Custom System Prompt"),
- height=240,
- max_chars=llm.MAX_SCRIPT_SYSTEM_PROMPT_LENGTH,
- key="custom_system_prompt",
- ).strip()
- params.custom_system_prompt = custom_system_prompt
- else:
- params.custom_system_prompt = ""
+ restore_prompt_col, preview_prompt_col = st.columns(2)
+ if restore_prompt_col.button(
+ tr("Restore Default System Prompt"),
+ key="restore_default_system_prompt",
+ icon=":material/restart_alt:",
+ on_click=reset_script_system_prompt,
+ use_container_width=True,
+ ):
+ st.toast(tr("Default System Prompt Restored"))
+ if preview_prompt_col.button(
+ tr("Preview Final Prompt"),
+ key="preview_final_script_prompt",
+ icon=":material/preview:",
+ use_container_width=True,
+ ):
+ render_script_prompt_preview(
+ llm.build_script_prompt(
+ video_subject=params.video_subject,
+ language=params.video_language,
+ paragraph_number=params.paragraph_number,
+ video_script_prompt=params.video_script_prompt,
+ custom_system_prompt=params.custom_system_prompt,
+ )
+ )
- if st.button(
- tr("Generate Video Script and Keywords"), key="auto_generate_script"
- ):
- with st.spinner(tr("Generating Video Script and Keywords")):
- script = llm.generate_script(
- video_subject=params.video_subject,
- language=params.video_language,
- paragraph_number=params.paragraph_number,
- video_script_prompt=params.video_script_prompt,
- custom_system_prompt=params.custom_system_prompt,
- )
- terms = llm.generate_terms(
- params.video_subject,
- script,
- amount=8 if params.match_materials_to_script else 5,
- match_script_order=params.match_materials_to_script,
- )
- if "Error: " in script:
- st.error(tr(script))
- elif "Error: " in terms:
- st.error(tr(terms))
+ if st.button(
+ tr("Generate Video Script and Keywords"),
+ key="auto_generate_script",
+ use_container_width=True,
+ type="secondary",
+ icon=":material/auto_awesome:",
+ ):
+ if not params.video_subject:
+ # 视频主题是脚本生成的必要输入,提前拦截可以避免无意义的模型调用。
+ st.toast(tr("Please Enter the Video Subject First"))
+ st.warning(tr("Please Enter the Video Subject First"))
else:
- st.session_state["video_script"] = script
- st.session_state["video_terms"] = ", ".join(terms)
- params.video_script = st.text_area(
- tr("Video Script"), value=st.session_state["video_script"], height=280
- )
- if st.button(tr("Generate Video Keywords"), key="auto_generate_terms"):
- if not params.video_script:
- st.error(tr("Please Enter the Video Subject"))
- st.stop()
-
- with st.spinner(tr("Generating Video Keywords")):
- terms = llm.generate_terms(
- params.video_subject,
- params.video_script,
- amount=8 if params.match_materials_to_script else 5,
- match_script_order=params.match_materials_to_script,
- )
- if "Error: " in terms:
- st.error(tr(terms))
+ with st.spinner(tr("Generating Video Script and Keywords")):
+ with config.runtime_config_lock():
+ script = llm.generate_script(
+ video_subject=params.video_subject,
+ language=params.video_language,
+ paragraph_number=params.paragraph_number,
+ video_script_prompt=params.video_script_prompt,
+ custom_system_prompt=params.custom_system_prompt,
+ )
+ terms = llm.generate_terms(
+ params.video_subject,
+ script,
+ amount=8 if params.match_materials_to_script else 5,
+ match_script_order=params.match_materials_to_script,
+ )
+ if "Error: " in script:
+ st.error(tr(script))
+ elif "Error: " in terms:
+ st.error(tr(terms))
+ else:
+ st.session_state["video_script"] = script
+ st.session_state["video_terms"] = ", ".join(terms)
+ params.video_script = st.text_area(
+ tr("Video Script"),
+ help=tr("Video Script Help"),
+ height=180,
+ key="video_script",
+ )
+ if st.button(
+ tr("Generate Video Keywords"),
+ key="auto_generate_terms",
+ use_container_width=True,
+ type="secondary",
+ icon=":material/auto_awesome:",
+ ):
+ if not params.video_script:
+ # 视频关键词需要基于文案提取,文案为空时提前提示并跳过模型调用。
+ st.toast(tr("Please Enter the Video Subject"))
+ st.warning(tr("Please Enter the Video Subject"))
else:
- st.session_state["video_terms"] = ", ".join(terms)
+ with st.spinner(tr("Generating Video Keywords")):
+ with config.runtime_config_lock():
+ terms = llm.generate_terms(
+ params.video_subject,
+ params.video_script,
+ amount=8 if params.match_materials_to_script else 5,
+ match_script_order=params.match_materials_to_script,
+ )
+ if "Error: " in terms:
+ st.error(tr(terms))
+ else:
+ st.session_state["video_terms"] = ", ".join(terms)
- params.video_terms = st.text_area(
- tr("Video Keywords"), value=st.session_state["video_terms"]
- )
+ params.video_terms = st.text_area(
+ tr("Video Keywords"),
+ help=tr("Video Keywords Help"),
+ key="video_terms",
+ )
-with middle_panel:
- with st.container(border=True):
- st.write(tr("Video Settings"))
- video_concat_modes = [
- (tr("Sequential"), "sequential"),
- (tr("Random"), "random"),
- ]
- video_sources = [
- (tr("Pexels"), "pexels"),
- (tr("Pixabay"), "pixabay"),
- (tr("Coverr"), "coverr"),
- (tr("Local file"), "local"),
- (tr("TikTok"), "douyin"),
- (tr("Bilibili"), "bilibili"),
- (tr("Xiaohongshu"), "xiaohongshu"),
- ]
-
- saved_video_source_name = config.app.get("video_source", "pexels")
- saved_video_source_index = [v[1] for v in video_sources].index(
- saved_video_source_name
- )
- selected_index = st.selectbox(
- tr("Video Source"),
- options=range(len(video_sources)),
- format_func=lambda x: video_sources[x][0],
- index=saved_video_source_index,
- )
- params.video_source = video_sources[selected_index][1]
- config.app["video_source"] = params.video_source
-
- if params.video_source == "local":
- # Streamlit 的文件类型校验对扩展名大小写敏感,这里同时放行大小写两种形式。
- local_file_types = ["mp4", "mov", "avi", "flv", "mkv", "jpg", "jpeg", "png"]
- uploaded_files = st.file_uploader(
- tr("Upload Local Files"),
- type=local_file_types + [file_type.upper() for file_type in local_file_types],
- accept_multiple_files=True,
- )
+def _render_video_settings(panel, params):
+ """渲染视频设置并返回本次选择的本地素材。"""
+ uploaded_files = []
+ with panel:
+ with st.container(border=True):
+ st.write(tr("Video Settings"))
+ video_concat_modes = [
+ (tr("Sequential"), "sequential"),
+ (tr("Random"), "random"),
+ ]
+ video_sources = [
+ (tr("Pexels"), "pexels"),
+ (tr("Pixabay"), "pixabay"),
+ (tr("Coverr"), "coverr"),
+ (tr("Local file"), "local"),
+ ]
- selected_index = st.selectbox(
- tr("Video Concat Mode"),
- index=1,
- options=range(
- len(video_concat_modes)
- ), # Use the index as the internal option value
- format_func=lambda x: video_concat_modes[x][
- 0
- ], # The label is displayed to the user
- )
- params.video_concat_mode = VideoConcatMode(
- video_concat_modes[selected_index][1]
- )
+ saved_video_source_name = config.app.get("video_source", "pexels")
- # 视频转场模式
- video_transition_modes = [
- (tr("None"), VideoTransitionMode.none.value),
- (tr("Shuffle"), VideoTransitionMode.shuffle.value),
- (tr("FadeIn"), VideoTransitionMode.fade_in.value),
- (tr("FadeOut"), VideoTransitionMode.fade_out.value),
- (tr("SlideIn"), VideoTransitionMode.slide_in.value),
- (tr("SlideOut"), VideoTransitionMode.slide_out.value),
- ]
- selected_index = st.selectbox(
- tr("Video Transition Mode"),
- options=range(len(video_transition_modes)),
- format_func=lambda x: video_transition_modes[x][0],
- index=0,
- )
- params.video_transition_mode = VideoTransitionMode(
- video_transition_modes[selected_index][1]
- )
+ params.video_source = stable_selectbox(
+ tr("Video Source"),
+ options=[value for _, value in video_sources],
+ default_value=saved_video_source_name,
+ key="video_source_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in video_sources
+ )[value],
+ )
+ config.app["video_source"] = params.video_source
- video_aspect_ratios = [
- (tr("Portrait"), VideoAspect.portrait.value),
- (tr("Landscape"), VideoAspect.landscape.value),
- ]
- # Coverr 库 99% 是 16:9 横屏,默认竖屏会让画面被大量黑边包围。
- # 用 source-specific widget key 让每个 source 各自记忆 aspect 选择:
- # - 首次切到 coverr → 默认 Landscape(index=1)
- # - 其他 source 沿用 Portrait(index=0)
- # - 用户在某 source 下手动改过 aspect,session_state 会记住,
- # 下次回到同一 source 时尊重用户选择,不会再被强制覆盖。
- default_aspect_index = 1 if params.video_source == "coverr" else 0
- selected_index = st.selectbox(
- tr("Video Ratio"),
- options=range(
- len(video_aspect_ratios)
- ), # Use the index as the internal option value
- format_func=lambda x: video_aspect_ratios[x][
- 0
- ], # The label is displayed to the user
- index=default_aspect_index,
- key=localized_widget_key("video_aspect_for", params.video_source),
- )
- params.video_aspect = VideoAspect(video_aspect_ratios[selected_index][1])
+ if params.video_source == "local":
+ # Streamlit 的文件类型校验对扩展名大小写敏感,这里同时放行大小写两种形式。
+ local_file_types = sorted(
+ extension.removeprefix(".")
+ for extension in LOCAL_MATERIAL_EXTENSIONS
+ )
+ uploaded_files = st.file_uploader(
+ tr("Upload Local Files"),
+ type=local_file_types
+ + [file_type.upper() for file_type in local_file_types],
+ accept_multiple_files=True,
+ key="local_video_materials_uploader",
+ )
- params.video_clip_duration = st.selectbox(
- tr("Clip Duration"), options=[2, 3, 4, 5, 6, 7, 8, 9, 10], index=1
- )
- params.video_count = st.selectbox(
- tr("Number of Videos Generated Simultaneously"),
- options=[1, 2, 3, 4, 5],
- index=0,
- )
+ # 文案顺序匹配会从关键词生成到最终合成全程保持叙事顺序,因此开启时
+ # 顺序拼接是唯一符合实际执行逻辑的选项。同步控件值可避免界面仍显示
+ # “随机拼接”,同时保留用户原选择,关闭后自动恢复。
+ sync_script_order_concat_mode()
+ selected_concat_mode = stable_selectbox(
+ tr("Video Concat Mode"),
+ options=[value for _, value in video_concat_modes],
+ default_value=VideoConcatMode.random.value,
+ key="video_concat_mode_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in video_concat_modes
+ )[value],
+ disabled=bool(st.session_state.get("match_materials_to_script", False)),
+ )
+ params.video_concat_mode = VideoConcatMode(selected_concat_mode)
- with st.expander(tr("Advanced Video Settings"), expanded=False):
- # 默认关闭,避免影响老用户的随机素材体验。开启后只改变关键词和素材
- # 下载/拼接顺序,用于改善画面主题早于或晚于旁白的问题。
params.match_materials_to_script = st.checkbox(
tr("Match Materials to Script Order"),
help=tr("Match Materials to Script Order Help"),
key="match_materials_to_script",
+ on_change=sync_script_order_concat_mode,
)
config.app["match_materials_to_script"] = params.match_materials_to_script
+ # 视频转场模式
+ video_transition_modes = [
+ (tr("None"), VideoTransitionMode.none.value),
+ (tr("Shuffle"), VideoTransitionMode.shuffle.value),
+ (tr("FadeIn"), VideoTransitionMode.fade_in.value),
+ (tr("FadeOut"), VideoTransitionMode.fade_out.value),
+ (tr("SlideIn"), VideoTransitionMode.slide_in.value),
+ (tr("SlideOut"), VideoTransitionMode.slide_out.value),
+ ]
+ selected_transition_mode = stable_selectbox(
+ tr("Video Transition Mode"),
+ options=[value for _, value in video_transition_modes],
+ default_value=VideoTransitionMode.none.value,
+ key="video_transition_mode_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in video_transition_modes
+ )[value],
+ )
+ params.video_transition_mode = VideoTransitionMode(selected_transition_mode)
+
+ video_aspect_ratios = [
+ (tr("Portrait"), VideoAspect.portrait.value),
+ (tr("Landscape"), VideoAspect.landscape.value),
+ ]
+ # Coverr 库 99% 是 16:9 横屏,默认竖屏会让画面被大量黑边包围。
+ # 用 source-specific widget key 让每个 source 各自记忆 aspect 选择:
+ # - 首次切到 coverr → 默认 Landscape(index=1)
+ # - 其他 source 沿用 Portrait(index=0)
+ # - 用户在某 source 下手动改过 aspect,session_state 会记住,
+ # 下次回到同一 source 时尊重用户选择,不会再被强制覆盖。
+ default_aspect_index = 1 if params.video_source == "coverr" else 0
+ selected_aspect_ratio = stable_selectbox(
+ tr("Video Ratio"),
+ options=[value for _, value in video_aspect_ratios],
+ default_value=video_aspect_ratios[default_aspect_index][1],
+ key=f"video_aspect_for_{params.video_source}",
+ format_func=lambda value: dict(
+ (v, label) for label, v in video_aspect_ratios
+ )[value],
+ )
+ params.video_aspect = VideoAspect(selected_aspect_ratio)
+
+ params.video_clip_duration = stable_selectbox(
+ tr("Clip Duration"),
+ options=[2, 3, 4, 5, 6, 7, 8, 9, 10],
+ default_value=3,
+ key="video_clip_duration_select",
+ help=tr("Clip Duration Help"),
+ )
+ params.video_count = stable_selectbox(
+ tr("Number of Videos Generated Simultaneously"),
+ options=[1, 2, 3, 4, 5],
+ default_value=1,
+ key="video_count_select",
+ )
+
video_codec_options = [
+ (tr("Default Video Encoder"), DEFAULT_VIDEO_CODEC_OPTION),
("libx264 (CPU)", "libx264"),
("NVIDIA NVENC (h264_nvenc)", "h264_nvenc"),
("AMD AMF (h264_amf)", "h264_amf"),
@@ -893,107 +2200,269 @@ with middle_panel:
("Windows MediaFoundation (h264_mf)", "h264_mf"),
("macOS VideoToolbox (h264_videotoolbox)", "h264_videotoolbox"),
]
- saved_video_codec = config.app.get("video_codec", "libx264")
+ saved_video_codec = config.app.get(
+ "video_codec", DEFAULT_VIDEO_CODEC_OPTION
+ )
saved_video_codec_values = [item[1] for item in video_codec_options]
if saved_video_codec not in saved_video_codec_values:
- saved_video_codec = "libx264"
- selected_codec_index = saved_video_codec_values.index(saved_video_codec)
- selected_codec_index = st.selectbox(
+ # 旧版本或手工配置可能留下无效值。UI 回到“默认”而不是替用户
+ # 固定某个编码器,后端仍会按稳定策略解析为 libx264。
+ saved_video_codec = DEFAULT_VIDEO_CODEC_OPTION
+ selected_video_codec = stable_selectbox(
tr("Video Encoder"),
- options=range(len(video_codec_options)),
- index=selected_codec_index,
- format_func=lambda x: video_codec_options[x][0],
+ options=saved_video_codec_values,
+ default_value=saved_video_codec,
+ key="video_encoder_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in video_codec_options
+ )[value],
help=tr("Video Encoder Help"),
)
- config.app["video_codec"] = video_codec_options[selected_codec_index][1]
- with st.container(border=True):
- st.write(tr("Audio Settings"))
-
- # 添加TTS服务器选择下拉框
- tts_servers = [
- (voice.NO_VOICE_NAME, tr("No Voice")),
- ("azure-tts-v1", "Azure TTS V1"),
- ("azure-tts-v2", "Azure TTS V2"),
- ("siliconflow", "SiliconFlow TTS"),
- ("gemini-tts", "Google Gemini TTS"),
- ("mimo-tts", "Xiaomi MiMo TTS"),
- ("elevenlabs", "ElevenLabs TTS"),
- ("chatterbox", "Chatterbox TTS"),
- ]
-
- # 获取保存的TTS服务器,默认为v1
- saved_tts_server = config.ui.get("tts_server", "azure-tts-v1")
- saved_tts_server_index = 0
- for i, (server_value, _) in enumerate(tts_servers):
- if server_value == saved_tts_server:
- saved_tts_server_index = i
- break
-
- selected_tts_server_index = st.selectbox(
- tr("TTS Servers"),
- options=range(len(tts_servers)),
- format_func=lambda x: tts_servers[x][1],
- index=saved_tts_server_index,
+ if selected_video_codec == DEFAULT_VIDEO_CODEC_OPTION:
+ # 默认模式不持久化具体编码器,让配置表达“跟随项目默认值”。
+ config.app.pop("video_codec", None)
+ else:
+ config.app["video_codec"] = selected_video_codec
+ return uploaded_files
+
+
+def _render_voice_preview(params, friendly_names, selected_tts_server, voice_name):
+ """使用当前音色、音量和语速生成一段试听音频。"""
+ if not friendly_names or not st.button(
+ tr("Play Voice"),
+ key="play_voice_button",
+ icon=":material/graphic_eq:",
+ ):
+ return
+
+ if selected_tts_server == "chatterbox":
+ _sync_chatterbox_config_from_session_state()
+ play_content = params.video_subject or params.video_script
+ if not play_content:
+ # ElevenLabs 音色缺少明确语言字段时,根据展示名称中的越南语字符
+ # 选择试听文案,避免用不匹配的语言判断音色效果。
+ if voice.is_elevenlabs_voice(voice_name):
+ parts = voice_name.split(":", 2)
+ display = parts[2] if len(parts) >= 3 else ""
+ vietnamese_chars = set("àáâãèéêìíòóôõùúýăđơưÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚÝĂĐƠƯ")
+ if any(char in vietnamese_chars for char in display):
+ play_content = "Xin chào, đây là đoạn âm thanh thử nghiệm giọng nói."
+ else:
+ play_content = tr("Voice Example")
+ else:
+ play_content = tr("Voice Example")
+
+ with st.spinner(tr("Synthesizing Voice")):
+ temp_dir = utils.storage_dir("temp", create=True)
+ audio_file = os.path.join(temp_dir, f"tmp-voice-{str(uuid4())}.mp3")
+ logger.info(
+ "generating voice preview: "
+ f"voice={voice_name}, rate={params.voice_rate}, "
+ f"volume={params.voice_volume}"
)
+ with config.runtime_config_lock():
+ sub_maker = voice.tts(
+ text=play_content,
+ voice_name=voice_name,
+ voice_rate=params.voice_rate,
+ voice_file=audio_file,
+ voice_volume=params.voice_volume,
+ )
+ # 首次试听失败后仍在同一个配置锁中重试,避免两个请求之间
+ # 被其它标签页切换 TTS Provider 或 API Key。
+ if not sub_maker:
+ play_content = "This is an example voice."
+ sub_maker = voice.tts(
+ text=play_content,
+ voice_name=voice_name,
+ voice_rate=params.voice_rate,
+ voice_file=audio_file,
+ voice_volume=params.voice_volume,
+ )
- selected_tts_server = tts_servers[selected_tts_server_index][0]
- config.ui["tts_server"] = selected_tts_server
-
- # 根据选择的TTS服务器获取声音列表
- filtered_voices = []
-
- if selected_tts_server == voice.NO_VOICE_NAME:
- # 无配音是显式模式,只提供一个稳定 sentinel。这样普通 TTS 的空配置
- # 不会被误判为静音,后端也能继续通过同一条音频/字幕流程生成视频。
- filtered_voices = [voice.NO_VOICE_NAME]
- elif selected_tts_server == "siliconflow":
- # 获取硅基流动的声音列表
- filtered_voices = voice.get_siliconflow_voices()
- elif selected_tts_server == "gemini-tts":
- # 获取Gemini TTS的声音列表
- filtered_voices = voice.get_gemini_voices()
- elif selected_tts_server == "mimo-tts":
- # 获取 Xiaomi MiMo TTS 的预置音色列表
- filtered_voices = voice.get_mimo_voices()
- elif selected_tts_server == "elevenlabs":
- # Read from session_state first so the API key is available before
- # the Play Voice button runs (which is earlier in the script than
- # the API key text_input widget).
- saved_elevenlabs_api_key = st.session_state.get(
- "elevenlabs_api_key_input",
- config.elevenlabs.get("api_key", ""),
+ if not sub_maker or not os.path.exists(audio_file):
+ return
+ try:
+ with open(audio_file, "rb") as file:
+ audio_bytes = file.read()
+ if audio_bytes:
+ st.audio(
+ audio_bytes,
+ format=_detect_audio_mime(audio_file, audio_bytes),
+ )
+ else:
+ logger.error(f"voice preview audio file is empty: {audio_file}")
+ finally:
+ # 试听文件只服务当前 rerun,渲染为内存数据后立即清理。
+ if os.path.exists(audio_file):
+ os.remove(audio_file)
+
+
+def _render_background_music_settings(params):
+ """渲染背景音乐来源与音量设置。"""
+ st.divider()
+ bgm_options = [
+ (tr("No Background Music"), ""),
+ (tr("Random Background Music"), "random"),
+ (tr("Custom Background Music"), "custom"),
+ ]
+ selected_bgm_type = stable_selectbox(
+ tr("Background Music Source"),
+ options=[value for _, value in bgm_options],
+ default_value="random",
+ key="bgm_type_select",
+ format_func=lambda value: dict((v, label) for label, v in bgm_options)[value],
+ )
+ params.bgm_type = selected_bgm_type
+
+ if params.bgm_type == "custom":
+ custom_bgm_file = st.text_input(
+ tr("Custom Background Music File"),
+ key="custom_bgm_file_input",
+ )
+ if custom_bgm_file:
+ # 文件名由服务层映射到 resource/songs 后校验,UI 不接受任意路径。
+ params.bgm_file = custom_bgm_file.strip()
+ params.bgm_volume = stable_selectbox(
+ tr("Background Music Volume"),
+ options=[0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0],
+ default_value=0.2,
+ key="bgm_volume_select",
+ format_func=lambda value: f"{int(value * 100)}%",
+ disabled=not params.bgm_type,
+ )
+
+
+def _render_audio_settings(panel, params):
+ """渲染音频设置并返回上传音频与当前配音模式。"""
+ with panel:
+ with st.container(border=True):
+ st.write(tr("Audio Settings"))
+
+ # 配音方式是音频设置的一级状态,负责明确区分自动配音、用户上传和无配音。
+ # 旧配置没有 voice_mode 时,根据原 tts_server 的无配音哨兵保持兼容。
+ saved_tts_server = config.ui.get("tts_server", "azure-tts-v1")
+ saved_voice_mode = config.ui.get("voice_mode")
+ if saved_voice_mode not in {
+ VOICE_MODE_TTS,
+ VOICE_MODE_UPLOAD,
+ VOICE_MODE_NONE,
+ }:
+ saved_voice_mode = (
+ VOICE_MODE_NONE
+ if saved_tts_server == voice.NO_VOICE_NAME
+ else VOICE_MODE_TTS
+ )
+ voice_mode_options = [VOICE_MODE_TTS, VOICE_MODE_UPLOAD, VOICE_MODE_NONE]
+ voice_mode_labels = {
+ VOICE_MODE_TTS: tr("Automatic Voiceover"),
+ VOICE_MODE_UPLOAD: tr("Upload Voiceover"),
+ VOICE_MODE_NONE: tr("No Voiceover"),
+ }
+ voice_mode = stable_segmented_control(
+ tr("Voiceover Mode"),
+ options=voice_mode_options,
+ default_value=saved_voice_mode,
+ key="voice_mode_control",
+ format_func=lambda value: voice_mode_labels[value],
+ width="stretch",
)
- if saved_elevenlabs_api_key:
- config.elevenlabs["api_key"] = saved_elevenlabs_api_key
- cache_key = f"elevenlabs_voices_{saved_elevenlabs_api_key}"
- if cache_key not in st.session_state:
- st.session_state[cache_key] = voice.get_elevenlabs_voices(
- saved_elevenlabs_api_key
+ config.ui["voice_mode"] = voice_mode
+ tts_mode_enabled = voice_mode == VOICE_MODE_TTS
+
+ # Provider 下拉只负责选择自动配音服务;无配音已经由上方模式控制,
+ # 不再作为 TTS Provider 混入列表,避免两个入口表达同一状态。
+ tts_servers = [
+ ("azure-tts-v1", "Azure TTS V1"),
+ ("azure-tts-v2", "Azure TTS V2"),
+ ("siliconflow", "SiliconFlow TTS"),
+ ("gemini-tts", "Google Gemini TTS"),
+ ("mimo-tts", "Xiaomi MiMo TTS"),
+ ("elevenlabs", "ElevenLabs TTS"),
+ ("chatterbox", "Chatterbox TTS"),
+ ]
+
+ tts_server_values = [server_value for server_value, _ in tts_servers]
+ if saved_tts_server not in tts_server_values:
+ saved_tts_server = "azure-tts-v1"
+
+ if tts_mode_enabled:
+ selected_tts_server = stable_selectbox(
+ tr("Voiceover Service"),
+ options=tts_server_values,
+ default_value=saved_tts_server,
+ key="tts_server_select",
+ format_func=lambda value: dict(
+ (v, label) for v, label in tts_servers
+ )[value],
)
- filtered_voices = st.session_state[cache_key]
- elif selected_tts_server == "chatterbox":
- # 自托管 Chatterbox 服务的预置音色(来自 [chatterbox] voices 配置)
- _sync_chatterbox_config_from_session_state()
- filtered_voices = voice.get_chatterbox_voices()
- else:
- # 获取Azure的声音列表
- all_voices = voice.get_all_azure_voices(filter_locals=None)
-
- # 根据选择的TTS服务器筛选声音
- for v in all_voices:
- if selected_tts_server == "azure-tts-v2":
- # V2版本的声音名称中包含"v2"
- if "V2" in v:
- filtered_voices.append(v)
- else:
- # V1版本的声音名称中不包含"v2"
- if "V2" not in v:
- filtered_voices.append(v)
+ else:
+ # 非自动配音模式不渲染 TTS 控件,但保留上次选择,切回后可以继续使用。
+ selected_tts_server = saved_tts_server
+
+ config.ui["tts_server"] = selected_tts_server
+
+ # 服务说明紧跟 Provider 选择,先告诉用户需要准备什么,再进入音色和
+ # 凭证配置。没有说明的 Provider 不渲染空提示块。
+ if tts_mode_enabled:
+ provider_tips = get_tts_provider_tips(selected_tts_server)
+ if provider_tips:
+ st.info(provider_tips)
+
+ # 根据选择的TTS服务器获取声音列表
+ filtered_voices = []
+ saved_voice_name = config.ui.get("voice_name", "")
+
+ if not tts_mode_enabled:
+ # 上传音频和无配音模式不加载远程音色,减少无意义的网络请求和界面噪音。
+ filtered_voices = []
+ elif selected_tts_server == "siliconflow":
+ # 获取硅基流动的声音列表
+ filtered_voices = voice.get_siliconflow_voices()
+ elif selected_tts_server == "gemini-tts":
+ # 获取Gemini TTS的声音列表
+ filtered_voices = voice.get_gemini_voices()
+ elif selected_tts_server == "mimo-tts":
+ # 获取 Xiaomi MiMo TTS 的预置音色列表
+ filtered_voices = voice.get_mimo_voices()
+ elif selected_tts_server == "elevenlabs":
+ # Read from session_state first so the API key is available before
+ # the Play Voice button runs (which is earlier in the script than
+ # the API key text_input widget).
+ saved_elevenlabs_api_key = st.session_state.get(
+ "elevenlabs_api_key_input",
+ config.elevenlabs.get("api_key", ""),
+ )
+ if saved_elevenlabs_api_key:
+ config.elevenlabs["api_key"] = saved_elevenlabs_api_key
+ cache_key = f"elevenlabs_voices_{saved_elevenlabs_api_key}"
+ if cache_key not in st.session_state:
+ st.session_state[cache_key] = voice.get_elevenlabs_voices(
+ saved_elevenlabs_api_key
+ )
+ filtered_voices = st.session_state[cache_key]
+ elif selected_tts_server == "chatterbox":
+ # 自托管 Chatterbox 服务的预置音色(来自 [chatterbox] voices 配置)
+ _sync_chatterbox_config_from_session_state()
+ filtered_voices = voice.get_chatterbox_voices()
+ else:
+ # 获取Azure的声音列表
+ all_voices = voice.get_all_azure_voices(filter_locals=None)
+
+ # 根据选择的TTS服务器筛选声音
+ for v in all_voices:
+ if selected_tts_server == "azure-tts-v2":
+ # V2版本的声音名称中包含"v2"
+ if "V2" in v:
+ filtered_voices.append(v)
+ else:
+ # V1版本的声音名称中不包含"v2"
+ if "V2" not in v:
+ filtered_voices.append(v)
- if selected_tts_server == voice.NO_VOICE_NAME:
- friendly_names = {voice.NO_VOICE_NAME: tr("No Voice")}
- else:
def _friendly(v):
+ if voice.is_no_voice(v):
+ return tr("No Voice Selected")
if voice.is_elevenlabs_voice(v):
parts = v.split(":", 2)
return parts[2] if len(parts) >= 3 else v
@@ -1005,646 +2474,746 @@ with middle_panel:
.replace("Male", tr("Male"))
.replace("Neural", "")
)
- friendly_names = {v: _friendly(v) for v in filtered_voices}
-
- saved_voice_name = config.ui.get("voice_name", "")
- saved_voice_name_index = 0
- # 检查保存的声音是否在当前筛选的声音列表中
- if saved_voice_name in friendly_names:
- saved_voice_name_index = list(friendly_names.keys()).index(saved_voice_name)
- else:
- # 如果不在,则根据当前UI语言选择一个默认声音
- for i, v in enumerate(filtered_voices):
- if v.lower().startswith(st.session_state["ui_language"].lower()):
- saved_voice_name_index = i
- break
+ friendly_names = {v: _friendly(v) for v in filtered_voices}
- # 如果没有找到匹配的声音,使用第一个声音
- if saved_voice_name_index >= len(friendly_names) and friendly_names:
saved_voice_name_index = 0
- # 确保有声音可选
- if friendly_names:
- selected_friendly_name = st.selectbox(
- tr("Speech Synthesis"),
- options=list(friendly_names.values()),
- index=min(saved_voice_name_index, len(friendly_names) - 1)
- if friendly_names
- else 0,
- )
-
- voice_name = list(friendly_names.keys())[
- list(friendly_names.values()).index(selected_friendly_name)
- ]
- params.voice_name = voice_name
- config.ui["voice_name"] = voice_name
- else:
- # 如果没有声音可选,显示提示信息
- st.warning(
- tr(
- "No voices available for the selected TTS server. Please select another server."
+ # 检查保存的声音是否在当前筛选的声音列表中
+ if saved_voice_name in friendly_names:
+ saved_voice_name_index = list(friendly_names.keys()).index(
+ saved_voice_name
)
- )
- voice_name = ""
- params.voice_name = ""
- config.ui["voice_name"] = ""
-
- # 无配音模式会生成静音占位音频,不展示试听按钮,避免用户误以为需要测试声音。
- if (
- friendly_names
- and selected_tts_server != voice.NO_VOICE_NAME
- and st.button(tr("Play Voice"))
- ):
- if selected_tts_server == "chatterbox":
- _sync_chatterbox_config_from_session_state()
- play_content = params.video_subject
- if not play_content:
- play_content = params.video_script
- if not play_content:
- # For ElevenLabs voices, detect language from the display name
- # so the test text matches the voice's language.
- if voice.is_elevenlabs_voice(voice_name):
- parts = voice_name.split(":", 2)
- display = parts[2] if len(parts) >= 3 else ""
- _vi_chars = set("àáâãèéêìíòóôõùúýăđơưÀÁÂÃÈÉÊÌÍÒÓÔÕÙÚÝĂĐƠƯ")
- if any(c in _vi_chars for c in display):
- play_content = "Xin chào, đây là đoạn âm thanh thử nghiệm giọng nói."
- else:
- play_content = tr("Voice Example")
- else:
- play_content = tr("Voice Example")
- with st.spinner(tr("Synthesizing Voice")):
- temp_dir = utils.storage_dir("temp", create=True)
- audio_file = os.path.join(temp_dir, f"tmp-voice-{str(uuid4())}.mp3")
- sub_maker = voice.tts(
- text=play_content,
- voice_name=voice_name,
- voice_rate=params.voice_rate,
- voice_file=audio_file,
- voice_volume=params.voice_volume,
+ else:
+ # 如果不在,则根据当前UI语言选择一个默认声音
+ for i, v in enumerate(filtered_voices):
+ if v.lower().startswith(st.session_state["ui_language"].lower()):
+ saved_voice_name_index = i
+ break
+
+ # 如果没有找到匹配的声音,使用第一个声音
+ if saved_voice_name_index >= len(friendly_names) and friendly_names:
+ saved_voice_name_index = 0
+
+ # 确保有声音可选
+ if tts_mode_enabled and friendly_names:
+ voice_name = stable_selectbox(
+ tr("Voiceover Voice"),
+ options=list(friendly_names.keys()),
+ default_value=list(friendly_names.keys())[saved_voice_name_index],
+ key=f"speech_synthesis_select_{selected_tts_server}",
+ format_func=lambda value: friendly_names[value],
)
- # if the voice file generation failed, try again with a default content.
- if not sub_maker:
- play_content = "This is a example voice. if you hear this, the voice synthesis failed with the original content."
- sub_maker = voice.tts(
- text=play_content,
- voice_name=voice_name,
- voice_rate=params.voice_rate,
- voice_file=audio_file,
- voice_volume=params.voice_volume,
- )
- if sub_maker and os.path.exists(audio_file):
- with open(audio_file, "rb") as f:
- audio_bytes = f.read()
- if audio_bytes:
- st.audio(
- audio_bytes,
- format=_detect_audio_mime(audio_file, audio_bytes),
- )
- else:
- logger.error(f"voice preview audio file is empty: {audio_file}")
- if os.path.exists(audio_file):
- os.remove(audio_file)
+ params.voice_name = voice_name
+ if not voice.is_no_voice(voice_name):
+ # 占位 sentinel 仅用于非自动模式的禁用展示,不覆盖用户上一次
+ # 真正选择的音色,切回自动配音后可以恢复原设置。
+ config.ui["voice_name"] = voice_name
+ elif tts_mode_enabled:
+ # 如果没有声音可选,显示提示信息
+ st.warning(
+ tr(
+ "No voices available for the selected TTS server. Please select another server."
+ )
+ )
+ voice_name = ""
+ params.voice_name = ""
+ config.ui["voice_name"] = ""
+ else:
+ # 非自动配音模式不显示音色控件,只复用保存值维持参数结构稳定。
+ voice_name = saved_voice_name or voice.NO_VOICE_NAME
+ params.voice_name = voice_name
+
+ # 当选择V2版本或者声音是V2声音时,显示服务区域和API key输入框
+ if tts_mode_enabled and (
+ selected_tts_server == "azure-tts-v2"
+ or (voice_name and voice.is_azure_v2_voice(voice_name))
+ ):
+ saved_azure_speech_region = config.azure.get("speech_region", "")
+ saved_azure_speech_key = config.azure.get("speech_key", "")
+ azure_speech_region = st.text_input(
+ tr("Speech Region"),
+ value=saved_azure_speech_region,
+ key="azure_speech_region_input",
+ )
+ azure_speech_key = st.text_input(
+ tr("Speech Key"),
+ value=saved_azure_speech_key,
+ type="password",
+ key="azure_speech_key_input",
+ )
+ config.azure["speech_region"] = azure_speech_region
+ config.azure["speech_key"] = azure_speech_key
+
+ if tts_mode_enabled and selected_tts_server == "gemini-tts":
+ # Gemini TTS 与 Gemini LLM 共用同一份密钥;在音频面板提供直接入口,
+ # 用户无需先切换 LLM Provider 才能完成语音配置。
+ gemini_tts_api_key = st.text_input(
+ f"Google Gemini {tr('API Key')}",
+ value=config.app.get("gemini_api_key", ""),
+ type="password",
+ key="gemini_tts_api_key_input",
+ )
+ config.app["gemini_api_key"] = gemini_tts_api_key
- # 当选择V2版本或者声音是V2声音时,显示服务区域和API key输入框
- if selected_tts_server == "azure-tts-v2" or (
- voice_name and voice.is_azure_v2_voice(voice_name)
- ):
- saved_azure_speech_region = config.azure.get("speech_region", "")
- saved_azure_speech_key = config.azure.get("speech_key", "")
- azure_speech_region = st.text_input(
- tr("Speech Region"),
- value=saved_azure_speech_region,
- key="azure_speech_region_input",
- )
- azure_speech_key = st.text_input(
- tr("Speech Key"),
- value=saved_azure_speech_key,
- type="password",
- key="azure_speech_key_input",
- )
- config.azure["speech_region"] = azure_speech_region
- config.azure["speech_key"] = azure_speech_key
+ # 当选择硅基流动时,显示API key输入框和说明信息
+ if tts_mode_enabled and (
+ selected_tts_server == "siliconflow"
+ or (voice_name and voice.is_siliconflow_voice(voice_name))
+ ):
+ saved_siliconflow_api_key = config.siliconflow.get("api_key", "")
- # 当选择硅基流动时,显示API key输入框和说明信息
- if selected_tts_server == "siliconflow" or (
- voice_name and voice.is_siliconflow_voice(voice_name)
- ):
- saved_siliconflow_api_key = config.siliconflow.get("api_key", "")
+ siliconflow_api_key = st.text_input(
+ tr("SiliconFlow API Key"),
+ value=saved_siliconflow_api_key,
+ type="password",
+ key="siliconflow_api_key_input",
+ )
- siliconflow_api_key = st.text_input(
- tr("SiliconFlow API Key"),
- value=saved_siliconflow_api_key,
- type="password",
- key="siliconflow_api_key_input",
- )
+ config.siliconflow["api_key"] = siliconflow_api_key
- # 显示硅基流动的说明信息
- tips = get_tts_provider_tips("siliconflow")
- if tips:
- st.info(tips)
+ # 当选择 Xiaomi MiMo TTS 时,复用 MiMo LLM provider 的 API Key。
+ # 这样用户如果同时使用 MiMo 生成文案和语音,只需要维护一份密钥。
+ if tts_mode_enabled and (
+ selected_tts_server == "mimo-tts"
+ or (voice_name and voice.is_mimo_voice(voice_name))
+ ):
+ saved_mimo_api_key = config.app.get("mimo_api_key", "")
- config.siliconflow["api_key"] = siliconflow_api_key
+ mimo_api_key = st.text_input(
+ tr("MiMo API Key"),
+ value=saved_mimo_api_key,
+ type="password",
+ key="mimo_tts_api_key_input",
+ )
- # 当选择 Xiaomi MiMo TTS 时,复用 MiMo LLM provider 的 API Key。
- # 这样用户如果同时使用 MiMo 生成文案和语音,只需要维护一份密钥。
- if selected_tts_server == "mimo-tts" or (
- voice_name and voice.is_mimo_voice(voice_name)
- ):
- saved_mimo_api_key = config.app.get("mimo_api_key", "")
+ config.app["mimo_api_key"] = mimo_api_key
- mimo_api_key = st.text_input(
- tr("MiMo API Key"),
- value=saved_mimo_api_key,
- type="password",
- key="mimo_tts_api_key_input",
- )
+ # ElevenLabs API key section
+ if tts_mode_enabled and (
+ selected_tts_server == "elevenlabs"
+ or (voice_name and voice.is_elevenlabs_voice(voice_name))
+ ):
+ saved_elevenlabs_api_key = config.elevenlabs.get("api_key", "")
- tips = get_tts_provider_tips("mimo")
- if tips:
- st.info(tips)
+ elevenlabs_api_key = st.text_input(
+ tr("ElevenLabs API Key"),
+ value=saved_elevenlabs_api_key,
+ type="password",
+ key="elevenlabs_api_key_input",
+ )
- config.app["mimo_api_key"] = mimo_api_key
+ _elevenlabs_models = [
+ "eleven_multilingual_v2",
+ "eleven_flash_v2_5",
+ "eleven_v3",
+ ]
+ saved_elevenlabs_model = config.elevenlabs.get(
+ "model_id", "eleven_multilingual_v2"
+ )
+ if saved_elevenlabs_model not in _elevenlabs_models:
+ saved_elevenlabs_model = "eleven_multilingual_v2"
+ elevenlabs_model = stable_selectbox(
+ tr("ElevenLabs Model"),
+ options=_elevenlabs_models,
+ default_value=saved_elevenlabs_model,
+ key="elevenlabs_model_select",
+ )
+ config.elevenlabs["model_id"] = elevenlabs_model
- # ElevenLabs API key section
- if selected_tts_server == "elevenlabs" or (
- voice_name and voice.is_elevenlabs_voice(voice_name)
- ):
- saved_elevenlabs_api_key = config.elevenlabs.get("api_key", "")
+ if elevenlabs_api_key != saved_elevenlabs_api_key:
+ for k in list(st.session_state.keys()):
+ if k.startswith("elevenlabs_voices_"):
+ del st.session_state[k]
- elevenlabs_api_key = st.text_input(
- tr("ElevenLabs API Key"),
- value=saved_elevenlabs_api_key,
- type="password",
- key="elevenlabs_api_key_input",
- )
+ config.elevenlabs["api_key"] = elevenlabs_api_key
- _elevenlabs_models = [
- "eleven_multilingual_v2",
- "eleven_flash_v2_5",
- "eleven_v3",
- ]
- saved_elevenlabs_model = config.elevenlabs.get(
- "model_id", "eleven_multilingual_v2"
- )
- if saved_elevenlabs_model not in _elevenlabs_models:
- saved_elevenlabs_model = "eleven_multilingual_v2"
- elevenlabs_model = st.selectbox(
- tr("ElevenLabs Model"),
- options=_elevenlabs_models,
- index=_elevenlabs_models.index(saved_elevenlabs_model),
- key="elevenlabs_model_select",
- )
- config.elevenlabs["model_id"] = elevenlabs_model
+ # Chatterbox API settings section (self-hosted, OpenAI-compatible)
+ if tts_mode_enabled and (
+ selected_tts_server == "chatterbox"
+ or (voice_name and voice.is_chatterbox_voice(voice_name))
+ ):
+ chatterbox_base_url = st.text_input(
+ tr("Chatterbox Base URL"),
+ value=config.chatterbox.get("base_url")
+ or DEFAULT_CHATTERBOX_BASE_URL,
+ key="chatterbox_base_url_input",
+ placeholder=tr("Chatterbox Base URL Placeholder"),
+ )
+ config.chatterbox["base_url"] = (chatterbox_base_url or "").strip()
- tips = get_tts_provider_tips("elevenlabs")
- if tips:
- st.info(tips)
+ chatterbox_api_key = st.text_input(
+ tr("Chatterbox API Key"),
+ value=config.chatterbox.get("api_key", ""),
+ type="password",
+ key="chatterbox_api_key_input",
+ )
+ config.chatterbox["api_key"] = chatterbox_api_key
- if elevenlabs_api_key != saved_elevenlabs_api_key:
- for k in list(st.session_state.keys()):
- if k.startswith("elevenlabs_voices_"):
- del st.session_state[k]
+ chatterbox_model = st.text_input(
+ tr("Chatterbox Model"),
+ value=config.chatterbox.get("model_id") or DEFAULT_CHATTERBOX_MODEL,
+ key="chatterbox_model_input",
+ )
+ config.chatterbox["model_id"] = (
+ chatterbox_model or DEFAULT_CHATTERBOX_MODEL
+ ).strip()
- config.elevenlabs["api_key"] = elevenlabs_api_key
+ _saved_chatterbox_voices = (
+ _parse_chatterbox_voices(config.chatterbox.get("voices"))
+ or DEFAULT_CHATTERBOX_VOICES
+ )
+ if isinstance(_saved_chatterbox_voices, list):
+ _saved_chatterbox_voices = ", ".join(_saved_chatterbox_voices)
+ chatterbox_voices = st.text_input(
+ tr("Chatterbox Voices"),
+ value=str(_saved_chatterbox_voices or ""),
+ key="chatterbox_voices_input",
+ placeholder=tr("Chatterbox Voices Placeholder"),
+ )
+ config.chatterbox["voices"] = _parse_chatterbox_voices(
+ chatterbox_voices
+ )
- # Chatterbox API settings section (self-hosted, OpenAI-compatible)
- if selected_tts_server == "chatterbox" or (
- voice_name and voice.is_chatterbox_voice(voice_name)
- ):
- chatterbox_base_url = st.text_input(
- tr("Chatterbox Base URL"),
- value=config.chatterbox.get("base_url") or DEFAULT_CHATTERBOX_BASE_URL,
- key="chatterbox_base_url_input",
- placeholder=tr("Chatterbox Base URL Placeholder"),
+ # 三种模式只渲染当前任务真正需要的控件。自动配音可调音量和语速;
+ # 上传音频只需要文件和音量;无配音不再展示无效设置。
+ params.voice_name = (
+ voice.NO_VOICE_NAME if voice_mode == VOICE_MODE_NONE else voice_name
)
- config.chatterbox["base_url"] = (chatterbox_base_url or "").strip()
+ params.voice_volume = 1.0
+ params.voice_rate = 1.0
+ uploaded_audio_file = None
+
+ if tts_mode_enabled:
+ voice_control_cols = st.columns(2)
+ with voice_control_cols[0]:
+ params.voice_volume = stable_selectbox(
+ tr("Voiceover Volume"),
+ options=[0.6, 0.8, 1.0, 1.2, 1.5, 2.0, 3.0, 4.0, 5.0],
+ default_value=1.0,
+ key="voice_volume_select",
+ format_func=lambda value: f"{int(value * 100)}%",
+ help=tr("Voiceover Volume Help"),
+ )
- chatterbox_api_key = st.text_input(
- tr("Chatterbox API Key"),
- value=config.chatterbox.get("api_key", ""),
- type="password",
- key="chatterbox_api_key_input",
- )
- config.chatterbox["api_key"] = chatterbox_api_key
+ with voice_control_cols[1]:
+ params.voice_rate = stable_selectbox(
+ tr("Voiceover Speed"),
+ options=[0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.5, 1.8, 2.0],
+ default_value=1.0,
+ key="voice_rate_select",
+ format_func=lambda value: f"{value:.1f}×",
+ help=tr("Voiceover Speed Help"),
+ )
- chatterbox_model = st.text_input(
- tr("Chatterbox Model"),
- value=config.chatterbox.get("model_id") or DEFAULT_CHATTERBOX_MODEL,
- key="chatterbox_model_input",
+ # 试听必须位于音量和语速控件之后,确保调用使用当前控件值。
+ _render_voice_preview(
+ params,
+ friendly_names,
+ selected_tts_server,
+ voice_name,
+ )
+ elif voice_mode == VOICE_MODE_UPLOAD:
+ custom_audio_file_types = sorted(
+ extension.removeprefix(".") for extension in CUSTOM_AUDIO_EXTENSIONS
+ )
+ uploaded_audio_file = st.file_uploader(
+ tr("Upload Voiceover File"),
+ type=custom_audio_file_types
+ + [file_type.upper() for file_type in custom_audio_file_types],
+ accept_multiple_files=False,
+ key="custom_audio_file_uploader",
+ help=tr("Upload Voiceover File Help"),
+ )
+ params.voice_volume = stable_selectbox(
+ tr("Voiceover Volume"),
+ options=[0.6, 0.8, 1.0, 1.2, 1.5, 2.0, 3.0, 4.0, 5.0],
+ default_value=1.0,
+ key="voice_volume_select",
+ format_func=lambda value: f"{int(value * 100)}%",
+ help=tr("Voiceover Volume Help"),
+ )
+ if uploaded_audio_file:
+ st.audio(uploaded_audio_file, format="audio/mp3")
+ st.info(
+ tr(
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task."
+ )
+ )
+ _render_background_music_settings(params)
+ return uploaded_audio_file, voice_mode
+
+
+def _render_subtitle_settings(panel, params):
+ """渲染字幕设置并更新生成参数。"""
+ with panel:
+ with st.container(border=True):
+ st.write(tr("Subtitle Settings"))
+ st.session_state.setdefault(
+ "subtitle_enabled_checkbox",
+ DEFAULT_SUBTITLE_SETTINGS["subtitle_enabled"],
)
- config.chatterbox["model_id"] = (
- chatterbox_model or DEFAULT_CHATTERBOX_MODEL
- ).strip()
-
- _saved_chatterbox_voices = (
- _parse_chatterbox_voices(config.chatterbox.get("voices"))
- or DEFAULT_CHATTERBOX_VOICES
+ params.subtitle_enabled = st.checkbox(
+ tr("Enable Subtitles"),
+ key="subtitle_enabled_checkbox",
)
- if isinstance(_saved_chatterbox_voices, list):
- _saved_chatterbox_voices = ", ".join(_saved_chatterbox_voices)
- chatterbox_voices = st.text_input(
- tr("Chatterbox Voices"),
- value=str(_saved_chatterbox_voices or ""),
- key="chatterbox_voices_input",
- placeholder=tr("Chatterbox Voices Placeholder"),
+ subtitle_settings_disabled = not params.subtitle_enabled
+ font_names = get_all_fonts()
+ saved_font_name = config.ui.get(
+ "font_name", DEFAULT_SUBTITLE_SETTINGS["font_name"]
)
- config.chatterbox["voices"] = _parse_chatterbox_voices(chatterbox_voices)
-
- tips = get_tts_provider_tips("chatterbox")
- if tips:
- st.info(tips)
+ saved_font_name_index = 0
+ if saved_font_name in font_names:
+ saved_font_name_index = font_names.index(saved_font_name)
+ params.font_name = stable_selectbox(
+ tr("Font"),
+ options=font_names,
+ default_value=font_names[saved_font_name_index] if font_names else "",
+ key="font_name_select",
+ disabled=subtitle_settings_disabled,
+ )
+ config.ui["font_name"] = params.font_name
- params.voice_volume = st.selectbox(
- tr("Speech Volume"),
- options=[0.6, 0.8, 1.0, 1.2, 1.5, 2.0, 3.0, 4.0, 5.0],
- index=2,
- )
+ subtitle_positions = [
+ (tr("Top"), "top"),
+ (tr("Center"), "center"),
+ (tr("Bottom"), "bottom"),
+ (tr("Custom"), "custom"),
+ ]
+ saved_subtitle_position = config.ui.get(
+ "subtitle_position", DEFAULT_SUBTITLE_SETTINGS["subtitle_position"]
+ )
+ saved_position_index = 2
+ for i, (_, pos_value) in enumerate(subtitle_positions):
+ if pos_value == saved_subtitle_position:
+ saved_position_index = i
+ break
+ selected_subtitle_position = stable_selectbox(
+ tr("Position"),
+ options=[value for _, value in subtitle_positions],
+ default_value=subtitle_positions[saved_position_index][1],
+ key="subtitle_position_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in subtitle_positions
+ )[value],
+ disabled=subtitle_settings_disabled,
+ )
+ params.subtitle_position = selected_subtitle_position
+ config.ui["subtitle_position"] = params.subtitle_position
- params.voice_rate = st.selectbox(
- tr("Speech Rate"),
- options=[0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.5, 1.8, 2.0],
- index=2,
- )
+ if params.subtitle_position == "custom":
+ saved_custom_position = config.ui.get(
+ "custom_position", DEFAULT_SUBTITLE_SETTINGS["custom_position"]
+ )
+ st.session_state.setdefault(
+ "custom_position_input", str(saved_custom_position)
+ )
+ custom_position = st.text_input(
+ tr("Custom Position (% from top)"),
+ key="custom_position_input",
+ disabled=subtitle_settings_disabled,
+ )
+ try:
+ params.custom_position = float(custom_position)
+ if params.custom_position < 0 or params.custom_position > 100:
+ st.error(tr("Please enter a value between 0 and 100"))
+ else:
+ config.ui["custom_position"] = params.custom_position
+ except ValueError:
+ st.error(tr("Please enter a valid number"))
+
+ # 非中文语言的颜色标签通常比中文更长。为颜色选择器保留适当宽度,
+ # 避免标签换行,同时仍给字号滑块保留足够的可操作空间。
+ font_cols = st.columns([0.42, 0.58])
+ with font_cols[0]:
+ saved_text_fore_color = config.ui.get(
+ "text_fore_color", DEFAULT_SUBTITLE_SETTINGS["text_fore_color"]
+ )
+ st.session_state.setdefault("font_color_picker", saved_text_fore_color)
+ params.text_fore_color = st.color_picker(
+ tr("Font Color"),
+ key="font_color_picker",
+ disabled=subtitle_settings_disabled,
+ )
+ config.ui["text_fore_color"] = params.text_fore_color
- custom_audio_file_types = ["mp3", "wav", "m4a", "aac", "flac", "ogg"]
- uploaded_audio_file = st.file_uploader(
- tr("Custom Audio File"),
- type=custom_audio_file_types
- + [file_type.upper() for file_type in custom_audio_file_types],
- accept_multiple_files=False,
- key="custom_audio_file_uploader",
- )
- if uploaded_audio_file:
- st.audio(uploaded_audio_file, format="audio/mp3")
- st.info(
- tr(
- "Custom audio will be used directly. TTS synthesis will be skipped for this task."
+ with font_cols[1]:
+ saved_font_size = config.ui.get(
+ "font_size", DEFAULT_SUBTITLE_SETTINGS["font_size"]
)
- )
+ st.session_state.setdefault("font_size_slider", saved_font_size)
+ params.font_size = st.slider(
+ tr("Font Size"),
+ 30,
+ 100,
+ key="font_size_slider",
+ disabled=subtitle_settings_disabled,
+ )
+ config.ui["font_size"] = params.font_size
- bgm_options = [
- (tr("No Background Music"), ""),
- (tr("Random Background Music"), "random"),
- (tr("Custom Background Music"), "custom"),
- ]
- selected_index = st.selectbox(
- tr("Background Music"),
- index=1,
- options=range(
- len(bgm_options)
- ), # Use the index as the internal option value
- format_func=lambda x: bgm_options[x][
- 0
- ], # The label is displayed to the user
- )
- # Get the selected background music type
- params.bgm_type = bgm_options[selected_index][1]
+ stroke_cols = st.columns([0.42, 0.58])
+ with stroke_cols[0]:
+ st.session_state.setdefault(
+ "stroke_color_picker", DEFAULT_SUBTITLE_SETTINGS["stroke_color"]
+ )
+ params.stroke_color = st.color_picker(
+ tr("Stroke Color"),
+ key="stroke_color_picker",
+ disabled=subtitle_settings_disabled,
+ )
+ with stroke_cols[1]:
+ st.session_state.setdefault(
+ "stroke_width_slider", DEFAULT_SUBTITLE_SETTINGS["stroke_width"]
+ )
+ params.stroke_width = st.slider(
+ tr("Stroke Width"),
+ 0.0,
+ 10.0,
+ key="stroke_width_slider",
+ disabled=subtitle_settings_disabled,
+ )
- # Show or hide components based on the selection
- if params.bgm_type == "custom":
- custom_bgm_file = st.text_input(
- tr("Custom Background Music File"), key="custom_bgm_file_input"
+ # 背景开关的本地化名称普遍比颜色标签更长,因此让开关占据略多空间。
+ subtitle_bg_cols = st.columns([0.55, 0.45])
+ saved_subtitle_background_enabled = config.ui.get(
+ "subtitle_background_enabled",
+ DEFAULT_SUBTITLE_SETTINGS["subtitle_background_enabled"],
)
- if custom_bgm_file:
- # 这里不直接用 os.path.exists 判断,因为用户常见输入是
- # output000.mp3,这个文件名需要由服务层映射到 resource/songs
- # 目录后再校验。服务层会统一限制目录和文件类型,避免任意路径读取。
- params.bgm_file = custom_bgm_file.strip()
- # st.write(f":red[已选择自定义背景音乐]:**{custom_bgm_file}**")
- params.bgm_volume = st.selectbox(
- tr("Background Music Volume"),
- options=[0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0],
- index=2,
- )
-
-with right_panel:
- with st.container(border=True):
- st.write(tr("Subtitle Settings"))
- params.subtitle_enabled = st.checkbox(tr("Enable Subtitles"), value=True)
- font_names = get_all_fonts()
- saved_font_name = config.ui.get("font_name", "MicrosoftYaHeiBold.ttc")
- saved_font_name_index = 0
- if saved_font_name in font_names:
- saved_font_name_index = font_names.index(saved_font_name)
- params.font_name = st.selectbox(
- tr("Font"), font_names, index=saved_font_name_index
- )
- config.ui["font_name"] = params.font_name
-
- subtitle_positions = [
- (tr("Top"), "top"),
- (tr("Center"), "center"),
- (tr("Bottom"), "bottom"),
- (tr("Custom"), "custom"),
- ]
- saved_subtitle_position = config.ui.get("subtitle_position", "bottom")
- saved_position_index = 2
- for i, (_, pos_value) in enumerate(subtitle_positions):
- if pos_value == saved_subtitle_position:
- saved_position_index = i
- break
- selected_index = st.selectbox(
- tr("Position"),
- index=saved_position_index,
- options=range(len(subtitle_positions)),
- format_func=lambda x: subtitle_positions[x][0],
- )
- params.subtitle_position = subtitle_positions[selected_index][1]
- config.ui["subtitle_position"] = params.subtitle_position
-
- if params.subtitle_position == "custom":
- saved_custom_position = config.ui.get("custom_position", 70.0)
- custom_position = st.text_input(
- tr("Custom Position (% from top)"),
- value=str(saved_custom_position),
- key="custom_position_input",
+ st.session_state.setdefault(
+ "subtitle_background_enabled_checkbox",
+ saved_subtitle_background_enabled,
)
- try:
- params.custom_position = float(custom_position)
- if params.custom_position < 0 or params.custom_position > 100:
- st.error(tr("Please enter a value between 0 and 100"))
- else:
- config.ui["custom_position"] = params.custom_position
- except ValueError:
- st.error(tr("Please enter a valid number"))
-
- font_cols = st.columns([0.3, 0.7])
- with font_cols[0]:
- saved_text_fore_color = config.ui.get("text_fore_color", "#FFFFFF")
- params.text_fore_color = st.color_picker(
- tr("Font Color"), saved_text_fore_color
+ with subtitle_bg_cols[0]:
+ subtitle_background_enabled = st.checkbox(
+ tr("Enable Subtitle Background"),
+ key="subtitle_background_enabled_checkbox",
+ disabled=subtitle_settings_disabled,
+ )
+ config.ui["subtitle_background_enabled"] = subtitle_background_enabled
+
+ # 背景颜色和圆角样式都从属于字幕背景开关。子控件始终保留在页面中,
+ # 父开关关闭时统一禁用,避免一个控件消失而另一个控件禁用造成布局跳动。
+ # 颜色值仍保存在 UI 配置中,重新启用背景后可以恢复用户之前的选择;
+ # 传给生成服务的参数则设为 False,确保关闭状态不会实际渲染背景。
+ saved_subtitle_background_color = config.ui.get(
+ "subtitle_background_color",
+ DEFAULT_SUBTITLE_SETTINGS["subtitle_background_color"],
)
- config.ui["text_fore_color"] = params.text_fore_color
-
- with font_cols[1]:
- saved_font_size = config.ui.get("font_size", 60)
- params.font_size = st.slider(tr("Font Size"), 30, 100, saved_font_size)
- config.ui["font_size"] = params.font_size
-
- stroke_cols = st.columns([0.3, 0.7])
- with stroke_cols[0]:
- params.stroke_color = st.color_picker(tr("Stroke Color"), "#000000")
- with stroke_cols[1]:
- params.stroke_width = st.slider(tr("Stroke Width"), 0.0, 10.0, 1.5)
-
- subtitle_bg_cols = st.columns([0.4, 0.6])
- saved_subtitle_background_enabled = config.ui.get(
- "subtitle_background_enabled", True
- )
- with subtitle_bg_cols[0]:
- subtitle_background_enabled = st.checkbox(
- tr("Enable Subtitle Background"),
- value=saved_subtitle_background_enabled,
+ st.session_state.setdefault(
+ "subtitle_background_color_picker",
+ saved_subtitle_background_color,
)
- config.ui["subtitle_background_enabled"] = subtitle_background_enabled
- if subtitle_background_enabled:
with subtitle_bg_cols[1]:
- saved_subtitle_background_color = config.ui.get(
- "subtitle_background_color", "#000000"
- )
- params.text_background_color = st.color_picker(
+ selected_subtitle_background_color = st.color_picker(
tr("Subtitle Background Color"),
- saved_subtitle_background_color,
+ key="subtitle_background_color_picker",
+ disabled=subtitle_settings_disabled
+ or not subtitle_background_enabled,
)
- config.ui["subtitle_background_color"] = params.text_background_color
- else:
- params.text_background_color = False
-
- saved_rounded_subtitle_background = config.ui.get(
- "rounded_subtitle_background", False
- )
- # 背景关闭时,圆角背景没有可渲染的底色。这里禁用控件并保留原配置,
- # 用户下次重新开启字幕背景后,可以继续使用之前保存的圆角偏好。
- params.rounded_subtitle_background = st.checkbox(
- tr("Rounded Subtitle Background"),
- value=(
- saved_rounded_subtitle_background
+ config.ui["subtitle_background_color"] = selected_subtitle_background_color
+ params.text_background_color = (
+ selected_subtitle_background_color
if subtitle_background_enabled
else False
- ),
- help=tr("Rounded Subtitle Background Help"),
- disabled=not subtitle_background_enabled,
- )
- if subtitle_background_enabled:
- config.ui["rounded_subtitle_background"] = (
- params.rounded_subtitle_background
)
- with st.expander(tr("Click to show API Key management"), expanded=False):
- st.subheader(tr("Manage Pexels, Pixabay and Coverr API Keys"))
-
- col1, col2, col3 = st.tabs([
- tr("Pexels API Keys"),
- tr("Pixabay API Keys"),
- tr("Coverr API Keys"),
- ])
-
- with col1:
- st.subheader(tr("Pexels API Keys"))
- if config.app["pexels_api_keys"]:
- st.write(tr("Current Keys:"))
- for key in config.app["pexels_api_keys"]:
- st.code(key)
- else:
- st.info(tr("No Pexels API Keys currently"))
- new_key = st.text_input(tr("Add Pexels API Key"), key="pexels_new_key")
- if st.button(tr("Add Pexels API Key")):
- if new_key and new_key not in config.app["pexels_api_keys"]:
- config.app["pexels_api_keys"].append(new_key)
- config.save_config()
- st.success(tr("Pexels API Key added successfully"))
- elif new_key in config.app["pexels_api_keys"]:
- st.warning(tr("This API Key already exists"))
- else:
- st.error(tr("Please enter a valid API Key"))
+ saved_rounded_subtitle_background = config.ui.get(
+ "rounded_subtitle_background",
+ DEFAULT_SUBTITLE_SETTINGS["rounded_subtitle_background"],
+ )
+ # 背景关闭时,圆角背景没有可渲染的底色。这里禁用控件但保留原配置,
+ # 用户下次重新开启字幕背景后,可以继续使用之前保存的圆角偏好。
+ rounded_background_disabled = (
+ subtitle_settings_disabled or not subtitle_background_enabled
+ )
+ st.session_state.setdefault(
+ "rounded_subtitle_background_checkbox",
+ saved_rounded_subtitle_background,
+ )
+ selected_rounded_subtitle_background = st.checkbox(
+ tr("Rounded Subtitle Background"),
+ help=tr("Rounded Subtitle Background Help"),
+ disabled=rounded_background_disabled,
+ key="rounded_subtitle_background_checkbox",
+ )
+ params.rounded_subtitle_background = (
+ selected_rounded_subtitle_background
+ if subtitle_background_enabled
+ else False
+ )
+ if not subtitle_settings_disabled and subtitle_background_enabled:
+ config.ui["rounded_subtitle_background"] = (
+ selected_rounded_subtitle_background
+ )
- if config.app["pexels_api_keys"]:
- delete_key = st.selectbox(
- tr("Select Pexels API Key to delete"), config.app["pexels_api_keys"], key="pexels_delete_key"
+ if video.subtitle_colors_are_indistinguishable(params):
+ # 同色配置仍然是合法的用户选择,因此只在字幕设置区域就近提示,
+ # 不阻止生成。用户可以根据实际视觉需求决定是否继续。
+ st.warning(tr("Subtitle Colors Are Indistinguishable"))
+
+ subtitle_preview_text = params.video_script or params.video_subject
+ selected_font_path = os.path.join(font_dir, params.font_name)
+ if (
+ params.subtitle_enabled
+ and subtitle_preview_text
+ and not video.subtitle_font_supports_text(
+ selected_font_path, subtitle_preview_text
)
- if st.button(tr("Delete Selected Pexels API Key")):
- config.app["pexels_api_keys"].remove(delete_key)
- config.save_config()
- st.success(tr("Pexels API Key deleted successfully"))
+ ):
+ st.warning(tr("Subtitle Font Does Not Support Text"))
+
+ if st.button(
+ tr("Restore Default Subtitle Settings"),
+ key="restore_default_subtitle_settings",
+ icon=":material/restart_alt:",
+ on_click=reset_subtitle_settings,
+ use_container_width=True,
+ ):
+ st.toast(tr("Default Subtitle Settings Restored"))
- with col2:
- st.subheader(tr("Pixabay API Keys"))
- if config.app["pixabay_api_keys"]:
- st.write(tr("Current Keys:"))
- for key in config.app["pixabay_api_keys"]:
- st.code(key)
- else:
- st.info(tr("No Pixabay API Keys currently"))
+def _render_generation_controls(
+ params, uploaded_files, uploaded_audio_file, voice_mode
+):
+ """校验生成依赖、执行任务,并渲染日志与成片结果。"""
+ restore_upload_requirements = st.session_state.get(
+ "task_restore_upload_requirements", {}
+ )
+ has_local_materials = bool(
+ uploaded_files or st.session_state.get("local_video_materials", [])
+ )
+ has_custom_audio = bool(uploaded_audio_file)
+ unmet_restore_requirements = _get_unmet_restore_upload_requirements(
+ restore_upload_requirements,
+ video_source=params.video_source,
+ voice_name=params.voice_name or "",
+ has_local_materials=has_local_materials,
+ has_custom_audio=has_custom_audio,
+ voice_mode=voice_mode,
+ )
+ if "local_materials" in unmet_restore_requirements:
+ st.warning(tr("Task Restore Local Materials Warning"))
+ if "custom_audio" in unmet_restore_requirements:
+ st.warning(tr("Task Restore Custom Audio Warning"))
+ if restore_upload_requirements and not unmet_restore_requirements:
+ # 用户已重新上传文件,或主动切换了素材来源/音色。此时历史任务的上传依赖
+ # 已经得到明确处理,清除标记,避免后续普通生成继续显示旧提示。
+ st.session_state.pop("task_restore_upload_requirements", None)
+
+ start_button = st.button(
+ tr("Generate Video"),
+ use_container_width=True,
+ type="primary",
+ key="generate_video_button",
+ on_click=_prepare_generation_task,
+ )
+ render_onboarding_tour()
+ log_container = st.empty()
+ if start_button:
+ st.session_state["generation_log_records"] = []
+ config.save_config()
+ task_id = st.session_state.get("pending_generation_task_id") or str(uuid4())
+ _add_active_generation_task(
+ task_id,
+ subject=params.video_subject or params.video_script or task_id,
+ )
+ if not params.video_subject and not params.video_script:
+ _remove_active_generation_task(task_id)
+ st.error(tr("Video Script and Subject Cannot Both Be Empty"))
+ st.stop()
+
+ if params.video_source not in ["pexels", "pixabay", "coverr", "local"]:
+ _remove_active_generation_task(task_id)
+ st.error(tr("Please Select a Valid Video Source"))
+ st.stop()
+
+ if params.video_source == "pexels" and not config.app.get(
+ "pexels_api_keys", ""
+ ):
+ _remove_active_generation_task(task_id)
+ st.error(tr("Please Enter the Pexels API Key"))
+ st.stop()
- new_key = st.text_input(tr("Add Pixabay API Key"), key="pixabay_new_key")
- if st.button(tr("Add Pixabay API Key")):
- if new_key and new_key not in config.app["pixabay_api_keys"]:
- config.app["pixabay_api_keys"].append(new_key)
- config.save_config()
- st.success(tr("Pixabay API Key added successfully"))
- elif new_key in config.app["pixabay_api_keys"]:
- st.warning(tr("This API Key already exists"))
- else:
- st.error(tr("Please enter a valid API Key"))
+ if params.video_source == "pixabay" and not config.app.get(
+ "pixabay_api_keys", ""
+ ):
+ _remove_active_generation_task(task_id)
+ st.error(tr("Please Enter the Pixabay API Key"))
+ st.stop()
- if config.app["pixabay_api_keys"]:
- delete_key = st.selectbox(
- tr("Select Pixabay API Key to delete"), config.app["pixabay_api_keys"], key="pixabay_delete_key"
+ if params.video_source == "coverr" and not config.app.get(
+ "coverr_api_keys", ""
+ ):
+ _remove_active_generation_task(task_id)
+ st.error(tr("Please Enter the Coverr API Key"))
+ st.stop()
+
+ if params.video_source == "local" and not has_local_materials:
+ # 本地素材为空时继续执行会先产生 TTS/字幕,最后才在素材预处理阶段失败。
+ # 在任务启动前拦截,可以避免无意义的 API 调用和中间文件。
+ _remove_active_generation_task(task_id)
+ st.error(tr("Please Upload Local Materials First"))
+ st.stop()
+
+ if voice_mode == VOICE_MODE_UPLOAD and not uploaded_audio_file:
+ # 上传音频是用户显式选择的配音方式,缺少文件时不能静默退回 TTS。
+ # 在任务启动前拦截,避免产生与用户选择不一致的成片。
+ _remove_active_generation_task(task_id)
+ st.error(tr("Please Upload Voiceover File First"))
+ st.stop()
+
+ if "custom_audio" in unmet_restore_requirements:
+ # 历史自定义音频不能自动回填。用户尚未重新上传且也没有主动更换音色时,
+ # 必须阻止静默退回 TTS,否则重新生成的结果会与原任务语音不一致。
+ _remove_active_generation_task(task_id)
+ st.error(tr("Task Restore Custom Audio Warning"))
+ st.stop()
+
+ if uploaded_audio_file:
+ task_dir = utils.task_dir(task_id)
+ try:
+ custom_audio_path = _build_uploaded_file_path(
+ uploaded_audio_file,
+ task_dir,
+ CUSTOM_AUDIO_EXTENSIONS,
+ "custom-audio",
+ )
+ except ValueError:
+ _remove_active_generation_task(task_id)
+ st.error(tr("Unsupported Upload File Type"))
+ st.stop()
+ with open(custom_audio_path, "wb") as f:
+ f.write(uploaded_audio_file.getbuffer())
+ params.custom_audio_file = custom_audio_path
+
+ if uploaded_files:
+ local_videos_dir = utils.storage_dir("local_videos", create=True)
+ # 每次重新上传时都以本次选择的素材为准,避免旧素材不断重复追加。
+ params.video_materials = []
+ persisted_local_materials = []
+ for file in uploaded_files:
+ try:
+ file_path = _build_uploaded_file_path(
+ file,
+ local_videos_dir,
+ LOCAL_MATERIAL_EXTENSIONS,
+ "material",
+ )
+ except ValueError:
+ _remove_active_generation_task(task_id)
+ st.error(tr("Unsupported Upload File Type"))
+ st.stop()
+ with open(file_path, "wb") as f:
+ f.write(file.getbuffer())
+ m = MaterialInfo()
+ m.provider = "local"
+ m.url = file_path
+ params.video_materials.append(m)
+ persisted_local_materials.append(
+ {
+ "provider": m.provider,
+ "url": m.url,
+ "duration": m.duration,
+ }
+ )
+ # 将已上传并保存到本地的视频素材写入会话,供后续只改文案时直接复用。
+ st.session_state["local_video_materials"] = persisted_local_materials
+ elif (
+ params.video_source == "local" and st.session_state["local_video_materials"]
+ ):
+ # 当用户没有重新上传文件时,复用最近一次已经保存到磁盘的本地素材列表。
+ params.video_materials = []
+ for material in st.session_state["local_video_materials"]:
+ m = MaterialInfo()
+ m.provider = material.get("provider", "local")
+ m.url = material.get("url", "")
+ m.duration = material.get("duration", 0)
+ if m.url:
+ params.video_materials.append(m)
+
+ def log_received(msg):
+ if config.ui["hide_log"]:
+ return
+ records = st.session_state.setdefault("generation_log_records", [])
+ records.append(str(msg).rstrip())
+ # 日志用于 WebUI 诊断,不需要无限增长;限制数量避免长任务反复
+ # rerun 后页面负担过重。
+ if len(records) > 1000:
+ del records[:-1000]
+ render_generation_logs(log_container)
+
+ log_handler_id = logger.add(log_received)
+ try:
+ st.toast(tr("Generating Video"))
+ logger.info(tr("Start Generating Video"))
+ logger.info(utils.to_json(params))
+
+ with config.runtime_config_lock():
+ result = tm.start(task_id=task_id, params=params)
+ if not result or "videos" not in result:
+ st.error(tr("Video Generation Failed"))
+ logger.error(tr("Video Generation Failed"))
+ st.stop()
+
+ video_files = result.get("videos", [])
+ st.success(tr("Video Generation Completed"))
+ try:
+ if video_files:
+ player_cols = st.columns(len(video_files) * 2 + 1)
+ for i, url in enumerate(video_files):
+ player_cols[i * 2 + 1].video(url)
+ except Exception as e:
+ logger.exception(
+ f"failed to render generated video preview: task_id={task_id}, "
+ f"video_files={video_files}, error={e}"
)
- if st.button(tr("Delete Selected Pixabay API Key")):
- config.app["pixabay_api_keys"].remove(delete_key)
- config.save_config()
- st.success(tr("Pixabay API Key deleted successfully"))
- with col3:
- st.subheader(tr("Coverr API Keys"))
+ open_task_folder(task_id)
+ logger.info(tr("Video Generation Completed"))
+ finally:
+ _remove_active_generation_task(task_id)
+ remove_logger_handler_safely(log_handler_id)
- # 与 pexels/pixabay 不同,coverr_api_keys 是 PR 新增配置项,
- # 老用户的 config.toml 不一定包含,这里先兜底初始化为空列表,
- # 防止下面 .append / 索引访问触发 KeyError。
- if "coverr_api_keys" not in config.app or config.app["coverr_api_keys"] is None:
- config.app["coverr_api_keys"] = []
+ render_generation_logs(log_container)
- if config.app["coverr_api_keys"]:
- st.write(tr("Current Keys:"))
- for key in config.app["coverr_api_keys"]:
- st.code(key)
- else:
- st.info(tr("No Coverr API Keys currently"))
- new_key = st.text_input(tr("Add Coverr API Key"), key="coverr_new_key")
- if st.button(tr("Add Coverr API Key")):
- if new_key and new_key not in config.app["coverr_api_keys"]:
- config.app["coverr_api_keys"].append(new_key)
- config.save_config()
- st.success(tr("Coverr API Key added successfully"))
- elif new_key in config.app["coverr_api_keys"]:
- st.warning(tr("This API Key already exists"))
- else:
- st.error(tr("Please enter a valid API Key"))
+def _render_application():
+ """按固定顺序渲染顶部栏、弹窗、生成表单和任务结果。"""
+ _render_top_bar()
- if config.app["coverr_api_keys"]:
- delete_key = st.selectbox(
- tr("Select Coverr API Key to delete"), config.app["coverr_api_keys"], key="coverr_delete_key"
- )
- if st.button(tr("Delete Selected Coverr API Key")):
- config.app["coverr_api_keys"].remove(delete_key)
- config.save_config()
- st.success(tr("Coverr API Key deleted successfully"))
+ if st.session_state.get("settings_dialog_open", False):
+ _render_settings_dialog()
+
+ restore_applied = _apply_pending_task_restore()
+ restore_candidate_id = st.session_state.get("task_restore_candidate_id")
+ if restore_candidate_id:
+ _render_task_restore_dialog(restore_candidate_id)
+ restore_succeeded = st.session_state.pop("task_restore_succeeded", False)
+ if restore_applied or restore_succeeded:
+ st.success(tr("Task Configuration Loaded"))
+
+ with st.container(key="main_settings_grid"):
+ panel = st.columns(4)
+ left_panel = panel[0]
+ middle_panel = panel[1]
+ audio_panel = panel[2]
+ right_panel = panel[3]
+
+ params = VideoParams(video_subject="")
+ params.match_materials_to_script = bool(
+ st.session_state.get("match_materials_to_script", False)
+ )
+ _render_script_settings(left_panel, params)
+
+ uploaded_files = _render_video_settings(middle_panel, params)
+ uploaded_audio_file, voice_mode = _render_audio_settings(audio_panel, params)
+
+ _render_subtitle_settings(right_panel, params)
+
+ _render_generation_controls(params, uploaded_files, uploaded_audio_file, voice_mode)
-start_button = st.button(tr("Generate Video"), use_container_width=True, type="primary")
-if start_button:
config.save_config()
- task_id = str(uuid4())
- if not params.video_subject and not params.video_script:
- st.error(tr("Video Script and Subject Cannot Both Be Empty"))
- scroll_to_bottom()
- st.stop()
-
- if params.video_source not in ["pexels", "pixabay", "coverr", "local"]:
- st.error(tr("Please Select a Valid Video Source"))
- scroll_to_bottom()
- st.stop()
-
- if params.video_source == "pexels" and not config.app.get("pexels_api_keys", ""):
- st.error(tr("Please Enter the Pexels API Key"))
- scroll_to_bottom()
- st.stop()
-
- if params.video_source == "pixabay" and not config.app.get("pixabay_api_keys", ""):
- st.error(tr("Please Enter the Pixabay API Key"))
- scroll_to_bottom()
- st.stop()
-
- if params.video_source == "coverr" and not config.app.get("coverr_api_keys", ""):
- st.error(tr("Please Enter the Coverr API Key"))
- scroll_to_bottom()
- st.stop()
-
- if uploaded_audio_file:
- task_dir = utils.task_dir(task_id)
- # 上传文件名来自浏览器,不能直接拼到磁盘路径里;这里只保留扩展名,
- # 并使用固定文件名保存到当前任务目录,避免路径穿越或特殊字符问题。
- _, audio_ext = os.path.splitext(os.path.basename(uploaded_audio_file.name))
- audio_ext = audio_ext.lower() or ".mp3"
- custom_audio_path = os.path.join(task_dir, f"custom-audio{audio_ext}")
- with open(custom_audio_path, "wb") as f:
- f.write(uploaded_audio_file.getbuffer())
- params.custom_audio_file = custom_audio_path
-
- if uploaded_files:
- local_videos_dir = utils.storage_dir("local_videos", create=True)
- # 每次重新上传时都以本次选择的素材为准,避免旧素材不断重复追加。
- params.video_materials = []
- persisted_local_materials = []
- for file in uploaded_files:
- file_path = os.path.join(local_videos_dir, f"{file.file_id}_{file.name}")
- with open(file_path, "wb") as f:
- f.write(file.getbuffer())
- m = MaterialInfo()
- m.provider = "local"
- m.url = file_path
- params.video_materials.append(m)
- persisted_local_materials.append(
- {
- "provider": m.provider,
- "url": m.url,
- "duration": m.duration,
- }
- )
- # 将已上传并保存到本地的视频素材写入会话,供后续只改文案时直接复用。
- st.session_state["local_video_materials"] = persisted_local_materials
- elif params.video_source == "local" and st.session_state["local_video_materials"]:
- # 当用户没有重新上传文件时,复用最近一次已经保存到磁盘的本地素材列表。
- params.video_materials = []
- for material in st.session_state["local_video_materials"]:
- m = MaterialInfo()
- m.provider = material.get("provider", "local")
- m.url = material.get("url", "")
- m.duration = material.get("duration", 0)
- if m.url:
- params.video_materials.append(m)
- log_container = st.empty()
- log_records = []
- def log_received(msg):
- if config.ui["hide_log"]:
- return
- with log_container:
- log_records.append(msg)
- st.code("\n".join(log_records))
-
- logger.add(log_received)
-
- st.toast(tr("Generating Video"))
- logger.info(tr("Start Generating Video"))
- logger.info(utils.to_json(params))
- scroll_to_bottom()
-
- result = tm.start(task_id=task_id, params=params)
- if not result or "videos" not in result:
- st.error(tr("Video Generation Failed"))
- logger.error(tr("Video Generation Failed"))
- scroll_to_bottom()
- st.stop()
-
- video_files = result.get("videos", [])
- st.success(tr("Video Generation Completed"))
- try:
- if video_files:
- player_cols = st.columns(len(video_files) * 2 + 1)
- for i, url in enumerate(video_files):
- player_cols[i * 2 + 1].video(url)
- except Exception:
- pass
-
- open_task_folder(task_id)
- logger.info(tr("Video Generation Completed"))
- scroll_to_bottom()
-
-config.save_config()
+_render_application()
diff --git a/webui/i18n/de.json b/webui/i18n/de.json
index 19186870..41e19a9a 100644
--- a/webui/i18n/de.json
+++ b/webui/i18n/de.json
@@ -10,23 +10,52 @@
"Incorrect username or password": "Falscher Benutzername oder Passwort",
"Please enter your username and password": "Bitte geben Sie Ihren Benutzernamen und Ihr Passwort ein",
"Video Script Settings": "**Drehbuch / Topic des Videos**",
- "Video Subject": "Worum soll es in dem Video gehen? (Geben Sie ein Keyword an, :red[Dank KI wird automatisch ein Drehbuch generieren])",
- "Script Language": "Welche Sprache soll zum Generieren von Drehbüchern verwendet werden? :red[KI generiert anhand dieses Begriffs das Drehbuch]",
- "Advanced Script Settings": "Erweiterte Drehbuch-Einstellungen",
+ "Video Subject": "Videothema",
+ "Video Subject Placeholder": "Beispiel: Wie KI den Alltag verändert",
+ "Script Language": "Skriptsprache",
+ "Advanced Script Settings": "Erweiterte Skripteinstellungen",
"Script Paragraph Number": "Anzahl der Drehbuchabsätze",
- "Custom Script Requirements": "Benutzerdefinierte Anforderungen an das Drehbuch",
+ "Custom Script Requirements": "Individuelle Skriptvorgaben",
"Custom Script Requirements Placeholder": "Beispiel: leichterer Ton, TikTok-Stil, junge Zielgruppe, spannenderer Einstieg",
- "Use Custom System Prompt": "Benutzerdefinierten System-Prompt verwenden",
- "Use Custom System Prompt Help": "Wenn aktiviert, ersetzt dies die Standardregeln für die Drehbuchgenerierung. Für fortgeschrittene Prompt-Nutzer gedacht.",
- "Custom System Prompt": "Benutzerdefinierter System-Prompt",
- "Generate Video Script and Keywords": "Klicken Sie hier, um mithilfe von KI ein [Video Drehbuch] und [Video Keywords] basierend auf dem **Keyword** zu generieren.",
+ "Custom System Prompt": "System-Prompt",
+ "Restore Default System Prompt": "Standard-Prompt wiederherstellen",
+ "Default System Prompt Restored": "Standard-System-Prompt wiederhergestellt",
+ "Preview Final Prompt": "Finalen Prompt anzeigen",
+ "Final Prompt Preview": "Vorschau des finalen Prompts",
+ "Generate Video Script and Keywords": "Skript & Keywords mit KI erstellen",
"Auto Detect": "Automatisch erkennen",
- "Video Script": "Drehbuch (Storybook) (:blue[① Optional, KI generiert ② Die richtige Zeichensetzung hilft bei der Erstellung von Untertiteln])",
- "Generate Video Keywords": "Klicken Sie, um KI zum Generieren zu verwenden [Video Keywords] basierend auf dem **Drehbuch**",
+ "Video Script": "Videoskript (optional)",
+ "Video Script Help": "Leer lassen, um es per KI aus dem Videothema zu erstellen. Sinnvolle Zeichensetzung verbessert die Untertitel.",
+ "Generate Video Keywords": "Keywords mit KI erstellen",
"Please Enter the Video Subject": "Bitte geben Sie zuerst das Drehbuch an",
+ "Please Enter the Video Subject First": "Bitte geben Sie zuerst das Videothema ein",
+ "Task Manager": "Aufgabenverwaltung",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "KI generiert ein Drehbuch und Schlüsselwörter...",
"Generating Video Keywords": "KI generiert Video-Schlüsselwörter...",
- "Video Keywords": "Video Schlüsselwörter (:blue[① Optional, KI generiert ② Verwende **, (Kommas)** zur Trennung der Wörter, in englischer Sprache])",
+ "Video Keywords": "Video-Keywords (Englisch, optional)",
+ "Video Keywords Help": "Leer lassen, um sie per KI aus dem Videoskript zu erstellen. Mehrere Keywords mit englischen Kommas trennen.",
"Video Settings": "**Video Einstellungen**",
"Video Concat Mode": "Videoverkettungsmodus",
"Random": "Zufällige Verkettung (empfohlen)",
@@ -41,19 +70,37 @@
"Video Ratio": "Video-Seitenverhältnis",
"Portrait": "Portrait 9:16",
"Landscape": "Landschaft 16:9",
- "Clip Duration": "Maximale Dauer einzelner Videoclips in sekunden",
- "Number of Videos Generated Simultaneously": "Anzahl der parallel generierten Videos",
- "Advanced Video Settings": "Erweiterte Videoeinstellungen",
+ "Clip Duration": "Max. Dauer pro Clip (Sek.)",
+ "Clip Duration Help": "Legt die Dauer jedes verwendeten Clips fest, nicht die Gesamtlänge des Videos.",
+ "Number of Videos Generated Simultaneously": "Videos pro Durchlauf",
+ "Match Materials to Script Order": "Bilder an Skriptreihenfolge anpassen",
+ "Match Materials to Script Order Help": "Erstellt Suchbegriffe und ordnet Material nach dem Skript, damit die Bilder dem Sprechertext folgen.",
"Video Encoder": "Video-Encoder",
- "Video Encoder Help": "Erweiterte Option. libx264 ist die stabilste Standardauswahl. Wenn ein Hardware-Encoder ausgewählt ist, fällt die App auf libx264 zurück, falls der aktuelle FFmpeg-Build, die GPU oder der Treiber ihn nicht verwenden kann.",
+ "Default Video Encoder": "Standard (empfohlen)",
+ "Video Encoder Help": "Erweiterte Option. Standard folgt der stabilen App-Vorgabe, derzeit libx264. Wenn ein Hardware-Encoder nicht verfügbar ist, fällt die App automatisch auf libx264 zurück.",
"Audio Settings": "**Audio Einstellungen**",
- "Speech Synthesis": "Sprachausgabe",
+ "Voiceover Mode": "Vertonungsmodus",
+ "Automatic Voiceover": "Auto",
+ "Upload Voiceover": "Upload",
+ "No Voiceover": "Keine",
+ "No Voice Selected": "Keine Stimme ausgewählt",
+ "Voiceover Service": "Sprachdienst",
+ "Voiceover Voice": "Stimme (passend zur Skriptsprache)",
+ "Voiceover Volume": "Lautstärke",
+ "Voiceover Volume Help": "Gilt für automatische und hochgeladene Vertonung. 100 % entspricht der Originallautstärke.",
+ "Voiceover Speed": "Sprechtempo",
+ "Voiceover Speed Help": "Gilt nur für automatische Vertonung. 1,0× entspricht der normalen Geschwindigkeit.",
+ "Upload Voiceover File": "Vertonung hochladen",
+ "Upload Voiceover File Help": "Die hochgeladene Audiodatei wird direkt verwendet; es wird keine automatische Vertonung erstellt.",
+ "Please Upload Voiceover File First": "Bitte laden Sie zuerst eine Vertonungsdatei hoch",
+ "Background Music Source": "Quelle der Hintergrundmusik",
+ "Speech Synthesis": "Stimme (passend zur Skriptsprache)",
"Speech Region": "Region(:red[Erforderlich,[Region abrufen](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "API-Schlüssel(:red[Erforderlich,[API-Schlüssel abrufen](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Lautstärke der Sprachausgabe",
- "Speech Rate": "Lesegeschwindigkeit (1,0 bedeutet 1x)",
+ "Speech Volume": "Stimmenlautstärke",
+ "Speech Rate": "Sprechtempo",
"Custom Audio File": "Benutzerdefinierte Audiodatei",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Die benutzerdefinierte Audiodatei wird direkt verwendet. Die TTS-Synthese wird für diese Aufgabe übersprungen.",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Die hochgeladene Vertonung wird direkt verwendet; es wird keine automatische Vertonung erstellt.",
"No Voice": "Keine Stimme (keine Sprachsynthese)",
"Male": "Männlich",
"Female": "Weiblich",
@@ -61,28 +108,32 @@
"No Background Music": "Ohne Hintergrundmusik",
"Random Background Music": "Zufällig erzeugte Hintergrundmusik",
"Custom Background Music": "Benutzerdefinierte Hintergrundmusik",
- "Custom Background Music File": "Bitte gib den Pfad zur Musikdatei an:",
- "Background Music Volume": "Lautstärke: (0.2 entspricht 20%, sollte nicht zu laut sein)",
+ "Custom Background Music File": "Pfad der eigenen Musik",
+ "Background Music Volume": "Hintergrundmusik-Lautstärke",
"Subtitle Settings": "**Untertitel-Einstellungen**",
- "Enable Subtitles": "Untertitel aktivieren (Wenn diese Option deaktiviert ist, werden die Einstellungen nicht genutzt)",
- "Font": "Schriftart des Untertitels",
- "Position": "Ausrichtung des Untertitels",
+ "Enable Subtitles": "Untertitel aktivieren",
+ "Font": "Schriftart",
+ "Position": "Position",
"Top": "Oben",
"Center": "Mittig",
"Bottom": "Unten (empfohlen)",
- "Custom": "Benutzerdefinierte Position (70, was 70% von oben bedeutet)",
+ "Custom": "Benutzerdefiniert",
"Custom Position (% from top)": "Benutzerdefinierte Position (% von oben)",
"Please enter a value between 0 and 100": "Bitte geben Sie einen Wert zwischen 0 und 100 ein",
"Please enter a valid number": "Bitte geben Sie eine gültige Zahl ein",
- "Font Size": "Schriftgröße für Untertitel",
- "Font Color": "Schriftfarbe",
+ "Font Size": "Schriftgröße",
+ "Font Color": "Farbe",
"Stroke Color": "Kontur",
- "Stroke Width": "Breite der Untertitelkontur",
- "Enable Subtitle Background": "Untertitelhintergrund aktivieren",
- "Subtitle Background Color": "Farbe des Untertitelhintergrunds",
- "Rounded Subtitle Background": "Abgerundeten halbtransparenten Untertitelhintergrund aktivieren",
+ "Stroke Width": "Konturbreite",
+ "Enable Subtitle Background": "Hintergrund",
+ "Subtitle Background Color": "Farbe",
+ "Rounded Subtitle Background": "Runder Hintergrund",
"Rounded Subtitle Background Help": "Standardmäßig deaktiviert. Wenn aktiviert, verwenden Untertitelhintergründe einen abgerundeten, halbtransparenten Stil, der sich besser an die Textbreite anpasst.",
- "Generate Video": "Generiere Videos durch KI",
+ "Subtitle Colors Are Indistinguishable": "Untertiteltext und Hintergrund haben dieselbe Farbe, daher sind Untertitel möglicherweise unsichtbar.",
+ "Subtitle Font Does Not Support Text": "Die gewählte Schrift unterstützt einige Zeichen nicht, daher fehlen möglicherweise Untertitel.",
+ "Restore Default Subtitle Settings": "Untertitel zurücksetzen",
+ "Default Subtitle Settings Restored": "Untertitel-Standardeinstellungen wiederhergestellt",
+ "Generate Video": "Video erstellen",
"Video Script and Subject Cannot Both Be Empty": "Das Video-Thema und Drehbuch dürfen nicht beide leer sein",
"Generating Video": "Video wird erstellt, bitte warten...",
"Start Generating Video": "Beginne mit der Generierung",
@@ -108,12 +159,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Bitte wählen Sie eine unterstützte Videoquelle aus",
- "TikTok": "TikTok (TikTok-Unterstützung kommt bald)",
- "Bilibili": "Bilibili (Bilibili-Unterstützung kommt bald)",
- "Xiaohongshu": "Xiaohongshu (Xiaohongshu-Unterstützung kommt bald)",
"Local file": "Lokale Datei",
"Upload Local Files": "Lokale Dateien hochladen",
- "Play Voice": "Sprachausgabe abspielen",
+ "Please Upload Local Materials First": "Bitte laden Sie zuerst mindestens eine lokale Mediendatei hoch.",
+ "Unsupported Upload File Type": "Der hochgeladene Dateityp wird nicht unterstützt.",
+ "Play Voice": "Stimme testen",
"Voice Example": "Dies ist ein Beispieltext zum Testen der Sprachsynthese",
"Synthesizing Voice": "Sprachsynthese läuft, bitte warten...",
"TTS Provider": "Sprachsynthese-Anbieter auswählen",
@@ -126,36 +176,52 @@
"Hide Log": "Protokoll ausblenden",
"Hide Basic Settings": "Basis-Einstellungen ausblenden\n\nWenn diese Option deaktiviert ist, wird die Basis-Einstellungen-Leiste nicht auf der Seite angezeigt.\n\nWenn Sie sie erneut anzeigen möchten, setzen Sie `hide_config = false` in `config.toml`",
"LLM Settings": "**LLM-Einstellungen**",
+ "LLM Settings Tab": "LLM-Einstellungen",
+ "Material API Tab": "Material-APIs",
+ "Interface Settings Tab": "Oberflächeneinstellungen",
+ "Cache Management Tab": "Cache-Verwaltung",
+ "Video Cache Directory": "Cache-Verzeichnis für Online-Videomaterial",
+ "Cache File Count": "Cache-Dateien",
+ "Cache Total Size": "Speicherbelegung",
+ "Oldest Cache Date": "Ältester Cache",
+ "Video Cache Management Help": "Hier werden nur automatisch heruntergeladene Online-Videos verwaltet. Uploads und erzeugte Videos werden nicht gelöscht. Bereinigen Sie den Cache nicht während einer Videogenerierung.",
+ "Cache Older Than 30 Days": "Älter als 30 Tage (empfohlen)",
+ "Cache Older Than 7 Days": "Älter als 7 Tage",
+ "Cache Older Than 90 Days": "Älter als 90 Tage",
+ "All Video Cache": "Gesamter Video-Cache",
+ "Cache Cleanup Range": "Bereinigungsbereich",
+ "Cache Cleanup Preview": "Voraussichtlich werden {count} Dateien gelöscht und {size} freigegeben.",
+ "Confirm Cache Cleanup": "Ich bestätige das Löschen der obigen Cache-Dateien",
+ "Refresh Cache Stats": "Statistik aktualisieren",
+ "Open Cache Directory": "Ordner öffnen",
+ "Clean Cache Now": "Jetzt bereinigen",
+ "Cache Cleanup Completed": "Cache bereinigt: {count} Dateien gelöscht und {size} freigegeben.",
+ "Cache Cleanup Completed With Failures": "Cache teilweise bereinigt: {count} Dateien gelöscht, {size} freigegeben; {failed} Dateien konnten nicht gelöscht werden.",
+ "Settings": "Einstellungen",
+ "Onboarding Model Settings Title": "Schritt 1: KI-Modell einrichten",
+ "Onboarding Model Settings Description": "Öffnen Sie nach der Tour die Einstellungen, wählen Sie einen Anbieter, tragen Sie API-Key, Basis-URL und Modell ein und testen Sie die Verbindung.",
+ "Onboarding Creation Settings Title": "Schritt 2: Video konfigurieren",
+ "Onboarding Creation Settings Description": "Geben Sie ein Thema ein und passen Sie Video, Audio und Untertitel nach Bedarf an. Die meisten Standardwerte können übernommen werden.",
+ "Onboarding Generate Video Title": "Schritt 3: Video erstellen",
+ "Onboarding Generate Video Description": "Starten Sie anschließend die Erstellung. Fortschritt und Ergebnis finden Sie oben in der Aufgabenverwaltung.",
+ "Onboarding Previous": "Zurück",
+ "Onboarding Next": "Weiter",
+ "Onboarding Done": "Fertig",
+ "Regenerate Task": "Neu erstellen",
+ "Regenerate Task Confirmation": "Skript und Einstellungen dieser Aufgabe laden? Die aktuellen Formularwerte werden ersetzt, die ursprüngliche Aufgabe und das Video bleiben unverändert.",
+ "Load Task Configuration": "Konfiguration laden",
+ "Task Restore Failed": "Diese Aufgabe enthält keine wiederverwendbaren Einstellungen.",
+ "Task Configuration Loaded": "Die historische Konfiguration wurde geladen. Prüfen Sie sie und klicken Sie dann auf Video erstellen.",
+ "Task Restore Local Materials Warning": "Lokale Medien können nicht automatisch wiederhergestellt werden. Bitte laden Sie sie erneut hoch.",
+ "Task Restore Custom Audio Warning": "Benutzerdefiniertes Audio kann nicht automatisch wiederhergestellt werden. Bitte laden Sie es erneut hoch.",
+ "Cancel": "Abbrechen",
+ "Test LLM Connection": "Modellverbindung testen",
+ "Testing LLM Connection": "Modellverbindung wird getestet...",
+ "LLM Connection Test Succeeded": "Verbindung erfolgreich: {provider} / {model} ({elapsed} s)",
+ "LLM Connection Test Failed": "Verbindung fehlgeschlagen: {error}",
"Video Source Settings": "**Videoquellen-Einstellungen**",
- "Click to show API Key management": "Klicken Sie hier, um die API-Schlüsselverwaltung anzuzeigen",
- "Manage Pexels and Pixabay API Keys": "Pexels- und Pixabay-API-Schlüssel verwalten",
- "Pexels API Keys": "Pexels-API-Schlüssel",
- "Pixabay API Keys": "Pixabay-API-Schlüssel",
- "Current Keys:": "Aktuelle Schlüssel:",
- "No Pexels API Keys currently": "Derzeit keine Pexels-API-Schlüssel",
- "Add Pexels API Key": "Pexels-API-Schlüssel hinzufügen",
- "Pexels API Key added successfully": "Pexels-API-Schlüssel erfolgreich hinzugefügt",
- "This API Key already exists": "Dieser API-Schlüssel existiert bereits",
- "Please enter a valid API Key": "Bitte geben Sie einen gültigen API-Schlüssel ein",
- "Select Pexels API Key to delete": "Wählen Sie den zu löschenden Pexels-API-Schlüssel aus",
- "Delete Selected Pexels API Key": "Ausgewählten Pexels-API-Schlüssel löschen",
- "Pexels API Key deleted successfully": "Pexels-API-Schlüssel erfolgreich gelöscht",
- "No Pixabay API Keys currently": "Derzeit keine Pixabay-API-Schlüssel",
- "Add Pixabay API Key": "Pixabay-API-Schlüssel hinzufügen",
- "Pixabay API Key added successfully": "Pixabay-API-Schlüssel erfolgreich hinzugefügt",
- "Select Pixabay API Key to delete": "Wählen Sie den zu löschenden Pixabay-API-Schlüssel aus",
- "Delete Selected Pixabay API Key": "Ausgewählten Pixabay-API-Schlüssel löschen",
- "Pixabay API Key deleted successfully": "Pixabay-API-Schlüssel erfolgreich gelöscht",
- "Manage Pexels, Pixabay and Coverr API Keys": "Pexels-, Pixabay- und Coverr-API-Schlüssel verwalten",
"Coverr": "Coverr",
"Coverr API Key": "Coverr API-Schlüssel ([API-Schlüssel holen](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Coverr API-Schlüssel",
- "Please Enter the Coverr API Key": "Bitte geben Sie den **Coverr API-Schlüssel** ein",
- "No Coverr API Keys currently": "Derzeit keine Coverr API-Schlüssel",
- "Add Coverr API Key": "Coverr API-Schlüssel hinzufügen",
- "Coverr API Key added successfully": "Coverr API-Schlüssel erfolgreich hinzugefügt",
- "Select Coverr API Key to delete": "Coverr API-Schlüssel zum Löschen auswählen",
- "Delete Selected Coverr API Key": "Ausgewählten Coverr API-Schlüssel löschen",
- "Coverr API Key deleted successfully": "Coverr API-Schlüssel erfolgreich gelöscht"
+ "Please Enter the Coverr API Key": "Bitte geben Sie den **Coverr API-Schlüssel** ein"
}
}
diff --git a/webui/i18n/en.json b/webui/i18n/en.json
index 176df6bf..96b06492 100644
--- a/webui/i18n/en.json
+++ b/webui/i18n/en.json
@@ -10,23 +10,52 @@
"Incorrect username or password": "Incorrect username or password",
"Please enter your username and password": "Please enter your username and password",
"Video Script Settings": "**Video Script Settings**",
- "Video Subject": "Video Subject (Provide a keyword, :red[AI will automatically generate] video script)",
- "Script Language": "Language for Generating Video Script (AI will automatically output based on the language of your subject)",
+ "Video Subject": "Video Subject",
+ "Video Subject Placeholder": "Example: How AI is changing everyday life",
+ "Script Language": "Script Language",
"Advanced Script Settings": "Advanced Script Settings",
"Script Paragraph Number": "Script Paragraph Count",
"Custom Script Requirements": "Custom Script Requirements",
"Custom Script Requirements Placeholder": "Example: use a lighter tone, fit TikTok style, target young viewers, make the opening more suspenseful",
- "Use Custom System Prompt": "Use Custom System Prompt",
- "Use Custom System Prompt Help": "When enabled, this replaces the default script generation rules. Intended for advanced prompt users.",
- "Custom System Prompt": "Custom System Prompt",
- "Generate Video Script and Keywords": "Click to use AI to generate [Video Script] and [Video Keywords] based on **subject**",
+ "Custom System Prompt": "System Prompt",
+ "Restore Default System Prompt": "Restore Default Prompt",
+ "Default System Prompt Restored": "Default system prompt restored",
+ "Preview Final Prompt": "Preview Final Prompt",
+ "Final Prompt Preview": "Final Prompt Preview",
+ "Generate Video Script and Keywords": "Generate Script & Keywords with AI",
"Auto Detect": "Auto Detect",
- "Video Script": "Video Script (:blue[① Optional, AI generated ② Proper punctuation helps with subtitle generation])",
- "Generate Video Keywords": "Click to use AI to generate [Video Keywords] based on **script**",
+ "Video Script": "Video Script (Optional)",
+ "Video Script Help": "Leave blank to generate it with AI from the video subject. Proper punctuation helps generate subtitles.",
+ "Generate Video Keywords": "Generate Keywords with AI",
"Please Enter the Video Subject": "Please Enter the Video Script First",
+ "Please Enter the Video Subject First": "Please enter the video subject first",
+ "Task Manager": "Task Manager",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "AI is generating video script and keywords...",
"Generating Video Keywords": "AI is generating video keywords...",
- "Video Keywords": "Video Keywords (:blue[① Optional, AI generated ② Use **English commas** for separation, English only])",
+ "Video Keywords": "Video Keywords (English, Optional)",
+ "Video Keywords Help": "Leave blank to generate them with AI from the video script. Separate multiple keywords with English commas.",
"Video Settings": "**Video Settings**",
"Video Concat Mode": "Video Concatenation Mode",
"Random": "Random Concatenation (Recommended)",
@@ -41,16 +70,32 @@
"Video Ratio": "Video Aspect Ratio",
"Portrait": "Portrait 9:16",
"Landscape": "Landscape 16:9",
- "Clip Duration": "Maximum Duration of Video Clips (seconds)",
- "Number of Videos Generated Simultaneously": "Number of Videos Generated Simultaneously",
- "Match Materials to Script Order": "Match materials to script order",
- "Match Materials to Script Order Help": "Disabled by default. Mainly applies to online material sources. When enabled, keywords are generated in script order and materials are downloaded/combined in that order to reduce visual mismatch with the current voiceover.",
+ "Clip Duration": "Maximum Clip Duration (seconds)",
+ "Clip Duration Help": "Controls the duration of each clip used in the composition, not the total video length.",
+ "Number of Videos Generated Simultaneously": "Videos per Run",
+ "Match Materials to Script Order": "Match Visuals to Script Order",
+ "Match Materials to Script Order Help": "Generate keywords and match materials in script order so visuals follow the current voiceover.",
"Audio Settings": "**Audio Settings**",
- "Speech Synthesis": "Speech Synthesis Voice",
+ "Voiceover Mode": "Voiceover Mode",
+ "Automatic Voiceover": "Auto",
+ "Upload Voiceover": "Upload",
+ "No Voiceover": "None",
+ "No Voice Selected": "No Voice Selected",
+ "Voiceover Service": "Voiceover Service",
+ "Voiceover Voice": "Voice (match script language)",
+ "Voiceover Volume": "Voiceover Volume",
+ "Voiceover Volume Help": "Adjusts automatic or uploaded voiceover volume. 100% keeps the original level.",
+ "Voiceover Speed": "Voiceover Speed",
+ "Voiceover Speed Help": "Applies only to automatic voiceover. 1.0× is the normal speed.",
+ "Upload Voiceover File": "Upload Voiceover File",
+ "Upload Voiceover File Help": "The uploaded audio is used directly instead of generating a voiceover.",
+ "Please Upload Voiceover File First": "Please upload a voiceover file first",
+ "Background Music Source": "Background Music Source",
+ "Speech Synthesis": "Voice (match script language)",
"Speech Region": "Region(:red[Required,[Get Region](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "API Key(:red[Required,[Get API Key](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Speech Volume (1.0 represents 100%)",
- "Speech Rate": "Speech Rate (1.0 means 1x speed)",
+ "Speech Volume": "Voice Volume",
+ "Speech Rate": "Voice Speed",
"Custom Audio File": "Custom Audio File",
"Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Custom audio will be used directly. TTS synthesis will be skipped for this task.",
"No Voice": "No Voice (skip speech synthesis)",
@@ -60,27 +105,31 @@
"No Background Music": "No Background Music",
"Random Background Music": "Random Background Music",
"Custom Background Music": "Custom Background Music",
- "Custom Background Music File": "Please enter the file path for custom background music:",
- "Background Music Volume": "Background Music Volume (0.2 represents 20%, background music should not be too loud)",
+ "Custom Background Music File": "Custom Music Path",
+ "Background Music Volume": "Background Music Volume",
"Subtitle Settings": "**Subtitle Settings**",
- "Enable Subtitles": "Enable Subtitles (If unchecked, the settings below will not take effect)",
- "Font": "Subtitle Font",
- "Position": "Subtitle Position",
+ "Enable Subtitles": "Enable Subtitles",
+ "Font": "Font",
+ "Position": "Position",
"Top": "Top",
"Center": "Center",
"Bottom": "Bottom (Recommended)",
- "Custom": "Custom position (70, indicating 70% down from the top)",
+ "Custom": "Custom",
"Custom Position (% from top)": "Custom Position (% from top)",
"Please enter a value between 0 and 100": "Please enter a value between 0 and 100",
"Please enter a valid number": "Please enter a valid number",
- "Font Size": "Subtitle Font Size",
- "Font Color": "Subtitle Font Color",
- "Stroke Color": "Subtitle Outline Color",
- "Stroke Width": "Subtitle Outline Width",
- "Enable Subtitle Background": "Enable subtitle background",
- "Subtitle Background Color": "Subtitle background color",
- "Rounded Subtitle Background": "Enable rounded translucent subtitle background",
+ "Font Size": "Font Size",
+ "Font Color": "Color",
+ "Stroke Color": "Outline",
+ "Stroke Width": "Outline Width",
+ "Enable Subtitle Background": "Background",
+ "Subtitle Background Color": "Color",
+ "Rounded Subtitle Background": "Rounded Background",
"Rounded Subtitle Background Help": "Disabled by default. When enabled, subtitle backgrounds use a rounded translucent style that better fits the text width.",
+ "Subtitle Colors Are Indistinguishable": "Subtitle text and background use the same color, so subtitles may not be visible.",
+ "Subtitle Font Does Not Support Text": "The selected subtitle font does not support some script characters, so subtitles may be missing.",
+ "Restore Default Subtitle Settings": "Restore Subtitle Defaults",
+ "Default Subtitle Settings Restored": "Default subtitle settings restored",
"Generate Video": "Generate Video",
"Video Script and Subject Cannot Both Be Empty": "Video Subject and Video Script cannot both be empty",
"Generating Video": "Generating video, please wait...",
@@ -94,10 +143,10 @@
"Language": "Language",
"LLM Provider": "LLM Provider",
"Recommended": "Recommended",
- "llm_provider_label.moonshot": "Kimi/Moonshot (Recommended)",
- "API Key": "API Key (:red[Required])",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (Recommended)",
+ "API Key": "API Key",
"Base Url": "Base Url",
- "Account ID": "Account ID (Get from Cloudflare dashboard)",
+ "Account ID": "Account ID",
"Model Name": "Model Name",
"Groq Model List Load Failed": "Unable to load Groq model list right now. You can still enter a model name manually; it will be validated during generation.",
"Groq API Key Required for Model List": "Add a Groq API key to load available models automatically.",
@@ -110,12 +159,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Please Select a Valid Video Source",
- "TikTok": "TikTok (TikTok support is coming soon)",
- "Bilibili": "Bilibili (Bilibili support is coming soon)",
- "Xiaohongshu": "Xiaohongshu (Xiaohongshu support is coming soon)",
"Local file": "Local file",
"Upload Local Files": "Upload Local Files",
- "Play Voice": "Play Voice",
+ "Please Upload Local Materials First": "Please upload at least one local material file first.",
+ "Unsupported Upload File Type": "The uploaded file type is not supported.",
+ "Play Voice": "Preview Voice",
"Voice Example": "This is an example text for testing speech synthesis",
"Synthesizing Voice": "Synthesizing voice, please wait...",
"TTS Provider": "Select the voice synthesis provider",
@@ -131,66 +179,85 @@
"Chatterbox Voices": "Chatterbox Voices",
"Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
"Chatterbox Voices Placeholder": "default-Female, narrator-Male",
- "tts_provider_tips.siliconflow": "##### SiliconFlow TTS Settings\n- **Speed**: range [0.25, 4.0], default is 1.0\n- **Volume**: uses the Speech Volume setting; default 1.0 maps to gain 0",
- "tts_provider_tips.mimo": "##### Xiaomi MiMo TTS Settings\n- Uses Xiaomi MiMo V2.5 preset voices\n- Speed and volume are currently handled by the provider defaults",
- "tts_provider_tips.elevenlabs": "##### ElevenLabs TTS Settings\n- **API Key**: create one at https://elevenlabs.io/app/settings/api-keys\n- Mark voices as Favorite in the ElevenLabs voice library to make them appear here",
- "tts_provider_tips.chatterbox": "##### Chatterbox TTS Settings (self-hosted)\n- Run an OpenAI-compatible Chatterbox server, such as devnen/Chatterbox-TTS-Server or travisvn/chatterbox-tts-api, and set Base URL to its /v1 endpoint\n- Voices is a comma-separated list of voice names exposed by your server; add a -Female or -Male suffix only to label the gender in this dropdown\n- Speech Volume is not applied for Chatterbox because the OpenAI /audio/speech API has no volume field; use Speech Rate instead",
+ "tts_provider_tips.azure-tts-v2": "Requires an Azure Speech **region** and **API key**. Create or view them in the [Azure Portal](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices).",
+ "tts_provider_tips.siliconflow": "Requires a SiliconFlow API key from the [console](https://cloud.siliconflow.cn/account/ak). Numeric speed and volume gain are supported.",
+ "tts_provider_tips.gemini-tts": "Requires a Gemini API key from [Google AI Studio](https://aistudio.google.com/app/apikey). Pace and style are controlled through natural-language instructions.",
+ "tts_provider_tips.mimo-tts": "Requires a Xiaomi MiMo API key; see the [first API call](https://mimo.mi.com/docs/quick-start/first-api-call). MiMo V2.5 controls pace and style through natural-language instructions.",
+ "tts_provider_tips.elevenlabs": "Requires an [API key](https://elevenlabs.io/app/settings/api-keys). Add voices to your favorites in the [Voice Library](https://elevenlabs.io/app/voice-library) first.",
+ "tts_provider_tips.chatterbox": "Self-hosted. Run a compatible [Chatterbox TTS API](https://github.com/travisvn/chatterbox-tts-api), then enter a Base URL ending in `/v1`; the API key is usually optional.",
"Hide Log": "Hide Log",
"Hide Basic Settings": "Hide Basic Settings\n\nHidden, the basic settings panel will not be displayed on the page.\n\nIf you need to display it again, please set `hide_config = false` in `config.toml`",
"LLM Settings": "**LLM Settings**",
+ "LLM Settings Tab": "LLM Settings",
+ "Material API Tab": "Material APIs",
+ "Interface Settings Tab": "Interface Settings",
+ "Cache Management Tab": "Cache Management",
+ "Video Cache Directory": "Cache location",
+ "Cache File Count": "Cached Files",
+ "Cache Total Size": "Disk Usage",
+ "Oldest Cache Date": "Oldest cache date",
+ "Video Cache Management Help": "Only automatically downloaded video materials are cleaned. Uploaded materials and generated videos are not affected. Do not clean the cache while generating a video.",
+ "Cache Older Than 30 Days": "Cache older than 30 days (recommended)",
+ "Cache Older Than 7 Days": "Cache older than 7 days",
+ "Cache Older Than 90 Days": "Cache older than 90 days",
+ "All Video Cache": "Clean all cache",
+ "Cache Cleanup Range": "Cleanup range",
+ "Cache Cleanup Preview": "This will clean {count} cache files and free approximately {size}.",
+ "Confirm Cache Cleanup": "Confirm cleaning the cache above",
+ "Refresh Cache Stats": "Refresh Stats",
+ "Open Cache Directory": "Open Directory",
+ "Clean Cache Now": "Clean Now",
+ "Cache Cleanup Completed": "Cache cleanup completed: deleted {count} files and freed {size}.",
+ "Cache Cleanup Completed With Failures": "Cache cleanup partially completed: deleted {count} files and freed {size}; {failed} files could not be deleted.",
+ "Settings": "Settings",
+ "Onboarding Model Settings Title": "Step 1: Configure the AI model",
+ "Onboarding Model Settings Description": "After the tour, open Settings to choose a provider, enter the API key, Base URL, and model name, and test the connection.",
+ "Onboarding Creation Settings Title": "Step 2: Configure the video",
+ "Onboarding Creation Settings Description": "Enter a topic, then adjust the video, audio, and subtitle options as needed. Most defaults can be used as-is.",
+ "Onboarding Generate Video Title": "Step 3: Generate the video",
+ "Onboarding Generate Video Description": "Start generation after confirming the settings. Track progress and open results from Task Manager at the top.",
+ "Onboarding Previous": "Previous",
+ "Onboarding Next": "Next",
+ "Onboarding Done": "Done",
+ "Regenerate Task": "Regenerate",
+ "Regenerate Task Confirmation": "Load this task's script and generation settings? This will replace the current form values, but will not modify the original task or video.",
+ "Load Task Configuration": "Load Configuration",
+ "Task Restore Failed": "This task does not contain reusable generation settings.",
+ "Task Configuration Loaded": "The historical task configuration has been loaded. Review it, then click Generate Video.",
+ "Task Restore Local Materials Warning": "Local materials cannot be restored automatically. Please upload them again.",
+ "Task Restore Custom Audio Warning": "Custom audio cannot be restored automatically. Please upload it again.",
+ "Cancel": "Cancel",
+ "Test LLM Connection": "Test Model Connection",
+ "Testing LLM Connection": "Testing model connection...",
+ "LLM Connection Test Succeeded": "Connection successful: {provider} / {model} ({elapsed}s)",
+ "LLM Connection Test Failed": "Connection failed: {error}",
"Video Source Settings": "**Video Source Settings**",
- "Click to show API Key management": "Click to show API Key management",
- "Manage Pexels and Pixabay API Keys": "Manage Pexels and Pixabay API Keys",
- "Pexels API Keys": "Pexels API Keys",
- "Pixabay API Keys": "Pixabay API Keys",
- "Current Keys:": "Current Keys:",
- "No Pexels API Keys currently": "No Pexels API Keys currently",
- "Add Pexels API Key": "Add Pexels API Key",
- "Pexels API Key added successfully": "Pexels API Key added successfully",
- "This API Key already exists": "This API Key already exists",
- "Please enter a valid API Key": "Please enter a valid API Key",
- "Select Pexels API Key to delete": "Select Pexels API Key to delete",
- "Delete Selected Pexels API Key": "Delete Selected Pexels API Key",
- "Pexels API Key deleted successfully": "Pexels API Key deleted successfully",
- "No Pixabay API Keys currently": "No Pixabay API Keys currently",
- "Add Pixabay API Key": "Add Pixabay API Key",
- "Pixabay API Key added successfully": "Pixabay API Key added successfully",
- "Select Pixabay API Key to delete": "Select Pixabay API Key to delete",
- "Delete Selected Pixabay API Key": "Delete Selected Pixabay API Key",
- "Pixabay API Key deleted successfully": "Pixabay API Key deleted successfully",
- "Manage Pexels, Pixabay and Coverr API Keys": "Manage Pexels, Pixabay and Coverr API Keys",
"Coverr": "Coverr",
"Coverr API Key": "Coverr API Key ([Get API Key](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Coverr API Keys",
"Please Enter the Coverr API Key": "Please Enter the **Coverr API Key**",
- "No Coverr API Keys currently": "No Coverr API Keys currently",
- "Add Coverr API Key": "Add Coverr API Key",
- "Coverr API Key added successfully": "Coverr API Key added successfully",
- "Select Coverr API Key to delete": "Select Coverr API Key to delete",
- "Delete Selected Coverr API Key": "Delete Selected Coverr API Key",
- "Coverr API Key deleted successfully": "Coverr API Key deleted successfully",
- "Advanced Video Settings": "Advanced Video Settings",
"Video Encoder": "Video Encoder",
- "Video Encoder Help": "Advanced option. libx264 is the safest default. When a hardware encoder is selected, the app falls back to libx264 if the current FFmpeg, GPU, or driver cannot use it.",
- "llm_provider_tips.ollama": "##### Ollama Configuration\n- **API Key**: enter any value, for example `123`\n- **Base Url**: usually http://localhost:11434/v1\n - If `MoneyPrinterTurbo` and `Ollama` are **not on the same machine**, use the IP address of the Ollama machine\n - If `MoneyPrinterTurbo` runs in `Docker`, use `http://host.docker.internal:11434/v1` when available{docker_hint}\n- **Model Name**: run `ollama list`, for example `qwen:7b`",
+ "Default Video Encoder": "Default (Recommended)",
+ "Video Encoder Help": "Advanced option. Default follows the app's stable encoder policy, currently libx264. If a selected hardware encoder is unavailable, the app automatically falls back to libx264.",
+ "llm_provider_tips.ollama": "##### Ollama Configuration\n- **API Key**: not required\n- **Base Url**: usually `http://localhost:11434/v1` for local runs or `http://host.docker.internal:11434/v1` for Docker{docker_hint}\n- **Model Name**: required; run `ollama list` and enter an installed model, such as `qwen:7b`",
"llm_provider_tips.ollama.docker_hint": "\n > Container environment detected. If Base Url is empty, `http://host.docker.internal:11434/v1` is used by default.\n",
- "llm_provider_tips.openai": "##### OpenAI Configuration\n> A global VPN/proxy may be required in some regions\n- **API Key**: [create one on the OpenAI platform](https://platform.openai.com/api-keys)\n- **Base Url**: leave empty for official OpenAI; set a compatible endpoint when using an OpenAI-compatible provider such as OpenRouter\n- **Model Name**: use a model you have access to; for compatible providers, enter the model ID supported by that platform",
- "llm_provider_tips.aihubmix": "##### AIHubMix Configuration\n- **API Key**: create one in the AIHubMix console\n- **Base Url**: https://aihubmix.com/v1\n- **Model Name**: defaults to gpt-5.4-mini; you can also use other model IDs supported by AIHubMix",
- "llm_provider_tips.aimlapi": "##### AIML API Configuration\n- **API Key**: [create one at AIML API](https://aimlapi.com/app/keys)\n- **Base Url**: https://api.aimlapi.com/v1\n- **Model Name**: for example `openai/gpt-4o-mini`, `openai/gpt-4o`, `anthropic/claude-sonnet-4.5`, or `google/gemini-3-flash-preview`",
- "llm_provider_tips.evolink": "##### EvoLink Configuration\n- **API Key**: [create one on EvoLink](https://evolink.ai/dashboard/keys)\n- **Base Url**: https://direct.evolink.ai/v1\n- **Model Name**: defaults to gpt-5.5; you can also use other model IDs supported by EvoLink",
- "llm_provider_tips.volcengine": "##### VolcEngine Ark Configuration\n- **Sign up**: [register on VolcEngine](https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo)\n- **API Key**: create one in the VolcEngine Ark console\n- **Base Url**: https://ark.cn-beijing.volces.com/api/v3\n- **Model Name**: enter an enabled model ID from the Ark console, for example doubao-seed-2-1-turbo-260628",
- "llm_provider_tips.moonshot": "##### Kimi / Moonshot Configuration\n- **API Key**: [create one on the Kimi Open Platform](https://platform.kimi.ai/console/api-keys?aff=MoneyPrinterTurbo)\n- **Base Url**: https://api.moonshot.cn/v1\n- **Model Name**: defaults to `kimi-k2.7-code`; see the [model list](https://platform.kimi.ai/docs/models?aff=MoneyPrinterTurbo)\n\nWhy recommended:\n- **Fits the video creation workflow**: helps generate scripts, extract stock-footage search keywords, and improve final footage relevance\n- **Strong long-context capability**: useful for longer topics, batch scripts, and complex prompts\n- **Flexible billing**: pay only for what you use, with transparent costs",
- "llm_provider_tips.oneapi": "##### OneAPI Configuration\n- **API Key**: enter your OneAPI key\n- **Base Url**: enter your OneAPI base URL\n- **Model Name**: enter the model name you want to use, for example claude-3-5-sonnet-20240620",
- "llm_provider_tips.qwen": "##### Qwen Configuration\n- **API Key**: [create one on DashScope](https://dashscope.console.aliyun.com/apiKey)\n- **Base Url**: leave empty\n- **Model Name**: for example qwen-max; see the [model list](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction#3ef6d0bcf91wy)",
- "llm_provider_tips.azure": "##### Azure Configuration\n> [Learn how to deploy a model](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource)\n- **API Key**: create one in the [Azure portal](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI)\n- **Base Url**: leave empty\n- **Model Name**: enter your deployment name",
- "llm_provider_tips.gemini": "##### Gemini Configuration\n> A global VPN/proxy may be required in some regions\n- **API Key**: [create one on Google AI Studio](https://ai.google.dev/)\n- **Base Url**: leave empty\n- **Model Name**: for example gemini-1.0-pro",
- "llm_provider_tips.grok": "##### Grok Configuration\n- **API Key**: enter your Grok API key\n- **Base Url**: enter your Grok API base URL\n- **Model Name**: for example grok-4.3",
- "llm_provider_tips.groq": "##### Groq Configuration\n- **API Key**: [create one on Groq](https://console.groq.com/keys)\n- **Base Url**: https://api.groq.com/openai/v1\n- **Model Name**: for example llama-3.3-70b-versatile",
- "llm_provider_tips.deepseek": "##### DeepSeek Configuration\n- **API Key**: [create one on DeepSeek](https://platform.deepseek.com/api_keys)\n- **Base Url**: https://api.deepseek.com\n- **Model Name**: deepseek-chat",
- "llm_provider_tips.mimo": "##### Xiaomi MiMo Configuration\n- **API Key**: [create one in Xiaomi MiMo](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)\n- **Base Url**: https://api.xiaomimimo.com/v1\n- **Model Name**: defaults to mimo-v2.5-pro; you can also use other available models from the official docs",
- "llm_provider_tips.modelscope": "##### ModelScope Configuration\n- **API Key**: [create one on ModelScope](https://modelscope.cn/docs/model-service/API-Inference/intro)\n- **Base Url**: https://api-inference.modelscope.cn/v1/\n- **Model Name**: for example Qwen/Qwen3-32B; see the [model list](https://modelscope.cn/models?filter=inference_type&page=1)",
- "llm_provider_tips.ernie": "##### ERNIE Configuration\n- **API Key**: [create one in Baidu Qianfan](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)\n- **Secret Key**: [create one in Baidu Qianfan](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)\n- **Base Url**: enter the request URL; see the [documentation](https://cloud.baidu.com/doc/WENXINWORKSHOP/s/jlil56u11#%E8%AF%B7%E6%B1%82%E8%AF%B4%E6%98%8E)",
- "llm_provider_tips.pollinations": "##### Pollinations AI Configuration\n- **API Key**: optional; leave empty for public access\n- **Base Url**: https://text.pollinations.ai/openai\n- **Model Name**: use `openai-fast` or specify another model name",
- "llm_provider_tips.litellm": "##### LiteLLM Configuration\n> [LiteLLM](https://github.com/BerriAI/litellm) routes to 100+ LLM providers through a unified interface.\n> Set your provider API key as an environment variable, such as `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GEMINI_API_KEY`, or `AWS_ACCESS_KEY_ID`.\n- **Model Name**: use LiteLLM format, for example `openai/gpt-4o`, `anthropic/claude-sonnet-4-20250514`, `bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0`, or `gemini/gemini-2.5-flash`. See the [full provider list](https://docs.litellm.ai/docs/providers)"
+ "llm_provider_tips.openai": "##### OpenAI Configuration\n- **API Key**: create one on the [OpenAI Platform]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`; enter another endpoint when using a compatible service\n- **Model Name**: defaults to `{default_model}`; you can also enter another model ID available to your account\n> Accessing the official service may require a network proxy in some regions",
+ "llm_provider_tips.aihubmix": "##### AIHubMix Configuration\n- **API Key**: create one in the [AIHubMix console]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another supported model ID",
+ "llm_provider_tips.aimlapi": "##### AIML API Configuration\n- **API Key**: create one at [AIML API]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another supported model ID",
+ "llm_provider_tips.evolink": "##### EvoLink Configuration\n- **API Key**: create one on [EvoLink]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another supported model ID",
+ "llm_provider_tips.volcengine": "##### VolcEngine Ark Configuration\n- **API Key**: create one in the Ark console; [register on VolcEngine]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; make sure the model is enabled in your Ark account",
+ "llm_provider_tips.moonshot": "##### Kimi / Moonshot Configuration\n- **API Key**: create one on the [Kimi Open Platform]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; see the [model list](https://platform.kimi.ai/docs/models?aff=MoneyPrinterTurbo)\n\nWhy recommended:\n- **Fits the video creation workflow**: helps generate scripts, extract stock-footage search keywords, and improve final footage relevance\n- **Strong long-context capability**: useful for longer topics, batch scripts, and complex prompts\n- **Flexible billing**: pay only for what you use, with transparent costs",
+ "llm_provider_tips.oneapi": "##### OneAPI Configuration\n- **API Key**: create one in your own OneAPI deployment; see the [OneAPI project]({api_key_url})\n- **Base Url**: required; enter the OneAPI service endpoint\n- **Model Name**: required; enter a model ID configured in OneAPI",
+ "llm_provider_tips.qwen": "##### Qwen Configuration\n- **API Key**: create one on [DashScope]({api_key_url})\n- **Base Url**: not required\n- **Model Name**: defaults to `{default_model}`; see the [model list](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction#3ef6d0bcf91wy)",
+ "llm_provider_tips.azure": "##### Azure OpenAI Configuration\n- **API Key**: obtain one from the [Azure Portal]({api_key_url})\n- **Base Url**: required; enter the Azure OpenAI endpoint, such as `https://<resource>.openai.azure.com`\n- **Model Name**: enter the Deployment Name; see the [deployment guide](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource)",
+ "llm_provider_tips.gemini": "##### Gemini Configuration\n- **API Key**: create one on [Google AI Studio]({api_key_url})\n- **Base Url**: not required\n- **Model Name**: defaults to `{default_model}`",
+ "llm_provider_tips.grok": "##### Grok Configuration\n- **API Key**: create one in the [xAI Console]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another model ID available to your account",
+ "llm_provider_tips.groq": "##### Groq Configuration\n- **API Key**: create one in the [Groq Console]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; available models can also be loaded from the API",
+ "llm_provider_tips.deepseek": "##### DeepSeek Configuration\n- **API Key**: create one on the [DeepSeek Platform]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another model ID available to your account",
+ "llm_provider_tips.mimo": "##### Xiaomi MiMo Configuration\n- **API Key**: create one by following the [MiMo documentation]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another supported model ID",
+ "llm_provider_tips.modelscope": "##### ModelScope Configuration\n- **API Key**: create one by following the [ModelScope documentation]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; see the [model list](https://modelscope.cn/models?filter=inference_type&page=1)",
+ "llm_provider_tips.cloudflare": "##### Cloudflare AI Gateway Configuration\n- **API Key**: create a token in the [Cloudflare dashboard]({api_key_url}) with `AI Gateway - Read`, `AI Gateway - Edit`, and `Workers AI - Read` permissions\n- **Account ID**: enter your Cloudflare account ID\n- **Gateway ID**: defaults to `{default_gateway_id}`; you can also enter an existing Gateway ID\n- **Base Url**: not required; the REST API endpoint is generated from the Account ID\n- **Model Name**: defaults to `{default_model}`; use the `provider/model` format for another model supported by AI Gateway",
+ "llm_provider_tips.minimax": "##### MiniMax Configuration\n- **API Key**: create one on the [China platform](https://platform.minimaxi.com/) or [international platform](https://platform.minimax.io/)\n- **Base Url**: use `https://api.minimaxi.com/v1` for China or `{default_base_url}` for international access (default)\n- **Model Name**: defaults to `{default_model}`; you can also enter another model ID available to your account\n\nMake sure the API Key and Base Url belong to the same platform, or authentication may fail.",
+ "llm_provider_tips.pollinations": "##### Pollinations AI Configuration\n- **API Key**: create one on [Pollinations]({api_key_url})\n- **Base Url**: defaults to `{default_base_url}`\n- **Model Name**: defaults to `{default_model}`; you can also enter another model ID from the [model catalog](https://gen.pollinations.ai/v1/models) that supports Chat Completions",
+ "llm_provider_tips.litellm": "##### LiteLLM Configuration\n- **API Key**: not entered here; configure the target Provider key through environment variables\n- **Base Url**: not required\n- **Model Name**: defaults to `{default_model}`; use the `provider/model` format and see the [Provider list](https://docs.litellm.ai/docs/providers)"
}
}
diff --git a/webui/i18n/es.json b/webui/i18n/es.json
index 4b03a3b2..f13a7501 100644
--- a/webui/i18n/es.json
+++ b/webui/i18n/es.json
@@ -1,5 +1,5 @@
{
- "Language": "Español (España)",
+ "Language": "Español",
"Translation": {
"Login Required": "Inicio de sesión requerido",
"Please login to access settings": "Inicia sesión para acceder a la configuración",
@@ -9,24 +9,53 @@
"Login Error": "Error de inicio de sesión",
"Incorrect username or password": "Usuario o contraseña incorrectos",
"Please enter your username and password": "Introduce tu usuario y contraseña",
- "Video Script Settings": "**Configuración del guión de vídeo**",
- "Video Subject": "Tema del vídeo (Introduce una palabra clave, :red[la IA generará automáticamente] el guión del vídeo)",
- "Script Language": "Idioma para generar el guión del vídeo (la IA generará automáticamente según el idioma del tema)",
- "Advanced Script Settings": "Configuración avanzada del guión",
+ "Video Script Settings": "**Ajustes del guion**",
+ "Video Subject": "Tema del vídeo",
+ "Video Subject Placeholder": "Ejemplo: Cómo la IA cambia la vida cotidiana",
+ "Script Language": "Idioma del guion",
+ "Advanced Script Settings": "Configuración avanzada del guion",
"Script Paragraph Number": "Número de párrafos del guión",
- "Custom Script Requirements": "Requisitos personalizados del guión",
+ "Custom Script Requirements": "Requisitos personalizados del guion",
"Custom Script Requirements Placeholder": "Ejemplo: usa un tono más ligero, estilo TikTok, dirigido a jóvenes, haz la apertura más suspense",
- "Use Custom System Prompt": "Usar prompt del sistema personalizado",
- "Use Custom System Prompt Help": "Cuando está activado, reemplaza las reglas predeterminadas de generación de guiones. Pensado para usuarios avanzados de prompts.",
- "Custom System Prompt": "Prompt del sistema personalizado",
- "Generate Video Script and Keywords": "Haz clic para que la IA genere el [Guión del vídeo] y las [Palabras clave del vídeo] basándose en el **tema**",
+ "Custom System Prompt": "Prompt del sistema",
+ "Restore Default System Prompt": "Restaurar prompt predeterminado",
+ "Default System Prompt Restored": "Prompt del sistema restaurado",
+ "Preview Final Prompt": "Vista previa del prompt final",
+ "Final Prompt Preview": "Vista previa del prompt final",
+ "Generate Video Script and Keywords": "Generar guion y palabras clave con IA",
"Auto Detect": "Detección automática",
- "Video Script": "Guión del vídeo (:blue[① Opcional, generado por IA ② La puntuación correcta ayuda a generar subtítulos])",
- "Generate Video Keywords": "Haz clic para que la IA genere las [Palabras clave del vídeo] basándose en el **guión**",
+ "Video Script": "Guion del vídeo (opcional)",
+ "Video Script Help": "Déjalo vacío para generarlo con IA a partir del tema del vídeo. Una puntuación adecuada ayuda a generar los subtítulos.",
+ "Generate Video Keywords": "Generar palabras clave con IA",
"Please Enter the Video Subject": "Introduce primero el guión del vídeo",
+ "Please Enter the Video Subject First": "Introduce primero el tema del vídeo",
+ "Task Manager": "Gestor de tareas",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "La IA está generando el guión y las palabras clave del vídeo...",
"Generating Video Keywords": "La IA está generando las palabras clave del vídeo...",
- "Video Keywords": "Palabras clave del vídeo (:blue[① Opcional, generadas por IA ② Usa **comas inglesas** para separar, solo en inglés])",
+ "Video Keywords": "Palabras clave del vídeo (inglés, opcional)",
+ "Video Keywords Help": "Déjalo vacío para generarlas con IA a partir del guion. Separa varias palabras clave con comas inglesas.",
"Video Settings": "**Configuración del vídeo**",
"Video Concat Mode": "Modo de concatenación del vídeo",
"Random": "Concatenación aleatoria (Recomendado)",
@@ -41,18 +70,34 @@
"Video Ratio": "Relación de aspecto del vídeo",
"Portrait": "Vertical 9:16",
"Landscape": "Horizontal 16:9",
- "Clip Duration": "Duración máxima de los clips de vídeo (segundos)",
- "Number of Videos Generated Simultaneously": "Número de vídeos generados simultáneamente",
- "Match Materials to Script Order": "Hacer coincidir materiales con el orden del guión",
- "Match Materials to Script Order Help": "Desactivado por defecto. Aplica principalmente a fuentes de material en línea. Cuando está activado, las palabras clave se generan en el orden del guión y los materiales se descargan/combinan en ese orden para reducir el desajuste visual con la voz en off actual.",
+ "Clip Duration": "Duración máxima por clip (s)",
+ "Clip Duration Help": "Controla la duración de cada clip utilizado, no la duración total del vídeo.",
+ "Number of Videos Generated Simultaneously": "Vídeos por ejecución",
+ "Match Materials to Script Order": "Ajustar imágenes al orden del guion",
+ "Match Materials to Script Order Help": "Genera términos y ordena el material según el guion para que las imágenes sigan la narración.",
"Audio Settings": "**Configuración de audio**",
- "Speech Synthesis": "Voz de síntesis de voz",
+ "Voiceover Mode": "Modo de locución",
+ "Automatic Voiceover": "Auto",
+ "Upload Voiceover": "Subir",
+ "No Voiceover": "Ninguna",
+ "No Voice Selected": "Ninguna voz seleccionada",
+ "Voiceover Service": "Servicio de voz",
+ "Voiceover Voice": "Voz (idioma del guion)",
+ "Voiceover Volume": "Volumen de locución",
+ "Voiceover Volume Help": "Ajusta el volumen de la locución automática o subida. 100 % mantiene el nivel original.",
+ "Voiceover Speed": "Velocidad de locución",
+ "Voiceover Speed Help": "Solo se aplica a la locución automática. 1,0× es la velocidad normal.",
+ "Upload Voiceover File": "Subir archivo de locución",
+ "Upload Voiceover File Help": "El audio subido se usa directamente en lugar de generar una locución.",
+ "Please Upload Voiceover File First": "Sube primero un archivo de locución",
+ "Background Music Source": "Fuente de música de fondo",
+ "Speech Synthesis": "Voz (idioma del guion)",
"Speech Region": "Región (:red[Requerido, [Obtener región](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "Clave API (:red[Requerido, [Obtener clave API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Volumen de voz (1.0 representa 100%)",
- "Speech Rate": "Velocidad de voz (1.0 significa velocidad 1x)",
+ "Speech Volume": "Volumen de voz",
+ "Speech Rate": "Velocidad de voz",
"Custom Audio File": "Archivo de audio personalizado",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "El audio personalizado se usará directamente. La síntesis TTS se omitirá para esta tarea.",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "La locución subida se usará directamente; no se generará una locución automática.",
"No Voice": "Sin voz (omitir síntesis de voz)",
"Male": "Masculino",
"Female": "Femenino",
@@ -60,27 +105,31 @@
"No Background Music": "Sin música de fondo",
"Random Background Music": "Música de fondo aleatoria",
"Custom Background Music": "Música de fondo personalizada",
- "Custom Background Music File": "Introduce la ruta del archivo de música de fondo personalizada:",
- "Background Music Volume": "Volumen de música de fondo (0.2 representa 20%, la música de fondo no debe ser demasiado alta)",
+ "Custom Background Music File": "Ruta de música personalizada",
+ "Background Music Volume": "Volumen de música de fondo",
"Subtitle Settings": "**Configuración de subtítulos**",
- "Enable Subtitles": "Activar subtítulos (Si no está marcado, los ajustes siguientes no tendrán efecto)",
- "Font": "Fuente de subtítulos",
- "Position": "Posición de subtítulos",
+ "Enable Subtitles": "Activar subtítulos",
+ "Font": "Fuente",
+ "Position": "Posición",
"Top": "Arriba",
"Center": "Centro",
"Bottom": "Abajo (Recomendado)",
- "Custom": "Posición personalizada (70, indica 70% desde la parte superior)",
+ "Custom": "Personalizada",
"Custom Position (% from top)": "Posición personalizada (% desde la parte superior)",
"Please enter a value between 0 and 100": "Introduce un valor entre 0 y 100",
"Please enter a valid number": "Introduce un número válido",
- "Font Size": "Tamaño de fuente de subtítulos",
- "Font Color": "Color de fuente de subtítulos",
- "Stroke Color": "Color de contorno de subtítulos",
- "Stroke Width": "Ancho de contorno de subtítulos",
- "Enable Subtitle Background": "Activar fondo de subtítulos",
- "Subtitle Background Color": "Color de fondo de subtítulos",
- "Rounded Subtitle Background": "Activar fondo de subtítulos redondeado y translúcido",
+ "Font Size": "Tamaño de fuente",
+ "Font Color": "Texto",
+ "Stroke Color": "Contorno",
+ "Stroke Width": "Ancho de contorno",
+ "Enable Subtitle Background": "Fondo",
+ "Subtitle Background Color": "Color",
+ "Rounded Subtitle Background": "Fondo redondeado",
"Rounded Subtitle Background Help": "Desactivado por defecto. Cuando está activado, el fondo de los subtítulos usa un estilo redondeado y translúcido que se adapta mejor al ancho del texto.",
+ "Subtitle Colors Are Indistinguishable": "El texto y el fondo tienen el mismo color, por lo que los subtítulos pueden no verse.",
+ "Subtitle Font Does Not Support Text": "La fuente elegida no admite algunos caracteres del guion, por lo que pueden faltar subtítulos.",
+ "Restore Default Subtitle Settings": "Restaurar subtítulos",
+ "Default Subtitle Settings Restored": "Ajustes de subtítulos restaurados",
"Generate Video": "Generar vídeo",
"Video Script and Subject Cannot Both Be Empty": "El tema y el guión del vídeo no pueden estar ambos vacíos",
"Generating Video": "Generando vídeo, por favor espera...",
@@ -107,12 +156,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Selecciona una fuente de vídeo válida",
- "TikTok": "TikTok (Soporte de TikTok próximamente)",
- "Bilibili": "Bilibili (Soporte de Bilibili próximamente)",
- "Xiaohongshu": "Xiaohongshu (Soporte de Xiaohongshu próximamente)",
"Local file": "Archivo local",
"Upload Local Files": "Subir archivos locales",
- "Play Voice": "Reproducir voz",
+ "Please Upload Local Materials First": "Sube primero al menos un archivo multimedia local.",
+ "Unsupported Upload File Type": "El tipo de archivo subido no es compatible.",
+ "Play Voice": "Probar voz",
"Voice Example": "Este es un texto de ejemplo para probar la síntesis de voz",
"Synthesizing Voice": "Sintetizando voz, por favor espera...",
"TTS Provider": "Selecciona el proveedor de síntesis de voz",
@@ -129,39 +177,55 @@
"Hide Log": "Ocultar registro",
"Hide Basic Settings": "Ocultar configuración básica\n\nOculto, el panel de configuración básica no se mostrará en la página.\n\nSi necesitas mostrarlo de nuevo, establece `hide_config = false` en `config.toml`",
"LLM Settings": "**Configuración LLM**",
+ "LLM Settings Tab": "Configuración LLM",
+ "Material API Tab": "API de materiales",
+ "Interface Settings Tab": "Configuración de interfaz",
+ "Cache Management Tab": "Gestión de caché",
+ "Video Cache Directory": "Directorio de caché de vídeos en línea",
+ "Cache File Count": "Archivos en caché",
+ "Cache Total Size": "Espacio usado",
+ "Oldest Cache Date": "Caché más antigua",
+ "Video Cache Management Help": "Aquí solo se gestionan los vídeos descargados automáticamente. Los archivos subidos y los vídeos generados no se eliminan. No limpie la caché mientras se genera un vídeo.",
+ "Cache Older Than 30 Days": "Caché de hace más de 30 días (recomendado)",
+ "Cache Older Than 7 Days": "Caché de hace más de 7 días",
+ "Cache Older Than 90 Days": "Caché de hace más de 90 días",
+ "All Video Cache": "Toda la caché de vídeos",
+ "Cache Cleanup Range": "Rango de limpieza",
+ "Cache Cleanup Preview": "Se eliminarán aproximadamente {count} archivos y se liberarán {size}.",
+ "Confirm Cache Cleanup": "Confirmo que deseo eliminar los archivos de caché indicados",
+ "Refresh Cache Stats": "Actualizar estadísticas",
+ "Open Cache Directory": "Abrir directorio",
+ "Clean Cache Now": "Limpiar ahora",
+ "Cache Cleanup Completed": "Limpieza completada: se eliminaron {count} archivos y se liberaron {size}.",
+ "Cache Cleanup Completed With Failures": "Limpieza parcial: se eliminaron {count} archivos y se liberaron {size}; no se pudieron eliminar {failed} archivos.",
+ "Settings": "Ajustes",
+ "Onboarding Model Settings Title": "Paso 1: Configura el modelo de IA",
+ "Onboarding Model Settings Description": "Después del recorrido, abre Configuración, elige un proveedor, introduce la clave API, la URL base y el modelo, y prueba la conexión.",
+ "Onboarding Creation Settings Title": "Paso 2: Configura el video",
+ "Onboarding Creation Settings Description": "Introduce un tema y ajusta el video, el audio y los subtítulos según sea necesario. Puedes conservar la mayoría de los valores predeterminados.",
+ "Onboarding Generate Video Title": "Paso 3: Genera el video",
+ "Onboarding Generate Video Description": "Inicia la generación después de revisar la configuración. Consulta el progreso y los resultados en el Administrador de tareas.",
+ "Onboarding Previous": "Anterior",
+ "Onboarding Next": "Siguiente",
+ "Onboarding Done": "Finalizar",
+ "Regenerate Task": "Volver a generar",
+ "Regenerate Task Confirmation": "¿Cargar el guion y la configuración de esta tarea? Se reemplazarán los valores actuales, pero no se modificarán la tarea ni el video originales.",
+ "Load Task Configuration": "Cargar configuración",
+ "Task Restore Failed": "Esta tarea no contiene una configuración reutilizable.",
+ "Task Configuration Loaded": "Se cargó la configuración histórica. Revísala y pulsa Generar video.",
+ "Task Restore Local Materials Warning": "Los archivos locales no se pueden restaurar automáticamente. Vuelve a cargarlos.",
+ "Task Restore Custom Audio Warning": "El audio personalizado no se puede restaurar automáticamente. Vuelve a cargarlo.",
+ "Cancel": "Cancelar",
+ "Test LLM Connection": "Probar conexión del modelo",
+ "Testing LLM Connection": "Probando la conexión del modelo...",
+ "LLM Connection Test Succeeded": "Conexión correcta: {provider} / {model} ({elapsed} s)",
+ "LLM Connection Test Failed": "Error de conexión: {error}",
"Video Source Settings": "**Configuración de fuente de vídeo**",
- "Click to show API Key management": "Haz clic para mostrar la gestión de API Keys",
- "Manage Pexels and Pixabay API Keys": "Gestionar API Keys de Pexels y Pixabay",
- "Pexels API Keys": "API Keys de Pexels",
- "Pixabay API Keys": "API Keys de Pixabay",
- "Current Keys:": "Claves actuales:",
- "No Pexels API Keys currently": "No hay API Keys de Pexels actualmente",
- "Add Pexels API Key": "Añadir API Key de Pexels",
- "Pexels API Key added successfully": "API Key de Pexels añadida correctamente",
- "This API Key already exists": "Esta API Key ya existe",
- "Please enter a valid API Key": "Introduce una API Key válida",
- "Select Pexels API Key to delete": "Selecciona la API Key de Pexels a eliminar",
- "Delete Selected Pexels API Key": "Eliminar la API Key de Pexels seleccionada",
- "Pexels API Key deleted successfully": "API Key de Pexels eliminada correctamente",
- "No Pixabay API Keys currently": "No hay API Keys de Pixabay actualmente",
- "Add Pixabay API Key": "Añadir API Key de Pixabay",
- "Pixabay API Key added successfully": "API Key de Pixabay añadida correctamente",
- "Select Pixabay API Key to delete": "Selecciona la API Key de Pixabay a eliminar",
- "Delete Selected Pixabay API Key": "Eliminar la API Key de Pixabay seleccionada",
- "Pixabay API Key deleted successfully": "API Key de Pixabay eliminada correctamente",
- "Manage Pexels, Pixabay and Coverr API Keys": "Gestionar API Keys de Pexels, Pixabay y Coverr",
"Coverr": "Coverr",
"Coverr API Key": "Coverr API Key ([Obtener API Key](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "API Keys de Coverr",
"Please Enter the Coverr API Key": "Introduce la **API Key de Coverr**",
- "No Coverr API Keys currently": "No hay API Keys de Coverr actualmente",
- "Add Coverr API Key": "Añadir API Key de Coverr",
- "Coverr API Key added successfully": "API Key de Coverr añadida correctamente",
- "Select Coverr API Key to delete": "Selecciona la API Key de Coverr a eliminar",
- "Delete Selected Coverr API Key": "Eliminar la API Key de Coverr seleccionada",
- "Coverr API Key deleted successfully": "API Key de Coverr eliminada correctamente",
- "Advanced Video Settings": "Configuración avanzada de vídeo",
"Video Encoder": "Codificador de vídeo",
- "Video Encoder Help": "Opción avanzada. libx264 es el predeterminado más seguro. Cuando se selecciona un codificador de hardware, la aplicación vuelve a libx264 si el FFmpeg, GPU o controlador actuales no pueden usarlo."
+ "Default Video Encoder": "Predeterminado (recomendado)",
+ "Video Encoder Help": "Opción avanzada. Predeterminado sigue la política estable de la aplicación, actualmente libx264. Si un codificador de hardware no está disponible, la aplicación vuelve automáticamente a libx264."
}
}
diff --git a/webui/i18n/id.json b/webui/i18n/id.json
index d84f2a9b..112270eb 100644
--- a/webui/i18n/id.json
+++ b/webui/i18n/id.json
@@ -10,23 +10,52 @@
"Incorrect username or password": "Nama pengguna atau kata sandi salah",
"Please enter your username and password": "Silakan masukkan nama pengguna dan kata sandi",
"Video Script Settings": "**Pengaturan Skrip Video**",
- "Video Subject": "Subjek Video (Berikan kata kunci, :red[AI akan menghasilkan] skrip video secara otomatis)",
- "Script Language": "Bahasa untuk Menghasilkan Skrip Video (AI akan menghasilkan secara otomatis berdasarkan bahasa subjek Anda)",
+ "Video Subject": "Topik Video",
+ "Video Subject Placeholder": "Contoh: Bagaimana AI mengubah kehidupan sehari-hari",
+ "Script Language": "Bahasa Skrip",
"Advanced Script Settings": "Pengaturan Skrip Lanjutan",
"Script Paragraph Number": "Jumlah Paragraf Skrip",
- "Custom Script Requirements": "Kebutuhan Skrip Kustom",
+ "Custom Script Requirements": "Persyaratan Skrip Khusus",
"Custom Script Requirements Placeholder": "Contoh: gunakan nada ringan, cocok untuk gaya TikTok, target penonton muda, buat pembukaan lebih menegangkan",
- "Use Custom System Prompt": "Gunakan System Prompt Kustom",
- "Use Custom System Prompt Help": "Saat diaktifkan, ini menggantikan aturan pembuatan skrip default. Ditujukan untuk pengguna prompt tingkat lanjut.",
- "Custom System Prompt": "System Prompt Kustom",
- "Generate Video Script and Keywords": "Klik untuk menggunakan AI menghasilkan [Skrip Video] dan [Kata Kunci Video] berdasarkan **subjek**",
+ "Custom System Prompt": "System Prompt",
+ "Restore Default System Prompt": "Pulihkan Prompt Bawaan",
+ "Default System Prompt Restored": "System prompt bawaan dipulihkan",
+ "Preview Final Prompt": "Pratinjau Prompt Akhir",
+ "Final Prompt Preview": "Pratinjau Prompt Akhir",
+ "Generate Video Script and Keywords": "Buat Skrip & Kata Kunci dengan AI",
"Auto Detect": "Deteksi Otomatis",
- "Video Script": "Skrip Video (:blue[① Opsional, dihasilkan AI ② Tanda baca yang tepat membantu pembuatan subtitle])",
- "Generate Video Keywords": "Klik untuk menggunakan AI menghasilkan [Kata Kunci Video] berdasarkan **skrip**",
+ "Video Script": "Skrip Video (Opsional)",
+ "Video Script Help": "Kosongkan untuk membuatnya dengan AI dari topik video. Tanda baca yang tepat membantu pembuatan subtitle.",
+ "Generate Video Keywords": "Buat Kata Kunci dengan AI",
"Please Enter the Video Subject": "Silakan Masukkan Skrip Video Terlebih Dahulu",
+ "Please Enter the Video Subject First": "Harap masukkan subjek video terlebih dahulu",
+ "Task Manager": "Manajemen Tugas",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "AI sedang menghasilkan skrip video dan kata kunci...",
"Generating Video Keywords": "AI sedang menghasilkan kata kunci video...",
- "Video Keywords": "Kata Kunci Video (:blue[① Opsional, dihasilkan AI ② Gunakan **koma** bahasa Inggris untuk pemisah, hanya bahasa Inggris])",
+ "Video Keywords": "Kata Kunci Video (Inggris, Opsional)",
+ "Video Keywords Help": "Kosongkan untuk membuatnya dengan AI dari skrip video. Pisahkan beberapa kata kunci dengan koma Inggris.",
"Video Settings": "**Pengaturan Video**",
"Video Concat Mode": "Mode Penggabungan Video",
"Random": "Acak (Disarankan)",
@@ -41,18 +70,34 @@
"Video Ratio": "Rasio Aspek Video",
"Portrait": "Potret 9:16",
"Landscape": "Lanskap 16:9",
- "Clip Duration": "Durasi Maksimum Klip Video (detik)",
- "Number of Videos Generated Simultaneously": "Jumlah Video yang Dihasilkan Secara Bersamaan",
- "Match Materials to Script Order": "Cocokkan materi dengan urutan skrip",
- "Match Materials to Script Order Help": "Nonaktif secara default. Terutama berlaku untuk sumber materi online. Saat diaktifkan, kata kunci dihasilkan sesuai urutan skrip dan materi diunduh/digabungkan dalam urutan tersebut untuk mengurangi ketidakcocokan visual dengan sulih suara saat ini.",
+ "Clip Duration": "Durasi Maks. per Klip (detik)",
+ "Clip Duration Help": "Menentukan durasi setiap klip yang digunakan, bukan durasi total video.",
+ "Number of Videos Generated Simultaneously": "Video per Proses",
+ "Match Materials to Script Order": "Cocokkan Visual dengan Urutan Skrip",
+ "Match Materials to Script Order Help": "Buat kata kunci dan urutkan materi mengikuti skrip agar visual sesuai dengan narasi.",
"Audio Settings": "**Pengaturan Audio**",
- "Speech Synthesis": "Suara Sintesis Ucapan",
+ "Voiceover Mode": "Mode Sulih Suara",
+ "Automatic Voiceover": "Otomatis",
+ "Upload Voiceover": "Unggah",
+ "No Voiceover": "Tanpa",
+ "No Voice Selected": "Belum Memilih Suara",
+ "Voiceover Service": "Layanan Suara",
+ "Voiceover Voice": "Suara (sesuai bahasa skrip)",
+ "Voiceover Volume": "Volume Sulih Suara",
+ "Voiceover Volume Help": "Mengatur volume sulih suara otomatis atau audio unggahan. 100% mempertahankan volume asli.",
+ "Voiceover Speed": "Kecepatan Bicara",
+ "Voiceover Speed Help": "Hanya berlaku untuk sulih suara otomatis. 1,0× adalah kecepatan normal.",
+ "Upload Voiceover File": "Unggah File Sulih Suara",
+ "Upload Voiceover File Help": "Audio unggahan digunakan langsung tanpa membuat sulih suara otomatis.",
+ "Please Upload Voiceover File First": "Unggah file sulih suara terlebih dahulu",
+ "Background Music Source": "Sumber Musik Latar",
+ "Speech Synthesis": "Suara (sesuai bahasa skrip)",
"Speech Region": "Wilayah (:red[Diperlukan, [Dapatkan Wilayah](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "Kunci API (:red[Diperlukan, [Dapatkan Kunci API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Volume Ucapan (1.0 mewakili 100%)",
- "Speech Rate": "Kecepatan Ucapan (1.0 berarti kecepatan 1x)",
+ "Speech Volume": "Volume Suara",
+ "Speech Rate": "Kecepatan Suara",
"Custom Audio File": "File Audio Kustom",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Audio kustom akan digunakan langsung. Sintesis TTS akan dilewati untuk tugas ini.",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Sulih suara yang diunggah akan digunakan langsung; sulih suara otomatis tidak dibuat.",
"No Voice": "Tidak Ada Suara (lewati sintesis suara)",
"Male": "Pria",
"Female": "Wanita",
@@ -60,27 +105,31 @@
"No Background Music": "Tidak Ada Musik Latar",
"Random Background Music": "Musik Latar Acak",
"Custom Background Music": "Musik Latar Kustom",
- "Custom Background Music File": "Silakan masukkan path file untuk musik latar kustom:",
- "Background Music Volume": "Volume Musik Latar (0.2 mewakili 20%, musik latar tidak boleh terlalu keras)",
+ "Custom Background Music File": "Path Musik Kustom",
+ "Background Music Volume": "Volume Musik Latar",
"Subtitle Settings": "**Pengaturan Subtitle**",
- "Enable Subtitles": "Aktifkan Subtitle (Jika tidak dicentang, pengaturan di bawah tidak akan berlaku)",
+ "Enable Subtitles": "Aktifkan Subtitle",
"Font": "Font Subtitle",
"Position": "Posisi Subtitle",
"Top": "Atas",
"Center": "Tengah",
"Bottom": "Bawah (Disarankan)",
- "Custom": "Posisi kustom (70, menunjukkan 70% dari atas)",
+ "Custom": "Kustom",
"Custom Position (% from top)": "Posisi Kustom (% dari atas)",
"Please enter a value between 0 and 100": "Silakan masukkan nilai antara 0 dan 100",
"Please enter a valid number": "Silakan masukkan angka yang valid",
- "Font Size": "Ukuran Font Subtitle",
- "Font Color": "Warna Font Subtitle",
- "Stroke Color": "Warna Garis Tepi Subtitle",
- "Stroke Width": "Lebar Garis Tepi Subtitle",
- "Enable Subtitle Background": "Aktifkan latar belakang subtitle",
- "Subtitle Background Color": "Warna latar belakang subtitle",
- "Rounded Subtitle Background": "Aktifkan latar belakang subtitle transparan melengkung",
+ "Font Size": "Ukuran Font",
+ "Font Color": "Teks",
+ "Stroke Color": "Garis",
+ "Stroke Width": "Lebar Garis Tepi",
+ "Enable Subtitle Background": "Latar",
+ "Subtitle Background Color": "Warna",
+ "Rounded Subtitle Background": "Latar Melengkung",
"Rounded Subtitle Background Help": "Nonaktif secara default. Saat diaktifkan, latar belakang subtitle menggunakan gaya transparan melengkung yang lebih sesuai dengan lebar teks.",
+ "Subtitle Colors Are Indistinguishable": "Teks dan latar memakai warna yang sama, sehingga subtitel mungkin tidak terlihat.",
+ "Subtitle Font Does Not Support Text": "Font subtitel tidak mendukung beberapa karakter naskah, sehingga subtitel mungkin hilang.",
+ "Restore Default Subtitle Settings": "Pulihkan Setelan Subtitel",
+ "Default Subtitle Settings Restored": "Setelan subtitel bawaan dipulihkan",
"Generate Video": "Hasilkan Video",
"Video Script and Subject Cannot Both Be Empty": "Subjek Video dan Skrip Video tidak boleh keduanya kosong",
"Generating Video": "Menghasilkan video, harap tunggu...",
@@ -107,12 +156,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Silakan Pilih Sumber Video yang Valid",
- "TikTok": "TikTok (Dukungan TikTok akan segera hadir)",
- "Bilibili": "Bilibili (Dukungan Bilibili akan segera hadir)",
- "Xiaohongshu": "Xiaohongshu (Dukungan Xiaohongshu akan segera hadir)",
"Local file": "File lokal",
"Upload Local Files": "Unggah File Lokal",
- "Play Voice": "Putar Suara",
+ "Please Upload Local Materials First": "Unggah setidaknya satu file materi lokal terlebih dahulu.",
+ "Unsupported Upload File Type": "Jenis file yang diunggah tidak didukung.",
+ "Play Voice": "Uji Suara",
"Voice Example": "Ini adalah teks contoh untuk menguji sintesis suara",
"Synthesizing Voice": "Mensintesis suara, harap tunggu...",
"TTS Provider": "Pilih penyedia sintesis suara",
@@ -125,39 +173,55 @@
"Hide Log": "Sembunyikan Log",
"Hide Basic Settings": "Sembunyikan Pengaturan Dasar\n\nTersembunyi, panel pengaturan dasar tidak akan ditampilkan di halaman.\n\nJika Anda perlu menampilkannya lagi, silakan atur `hide_config = false` di `config.toml`",
"LLM Settings": "**Pengaturan LLM**",
+ "LLM Settings Tab": "Pengaturan LLM",
+ "Material API Tab": "API Materi",
+ "Interface Settings Tab": "Pengaturan Antarmuka",
+ "Cache Management Tab": "Manajemen Cache",
+ "Video Cache Directory": "Direktori cache video online",
+ "Cache File Count": "File Cache",
+ "Cache Total Size": "Penggunaan Disk",
+ "Oldest Cache Date": "Cache Terlama",
+ "Video Cache Management Help": "Hanya video yang diunduh otomatis yang dikelola di sini. Materi unggahan dan video yang sudah dibuat tidak akan dihapus. Jangan bersihkan cache saat membuat video.",
+ "Cache Older Than 30 Days": "Cache lebih lama dari 30 hari (disarankan)",
+ "Cache Older Than 7 Days": "Cache lebih lama dari 7 hari",
+ "Cache Older Than 90 Days": "Cache lebih lama dari 90 hari",
+ "All Video Cache": "Semua cache video",
+ "Cache Cleanup Range": "Rentang pembersihan",
+ "Cache Cleanup Preview": "Perkiraan: hapus {count} file dan bebaskan {size}.",
+ "Confirm Cache Cleanup": "Saya mengonfirmasi penghapusan file cache di atas",
+ "Refresh Cache Stats": "Segarkan Statistik",
+ "Open Cache Directory": "Buka Direktori",
+ "Clean Cache Now": "Bersihkan Sekarang",
+ "Cache Cleanup Completed": "Cache dibersihkan: {count} file dihapus dan {size} dibebaskan.",
+ "Cache Cleanup Completed With Failures": "Cache dibersihkan sebagian: {count} file dihapus, {size} dibebaskan; {failed} file gagal dihapus.",
+ "Settings": "Setelan",
+ "Onboarding Model Settings Title": "Langkah 1: Atur model AI",
+ "Onboarding Model Settings Description": "Setelah tur selesai, buka Pengaturan, pilih penyedia, isi API Key, Base URL, dan nama model, lalu uji koneksinya.",
+ "Onboarding Creation Settings Title": "Langkah 2: Atur video",
+ "Onboarding Creation Settings Description": "Masukkan topik, lalu sesuaikan video, audio, dan subtitle sesuai kebutuhan. Sebagian besar nilai bawaan dapat langsung digunakan.",
+ "Onboarding Generate Video Title": "Langkah 3: Buat video",
+ "Onboarding Generate Video Description": "Mulai pembuatan setelah memeriksa pengaturan. Pantau progres dan hasil melalui Pengelola Tugas di bagian atas.",
+ "Onboarding Previous": "Sebelumnya",
+ "Onboarding Next": "Berikutnya",
+ "Onboarding Done": "Selesai",
+ "Regenerate Task": "Buat Ulang",
+ "Regenerate Task Confirmation": "Muat naskah dan pengaturan tugas ini? Nilai formulir saat ini akan diganti, tetapi tugas dan video asli tidak akan diubah.",
+ "Load Task Configuration": "Muat Konfigurasi",
+ "Task Restore Failed": "Tugas ini tidak memiliki pengaturan yang dapat digunakan kembali.",
+ "Task Configuration Loaded": "Konfigurasi tugas lama telah dimuat. Periksa lalu klik Buat Video.",
+ "Task Restore Local Materials Warning": "Materi lokal tidak dapat dipulihkan otomatis. Silakan unggah kembali.",
+ "Task Restore Custom Audio Warning": "Audio khusus tidak dapat dipulihkan otomatis. Silakan unggah kembali.",
+ "Cancel": "Batal",
+ "Test LLM Connection": "Uji Koneksi Model",
+ "Testing LLM Connection": "Menguji koneksi model...",
+ "LLM Connection Test Succeeded": "Koneksi berhasil: {provider} / {model} ({elapsed} dtk)",
+ "LLM Connection Test Failed": "Koneksi gagal: {error}",
"Video Source Settings": "**Pengaturan Sumber Video**",
- "Click to show API Key management": "Klik untuk menampilkan manajemen Kunci API",
- "Manage Pexels and Pixabay API Keys": "Kelola Kunci API Pexels dan Pixabay",
- "Pexels API Keys": "Kunci API Pexels",
- "Pixabay API Keys": "Kunci API Pixabay",
- "Current Keys:": "Kunci Saat Ini:",
- "No Pexels API Keys currently": "Belum ada Kunci API Pexels",
- "Add Pexels API Key": "Tambah Kunci API Pexels",
- "Pexels API Key added successfully": "Kunci API Pexels berhasil ditambahkan",
- "This API Key already exists": "Kunci API ini sudah ada",
- "Please enter a valid API Key": "Silakan masukkan Kunci API yang valid",
- "Select Pexels API Key to delete": "Pilih Kunci API Pexels yang akan dihapus",
- "Delete Selected Pexels API Key": "Hapus Kunci API Pexels yang Dipilih",
- "Pexels API Key deleted successfully": "Kunci API Pexels berhasil dihapus",
- "No Pixabay API Keys currently": "Belum ada Kunci API Pixabay",
- "Add Pixabay API Key": "Tambah Kunci API Pixabay",
- "Pixabay API Key added successfully": "Kunci API Pixabay berhasil ditambahkan",
- "Select Pixabay API Key to delete": "Pilih Kunci API Pixabay yang akan dihapus",
- "Delete Selected Pixabay API Key": "Hapus Kunci API Pixabay yang Dipilih",
- "Pixabay API Key deleted successfully": "Kunci API Pixabay berhasil dihapus",
- "Manage Pexels, Pixabay and Coverr API Keys": "Kelola Kunci API Pexels, Pixabay, dan Coverr",
"Coverr": "Coverr",
"Coverr API Key": "Kunci API Coverr ([Dapatkan Kunci API](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Kunci API Coverr",
"Please Enter the Coverr API Key": "Silakan Masukkan **Kunci API Coverr**",
- "No Coverr API Keys currently": "Belum ada Kunci API Coverr",
- "Add Coverr API Key": "Tambah Kunci API Coverr",
- "Coverr API Key added successfully": "Kunci API Coverr berhasil ditambahkan",
- "Select Coverr API Key to delete": "Pilih Kunci API Coverr yang akan dihapus",
- "Delete Selected Coverr API Key": "Hapus Kunci API Coverr yang Dipilih",
- "Coverr API Key deleted successfully": "Kunci API Coverr berhasil dihapus",
- "Advanced Video Settings": "Pengaturan Video Lanjutan",
"Video Encoder": "Encoder Video",
- "Video Encoder Help": "Opsi lanjutan. libx264 adalah default teraman. Saat encoder perangkat keras dipilih, aplikasi akan kembali ke libx264 jika FFmpeg, GPU, atau driver saat ini tidak dapat menggunakannya."
+ "Default Video Encoder": "Default (Direkomendasikan)",
+ "Video Encoder Help": "Opsi lanjutan. Default mengikuti kebijakan encoder stabil aplikasi, saat ini libx264. Jika encoder perangkat keras tidak tersedia, aplikasi otomatis kembali ke libx264."
}
}
diff --git a/webui/i18n/pt.json b/webui/i18n/pt.json
index 75cd3552..5420eaef 100644
--- a/webui/i18n/pt.json
+++ b/webui/i18n/pt.json
@@ -1,5 +1,5 @@
{
- "Language": "Português Brasileiro",
+ "Language": "Português",
"Translation": {
"Login Required": "Login Necessário",
"Please login to access settings": "Por favor, faça login para acessar as configurações",
@@ -9,17 +9,51 @@
"Login Error": "Erro de Login",
"Incorrect username or password": "Nome de usuário ou senha incorretos",
"Please enter your username and password": "Por favor, digite seu nome de usuário e senha",
- "Video Script Settings": "**Configurações do Roteiro do Vídeo**",
- "Video Subject": "Tema do Vídeo (Forneça uma palavra-chave, :red[a IA irá gerar automaticamente] o roteiro do vídeo)",
- "Script Language": "Idioma para Gerar o Roteiro do Vídeo (a IA irá gerar automaticamente com base no idioma do seu tema)",
- "Generate Video Script and Keywords": "Clique para usar a IA para gerar o [Roteiro do Vídeo] e as [Palavras-chave do Vídeo] com base no **tema**",
+ "Video Script Settings": "**Configurações do roteiro**",
+ "Video Subject": "Tema do vídeo",
+ "Video Subject Placeholder": "Exemplo: Como a IA está mudando o cotidiano",
+ "Script Language": "Idioma do roteiro",
+ "Advanced Script Settings": "Configurações avançadas do roteiro",
+ "Custom Script Requirements": "Requisitos personalizados do roteiro",
+ "Custom System Prompt": "Prompt do sistema",
+ "Restore Default System Prompt": "Restaurar prompt padrão",
+ "Default System Prompt Restored": "Prompt padrão restaurado",
+ "Preview Final Prompt": "Pré-visualizar prompt final",
+ "Final Prompt Preview": "Pré-visualização do prompt final",
+ "Generate Video Script and Keywords": "Gerar roteiro e palavras-chave com IA",
"Auto Detect": "Detectar Automaticamente",
- "Video Script": "Roteiro do Vídeo (:blue[① Opcional, gerado pela IA ② Pontuação adequada ajuda na geração de legendas])",
- "Generate Video Keywords": "Clique para usar a IA para gerar [Palavras-chave do Vídeo] com base no **roteiro**",
+ "Video Script": "Roteiro do vídeo (opcional)",
+ "Video Script Help": "Deixe em branco para gerá-lo com IA a partir do tema do vídeo. Uma pontuação adequada ajuda a gerar as legendas.",
+ "Generate Video Keywords": "Gerar palavras-chave com IA",
"Please Enter the Video Subject": "Por favor, insira o Roteiro do Vídeo primeiro",
+ "Please Enter the Video Subject First": "Insira primeiro o tema do vídeo",
+ "Task Manager": "Gerenciador de tarefas",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "A IA está gerando o roteiro do vídeo e as palavras-chave...",
"Generating Video Keywords": "A IA está gerando as palavras-chave do vídeo...",
- "Video Keywords": "Palavras-chave do Vídeo (:blue[① Opcional, gerado pela IA ② Use **vírgulas em inglês** para separar, somente em inglês])",
+ "Video Keywords": "Palavras-chave do vídeo (inglês, opcional)",
+ "Video Keywords Help": "Deixe em branco para gerá-las com IA a partir do roteiro. Separe várias palavras-chave com vírgulas inglesas.",
"Video Settings": "**Configurações do Vídeo**",
"Video Concat Mode": "Modo de Concatenação de Vídeo",
"Random": "Concatenação Aleatória (Recomendado)",
@@ -34,14 +68,34 @@
"Video Ratio": "Proporção do Vídeo",
"Portrait": "Retrato 9:16",
"Landscape": "Paisagem 16:9",
- "Clip Duration": "Duração Máxima dos Clipes de Vídeo (segundos)",
- "Number of Videos Generated Simultaneously": "Número de Vídeos Gerados Simultaneamente",
+ "Clip Duration": "Duração máxima por clipe (s)",
+ "Clip Duration Help": "Define a duração de cada clipe utilizado, não a duração total do vídeo.",
+ "Number of Videos Generated Simultaneously": "Vídeos por execução",
+ "Match Materials to Script Order": "Ajustar imagens à ordem do roteiro",
+ "Match Materials to Script Order Help": "Gera termos e organiza os materiais conforme o roteiro para acompanhar a narração.",
"Audio Settings": "**Configurações de Áudio**",
- "Speech Synthesis": "Voz de Síntese de Fala",
+ "Voiceover Mode": "Modo de narração",
+ "Automatic Voiceover": "Auto",
+ "Upload Voiceover": "Enviar",
+ "No Voiceover": "Nenhuma",
+ "No Voice Selected": "Nenhuma voz selecionada",
+ "Voiceover Service": "Serviço de voz",
+ "Voiceover Voice": "Voz (idioma do roteiro)",
+ "Voiceover Volume": "Volume da narração",
+ "Voiceover Volume Help": "Ajusta o volume da narração automática ou enviada. 100% mantém o nível original.",
+ "Voiceover Speed": "Velocidade da narração",
+ "Voiceover Speed Help": "Aplica-se apenas à narração automática. 1,0× é a velocidade normal.",
+ "Upload Voiceover File": "Enviar arquivo de narração",
+ "Upload Voiceover File Help": "O áudio enviado é usado diretamente em vez de gerar uma narração.",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "A narração enviada será usada diretamente; nenhuma narração automática será gerada.",
+ "Please Upload Voiceover File First": "Envie primeiro um arquivo de narração",
+ "Background Music Source": "Fonte da música de fundo",
+ "Speech Synthesis": "Voz (idioma do roteiro)",
"Speech Region": "Região(:red[Obrigatório,[Obter Região](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "Chave da API(:red[Obrigatório,[Obter Chave da API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Volume da Fala (1.0 representa 100%)",
- "Speech Rate": "Velocidade da Fala (1.0 significa velocidade 1x)",
+ "Speech Volume": "Volume da voz",
+ "Speech Rate": "Velocidade da voz",
+ "Custom Audio File": "Áudio personalizado",
"No Voice": "Sem voz (sem sintese de fala)",
"Male": "Masculino",
"Female": "Feminino",
@@ -49,25 +103,30 @@
"No Background Music": "Sem Música de Fundo",
"Random Background Music": "Música de Fundo Aleatória",
"Custom Background Music": "Música de Fundo Personalizada",
- "Custom Background Music File": "Por favor, insira o caminho do arquivo para a música de fundo personalizada:",
- "Background Music Volume": "Volume da Música de Fundo (0.2 representa 20%, a música de fundo não deve ser muito alta)",
+ "Custom Background Music File": "Caminho da música personalizada",
+ "Background Music Volume": "Volume da música de fundo",
"Subtitle Settings": "**Configurações de Legendas**",
- "Enable Subtitles": "Ativar Legendas (Se desmarcado, as configurações abaixo não terão efeito)",
- "Font": "Fonte da Legenda",
- "Position": "Posição da Legenda",
+ "Enable Subtitles": "Ativar Legendas",
+ "Font": "Fonte",
+ "Position": "Posição",
"Top": "Superior",
"Center": "Centralizar",
"Bottom": "Inferior (Recomendado)",
- "Custom": "Posição personalizada (70, indicando 70% abaixo do topo)",
+ "Custom": "Personalizada",
"Custom Position (% from top)": "Posição personalizada (% a partir do topo)",
"Please enter a value between 0 and 100": "Por favor, insira um valor entre 0 e 100",
"Please enter a valid number": "Por favor, insira um número válido",
- "Font Size": "Tamanho da Fonte da Legenda",
- "Font Color": "Cor da Fonte da Legenda",
- "Stroke Color": "Cor do Contorno da Legenda",
- "Stroke Width": "Largura do Contorno da Legenda",
- "Enable Subtitle Background": "Ativar fundo da legenda",
- "Subtitle Background Color": "Cor do fundo da legenda",
+ "Font Size": "Tamanho da fonte",
+ "Font Color": "Texto",
+ "Stroke Color": "Contorno",
+ "Stroke Width": "Espessura",
+ "Enable Subtitle Background": "Fundo",
+ "Subtitle Background Color": "Cor",
+ "Rounded Subtitle Background": "Fundo arredondado",
+ "Subtitle Colors Are Indistinguishable": "Texto e fundo usam a mesma cor, por isso as legendas podem não ficar visíveis.",
+ "Subtitle Font Does Not Support Text": "A fonte escolhida não suporta alguns caracteres do roteiro, por isso podem faltar legendas.",
+ "Restore Default Subtitle Settings": "Restaurar legendas",
+ "Default Subtitle Settings Restored": "Definições de legendas restauradas",
"Generate Video": "Gerar Vídeo",
"Video Script and Subject Cannot Both Be Empty": "O Tema do Vídeo e o Roteiro do Vídeo não podem estar ambos vazios",
"Generating Video": "Gerando vídeo, por favor aguarde...",
@@ -94,12 +153,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Por favor, selecione uma fonte de vídeo compatível",
- "TikTok": "TikTok (Suporte para TikTok em breve)",
- "Bilibili": "Bilibili (Suporte para Bilibili em breve)",
- "Xiaohongshu": "Xiaohongshu (Suporte para Xiaohongshu em breve)",
"Local file": "Arquivo local",
"Upload Local Files": "Carregar arquivos locais",
- "Play Voice": "Reproduzir Voz",
+ "Please Upload Local Materials First": "Envie primeiro pelo menos um arquivo de mídia local.",
+ "Unsupported Upload File Type": "O tipo de arquivo enviado não é compatível.",
+ "Play Voice": "Testar voz",
"Voice Example": "Este é um exemplo de texto para testar a síntese de fala",
"Synthesizing Voice": "Sintetizando voz, por favor aguarde...",
"TTS Provider": "Selecione o provedor de síntese de voz",
@@ -111,36 +169,55 @@
"Hide Log": "Ocultar Log",
"Hide Basic Settings": "Ocultar Configurações Básicas\n\nOculto, o painel de configurações básicas não será exibido na página.\n\nSe precisar exibi-lo novamente, defina `hide_config = false` em `config.toml`",
"LLM Settings": "**Configurações do LLM**",
+ "LLM Settings Tab": "Configurações do LLM",
+ "Material API Tab": "APIs de materiais",
+ "Interface Settings Tab": "Configurações da interface",
+ "Cache Management Tab": "Gerenciamento de cache",
+ "Video Cache Directory": "Diretório de cache de vídeos online",
+ "Cache File Count": "Arquivos em cache",
+ "Cache Total Size": "Espaço usado",
+ "Oldest Cache Date": "Cache mais antigo",
+ "Video Cache Management Help": "Somente vídeos baixados automaticamente são gerenciados aqui. Uploads e vídeos gerados não são removidos. Não limpe o cache durante a geração de um vídeo.",
+ "Cache Older Than 30 Days": "Cache com mais de 30 dias (recomendado)",
+ "Cache Older Than 7 Days": "Cache com mais de 7 dias",
+ "Cache Older Than 90 Days": "Cache com mais de 90 dias",
+ "All Video Cache": "Todo o cache de vídeos",
+ "Cache Cleanup Range": "Intervalo de limpeza",
+ "Cache Cleanup Preview": "Estimativa: remover {count} arquivos e liberar {size}.",
+ "Confirm Cache Cleanup": "Confirmo a exclusão dos arquivos de cache acima",
+ "Refresh Cache Stats": "Atualizar estatísticas",
+ "Open Cache Directory": "Abrir diretório",
+ "Clean Cache Now": "Limpar agora",
+ "Cache Cleanup Completed": "Cache limpo: {count} arquivos excluídos e {size} liberados.",
+ "Cache Cleanup Completed With Failures": "Cache parcialmente limpo: {count} arquivos excluídos, {size} liberados; falha em {failed} arquivos.",
+ "Settings": "Ajustes",
+ "Onboarding Model Settings Title": "Etapa 1: Configure o modelo de IA",
+ "Onboarding Model Settings Description": "Após o tour, abra Configurações, escolha um provedor, informe a chave de API, a URL base e o modelo e teste a conexão.",
+ "Onboarding Creation Settings Title": "Etapa 2: Configure o vídeo",
+ "Onboarding Creation Settings Description": "Informe um tema e ajuste vídeo, áudio e legendas conforme necessário. A maioria dos valores padrão pode ser mantida.",
+ "Onboarding Generate Video Title": "Etapa 3: Gere o vídeo",
+ "Onboarding Generate Video Description": "Inicie a geração após revisar as configurações. Acompanhe o progresso e os resultados no Gerenciador de Tarefas.",
+ "Onboarding Previous": "Anterior",
+ "Onboarding Next": "Próximo",
+ "Onboarding Done": "Concluir",
+ "Regenerate Task": "Gerar novamente",
+ "Regenerate Task Confirmation": "Carregar o roteiro e as configurações desta tarefa? Os valores atuais serão substituídos, mas a tarefa e o vídeo originais não serão alterados.",
+ "Load Task Configuration": "Carregar configurações",
+ "Task Restore Failed": "Esta tarefa não contém configurações reutilizáveis.",
+ "Task Configuration Loaded": "A configuração histórica foi carregada. Revise-a e clique em Gerar vídeo.",
+ "Task Restore Local Materials Warning": "Os materiais locais não podem ser restaurados automaticamente. Envie-os novamente.",
+ "Task Restore Custom Audio Warning": "O áudio personalizado não pode ser restaurado automaticamente. Envie-o novamente.",
+ "Cancel": "Cancelar",
+ "Test LLM Connection": "Testar conexão do modelo",
+ "Testing LLM Connection": "Testando a conexão do modelo...",
+ "LLM Connection Test Succeeded": "Conexão bem-sucedida: {provider} / {model} ({elapsed} s)",
+ "LLM Connection Test Failed": "Falha na conexão: {error}",
"Video Source Settings": "**Configurações da Fonte do Vídeo**",
- "Click to show API Key management": "Clique para mostrar o gerenciamento de chaves de API",
- "Manage Pexels and Pixabay API Keys": "Gerenciar chaves de API do Pexels e Pixabay",
- "Pexels API Keys": "Chaves de API do Pexels",
- "Pixabay API Keys": "Chaves de API do Pixabay",
- "Current Keys:": "Chaves atuais:",
- "No Pexels API Keys currently": "Nenhuma chave de API do Pexels atualmente",
- "Add Pexels API Key": "Adicionar chave de API do Pexels",
- "Pexels API Key added successfully": "Chave de API do Pexels adicionada com sucesso",
- "This API Key already exists": "Esta chave de API já existe",
- "Please enter a valid API Key": "Por favor, insira uma chave de API válida",
- "Select Pexels API Key to delete": "Selecione a chave de API do Pexels para excluir",
- "Delete Selected Pexels API Key": "Excluir chave de API do Pexels selecionada",
- "Pexels API Key deleted successfully": "Chave de API do Pexels excluída com sucesso",
- "No Pixabay API Keys currently": "Nenhuma chave de API do Pixabay atualmente",
- "Add Pixabay API Key": "Adicionar chave de API do Pixabay",
- "Pixabay API Key added successfully": "Chave de API do Pixabay adicionada com sucesso",
- "Select Pixabay API Key to delete": "Selecione a chave de API do Pixabay para excluir",
- "Delete Selected Pixabay API Key": "Excluir chave de API do Pixabay selecionada",
- "Pixabay API Key deleted successfully": "Chave de API do Pixabay excluída com sucesso",
- "Manage Pexels, Pixabay and Coverr API Keys": "Gerenciar Chaves de API do Pexels, Pixabay e Coverr",
"Coverr": "Coverr",
"Coverr API Key": "Chave de API do Coverr ([Obter Chave de API](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Chaves de API do Coverr",
"Please Enter the Coverr API Key": "Por favor, insira a **Chave de API do Coverr**",
- "No Coverr API Keys currently": "Sem Chaves de API do Coverr no momento",
- "Add Coverr API Key": "Adicionar Chave de API do Coverr",
- "Coverr API Key added successfully": "Chave de API do Coverr adicionada com sucesso",
- "Select Coverr API Key to delete": "Selecione a chave de API do Coverr para excluir",
- "Delete Selected Coverr API Key": "Excluir chave de API do Coverr selecionada",
- "Coverr API Key deleted successfully": "Chave de API do Coverr excluída com sucesso"
+ "Video Encoder": "Codificador de vídeo",
+ "Default Video Encoder": "Padrão (recomendado)",
+ "Video Encoder Help": "Opção avançada. Padrão segue a política estável do aplicativo, atualmente libx264. Se um codificador de hardware não estiver disponível, o aplicativo retorna automaticamente para libx264."
}
}
diff --git a/webui/i18n/ru.json b/webui/i18n/ru.json
index 2ca21c8f..a03596ee 100644
--- a/webui/i18n/ru.json
+++ b/webui/i18n/ru.json
@@ -10,29 +10,58 @@
"Incorrect username or password": "Неверное имя пользователя или пароль",
"Please enter your username and password": "Введите имя пользователя и пароль",
"Video Script Settings": "**Настройки сценария**",
- "Video Subject": "Тема видео (укажите тему или ключевое слово, :red[ИИ сам подготовит] сценарий)",
- "Script Language": "Язык сценария (если выбрать «Определить автоматически», ИИ подстроится под тему)",
- "Advanced Script Settings": "Дополнительные настройки сценария",
+ "Video Subject": "Тема видео",
+ "Video Subject Placeholder": "Например: Как ИИ меняет повседневную жизнь",
+ "Script Language": "Язык сценария",
+ "Advanced Script Settings": "Расширенные настройки сценария",
"Script Paragraph Number": "Количество абзацев сценария",
- "Custom Script Requirements": "Пожелания к сценарию",
+ "Custom Script Requirements": "Пользовательские требования к сценарию",
"Custom Script Requirements Placeholder": "Например: более легкий тон, стиль TikTok, молодая аудитория, более интригующее начало",
- "Use Custom System Prompt": "Использовать свою системную инструкцию",
- "Use Custom System Prompt Help": "Если включить, стандартные правила генерации сценария будут заменены. Подходит для опытной настройки промптов.",
"Custom System Prompt": "Системная инструкция",
- "Generate Video Script and Keywords": "Сгенерировать [сценарий] и [ключевые слова] по **теме** с помощью ИИ",
+ "Restore Default System Prompt": "Восстановить инструкцию",
+ "Default System Prompt Restored": "Системная инструкция восстановлена",
+ "Preview Final Prompt": "Показать итоговый промпт",
+ "Final Prompt Preview": "Предпросмотр итогового промпта",
+ "Generate Video Script and Keywords": "Создать сценарий и ключевые слова с ИИ",
"Auto Detect": "Определить автоматически",
- "Video Script": "Сценарий (:blue[① необязательно, можно сгенерировать с помощью ИИ; ② аккуратная пунктуация помогает создать субтитры])",
- "Generate Video Keywords": "Сгенерировать [ключевые слова] по **сценарию** с помощью ИИ",
+ "Video Script": "Сценарий (необязательно)",
+ "Video Script Help": "Оставьте поле пустым, чтобы создать сценарий с помощью ИИ по теме видео. Правильная пунктуация помогает создавать субтитры.",
+ "Generate Video Keywords": "Создать ключевые слова с ИИ",
"Please Enter the Video Subject": "Сначала введите сценарий видео",
+ "Please Enter the Video Subject First": "Сначала введите тему видео",
+ "Task Manager": "Управление задачами",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "ИИ генерирует сценарий и ключевые слова...",
"Generating Video Keywords": "ИИ генерирует ключевые слова...",
- "Video Keywords": "Ключевые слова (:blue[① необязательно, можно сгенерировать с помощью ИИ; ② разделяйте английскими запятыми (,), слова только на английском])",
+ "Video Keywords": "Ключевые слова видео (англ., необязательно)",
+ "Video Keywords Help": "Оставьте поле пустым, чтобы создать их с помощью ИИ по сценарию. Разделяйте ключевые слова английскими запятыми.",
"Video Settings": "**Настройки видео**",
"Video Concat Mode": "Порядок склейки фрагментов",
"Random": "Случайный порядок (рекомендуется)",
"Sequential": "По порядку",
- "Match Materials to Script Order": "Подбирать материалы по порядку сценария",
- "Match Materials to Script Order Help": "По умолчанию выключено. В основном применяется к онлайн-источникам материалов. Если включено, ключевые слова генерируются в порядке сценария, а материалы загружаются и объединяются в этом порядке, чтобы уменьшить расхождение изображения с текущей озвучкой.",
+ "Match Materials to Script Order": "Сопоставить кадры с порядком сценария",
+ "Match Materials to Script Order Help": "Создаёт запросы и упорядочивает материалы по сценарию, чтобы кадры соответствовали озвучке.",
"Video Transition Mode": "Переходы между фрагментами",
"None": "Без перехода",
"Shuffle": "Случайный переход",
@@ -43,16 +72,32 @@
"Video Ratio": "Формат видео",
"Portrait": "Вертикальное 9:16",
"Landscape": "Горизонтальное 16:9",
- "Clip Duration": "Максимальная длительность одного фрагмента (сек.)",
- "Number of Videos Generated Simultaneously": "Количество видео за один запуск",
+ "Clip Duration": "Макс. длительность фрагмента (сек.)",
+ "Clip Duration Help": "Определяет длительность каждого используемого фрагмента, а не общую длину видео.",
+ "Number of Videos Generated Simultaneously": "Видео за запуск",
"Audio Settings": "**Настройки аудио**",
- "Speech Synthesis": "Голос озвучки",
+ "Voiceover Mode": "Режим озвучки",
+ "Automatic Voiceover": "Авто",
+ "Upload Voiceover": "Загрузить",
+ "No Voiceover": "Нет",
+ "No Voice Selected": "Голос не выбран",
+ "Voiceover Service": "Сервис озвучки",
+ "Voiceover Voice": "Голос (язык сценария)",
+ "Voiceover Volume": "Громкость озвучки",
+ "Voiceover Volume Help": "Регулирует громкость автоматической или загруженной озвучки. 100% сохраняет исходный уровень.",
+ "Voiceover Speed": "Скорость озвучки",
+ "Voiceover Speed Help": "Применяется только к автоматической озвучке. 1,0× — нормальная скорость.",
+ "Upload Voiceover File": "Загрузить файл озвучки",
+ "Upload Voiceover File Help": "Загруженное аудио используется напрямую вместо автоматической озвучки.",
+ "Please Upload Voiceover File First": "Сначала загрузите файл озвучки",
+ "Background Music Source": "Источник фоновой музыки",
+ "Speech Synthesis": "Голос (язык сценария)",
"Speech Region": "Регион (:red[обязательно, [получить регион](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "API-ключ (:red[обязательно, [получить API-ключ](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "Громкость озвучки (1.0 = 100%)",
- "Speech Rate": "Темп озвучки (1.0 = обычная скорость)",
+ "Speech Rate": "Темп озвучки",
"Custom Audio File": "Свой аудиофайл",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Будет использован этот аудиофайл; синтез речи для этой задачи выполняться не будет.",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Загруженная озвучка будет использована напрямую; автоматическая озвучка создаваться не будет.",
"No Voice": "Без озвучки (пропустить синтез речи)",
"Male": "Мужской",
"Female": "Женский",
@@ -61,23 +106,27 @@
"Random Background Music": "Случайная фоновая музыка",
"Custom Background Music": "Своя фоновая музыка",
"Custom Background Music File": "Введите путь к файлу фоновой музыки:",
- "Background Music Volume": "Громкость фоновой музыки (0.2 = 20%; не делайте ее слишком громкой)",
+ "Background Music Volume": "Громкость фоновой музыки",
"Subtitle Settings": "**Настройки субтитров**",
- "Enable Subtitles": "Показывать субтитры (если выключить, настройки ниже не применяются)",
+ "Enable Subtitles": "Показывать субтитры",
"Font": "Шрифт субтитров",
"Position": "Положение субтитров",
"Top": "Сверху",
"Center": "По центру",
"Bottom": "Снизу (рекомендуется)",
- "Custom": "Пользовательское положение (70 = 70% от верхнего края)",
- "Font Size": "Размер шрифта субтитров",
- "Font Color": "Цвет шрифта субтитров",
- "Stroke Color": "Цвет обводки субтитров",
- "Stroke Width": "Толщина обводки субтитров",
- "Enable Subtitle Background": "Показывать фон субтитров",
- "Subtitle Background Color": "Цвет фона субтитров",
- "Rounded Subtitle Background": "Скругленный полупрозрачный фон субтитров",
+ "Custom": "Своя",
+ "Font Size": "Размер шрифта",
+ "Font Color": "Текст",
+ "Stroke Color": "Обводка",
+ "Stroke Width": "Толщина обводки",
+ "Enable Subtitle Background": "Фон",
+ "Subtitle Background Color": "Цвет",
+ "Rounded Subtitle Background": "Скругленный фон",
"Rounded Subtitle Background Help": "По умолчанию выключено. Если включить, фон субтитров будет скругленным и подстроится под ширину текста.",
+ "Subtitle Colors Are Indistinguishable": "Текст и фон одного цвета, поэтому субтитры могут быть не видны.",
+ "Subtitle Font Does Not Support Text": "Выбранный шрифт не поддерживает некоторые символы сценария, поэтому субтитры могут отсутствовать.",
+ "Restore Default Subtitle Settings": "Сбросить субтитры",
+ "Default Subtitle Settings Restored": "Настройки субтитров восстановлены",
"Generate Video": "Создать видео",
"Video Script and Subject Cannot Both Be Empty": "Тема и сценарий не могут быть пустыми одновременно",
"Generating Video": "Видео создается, подождите...",
@@ -91,7 +140,7 @@
"Language": "Язык",
"LLM Provider": "Провайдер LLM",
"Recommended": "рекомендуется",
- "llm_provider_label.moonshot": "Kimi/Moonshot (Recommended)",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI (Recommended)",
"API Key": "API-ключ (:red[обязательно])",
"Base Url": "Базовый URL",
"Account ID": "ID аккаунта (см. в панели Cloudflare)",
@@ -106,12 +155,11 @@
"Video Source": "Источник материалов",
"Pexels": "Pexels",
"Pixabay": "Pixabay",
- "TikTok": "TikTok (поддержка скоро появится)",
- "Bilibili": "Bilibili (поддержка скоро появится)",
- "Xiaohongshu": "Xiaohongshu (поддержка скоро появится)",
"Local file": "Локальные файлы",
"Upload Local Files": "Загрузите локальные файлы",
- "Play Voice": "Прослушать голос",
+ "Please Upload Local Materials First": "Сначала загрузите хотя бы один локальный медиафайл.",
+ "Unsupported Upload File Type": "Тип загруженного файла не поддерживается.",
+ "Play Voice": "Прослушать",
"Voice Example": "Пример текста для проверки озвучки",
"Synthesizing Voice": "Генерируется голос, подождите...",
"TTS Provider": "Провайдер синтеза речи",
@@ -127,67 +175,59 @@
"Chatterbox Voices": "Голоса Chatterbox",
"Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
"Chatterbox Voices Placeholder": "default-Female, narrator-Male",
- "tts_provider_tips.siliconflow": "##### SiliconFlow TTS Settings\n- **Speed**: range [0.25, 4.0], default is 1.0\n- **Volume**: uses the Speech Volume setting; default 1.0 maps to gain 0",
- "tts_provider_tips.mimo": "##### Xiaomi MiMo TTS Settings\n- Uses Xiaomi MiMo V2.5 preset voices\n- Speed and volume are currently handled by the provider defaults",
- "tts_provider_tips.elevenlabs": "##### ElevenLabs TTS Settings\n- **API Key**: create one at https://elevenlabs.io/app/settings/api-keys\n- Mark voices as Favorite in the ElevenLabs voice library to make them appear here",
- "tts_provider_tips.chatterbox": "##### Chatterbox TTS Settings (self-hosted)\n- Run an OpenAI-compatible Chatterbox server, such as devnen/Chatterbox-TTS-Server or travisvn/chatterbox-tts-api, and set Base URL to its /v1 endpoint\n- Voices is a comma-separated list of voice names exposed by your server; add a -Female or -Male suffix only to label the gender in this dropdown\n- Speech Volume is not applied for Chatterbox because the OpenAI /audio/speech API has no volume field; use Speech Rate instead",
"Hide Log": "Скрыть журнал",
"Hide Basic Settings": "Скрыть основные настройки\n\nПанель основных настроек не будет показана на странице.\n\nЧтобы вернуть ее, установите `hide_config = false` в `config.toml`",
"LLM Settings": "**Настройки LLM**",
+ "LLM Settings Tab": "Настройки LLM",
+ "Material API Tab": "API материалов",
+ "Interface Settings Tab": "Настройки интерфейса",
+ "Cache Management Tab": "Управление кэшем",
+ "Video Cache Directory": "Каталог кэша онлайн-видео",
+ "Cache File Count": "Файлы кэша",
+ "Cache Total Size": "Занято места",
+ "Oldest Cache Date": "Самый старый кэш",
+ "Video Cache Management Help": "Здесь управляются только автоматически загруженные видео. Пользовательские материалы и готовые видео не удаляются. Не очищайте кэш во время генерации видео.",
+ "Cache Older Than 30 Days": "Кэш старше 30 дней (рекомендуется)",
+ "Cache Older Than 7 Days": "Кэш старше 7 дней",
+ "Cache Older Than 90 Days": "Кэш старше 90 дней",
+ "All Video Cache": "Весь кэш видео",
+ "Cache Cleanup Range": "Диапазон очистки",
+ "Cache Cleanup Preview": "Будет удалено около {count} файлов и освобождено {size}.",
+ "Confirm Cache Cleanup": "Я подтверждаю удаление указанных файлов кэша",
+ "Refresh Cache Stats": "Обновить статистику",
+ "Open Cache Directory": "Открыть каталог",
+ "Clean Cache Now": "Очистить сейчас",
+ "Cache Cleanup Completed": "Очистка завершена: удалено {count} файлов, освобождено {size}.",
+ "Cache Cleanup Completed With Failures": "Очистка частично завершена: удалено {count} файлов, освобождено {size}; не удалось удалить {failed} файлов.",
+ "Settings": "Настройки",
+ "Onboarding Model Settings Title": "Шаг 1: Настройте модель ИИ",
+ "Onboarding Model Settings Description": "После тура откройте настройки, выберите провайдера, укажите API Key, Base URL и модель, затем проверьте подключение.",
+ "Onboarding Creation Settings Title": "Шаг 2: Настройте видео",
+ "Onboarding Creation Settings Description": "Введите тему и при необходимости настройте видео, аудио и субтитры. Большинство параметров можно оставить по умолчанию.",
+ "Onboarding Generate Video Title": "Шаг 3: Создайте видео",
+ "Onboarding Generate Video Description": "После проверки настроек запустите создание. Ход выполнения и результат доступны в диспетчере задач сверху.",
+ "Onboarding Previous": "Назад",
+ "Onboarding Next": "Далее",
+ "Onboarding Done": "Готово",
+ "Regenerate Task": "Создать заново",
+ "Regenerate Task Confirmation": "Загрузить сценарий и настройки этой задачи? Текущие значения формы будут заменены, но исходная задача и видео не изменятся.",
+ "Load Task Configuration": "Загрузить настройки",
+ "Task Restore Failed": "В этой задаче нет настроек, пригодных для повторного использования.",
+ "Task Configuration Loaded": "Исторические настройки загружены. Проверьте их и нажмите «Создать видео».",
+ "Task Restore Local Materials Warning": "Локальные материалы нельзя восстановить автоматически. Загрузите их снова.",
+ "Task Restore Custom Audio Warning": "Пользовательское аудио нельзя восстановить автоматически. Загрузите его снова.",
+ "Cancel": "Отмена",
+ "Test LLM Connection": "Проверить подключение модели",
+ "Testing LLM Connection": "Проверка подключения модели...",
+ "LLM Connection Test Succeeded": "Подключение успешно: {provider} / {model} ({elapsed} с)",
+ "LLM Connection Test Failed": "Ошибка подключения: {error}",
"Video Source Settings": "**Источники материалов**",
- "Click to show API Key management": "Показать управление API-ключами",
- "Manage Pexels and Pixabay API Keys": "Управление API-ключами Pexels и Pixabay",
- "Pexels API Keys": "API-ключи Pexels",
- "Pixabay API Keys": "API-ключи Pixabay",
- "Current Keys:": "Текущие ключи:",
- "No Pexels API Keys currently": "API-ключи Pexels пока не добавлены",
- "Add Pexels API Key": "Добавить API-ключ Pexels",
- "Pexels API Key added successfully": "API-ключ Pexels добавлен",
- "This API Key already exists": "Такой API-ключ уже есть",
- "Please enter a valid API Key": "Введите корректный API-ключ",
- "Select Pexels API Key to delete": "Выберите API-ключ Pexels для удаления",
- "Delete Selected Pexels API Key": "Удалить выбранный API-ключ Pexels",
- "Pexels API Key deleted successfully": "API-ключ Pexels удален",
- "No Pixabay API Keys currently": "API-ключи Pixabay пока не добавлены",
- "Add Pixabay API Key": "Добавить API-ключ Pixabay",
- "Pixabay API Key added successfully": "API-ключ Pixabay добавлен",
- "Select Pixabay API Key to delete": "Выберите API-ключ Pixabay для удаления",
- "Delete Selected Pixabay API Key": "Удалить выбранный API-ключ Pixabay",
- "Pixabay API Key deleted successfully": "API-ключ Pixabay удален",
- "Manage Pexels, Pixabay and Coverr API Keys": "Управление API-ключами Pexels, Pixabay и Coverr",
"Coverr": "Coverr",
"Coverr API Key": "API-ключ Coverr ([Получить ключ](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "API-ключи Coverr",
"Please Enter the Coverr API Key": "Введите **API-ключ Coverr**",
- "No Coverr API Keys currently": "Сейчас нет API-ключей Coverr",
- "Add Coverr API Key": "Добавить API-ключ Coverr",
- "Coverr API Key added successfully": "API-ключ Coverr успешно добавлен",
- "Select Coverr API Key to delete": "Выберите API-ключ Coverr для удаления",
- "Delete Selected Coverr API Key": "Удалить выбранный API-ключ Coverr",
- "Coverr API Key deleted successfully": "API-ключ Coverr удален",
- "Advanced Video Settings": "Дополнительные настройки видео",
"Video Encoder": "Видеокодер",
- "Video Encoder Help": "Дополнительная настройка. libx264 считается самым надежным вариантом по умолчанию. Если выбран аппаратный кодер, приложение вернется к libx264, если установленная версия FFmpeg, GPU или драйвер не поддерживают выбранный кодер.",
- "llm_provider_tips.ollama": "##### Ollama Configuration\n- **API Key**: enter any value, for example `123`\n- **Base Url**: usually http://localhost:11434/v1\n - If `MoneyPrinterTurbo` and `Ollama` are **not on the same machine**, use the IP address of the Ollama machine\n - If `MoneyPrinterTurbo` runs in `Docker`, use `http://host.docker.internal:11434/v1` when available{docker_hint}\n- **Model Name**: run `ollama list`, for example `qwen:7b`",
- "llm_provider_tips.ollama.docker_hint": "\n > Container environment detected. If Base Url is empty, `http://host.docker.internal:11434/v1` is used by default.\n",
- "llm_provider_tips.openai": "##### OpenAI Configuration\n> A global VPN/proxy may be required in some regions\n- **API Key**: [create one on the OpenAI platform](https://platform.openai.com/api-keys)\n- **Base Url**: leave empty for official OpenAI; set a compatible endpoint when using an OpenAI-compatible provider such as OpenRouter\n- **Model Name**: use a model you have access to; for compatible providers, enter the model ID supported by that platform",
- "llm_provider_tips.aihubmix": "##### AIHubMix Configuration\n- **API Key**: create one in the AIHubMix console\n- **Base Url**: https://aihubmix.com/v1\n- **Model Name**: defaults to gpt-5.4-mini; you can also use other model IDs supported by AIHubMix",
- "llm_provider_tips.aimlapi": "##### AIML API Configuration\n- **API Key**: [create one at AIML API](https://aimlapi.com/app/keys)\n- **Base Url**: https://api.aimlapi.com/v1\n- **Model Name**: for example `openai/gpt-4o-mini`, `openai/gpt-4o`, `anthropic/claude-sonnet-4.5`, or `google/gemini-3-flash-preview`",
- "llm_provider_tips.evolink": "##### EvoLink Configuration\n- **API Key**: [create one on EvoLink](https://evolink.ai/dashboard/keys)\n- **Base Url**: https://direct.evolink.ai/v1\n- **Model Name**: defaults to gpt-5.5; you can also use other model IDs supported by EvoLink",
- "llm_provider_tips.volcengine": "##### VolcEngine Ark Configuration\n- **Sign up**: [register on VolcEngine](https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo)\n- **API Key**: create one in the VolcEngine Ark console\n- **Base Url**: https://ark.cn-beijing.volces.com/api/v3\n- **Model Name**: enter an enabled model ID from the Ark console, for example doubao-seed-2-1-turbo-260628",
- "llm_provider_tips.moonshot": "##### Kimi / Moonshot Configuration\n- **API Key**: [create one on the Kimi Open Platform](https://platform.kimi.ai/console/api-keys?aff=MoneyPrinterTurbo)\n- **Base Url**: https://api.moonshot.cn/v1\n- **Model Name**: defaults to `kimi-k2.7-code`; see the [model list](https://platform.kimi.ai/docs/models?aff=MoneyPrinterTurbo)\n\nWhy recommended:\n- **Fits the video creation workflow**: helps generate scripts, extract stock-footage search keywords, and improve final footage relevance\n- **Strong long-context capability**: useful for longer topics, batch scripts, and complex prompts\n- **Flexible billing**: pay only for what you use, with transparent costs",
- "llm_provider_tips.oneapi": "##### OneAPI Configuration\n- **API Key**: enter your OneAPI key\n- **Base Url**: enter your OneAPI base URL\n- **Model Name**: enter the model name you want to use, for example claude-3-5-sonnet-20240620",
- "llm_provider_tips.qwen": "##### Qwen Configuration\n- **API Key**: [create one on DashScope](https://dashscope.console.aliyun.com/apiKey)\n- **Base Url**: leave empty\n- **Model Name**: for example qwen-max; see the [model list](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction#3ef6d0bcf91wy)",
- "llm_provider_tips.azure": "##### Azure Configuration\n> [Learn how to deploy a model](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource)\n- **API Key**: create one in the [Azure portal](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI)\n- **Base Url**: leave empty\n- **Model Name**: enter your deployment name",
- "llm_provider_tips.gemini": "##### Gemini Configuration\n> A global VPN/proxy may be required in some regions\n- **API Key**: [create one on Google AI Studio](https://ai.google.dev/)\n- **Base Url**: leave empty\n- **Model Name**: for example gemini-1.0-pro",
- "llm_provider_tips.grok": "##### Grok Configuration\n- **API Key**: enter your Grok API key\n- **Base Url**: enter your Grok API base URL\n- **Model Name**: for example grok-4.3",
- "llm_provider_tips.groq": "##### Groq Configuration\n- **API Key**: [create one on Groq](https://console.groq.com/keys)\n- **Base Url**: https://api.groq.com/openai/v1\n- **Model Name**: for example llama-3.3-70b-versatile",
- "llm_provider_tips.deepseek": "##### DeepSeek Configuration\n- **API Key**: [create one on DeepSeek](https://platform.deepseek.com/api_keys)\n- **Base Url**: https://api.deepseek.com\n- **Model Name**: deepseek-chat",
- "llm_provider_tips.mimo": "##### Xiaomi MiMo Configuration\n- **API Key**: [create one in Xiaomi MiMo](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)\n- **Base Url**: https://api.xiaomimimo.com/v1\n- **Model Name**: defaults to mimo-v2.5-pro; you can also use other available models from the official docs",
- "llm_provider_tips.modelscope": "##### ModelScope Configuration\n- **API Key**: [create one on ModelScope](https://modelscope.cn/docs/model-service/API-Inference/intro)\n- **Base Url**: https://api-inference.modelscope.cn/v1/\n- **Model Name**: for example Qwen/Qwen3-32B; see the [model list](https://modelscope.cn/models?filter=inference_type&page=1)",
- "llm_provider_tips.ernie": "##### ERNIE Configuration\n- **API Key**: [create one in Baidu Qianfan](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)\n- **Secret Key**: [create one in Baidu Qianfan](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)\n- **Base Url**: enter the request URL; see the [documentation](https://cloud.baidu.com/doc/WENXINWORKSHOP/s/jlil56u11#%E8%AF%B7%E6%B1%82%E8%AF%B4%E6%98%8E)",
- "llm_provider_tips.pollinations": "##### Pollinations AI Configuration\n- **API Key**: optional; leave empty for public access\n- **Base Url**: https://text.pollinations.ai/openai\n- **Model Name**: use `openai-fast` or specify another model name",
- "llm_provider_tips.litellm": "##### LiteLLM Configuration\n> [LiteLLM](https://github.com/BerriAI/litellm) routes to 100+ LLM providers through a unified interface.\n> Set your provider API key as an environment variable, such as `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GEMINI_API_KEY`, or `AWS_ACCESS_KEY_ID`.\n- **Model Name**: use LiteLLM format, for example `openai/gpt-4o`, `anthropic/claude-sonnet-4-20250514`, `bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0`, or `gemini/gemini-2.5-flash`. See the [full provider list](https://docs.litellm.ai/docs/providers)",
+ "Default Video Encoder": "По умолчанию (рекомендуется)",
+ "Video Encoder Help": "Дополнительная настройка. Значение по умолчанию следует стабильной политике приложения, сейчас это libx264. Если аппаратный кодер недоступен, приложение автоматически вернется к libx264.",
"Custom Position (% from top)": "Пользовательское положение (% от верхнего края)",
"Please enter a value between 0 and 100": "Введите значение от 0 до 100",
"Please enter a valid number": "Введите корректное число",
diff --git a/webui/i18n/tr.json b/webui/i18n/tr.json
index 1e0de35b..f1bfeac3 100644
--- a/webui/i18n/tr.json
+++ b/webui/i18n/tr.json
@@ -10,23 +10,52 @@
"Incorrect username or password": "Hatalı kullanıcı adı veya şifre",
"Please enter your username and password": "Lütfen kullanıcı adınızı ve şifrenizi girin",
"Video Script Settings": "**Video Senaryo Ayarları**",
- "Video Subject": "Video Konusu (:red[Yapay zeka otomatik olarak] video senaryosu oluşturacak bir anahtar kelime girin)",
- "Script Language": "Video Senaryosu Dili (Yapay zeka, konunuzun diline göre otomatik çıktı verecektir)",
+ "Video Subject": "Video Konusu",
+ "Video Subject Placeholder": "Örnek: Yapay zeka günlük yaşamı nasıl değiştiriyor",
+ "Script Language": "Senaryo Dili",
"Advanced Script Settings": "Gelişmiş Senaryo Ayarları",
"Script Paragraph Number": "Senaryo Paragraf Sayısı",
"Custom Script Requirements": "Özel Senaryo Gereksinimleri",
"Custom Script Requirements Placeholder": "Örnek: daha yumuşak bir ton kullan, TikTok tarzına uygun olsun, genç izleyicileri hedeflesin, açılışı daha merak uyandırıcı yap",
- "Use Custom System Prompt": "Özel Sistem Promptu Kullan",
- "Use Custom System Prompt Help": "Etkinleştirildiğinde varsayılan senaryo oluşturma kurallarının yerine geçer. Gelişmiş prompt kullanıcıları için tasarlanmıştır.",
- "Custom System Prompt": "Özel Sistem Promptu",
- "Generate Video Script and Keywords": "**Konuya** dayalı olarak yapay zeka ile [Video Senaryosu] ve [Video Anahtar Kelimeleri] oluşturmak için tıklayın",
+ "Custom System Prompt": "Sistem Promptu",
+ "Restore Default System Prompt": "Varsayılan Promptu Geri Yükle",
+ "Default System Prompt Restored": "Varsayılan sistem promptu geri yüklendi",
+ "Preview Final Prompt": "Son Promptu Önizle",
+ "Final Prompt Preview": "Son Prompt Önizlemesi",
+ "Generate Video Script and Keywords": "AI ile Senaryo ve Anahtar Kelime Oluştur",
"Auto Detect": "Otomatik Algılama",
- "Video Script": "Video Senaryosu (:blue[① İsteğe bağlı, yapay zeka tarafından oluşturulur ② Doğru noktalama altyazı oluşturmaya yardımcı olur])",
- "Generate Video Keywords": "**Senaryoya** dayalı olarak yapay zeka ile [Video Anahtar Kelimeleri] oluşturmak için tıklayın",
+ "Video Script": "Video Senaryosu (İsteğe Bağlı)",
+ "Video Script Help": "Video konusundan AI ile oluşturmak için boş bırakın. Doğru noktalama, altyazı oluşturmayı kolaylaştırır.",
+ "Generate Video Keywords": "AI ile Anahtar Kelime Oluştur",
"Please Enter the Video Subject": "Lütfen Önce Video Senaryosunu Girin",
+ "Please Enter the Video Subject First": "Lütfen önce video konusunu girin",
+ "Task Manager": "Görev Yöneticisi",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "Yapay zeka video senaryosu ve anahtar kelimeleri oluşturuyor...",
"Generating Video Keywords": "Yapay zeka video anahtar kelimelerini oluşturuyor...",
- "Video Keywords": "Video Anahtar Kelimeleri (:blue[① İsteğe bağlı, yapay zeka tarafından oluşturulur ② Ayırmak için **İngilizce virgül** kullanın, yalnızca İngilizce])",
+ "Video Keywords": "Video Anahtar Kelimeleri (İngilizce, İsteğe Bağlı)",
+ "Video Keywords Help": "Senaryodan AI ile oluşturmak için boş bırakın. Birden fazla anahtar kelimeyi İngilizce virgülle ayırın.",
"Video Settings": "**Video Ayarları**",
"Video Concat Mode": "Video Birleştirme Modu",
"Random": "Rastgele Birleştirme (Önerilen)",
@@ -41,14 +70,32 @@
"Video Ratio": "Video En-Boy Oranı",
"Portrait": "Dikey 9:16",
"Landscape": "Yatay 16:9",
- "Clip Duration": "Video Kliplerinin Maksimum Süresi (saniye)",
- "Number of Videos Generated Simultaneously": "Aynı Anda Oluşturulan Video Sayısı",
+ "Clip Duration": "Maks. Klip Süresi (sn.)",
+ "Clip Duration Help": "Toplam video süresini değil, kullanılan her klibin süresini belirler.",
+ "Number of Videos Generated Simultaneously": "Oluşturulacak Video Sayısı",
+ "Match Materials to Script Order": "Görüntüleri Senaryo Sırasıyla Eşleştir",
+ "Match Materials to Script Order Help": "Görüntülerin anlatımı izlemesi için anahtar kelimeleri ve materyalleri senaryo sırasına göre düzenler.",
"Audio Settings": "**Ses Ayarları**",
- "Speech Synthesis": "Konuşma Sentezi Sesi",
+ "Voiceover Mode": "Seslendirme Yöntemi",
+ "Automatic Voiceover": "Otomatik",
+ "Upload Voiceover": "Yükle",
+ "No Voiceover": "Yok",
+ "No Voice Selected": "Ses Seçilmedi",
+ "Voiceover Service": "Seslendirme Hizmeti",
+ "Voiceover Voice": "Ses (senaryo dili)",
+ "Voiceover Volume": "Seslendirme Seviyesi",
+ "Voiceover Volume Help": "Otomatik veya yüklenen seslendirme seviyesini ayarlar. %100 özgün seviyeyi korur.",
+ "Voiceover Speed": "Konuşma Hızı",
+ "Voiceover Speed Help": "Yalnızca otomatik seslendirmede geçerlidir. 1,0× normal hızdır.",
+ "Upload Voiceover File": "Seslendirme Dosyası Yükle",
+ "Upload Voiceover File Help": "Yüklenen ses doğrudan kullanılır; otomatik seslendirme oluşturulmaz.",
+ "Please Upload Voiceover File First": "Önce bir seslendirme dosyası yükleyin",
+ "Background Music Source": "Arka Plan Müziği Kaynağı",
+ "Speech Synthesis": "Ses (senaryo dili)",
"Speech Region": "Bölge (:red[Gerekli, [Bölge Al](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "API Anahtarı (:red[Gerekli, [API Anahtarı Al](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Konuşma Ses Seviyesi (1.0, %100 anlamına gelir)",
- "Speech Rate": "Konuşma Hızı (1.0, 1x hız anlamına gelir)",
+ "Speech Volume": "Ses Seviyesi",
+ "Speech Rate": "Konuşma Hızı",
"No Voice": "Ses yok (konuşma sentezi yok)",
"Male": "Erkek",
"Female": "Kadın",
@@ -56,27 +103,31 @@
"No Background Music": "Arka Plan Müziği Yok",
"Random Background Music": "Rastgele Arka Plan Müziği",
"Custom Background Music": "Özel Arka Plan Müziği",
- "Custom Background Music File": "Lütfen özel arka plan müziği dosya yolunu girin:",
- "Background Music Volume": "Arka Plan Müziği Ses Seviyesi (0.2, %20 anlamına gelir, arka plan müziği çok yüksek olmamalı)",
+ "Custom Background Music File": "Özel Müzik Yolu",
+ "Background Music Volume": "Arka Plan Müziği Seviyesi",
"Subtitle Settings": "**Altyazı Ayarları**",
- "Enable Subtitles": "Altyazıları Etkinleştir (İşaretlenmezse aşağıdaki ayarlar geçerli olmaz)",
+ "Enable Subtitles": "Altyazıları Etkinleştir",
"Font": "Altyazı Fontu",
"Position": "Altyazı Konumu",
"Top": "Üst",
"Center": "Orta",
"Bottom": "Alt (Önerilen)",
- "Custom": "Özel konum (70, üstten %70 aşağı anlamına gelir)",
+ "Custom": "Özel",
"Custom Position (% from top)": "Özel Konum (üstten %)",
"Please enter a value between 0 and 100": "Lütfen 0 ile 100 arasında bir değer girin",
"Please enter a valid number": "Lütfen geçerli bir sayı girin",
- "Font Size": "Altyazı Font Boyutu",
- "Font Color": "Altyazı Font Rengi",
- "Stroke Color": "Altyazı Çerçeve Rengi",
- "Stroke Width": "Altyazı Çerçeve Kalınlığı",
- "Enable Subtitle Background": "Altyazı arka planını etkinleştir",
- "Subtitle Background Color": "Altyazı arka plan rengi",
- "Rounded Subtitle Background": "Yuvarlatılmış yarı saydam altyazı arka planını etkinleştir",
+ "Font Size": "Font Boyutu",
+ "Font Color": "Metin",
+ "Stroke Color": "Çerçeve",
+ "Stroke Width": "Çerçeve Kalınlığı",
+ "Enable Subtitle Background": "Arka Plan",
+ "Subtitle Background Color": "Renk",
+ "Rounded Subtitle Background": "Yuvarlak Arka Plan",
"Rounded Subtitle Background Help": "Varsayılan olarak kapalıdır. Etkinleştirildiğinde altyazı arka planı, metin genişliğine daha iyi uyan yuvarlatılmış yarı saydam bir stil kullanır.",
+ "Subtitle Colors Are Indistinguishable": "Altyazı metni ve arka planı aynı renkte olduğundan altyazılar görünmeyebilir.",
+ "Subtitle Font Does Not Support Text": "Seçilen yazı tipi bazı metin karakterlerini desteklemiyor; altyazılar eksik olabilir.",
+ "Restore Default Subtitle Settings": "Altyazı Ayarlarını Sıfırla",
+ "Default Subtitle Settings Restored": "Varsayılan altyazı ayarları geri yüklendi",
"Generate Video": "Video Oluştur",
"Video Script and Subject Cannot Both Be Empty": "Video Konusu ve Video Senaryosu aynı anda boş olamaz",
"Generating Video": "Video oluşturuluyor, lütfen bekleyin...",
@@ -103,12 +154,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Lütfen desteklenen bir video kaynağı seçin",
- "TikTok": "TikTok (TikTok desteği yakında geliyor)",
- "Bilibili": "Bilibili (Bilibili desteği yakında geliyor)",
- "Xiaohongshu": "Xiaohongshu (Xiaohongshu desteği yakında geliyor)",
"Local file": "Yerel dosya",
"Upload Local Files": "Yerel Dosyaları Yükle",
- "Play Voice": "Sesi Oynat",
+ "Please Upload Local Materials First": "Önce en az bir yerel medya dosyası yükleyin.",
+ "Unsupported Upload File Type": "Yüklenen dosya türü desteklenmiyor.",
+ "Play Voice": "Sesi Önizle",
"Voice Example": "Bu, konuşma sentezini test etmek için örnek bir metindir",
"Synthesizing Voice": "Ses sentezleniyor, lütfen bekleyin...",
"TTS Provider": "Ses sentezi sağlayıcısını seçin",
@@ -121,41 +171,57 @@
"Hide Log": "Günlüğü Gizle",
"Hide Basic Settings": "Temel Ayarları Gizle\n\nGizlendiği takdirde, temel ayarlar paneli sayfada görüntülenmeyecektir.\n\nTekrar görüntülemek için `config.toml` dosyasında `hide_config = false` olarak ayarlayın",
"LLM Settings": "**LLM Ayarları**",
+ "LLM Settings Tab": "LLM Ayarları",
+ "Material API Tab": "Materyal API'leri",
+ "Interface Settings Tab": "Arayüz Ayarları",
+ "Cache Management Tab": "Önbellek Yönetimi",
+ "Video Cache Directory": "Çevrimiçi video önbellek dizini",
+ "Cache File Count": "Önbellek Dosyaları",
+ "Cache Total Size": "Disk Kullanımı",
+ "Oldest Cache Date": "En Eski Önbellek",
+ "Video Cache Management Help": "Burada yalnızca otomatik indirilen videolar yönetilir. Yüklenen dosyalar ve oluşturulan videolar silinmez. Video oluşturulurken önbelleği temizlemeyin.",
+ "Cache Older Than 30 Days": "30 günden eski önbellek (önerilen)",
+ "Cache Older Than 7 Days": "7 günden eski önbellek",
+ "Cache Older Than 90 Days": "90 günden eski önbellek",
+ "All Video Cache": "Tüm video önbelleği",
+ "Cache Cleanup Range": "Temizleme aralığı",
+ "Cache Cleanup Preview": "Tahmini olarak {count} dosya silinecek ve {size} boşaltılacak.",
+ "Confirm Cache Cleanup": "Yukarıdaki önbellek dosyalarının silinmesini onaylıyorum",
+ "Refresh Cache Stats": "İstatistikleri Yenile",
+ "Open Cache Directory": "Dizini Aç",
+ "Clean Cache Now": "Şimdi Temizle",
+ "Cache Cleanup Completed": "Önbellek temizlendi: {count} dosya silindi ve {size} boşaltıldı.",
+ "Cache Cleanup Completed With Failures": "Önbellek kısmen temizlendi: {count} dosya silindi, {size} boşaltıldı; {failed} dosya silinemedi.",
+ "Settings": "Ayarlar",
+ "Onboarding Model Settings Title": "1. Adım: AI modelini ayarlayın",
+ "Onboarding Model Settings Description": "Turdan sonra Ayarlar'ı açın, bir sağlayıcı seçin, API Key, Base URL ve model adını girin ve bağlantıyı test edin.",
+ "Onboarding Creation Settings Title": "2. Adım: Videoyu yapılandırın",
+ "Onboarding Creation Settings Description": "Bir konu girin; video, ses ve altyazı ayarlarını gerektiği gibi düzenleyin. Varsayılanların çoğunu doğrudan kullanabilirsiniz.",
+ "Onboarding Generate Video Title": "3. Adım: Videoyu oluşturun",
+ "Onboarding Generate Video Description": "Ayarları kontrol ettikten sonra oluşturmayı başlatın. İlerlemeyi ve sonucu üstteki Görev Yöneticisi'nden izleyin.",
+ "Onboarding Previous": "Önceki",
+ "Onboarding Next": "Sonraki",
+ "Onboarding Done": "Tamam",
+ "Regenerate Task": "Yeniden oluştur",
+ "Regenerate Task Confirmation": "Bu görevin metni ve ayarları yüklensin mi? Mevcut form değerleri değişir, ancak özgün görev ve video korunur.",
+ "Load Task Configuration": "Ayarları yükle",
+ "Task Restore Failed": "Bu görevde yeniden kullanılabilir ayarlar yok.",
+ "Task Configuration Loaded": "Geçmiş görev ayarları yüklendi. Kontrol edip Video Oluştur'a tıklayın.",
+ "Task Restore Local Materials Warning": "Yerel materyaller otomatik geri yüklenemez. Lütfen yeniden yükleyin.",
+ "Task Restore Custom Audio Warning": "Özel ses otomatik geri yüklenemez. Lütfen yeniden yükleyin.",
+ "Cancel": "İptal",
+ "Test LLM Connection": "Model bağlantısını test et",
+ "Testing LLM Connection": "Model bağlantısı test ediliyor...",
+ "LLM Connection Test Succeeded": "Bağlantı başarılı: {provider} / {model} ({elapsed} sn)",
+ "LLM Connection Test Failed": "Bağlantı başarısız: {error}",
"Video Source Settings": "**Video Kaynağı Ayarları**",
"Custom Audio File": "Özel Ses Dosyası",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Özel ses doğrudan kullanılacak. Bu görev için TTS sentezi atlanacak.",
- "Click to show API Key management": "API Anahtarı yönetimini göstermek için tıklayın",
- "Manage Pexels and Pixabay API Keys": "Pexels ve Pixabay API Anahtarlarını Yönet",
- "Pexels API Keys": "Pexels API Anahtarları",
- "Pixabay API Keys": "Pixabay API Anahtarları",
- "Current Keys:": "Mevcut Anahtarlar:",
- "No Pexels API Keys currently": "Şu anda Pexels API Anahtarı yok",
- "Add Pexels API Key": "Pexels API Anahtarı Ekle",
- "Pexels API Key added successfully": "Pexels API Anahtarı başarıyla eklendi",
- "This API Key already exists": "Bu API Anahtarı zaten mevcut",
- "Please enter a valid API Key": "Lütfen geçerli bir API Anahtarı girin",
- "Select Pexels API Key to delete": "Silinecek Pexels API Anahtarını seçin",
- "Delete Selected Pexels API Key": "Seçili Pexels API Anahtarını Sil",
- "Pexels API Key deleted successfully": "Pexels API Anahtarı başarıyla silindi",
- "No Pixabay API Keys currently": "Şu anda Pixabay API Anahtarı yok",
- "Add Pixabay API Key": "Pixabay API Anahtarı Ekle",
- "Pixabay API Key added successfully": "Pixabay API Anahtarı başarıyla eklendi",
- "Select Pixabay API Key to delete": "Silinecek Pixabay API Anahtarını seçin",
- "Delete Selected Pixabay API Key": "Seçili Pixabay API Anahtarını Sil",
- "Pixabay API Key deleted successfully": "Pixabay API Anahtarı başarıyla silindi",
- "Manage Pexels, Pixabay and Coverr API Keys": "Pexels, Pixabay ve Coverr API Anahtarlarını Yönet",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Yüklenen seslendirme doğrudan kullanılacak; otomatik seslendirme oluşturulmayacak.",
"Coverr": "Coverr",
"Coverr API Key": "Coverr API Anahtarı ([API Anahtarı Al](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Coverr API Anahtarları",
"Please Enter the Coverr API Key": "Lütfen **Coverr API Anahtarını** girin",
- "No Coverr API Keys currently": "Şu anda Coverr API Anahtarı yok",
- "Add Coverr API Key": "Coverr API Anahtarı Ekle",
- "Coverr API Key added successfully": "Coverr API Anahtarı başarıyla eklendi",
- "Select Coverr API Key to delete": "Silinecek Coverr API Anahtarını seçin",
- "Delete Selected Coverr API Key": "Seçili Coverr API Anahtarını Sil",
- "Coverr API Key deleted successfully": "Coverr API Anahtarı başarıyla silindi",
- "Advanced Video Settings": "Gelişmiş Video Ayarları",
"Video Encoder": "Video Kodlayıcı",
- "Video Encoder Help": "Gelişmiş seçenek. libx264 en güvenli varsayılandır. Donanım kodlayıcı seçildiğinde mevcut FFmpeg, GPU veya sürücü bunu kullanamıyorsa uygulama libx264'ye geri döner."
+ "Default Video Encoder": "Varsayılan (Önerilen)",
+ "Video Encoder Help": "Gelişmiş seçenek. Varsayılan, uygulamanın kararlı kodlayıcı politikasını izler; şu anda libx264 kullanılır. Donanım kodlayıcı kullanılamıyorsa uygulama otomatik olarak libx264'e döner."
}
}
diff --git a/webui/i18n/vi.json b/webui/i18n/vi.json
index 6a94745d..96efe3b9 100644
--- a/webui/i18n/vi.json
+++ b/webui/i18n/vi.json
@@ -10,23 +10,52 @@
"Incorrect username or password": "Tên đăng nhập hoặc mật khẩu không chính xác",
"Please enter your username and password": "Vui lòng nhập tên đăng nhập và mật khẩu của bạn",
"Video Script Settings": "**Cài Đặt Kịch Bản Video**",
- "Video Subject": "Chủ Đề Video (Cung cấp một từ khóa, :red[AI sẽ tự động tạo ra] kịch bản video)",
- "Script Language": "Ngôn Ngữ cho Việc Tạo Kịch Bản Video (AI sẽ tự động xuất ra dựa trên ngôn ngữ của chủ đề của bạn)",
+ "Video Subject": "Chủ đề video",
+ "Video Subject Placeholder": "Ví dụ: AI đang thay đổi cuộc sống hằng ngày ra sao",
+ "Script Language": "Ngôn ngữ kịch bản",
"Advanced Script Settings": "Cài Đặt Kịch Bản Nâng Cao",
"Script Paragraph Number": "Số Đoạn Kịch Bản",
"Custom Script Requirements": "Yêu Cầu Kịch Bản Tùy Chỉnh",
"Custom Script Requirements Placeholder": "Ví dụ: dùng giọng văn nhẹ nhàng hơn, phù hợp phong cách TikTok, hướng đến khán giả trẻ, mở đầu kịch tính hơn",
- "Use Custom System Prompt": "Dùng System Prompt Tùy Chỉnh",
- "Use Custom System Prompt Help": "Khi được bật, tùy chọn này sẽ thay thế các quy tắc tạo kịch bản mặc định. Dành cho người dùng prompt nâng cao.",
- "Custom System Prompt": "System Prompt Tùy Chỉnh",
- "Generate Video Script and Keywords": "Nhấn để sử dụng AI để tạo [Kịch Bản Video] và [Từ Khóa Video] dựa trên **chủ đề**",
+ "Custom System Prompt": "System Prompt",
+ "Restore Default System Prompt": "Khôi phục Prompt mặc định",
+ "Default System Prompt Restored": "Đã khôi phục system prompt mặc định",
+ "Preview Final Prompt": "Xem trước Prompt cuối",
+ "Final Prompt Preview": "Xem trước Prompt cuối",
+ "Generate Video Script and Keywords": "Tạo Kịch Bản & Từ Khóa Bằng AI",
"Auto Detect": "Tự Động Phát Hiện",
- "Video Script": "Kịch Bản Video (:blue[① Tùy chọn, AI tạo ra ② Dấu câu chính xác giúp việc tạo phụ đề)",
- "Generate Video Keywords": "Nhấn để sử dụng AI để tạo [Từ Khóa Video] dựa trên **kịch bản**",
+ "Video Script": "Kịch Bản Video (Không Bắt Buộc)",
+ "Video Script Help": "Để trống để AI tạo từ chủ đề video. Dấu câu hợp lý giúp tạo phụ đề chính xác hơn.",
+ "Generate Video Keywords": "Tạo từ khóa bằng AI",
"Please Enter the Video Subject": "Vui lòng Nhập Kịch Bản Video Trước",
+ "Please Enter the Video Subject First": "Vui lòng nhập chủ đề video trước",
+ "Task Manager": "Quản Lý Tác Vụ",
+ "No Tasks Yet": "No tasks yet",
+ "No Tasks Match Filter": "No tasks match the selected filter",
+ "All Tasks": "All",
+ "Task Status Filter": "Task status filter",
+ "Task Status Complete": "Completed",
+ "Task Status Failed": "Failed",
+ "Task Status Processing": "Processing",
+ "Task Status History": "History",
+ "Task Status": "Status",
+ "Recent Tasks": "Recent Tasks",
+ "Task Subject": "Subject",
+ "Task Updated At": "Updated",
+ "Task Progress": "Progress",
+ "Task Actions": "Actions",
+ "Play Video": "Play",
+ "Play": "Play",
+ "Open": "Open",
+ "Delete": "Delete",
+ "Delete Task": "Delete Task",
+ "Task Deleted": "Task deleted",
+ "Task Delete Failed": "Failed to delete task",
+ "Open Task Folder": "Open Folder",
"Generating Video Script and Keywords": "AI đang tạo kịch bản video và từ khóa...",
"Generating Video Keywords": "AI đang tạo từ khóa video...",
- "Video Keywords": "Từ Khóa Video (:blue[① Tùy chọn, AI tạo ra ② Sử dụng dấu phẩy **Tiếng Anh** để phân tách, chỉ sử dụng Tiếng Anh])",
+ "Video Keywords": "Từ Khóa Video (Tiếng Anh, Không Bắt Buộc)",
+ "Video Keywords Help": "Để trống để AI tạo từ kịch bản. Phân tách nhiều từ khóa bằng dấu phẩy tiếng Anh.",
"Video Settings": "**Cài Đặt Video**",
"Video Concat Mode": "Chế Độ Nối Video",
"Random": "Nối Ngẫu Nhiên (Được Khuyến Nghị)",
@@ -41,16 +70,34 @@
"Video Ratio": "Tỷ Lệ Khung Hình Video",
"Portrait": "Dọc 9:16",
"Landscape": "Ngang 16:9",
- "Clip Duration": "Thời Lượng Tối Đa Của Đoạn Video (giây)",
- "Number of Videos Generated Simultaneously": "Số Video Được Tạo Ra Đồng Thời",
+ "Clip Duration": "Thời Lượng Tối Đa Mỗi Clip (giây)",
+ "Clip Duration Help": "Quy định thời lượng của từng clip được sử dụng, không phải tổng thời lượng video.",
+ "Number of Videos Generated Simultaneously": "Số video mỗi lần",
+ "Match Materials to Script Order": "Khớp hình ảnh theo thứ tự kịch bản",
+ "Match Materials to Script Order Help": "Tạo từ khóa và sắp xếp tư liệu theo kịch bản để hình ảnh theo sát lời đọc.",
"Audio Settings": "**Cài Đặt Âm Thanh**",
- "Speech Synthesis": "Giọng Đọc Văn Bản",
+ "Voiceover Mode": "Phương Thức Lồng Tiếng",
+ "Automatic Voiceover": "Tự Động",
+ "Upload Voiceover": "Tải Lên",
+ "No Voiceover": "Không",
+ "No Voice Selected": "Chưa Chọn Giọng Đọc",
+ "Voiceover Service": "Dịch Vụ Giọng Nói",
+ "Voiceover Voice": "Giọng đọc (theo ngôn ngữ)",
+ "Voiceover Volume": "Âm Lượng Lồng Tiếng",
+ "Voiceover Volume Help": "Điều chỉnh âm lượng lồng tiếng tự động hoặc tệp đã tải lên. 100% giữ nguyên mức gốc.",
+ "Voiceover Speed": "Tốc Độ Đọc",
+ "Voiceover Speed Help": "Chỉ áp dụng cho lồng tiếng tự động. 1,0× là tốc độ bình thường.",
+ "Upload Voiceover File": "Tải Tệp Lồng Tiếng",
+ "Upload Voiceover File Help": "Âm thanh đã tải lên được dùng trực tiếp thay vì tạo lồng tiếng tự động.",
+ "Please Upload Voiceover File First": "Hãy tải tệp lồng tiếng lên trước",
+ "Background Music Source": "Nguồn Nhạc Nền",
+ "Speech Synthesis": "Giọng đọc (theo ngôn ngữ)",
"Speech Region": "Vùng(:red[Bắt Buộc,[Lấy Vùng](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "Khóa API(:red[Bắt Buộc,[Lấy Khóa API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Âm Lượng Giọng Đọc (1.0 đại diện cho 100%)",
- "Speech Rate": "Tốc độ đọc (1.0 biểu thị tốc độ gốc)",
+ "Speech Volume": "Âm lượng giọng đọc",
+ "Speech Rate": "Tốc độ đọc",
"Custom Audio File": "Tệp Âm Thanh Tùy Chỉnh",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Âm thanh tùy chỉnh sẽ được dùng trực tiếp. Bước tổng hợp giọng nói (TTS) sẽ được bỏ qua cho tác vụ này.",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "Tệp lồng tiếng đã tải lên sẽ được dùng trực tiếp; hệ thống không tạo lồng tiếng tự động.",
"No Voice": "Không có giọng đọc (không tổng hợp giọng nói)",
"Male": "Nam",
"Female": "Nữ",
@@ -58,27 +105,31 @@
"No Background Music": "Không Có Âm Nhạc Nền",
"Random Background Music": "Âm Nhạc Nền Ngẫu Nhiên",
"Custom Background Music": "Âm Nhạc Nền Tùy Chỉnh",
- "Custom Background Music File": "Vui lòng nhập đường dẫn tệp cho âm nhạc nền tùy chỉnh:",
- "Background Music Volume": "Âm Lượng Âm Nhạc Nền (0.2 đại diện cho 20%, âm nhạc nền không nên quá to)",
+ "Custom Background Music File": "Đường dẫn nhạc tùy chỉnh",
+ "Background Music Volume": "Âm lượng nhạc nền",
"Subtitle Settings": "**Cài Đặt Phụ Đề**",
- "Enable Subtitles": "Bật Phụ Đề (Nếu không chọn, các cài đặt dưới đây sẽ không có hiệu lực)",
+ "Enable Subtitles": "Bật Phụ Đề",
"Font": "Phông Chữ Phụ Đề",
"Position": "Vị Trí Phụ Đề",
"Top": "Trên",
"Center": "Giữa",
"Bottom": "Dưới (Được Khuyến Nghị)",
- "Custom": "Vị trí tùy chỉnh (70, chỉ ra là cách đầu trang 70%)",
+ "Custom": "Tùy chỉnh",
"Custom Position (% from top)": "Vị trí tùy chỉnh (% từ phía trên)",
"Please enter a value between 0 and 100": "Vui lòng nhập giá trị từ 0 đến 100",
"Please enter a valid number": "Vui lòng nhập một số hợp lệ",
- "Font Size": "Cỡ Chữ Phụ Đề",
- "Font Color": "Màu Chữ Phụ Đề",
- "Stroke Color": "Màu Viền Phụ Đề",
- "Stroke Width": "Độ Rộng Viền Phụ Đề",
- "Enable Subtitle Background": "Bật nền phụ đề",
- "Subtitle Background Color": "Màu nền phụ đề",
- "Rounded Subtitle Background": "Bật nền phụ đề bo tròn, mờ trong suốt",
+ "Font Size": "Cỡ chữ",
+ "Font Color": "Màu chữ",
+ "Stroke Color": "Màu viền",
+ "Stroke Width": "Độ rộng viền",
+ "Enable Subtitle Background": "Nền",
+ "Subtitle Background Color": "Màu",
+ "Rounded Subtitle Background": "Nền phụ đề bo tròn",
"Rounded Subtitle Background Help": "Mặc định tắt. Khi được bật, nền phụ đề sẽ dùng kiểu bo tròn mờ trong suốt, vừa khít với độ rộng của chữ.",
+ "Subtitle Colors Are Indistinguishable": "Chữ và nền cùng màu nên phụ đề có thể không hiển thị rõ.",
+ "Subtitle Font Does Not Support Text": "Phông chữ đã chọn không hỗ trợ một số ký tự trong kịch bản nên phụ đề có thể bị thiếu.",
+ "Restore Default Subtitle Settings": "Khôi phục cài đặt phụ đề",
+ "Default Subtitle Settings Restored": "Đã khôi phục cài đặt phụ đề mặc định",
"Generate Video": "Tạo Video",
"Video Script and Subject Cannot Both Be Empty": "Chủ Đề Video và Kịch Bản Video không thể cùng trống",
"Generating Video": "Đang tạo video, vui lòng đợi...",
@@ -105,12 +156,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "Vui lòng chọn nguồn video được hỗ trợ",
- "TikTok": "TikTok (Hỗ trợ TikTok sắp ra mắt)",
- "Bilibili": "Bilibili (Hỗ trợ Bilibili sắp ra mắt)",
- "Xiaohongshu": "Xiaohongshu (Hỗ trợ Xiaohongshu sắp ra mắt)",
"Local file": "Tệp cục bộ",
"Upload Local Files": "Tải tệp cục bộ lên",
- "Play Voice": "Phát Giọng Nói",
+ "Please Upload Local Materials First": "Vui lòng tải lên ít nhất một tệp tư liệu cục bộ trước.",
+ "Unsupported Upload File Type": "Loại tệp đã tải lên không được hỗ trợ.",
+ "Play Voice": "Nghe Thử",
"Voice Example": "Đây là văn bản mẫu để kiểm tra tổng hợp giọng nói",
"Synthesizing Voice": "Đang tổng hợp giọng nói, vui lòng đợi...",
"TTS Provider": "Chọn nhà cung cấp tổng hợp giọng nói",
@@ -123,39 +173,55 @@
"Hide Log": "Ẩn Nhật Ký",
"Hide Basic Settings": "Ẩn Cài Đặt Cơ Bản\n\nẨn, thanh cài đặt cơ bản sẽ không hiển thị trên trang web.\n\nNếu bạn muốn hiển thị lại, vui lòng đặt `hide_config = false` trong `config.toml`",
"LLM Settings": "**Cài Đặt LLM**",
+ "LLM Settings Tab": "Cài đặt LLM",
+ "Material API Tab": "API tư liệu",
+ "Interface Settings Tab": "Cài đặt giao diện",
+ "Cache Management Tab": "Quản lý bộ nhớ đệm",
+ "Video Cache Directory": "Thư mục bộ nhớ đệm video trực tuyến",
+ "Cache File Count": "Tệp đã lưu đệm",
+ "Cache Total Size": "Dung lượng sử dụng",
+ "Oldest Cache Date": "Bộ nhớ đệm cũ nhất",
+ "Video Cache Management Help": "Chỉ video được tải xuống tự động mới được quản lý tại đây. Tệp tải lên và video đã tạo sẽ không bị xóa. Không dọn bộ nhớ đệm khi đang tạo video.",
+ "Cache Older Than 30 Days": "Bộ nhớ đệm cũ hơn 30 ngày (khuyến nghị)",
+ "Cache Older Than 7 Days": "Bộ nhớ đệm cũ hơn 7 ngày",
+ "Cache Older Than 90 Days": "Bộ nhớ đệm cũ hơn 90 ngày",
+ "All Video Cache": "Toàn bộ bộ nhớ đệm video",
+ "Cache Cleanup Range": "Phạm vi dọn dẹp",
+ "Cache Cleanup Preview": "Dự kiến xóa {count} tệp và giải phóng {size}.",
+ "Confirm Cache Cleanup": "Tôi xác nhận xóa các tệp bộ nhớ đệm trên",
+ "Refresh Cache Stats": "Làm mới thống kê",
+ "Open Cache Directory": "Mở thư mục",
+ "Clean Cache Now": "Dọn ngay",
+ "Cache Cleanup Completed": "Đã dọn bộ nhớ đệm: xóa {count} tệp và giải phóng {size}.",
+ "Cache Cleanup Completed With Failures": "Đã dọn một phần: xóa {count} tệp, giải phóng {size}; không thể xóa {failed} tệp.",
+ "Settings": "Cài đặt",
+ "Onboarding Model Settings Title": "Bước 1: Cấu hình mô hình AI",
+ "Onboarding Model Settings Description": "Sau hướng dẫn, mở Cài đặt, chọn nhà cung cấp, nhập API Key, Base URL và tên mô hình, rồi kiểm tra kết nối.",
+ "Onboarding Creation Settings Title": "Bước 2: Cấu hình video",
+ "Onboarding Creation Settings Description": "Nhập chủ đề, sau đó điều chỉnh video, âm thanh và phụ đề khi cần. Bạn có thể giữ nguyên hầu hết giá trị mặc định.",
+ "Onboarding Generate Video Title": "Bước 3: Tạo video",
+ "Onboarding Generate Video Description": "Bắt đầu tạo sau khi kiểm tra cài đặt. Theo dõi tiến trình và kết quả trong Trình quản lý tác vụ ở phía trên.",
+ "Onboarding Previous": "Quay Lại",
+ "Onboarding Next": "Tiếp Theo",
+ "Onboarding Done": "Hoàn Tất",
+ "Regenerate Task": "Tạo lại",
+ "Regenerate Task Confirmation": "Tải kịch bản và cài đặt của tác vụ này? Các giá trị hiện tại sẽ bị thay thế, nhưng tác vụ và video gốc không bị thay đổi.",
+ "Load Task Configuration": "Tải cấu hình",
+ "Task Restore Failed": "Tác vụ này không có cài đặt có thể tái sử dụng.",
+ "Task Configuration Loaded": "Đã tải cấu hình tác vụ cũ. Hãy kiểm tra rồi nhấn Tạo video.",
+ "Task Restore Local Materials Warning": "Không thể tự động khôi phục tư liệu cục bộ. Vui lòng tải lên lại.",
+ "Task Restore Custom Audio Warning": "Không thể tự động khôi phục âm thanh tùy chỉnh. Vui lòng tải lên lại.",
+ "Cancel": "Hủy",
+ "Test LLM Connection": "Kiểm tra kết nối mô hình",
+ "Testing LLM Connection": "Đang kiểm tra kết nối mô hình...",
+ "LLM Connection Test Succeeded": "Kết nối thành công: {provider} / {model} ({elapsed} giây)",
+ "LLM Connection Test Failed": "Kết nối thất bại: {error}",
"Video Source Settings": "**Cài Đặt Nguồn Video**",
- "Click to show API Key management": "Nhấn để hiển thị quản lý API Key",
- "Manage Pexels and Pixabay API Keys": "Quản lý API Key của Pexels và Pixabay",
- "Pexels API Keys": "Khóa API Pexels",
- "Pixabay API Keys": "Khóa API Pixabay",
- "Current Keys:": "Các Key hiện tại:",
- "No Pexels API Keys currently": "Hiện không có API Key Pexels",
- "Add Pexels API Key": "Thêm API Key Pexels",
- "Pexels API Key added successfully": "Thêm API Key Pexels thành công",
- "This API Key already exists": "API Key này đã tồn tại",
- "Please enter a valid API Key": "Vui lòng nhập API Key hợp lệ",
- "Select Pexels API Key to delete": "Chọn API Key Pexels để xóa",
- "Delete Selected Pexels API Key": "Xóa API Key Pexels đã chọn",
- "Pexels API Key deleted successfully": "Xóa API Key Pexels thành công",
- "No Pixabay API Keys currently": "Hiện không có API Key Pixabay",
- "Add Pixabay API Key": "Thêm API Key Pixabay",
- "Pixabay API Key added successfully": "Thêm API Key Pixabay thành công",
- "Select Pixabay API Key to delete": "Chọn API Key Pixabay để xóa",
- "Delete Selected Pixabay API Key": "Xóa API Key Pixabay đã chọn",
- "Pixabay API Key deleted successfully": "Xóa API Key Pixabay thành công",
- "Manage Pexels, Pixabay and Coverr API Keys": "Quản Lý API Key Pexels, Pixabay và Coverr",
"Coverr": "Coverr",
"Coverr API Key": "API Key Coverr ([Lấy API Key](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Các API Key Coverr",
"Please Enter the Coverr API Key": "Vui lòng nhập **API Key Coverr**",
- "No Coverr API Keys currently": "Hiện không có API Key Coverr",
- "Add Coverr API Key": "Thêm API Key Coverr",
- "Coverr API Key added successfully": "Đã thêm API Key Coverr thành công",
- "Select Coverr API Key to delete": "Chọn API Key Coverr để xóa",
- "Delete Selected Coverr API Key": "Xóa API Key Coverr đã chọn",
- "Coverr API Key deleted successfully": "Xóa API Key Coverr thành công",
- "Advanced Video Settings": "Cài Đặt Video Nâng Cao",
"Video Encoder": "Bộ Mã Hóa Video",
- "Video Encoder Help": "Tùy chọn nâng cao. libx264 là lựa chọn mặc định an toàn nhất. Khi chọn bộ mã hóa phần cứng, ứng dụng sẽ tự chuyển về libx264 nếu FFmpeg, GPU hoặc driver hiện tại không hỗ trợ."
+ "Default Video Encoder": "Mặc định (Khuyên dùng)",
+ "Video Encoder Help": "Tùy chọn nâng cao. Mặc định tuân theo chính sách mã hóa ổn định của ứng dụng, hiện là libx264. Nếu bộ mã hóa phần cứng không khả dụng, ứng dụng tự động chuyển về libx264."
}
}
diff --git a/webui/i18n/zh.json b/webui/i18n/zh.json
index 75f2dc6a..b62fddd5 100644
--- a/webui/i18n/zh.json
+++ b/webui/i18n/zh.json
@@ -10,23 +10,52 @@
"Incorrect username or password": "用户名或密码不正确",
"Please enter your username and password": "请输入用户名和密码",
"Video Script Settings": "**文案设置**",
- "Video Subject": "视频主题(给定一个关键词,:red[AI自动生成]视频文案)",
- "Script Language": "生成视频脚本的语言(一般情况AI会自动根据你输入的主题语言输出)",
+ "Video Subject": "视频主题(AI 将根据主题生成视频文案)",
+ "Video Subject Placeholder": "例如:人工智能如何改变日常生活",
+ "Script Language": "生成视频脚本的语言",
"Advanced Script Settings": "高级脚本设置",
"Script Paragraph Number": "文案段落数量",
"Custom Script Requirements": "自定义文案要求",
"Custom Script Requirements Placeholder": "例如:语气更轻松,适合小红书风格,面向年轻用户,开头更有悬念",
- "Use Custom System Prompt": "使用自定义系统提示词",
- "Use Custom System Prompt Help": "启用后会覆盖默认脚本生成规则,适合熟悉 Prompt 的高级用户。",
- "Custom System Prompt": "自定义系统提示词",
- "Generate Video Script and Keywords": "点击使用AI根据**主题**生成 【视频文案】 和 【视频关键词】",
+ "Custom System Prompt": "系统提示词",
+ "Restore Default System Prompt": "恢复默认提示词",
+ "Default System Prompt Restored": "已恢复默认系统提示词",
+ "Preview Final Prompt": "预览最终提示词",
+ "Final Prompt Preview": "最终提示词预览",
+ "Generate Video Script and Keywords": "点击使用AI生成视频文案和关键词",
"Auto Detect": "自动检测",
- "Video Script": "视频文案(:blue[①可不填,使用AI生成 ②合理使用标点断句,有助于生成字幕])",
- "Generate Video Keywords": "点击使用AI根据**文案**生成【视频关键词】",
+ "Video Script": "视频文案(可选)",
+ "Video Script Help": "可留空,由 AI 根据视频主题生成。合理使用标点断句有助于生成字幕。",
+ "Generate Video Keywords": "点击使用AI根据**文案**生成视频关键词",
"Please Enter the Video Subject": "请先填写视频文案",
+ "Please Enter the Video Subject First": "请先填写视频主题",
+ "Task Manager": "任务管理",
+ "No Tasks Yet": "暂无任务",
+ "No Tasks Match Filter": "没有符合筛选条件的任务",
+ "All Tasks": "全部",
+ "Task Status Filter": "任务状态筛选",
+ "Task Status Complete": "已完成",
+ "Task Status Failed": "失败",
+ "Task Status Processing": "生成中",
+ "Task Status History": "历史任务",
+ "Task Status": "状态",
+ "Recent Tasks": "最近任务",
+ "Task Subject": "任务主题",
+ "Task Updated At": "更新时间",
+ "Task Progress": "进度",
+ "Task Actions": "操作",
+ "Play Video": "播放",
+ "Play": "播放",
+ "Open": "打开",
+ "Delete": "删除",
+ "Delete Task": "删除任务",
+ "Task Deleted": "任务已删除",
+ "Task Delete Failed": "任务删除失败",
+ "Open Task Folder": "打开目录",
"Generating Video Script and Keywords": "AI正在生成视频文案和关键词...",
"Generating Video Keywords": "AI正在生成视频关键词...",
- "Video Keywords": "视频关键词(:blue[①可不填,使用AI生成 ②用**英文逗号**分隔,只支持英文])",
+ "Video Keywords": "视频关键词(英文,可选)",
+ "Video Keywords Help": "可留空,由 AI 根据视频文案生成。多个关键词请使用英文逗号分隔。",
"Video Settings": "**视频设置**",
"Video Concat Mode": "视频拼接模式",
"Random": "随机拼接(推荐)",
@@ -41,18 +70,34 @@
"Video Ratio": "视频比例",
"Portrait": "竖屏 9:16(抖音视频)",
"Landscape": "横屏 16:9(西瓜视频)",
- "Clip Duration": "视频片段最大时长(秒)(**不是视频总长度**,是指每个**合成片段**的长度)",
+ "Clip Duration": "单个片段最大时长(秒)",
+ "Clip Duration Help": "控制合成时使用的每个视频片段时长,不是视频总时长。",
"Number of Videos Generated Simultaneously": "同时生成视频数量",
- "Match Materials to Script Order": "按文案顺序匹配素材",
- "Match Materials to Script Order Help": "默认关闭。主要对在线素材源生效。开启后会按文案叙事顺序生成关键词,并尽量按关键词顺序下载和拼接素材,减少画面主题与当前旁白不匹配的问题。",
+ "Match Materials to Script Order": "按文案顺序匹配画面",
+ "Match Materials to Script Order Help": "按文案顺序生成关键词并匹配素材,使画面更贴近当前旁白。",
"Audio Settings": "**音频设置**",
- "Speech Synthesis": "朗读声音(:red[**与文案语言保持一致**。注意:V2版效果更好,但是需要API KEY])",
+ "Voiceover Mode": "配音方式",
+ "Automatic Voiceover": "自动配音",
+ "Upload Voiceover": "上传音频",
+ "No Voiceover": "无配音",
+ "No Voice Selected": "未选择配音声音",
+ "Voiceover Service": "配音服务",
+ "Voiceover Voice": "配音声音(与文案语言保持一致)",
+ "Voiceover Volume": "配音音量",
+ "Voiceover Volume Help": "调整自动配音或上传音频的音量,100% 为原始音量。",
+ "Voiceover Speed": "配音语速",
+ "Voiceover Speed Help": "仅对自动配音生效,1.0× 为正常语速。",
+ "Upload Voiceover File": "上传配音文件",
+ "Upload Voiceover File Help": "上传后直接使用该音频,不再生成自动配音。",
+ "Please Upload Voiceover File First": "请先上传配音文件",
+ "Background Music Source": "背景音乐来源",
+ "Speech Synthesis": "朗读声音(与文案语言保持一致)",
"Speech Region": "服务区域 (:red[必填,[点击获取](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Key": "API Key (:red[必填,密钥1 或 密钥2 均可 [点击获取](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "朗读音量(1.0表示100%)",
"Speech Rate": "朗读速度(1.0表示1倍速)",
"Custom Audio File": "自定义音频文件",
- "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "将直接使用自定义音频,本次任务会跳过 TTS 语音合成。",
+ "Custom audio will be used directly. TTS synthesis will be skipped for this task.": "将直接使用上传的配音文件,本次任务不会生成自动配音。",
"No Voice": "无配音(不合成语音)",
"Male": "男性",
"Female": "女性",
@@ -61,9 +106,9 @@
"Random Background Music": "随机背景音乐",
"Custom Background Music": "自定义背景音乐",
"Custom Background Music File": "请输入自定义背景音乐的文件路径",
- "Background Music Volume": "背景音乐音量(0.2表示20%,背景声音不宜过高)",
+ "Background Music Volume": "背景音乐音量",
"Subtitle Settings": "**字幕设置**",
- "Enable Subtitles": "启用字幕(若取消勾选,下面的设置都将不生效)",
+ "Enable Subtitles": "启用字幕",
"Font": "字幕字体",
"Position": "字幕位置",
"Top": "顶部",
@@ -81,6 +126,10 @@
"Subtitle Background Color": "字幕背景颜色",
"Rounded Subtitle Background": "启用圆角半透明字幕背景",
"Rounded Subtitle Background Help": "默认关闭。开启后字幕背景会显示为更贴合文字宽度的圆角半透明样式。",
+ "Subtitle Colors Are Indistinguishable": "字幕颜色和背景颜色相同,生成后字幕可能不可见。",
+ "Subtitle Font Does Not Support Text": "当前字幕字体不支持文案中的部分字符,生成后字幕可能缺失。",
+ "Restore Default Subtitle Settings": "恢复默认字幕设置",
+ "Default Subtitle Settings Restored": "已恢复默认字幕设置",
"Generate Video": "生成视频",
"Video Script and Subject Cannot Both Be Empty": "视频主题 和 视频文案,不能同时为空",
"Generating Video": "正在生成视频,请稍候...",
@@ -94,11 +143,11 @@
"Pixabay API Key": "Pixabay API Key ([点击获取](https://pixabay.com/api/docs/#api_search_videos)) :red[可以不用配置,如果 Pexels 无法使用,再选择Pixabay]",
"LLM Provider": "大模型提供商",
"Recommended": "推荐",
- "llm_provider_label.moonshot": "Kimi/Moonshot(推荐)",
- "API Key": "API Key (:red[必填,需要到大模型提供商的后台申请])",
- "Base Url": "Base Url (可选)",
- "Account ID": "账户ID (Cloudflare的dash面板url中获取)",
- "Model Name": "模型名称 (:blue[需要到大模型提供商的后台确认被授权的模型名称])",
+ "llm_provider_label.moonshot": "Kimi / Moonshot AI(推荐)",
+ "API Key": "API Key",
+ "Base Url": "Base Url",
+ "Account ID": "Account ID",
+ "Model Name": "模型名称",
"Groq Model List Load Failed": "暂时无法加载 Groq 模型列表。你仍然可以手动输入模型名称,生成时会再进行校验。",
"Groq API Key Required for Model List": "填写 Groq API Key 后,可以自动加载可用模型列表。",
"Secret Key": "密钥",
@@ -110,12 +159,11 @@
"Pexels": "Pexels",
"Pixabay": "Pixabay",
"Please Select a Valid Video Source": "请选择支持的视频来源",
- "TikTok": "抖音 (TikTok 支持中,敬请期待)",
- "Bilibili": "哔哩哔哩 (Bilibili 支持中,敬请期待)",
- "Xiaohongshu": "小红书 (Xiaohongshu 支持中,敬请期待)",
"Local file": "本地文件",
"Upload Local Files": "上传本地文件",
- "Play Voice": "试听语音合成",
+ "Please Upload Local Materials First": "请先上传至少一个本地素材文件。",
+ "Unsupported Upload File Type": "上传的文件类型不受支持。",
+ "Play Voice": "试听配音",
"Voice Example": "这是一段测试语音合成的示例文本",
"Synthesizing Voice": "语音合成中,请稍候...",
"TTS Provider": "语音合成提供商",
@@ -131,66 +179,85 @@
"Chatterbox Voices": "Chatterbox 音色",
"Chatterbox Base URL Placeholder": "http://localhost:4123/v1",
"Chatterbox Voices Placeholder": "default-Female, narrator-Male",
- "tts_provider_tips.siliconflow": "##### 硅基流动 TTS 设置\n- **语速**: 范围 [0.25, 4.0],默认值为 1.0\n- **音量**: 使用朗读音量设置,默认值 1.0 对应增益 0",
- "tts_provider_tips.mimo": "##### 小米 MiMo TTS 设置\n- 使用小米 MiMo V2.5 TTS 预置音色\n- 语速和音量当前使用服务商默认效果",
- "tts_provider_tips.elevenlabs": "##### ElevenLabs TTS 设置\n- **API Key**: 在 https://elevenlabs.io/app/settings/api-keys 创建\n- 在 ElevenLabs voice library 中将声音标记为 Favorite 后,会显示在这里",
- "tts_provider_tips.chatterbox": "##### Chatterbox TTS 设置(自托管)\n- 运行 OpenAI 兼容的 Chatterbox 服务,例如 devnen/Chatterbox-TTS-Server 或 travisvn/chatterbox-tts-api,并将 Base URL 设置为服务的 /v1 endpoint\n- Voices 是服务暴露的音色名称列表,用英文逗号分隔;可以追加 -Female 或 -Male 后缀,仅用于在下拉框中标记性别\n- Chatterbox 不支持朗读音量设置,因为 OpenAI /audio/speech API 没有 volume 字段;可使用朗读速度调整效果",
+ "tts_provider_tips.azure-tts-v2": "需要 Azure Speech 的 **区域**和 **API Key**。可在 [Azure Portal](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices) 创建和查看。",
+ "tts_provider_tips.siliconflow": "需要硅基流动 API Key,可在[控制台](https://cloud.siliconflow.cn/account/ak)创建;支持数值语速和音量增益。",
+ "tts_provider_tips.gemini-tts": "需要 Gemini API Key,可在 [Google AI Studio](https://aistudio.google.com/app/apikey) 创建;语速和风格由模型根据自然语言提示控制。",
+ "tts_provider_tips.mimo-tts": "需要小米 MiMo API Key,参考[首次调用](https://mimo.mi.com/docs/zh-CN/quick-start/first-api-call);V2.5 TTS 通过自然语言指令控制语速和风格。",
+ "tts_provider_tips.elevenlabs": "需要 [API Key](https://elevenlabs.io/app/settings/api-keys);请先在 [Voice Library](https://elevenlabs.io/app/voice-library) 将音色加入收藏。",
+ "tts_provider_tips.chatterbox": "自托管服务。运行兼容的 [Chatterbox TTS API](https://github.com/travisvn/chatterbox-tts-api),并填写以 `/v1` 结尾的 Base URL;API Key 通常可选。",
"Hide Log": "隐藏日志",
"Hide Basic Settings": "隐藏基础设置\n\n隐藏后,基础设置面板将不会显示在页面中。\n\n如需要再次显示,请在 `config.toml` 中设置 `hide_config = false`",
"LLM Settings": "**大模型设置**",
+ "LLM Settings Tab": "大模型设置",
+ "Material API Tab": "素材 API",
+ "Interface Settings Tab": "界面设置",
+ "Cache Management Tab": "缓存管理",
+ "Video Cache Directory": "缓存位置",
+ "Cache File Count": "缓存文件",
+ "Cache Total Size": "占用空间",
+ "Oldest Cache Date": "最早缓存日期",
+ "Video Cache Management Help": "这里只会清理自动下载的视频素材,不会影响你上传的素材和已经生成的视频。请勿在视频生成过程中清理。",
+ "Cache Older Than 30 Days": "30 天前的缓存(推荐)",
+ "Cache Older Than 7 Days": "7 天前的缓存",
+ "Cache Older Than 90 Days": "90 天前的缓存",
+ "All Video Cache": "清理全部缓存",
+ "Cache Cleanup Range": "清理范围",
+ "Cache Cleanup Preview": "将清理 {count} 个缓存文件,预计释放 {size}。",
+ "Confirm Cache Cleanup": "确认清理以上缓存",
+ "Refresh Cache Stats": "刷新统计",
+ "Open Cache Directory": "打开目录",
+ "Clean Cache Now": "立即清理",
+ "Cache Cleanup Completed": "清理完成,共清理 {count} 个文件,释放 {size}。",
+ "Cache Cleanup Completed With Failures": "已清理 {count} 个文件,释放 {size};另有 {failed} 个文件清理失败,请重试。",
+ "Settings": "设置",
+ "Onboarding Model Settings Title": "第一步:设置大模型",
+ "Onboarding Model Settings Description": "完成引导后,点击“设置”选择大模型提供商,填写 API Key、Base URL 和模型名称,并测试模型连接。",
+ "Onboarding Creation Settings Title": "第二步:配置视频",
+ "Onboarding Creation Settings Description": "填写视频主题,并按需调整视频、音频和字幕。大多数选项可以直接使用默认值。",
+ "Onboarding Generate Video Title": "第三步:生成视频",
+ "Onboarding Generate Video Description": "确认配置后开始生成。生成进度和结果可以在顶部“任务管理”中查看。",
+ "Onboarding Previous": "上一步",
+ "Onboarding Next": "下一步",
+ "Onboarding Done": "完成",
+ "Regenerate Task": "重新生成",
+ "Regenerate Task Confirmation": "是否加载该任务的文案和生成参数?这会覆盖当前页面中的参数,但不会修改原任务和已生成视频。",
+ "Load Task Configuration": "加载配置",
+ "Task Restore Failed": "该任务没有可复用的生成参数。",
+ "Task Configuration Loaded": "已加载历史任务配置,请检查参数后点击“生成视频”。",
+ "Task Restore Local Materials Warning": "本地素材无法自动恢复,请重新上传。",
+ "Task Restore Custom Audio Warning": "自定义音频无法自动恢复,请重新上传。",
+ "Cancel": "取消",
+ "Test LLM Connection": "测试模型连接",
+ "Testing LLM Connection": "正在测试模型连接...",
+ "LLM Connection Test Succeeded": "连接成功:{provider} / {model}({elapsed} 秒)",
+ "LLM Connection Test Failed": "连接失败:{error}",
"Video Source Settings": "**视频源设置**",
- "Click to show API Key management": "点击以显示 API Key 管理功能",
- "Manage Pexels and Pixabay API Keys": "管理 Pexels 和 Pixabay API Keys",
- "Pexels API Keys": "Pexels API Keys",
- "Pixabay API Keys": "Pixabay API Keys",
- "Current Keys:": "当前 Keys:",
- "No Pexels API Keys currently": "暂无 Pexels API Keys",
- "Add Pexels API Key": "新增 Pexels API Key",
- "Pexels API Key added successfully": "Pexels API Key 添加成功",
- "This API Key already exists": "这个 Key 已经存在",
- "Please enter a valid API Key": "请输入一个有效的 Key",
- "Select Pexels API Key to delete": "选择要删除的 Pexels API Key",
- "Delete Selected Pexels API Key": "删除选定的 Pexels API Key",
- "Pexels API Key deleted successfully": "Pexels API Key 删除成功",
- "No Pixabay API Keys currently": "暂无 Pixabay API Keys",
- "Add Pixabay API Key": "新增 Pixabay API Key",
- "Pixabay API Key added successfully": "Pixabay API Key 添加成功",
- "Select Pixabay API Key to delete": "选择要删除的 Pixabay API Key",
- "Delete Selected Pixabay API Key": "删除选定的 Pixabay API Key",
- "Pixabay API Key deleted successfully": "Pixabay API Key 删除成功",
- "Manage Pexels, Pixabay and Coverr API Keys": "管理 Pexels、Pixabay 和 Coverr API 密钥",
"Coverr": "Coverr",
"Coverr API Key": "Coverr API 密钥 ([获取 API Key](https://coverr.co/developers?ctx=header_navigation))",
- "Coverr API Keys": "Coverr API 密钥列表",
"Please Enter the Coverr API Key": "请输入 **Coverr API 密钥**",
- "No Coverr API Keys currently": "当前没有 Coverr API 密钥",
- "Add Coverr API Key": "添加 Coverr API 密钥",
- "Coverr API Key added successfully": "Coverr API 密钥添加成功",
- "Select Coverr API Key to delete": "选择要删除的 Coverr API 密钥",
- "Delete Selected Coverr API Key": "删除选中的 Coverr API 密钥",
- "Coverr API Key deleted successfully": "Coverr API 密钥删除成功",
- "Advanced Video Settings": "高级视频设置",
"Video Encoder": "视频编码器",
- "Video Encoder Help": "高级选项。默认 libx264 最稳定;选择硬件编码器时,如果当前 FFmpeg、显卡或驱动不可用,会自动回退到 libx264。",
- "llm_provider_tips.ollama": "##### Ollama 配置说明\n- **API Key**: 随便填写,比如 123\n- **Base Url**: 一般为 http://localhost:11434/v1\n - 如果 `MoneyPrinterTurbo` 和 `Ollama` **不在同一台机器上**,需要填写 `Ollama` 机器的 IP 地址\n - 如果 `MoneyPrinterTurbo` 是 `Docker` 部署,建议填写 `http://host.docker.internal:11434/v1`{docker_hint}\n- **Model Name**: 使用 `ollama list` 查看,比如 `qwen:7b`",
+ "Default Video Encoder": "默认(推荐)",
+ "Video Encoder Help": "高级选项。“默认”跟随项目的稳定编码策略,当前使用 libx264;选择硬件编码器时,如果当前 FFmpeg、显卡或驱动不可用,会自动回退到 libx264。",
+ "llm_provider_tips.ollama": "##### Ollama 配置说明\n- **API Key**: 无需填写\n- **Base Url**: 本机运行时通常为 `http://localhost:11434/v1`;Docker 部署时通常为 `http://host.docker.internal:11434/v1`{docker_hint}\n- **Model Name**: 必填;运行 `ollama list` 查看本机已安装的模型,例如 `qwen:7b`",
"llm_provider_tips.ollama.docker_hint": "\n > 检测到容器环境,未配置 Base Url 时会默认使用 `http://host.docker.internal:11434/v1`\n",
- "llm_provider_tips.openai": "##### OpenAI 配置说明\n> 需要 VPN 开启全局流量模式\n- **API Key**: [点击到官网申请](https://platform.openai.com/api-keys)\n- **Base Url**: 官方 OpenAI 可留空;如果使用 OpenAI 兼容供应商(例如 OpenRouter),请填写对应的兼容接口地址\n- **Model Name**: 填写**有权限**的模型;如果使用兼容供应商,请填写该平台支持的模型 ID",
- "llm_provider_tips.aihubmix": "##### AIHubMix 配置说明\n- **API Key**: 在 AIHubMix 控制台创建 API Key\n- **Base Url**: 预填 https://aihubmix.com/v1\n- **Model Name**: 默认 gpt-5.4-mini,也可以填写 AIHubMix 支持的其它模型 ID",
- "llm_provider_tips.aimlapi": "##### AIML API 配置说明\n- **API Key**: [点击创建 API Key](https://aimlapi.com/app/keys)\n- **Base Url**: https://api.aimlapi.com/v1\n- **Model Name**: 例如 `openai/gpt-4o-mini`、`openai/gpt-4o`、`anthropic/claude-sonnet-4.5`、`google/gemini-3-flash-preview`",
- "llm_provider_tips.evolink": "##### EvoLink 配置说明\n- **API Key**: [点击到官网申请](https://evolink.ai/dashboard/keys)\n- **Base Url**: 默认 https://direct.evolink.ai/v1\n- **Model Name**: 默认 gpt-5.5,也可以填写 EvoLink 支持的其它模型 ID",
- "llm_provider_tips.volcengine": "##### VolcEngine Ark 配置说明\n- **注册链接**: [点击注册火山引擎](https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo)\n- **API Key**: 在火山引擎方舟控制台创建 API Key\n- **Base Url**: 默认 https://ark.cn-beijing.volces.com/api/v3\n- **Model Name**: 填写 Ark 控制台已开通的模型 ID,例如 doubao-seed-2-1-turbo-260628",
- "llm_provider_tips.moonshot": "##### Kimi / Moonshot 配置说明\n- **API Key**: [点击到 Kimi 开放平台申请](https://platform.kimi.com/console/api-keys?aff=MoneyPrinterTurbo)\n- **Base Url**: 固定为 https://api.moonshot.cn/v1\n- **Model Name**: 默认 kimi-k2.7-code,[点击查看模型列表](https://platform.kimi.com/docs/models?aff=MoneyPrinterTurbo)\n\n推荐理由:\n- **视频创作链路匹配**: 可用于生成视频文案、提炼素材搜索关键词,并影响最终素材匹配效果\n- **长上下文能力强**: 适合处理较长主题、批量脚本和复杂提示词\n- **灵活按量计费**: 支持按需按量扣费,成本透明可控",
- "llm_provider_tips.oneapi": "##### OneAPI 配置说明\n- **API Key**: 填写您的 OneAPI 密钥\n- **Base Url**: 填写 OneAPI 的基础 URL\n- **Model Name**: 填写您要使用的模型名称,例如 claude-3-5-sonnet-20240620",
- "llm_provider_tips.qwen": "##### 通义千问 Qwen 配置说明\n- **API Key**: [点击到官网申请](https://dashscope.console.aliyun.com/apiKey)\n- **Base Url**: 留空\n- **Model Name**: 比如 qwen-max,[点击查看模型列表](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction#3ef6d0bcf91wy)",
- "llm_provider_tips.azure": "##### Azure 配置说明\n> [点击查看如何部署模型](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/how-to/create-resource)\n- **API Key**: [点击到 Azure 后台创建](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI)\n- **Base Url**: 留空\n- **Model Name**: 填写你实际的部署名",
- "llm_provider_tips.gemini": "##### Gemini 配置说明\n> 需要 VPN 开启全局流量模式\n- **API Key**: [点击到官网申请](https://ai.google.dev/)\n- **Base Url**: 留空\n- **Model Name**: 比如 gemini-1.0-pro",
- "llm_provider_tips.grok": "##### Grok 配置说明\n- **API Key**: 填写您的 Grok API 密钥\n- **Base Url**: 填写 Grok API 的基础 URL\n- **Model Name**: 比如 grok-4.3",
- "llm_provider_tips.groq": "##### Groq 配置说明\n- **API Key**: [点击到官网申请](https://console.groq.com/keys)\n- **Base Url**: 固定为 https://api.groq.com/openai/v1\n- **Model Name**: 比如 llama-3.3-70b-versatile",
- "llm_provider_tips.deepseek": "##### DeepSeek 配置说明\n- **API Key**: [点击到官网申请](https://platform.deepseek.com/api_keys)\n- **Base Url**: 固定为 https://api.deepseek.com\n- **Model Name**: 固定为 deepseek-chat",
- "llm_provider_tips.mimo": "##### Xiaomi MiMo 配置说明\n- **API Key**: [点击到官网申请](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call)\n- **Base Url**: 固定为 https://api.xiaomimimo.com/v1\n- **Model Name**: 默认 mimo-v2.5-pro,也可以按官方文档填写其它可用模型",
- "llm_provider_tips.modelscope": "##### ModelScope 配置说明\n- **API Key**: [点击到官网申请](https://modelscope.cn/docs/model-service/API-Inference/intro)\n- **Base Url**: 固定为 https://api-inference.modelscope.cn/v1/\n- **Model Name**: 比如 Qwen/Qwen3-32B,[点击查看模型列表](https://modelscope.cn/models?filter=inference_type&page=1)",
- "llm_provider_tips.ernie": "##### 百度文心一言配置说明\n- **API Key**: [点击到官网申请](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)\n- **Secret Key**: [点击到官网申请](https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application)\n- **Base Url**: 填写**请求地址**,[点击查看文档](https://cloud.baidu.com/doc/WENXINWORKSHOP/s/jlil56u11#%E8%AF%B7%E6%B1%82%E8%AF%B4%E6%98%8E)",
- "llm_provider_tips.pollinations": "##### Pollinations AI 配置说明\n- **API Key**: 可选,留空可使用公开访问\n- **Base Url**: 默认 https://text.pollinations.ai/openai\n- **Model Name**: 使用 `openai-fast` 或填写其它模型名称",
- "llm_provider_tips.litellm": "##### LiteLLM 配置说明\n> [LiteLLM](https://github.com/BerriAI/litellm) 可通过统一接口路由到 100+ LLM providers。\n> 请将对应 provider 的 API key 设置为环境变量,例如 `OPENAI_API_KEY`、`ANTHROPIC_API_KEY`、`GEMINI_API_KEY`、`AWS_ACCESS_KEY_ID` 等。\n- **Model Name**: 使用 LiteLLM 格式,例如 `openai/gpt-4o`、`anthropic/claude-sonnet-4-20250514`、`bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0`、`gemini/gemini-2.5-flash`。查看[完整 provider 列表](https://docs.litellm.ai/docs/providers)"
+ "llm_provider_tips.openai": "##### OpenAI 配置说明\n- **API Key**: 在 [OpenAI Platform]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`;使用兼容服务时可填写对应地址\n- **Model Name**: 默认 `{default_model}`;也可以填写当前账号支持的其它模型 ID\n> 部分地区访问官方服务时可能需要配置网络代理",
+ "llm_provider_tips.aihubmix": "##### AIHubMix 配置说明\n- **API Key**: 在 [AIHubMix 控制台]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写平台支持的其它模型 ID",
+ "llm_provider_tips.aimlapi": "##### AIML API 配置说明\n- **API Key**: 在 [AIML API]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写平台支持的其它模型 ID",
+ "llm_provider_tips.evolink": "##### EvoLink 配置说明\n- **API Key**: 在 [EvoLink]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写平台支持的其它模型 ID",
+ "llm_provider_tips.volcengine": "##### VolcEngine Ark 配置说明\n- **API Key**: 在火山引擎方舟控制台创建;[点击注册火山引擎]({api_key_url})\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;请确保已在方舟控制台开通对应模型",
+ "llm_provider_tips.moonshot": "##### Kimi / Moonshot 配置说明\n- **API Key**: 在 [Kimi 开放平台]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;[查看模型列表](https://platform.kimi.com/docs/models?aff=MoneyPrinterTurbo)\n\n推荐理由:\n- **视频创作链路匹配**: 可用于生成视频文案、提炼素材搜索关键词,并影响最终素材匹配效果\n- **长上下文能力强**: 适合处理较长主题、批量脚本和复杂提示词\n- **灵活按量计费**: 支持按需按量扣费,成本透明可控",
+ "llm_provider_tips.oneapi": "##### OneAPI 配置说明\n- **API Key**: 从您自己的 OneAPI 部署中创建;[查看 OneAPI 项目说明]({api_key_url})\n- **Base Url**: 必填;填写 OneAPI 服务地址\n- **Model Name**: 必填;填写 OneAPI 中已配置的模型 ID",
+ "llm_provider_tips.qwen": "##### Qwen 配置说明\n- **API Key**: 在 [DashScope]({api_key_url}) 创建\n- **Base Url**: 无需填写\n- **Model Name**: 默认 `{default_model}`;[查看模型列表](https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction#3ef6d0bcf91wy)",
+ "llm_provider_tips.azure": "##### Azure OpenAI 配置说明\n- **API Key**: 在 [Azure Portal]({api_key_url}) 获取\n- **Base Url**: 必填;填写 Azure OpenAI Endpoint,例如 `https://<resource>.openai.azure.com`\n- **Model Name**: 填写实际的 Deployment Name;[查看部署说明](https://learn.microsoft.com/zh-cn/azure/ai-services/openai/how-to/create-resource)",
+ "llm_provider_tips.gemini": "##### Gemini 配置说明\n- **API Key**: 在 [Google AI Studio]({api_key_url}) 创建\n- **Base Url**: 无需填写\n- **Model Name**: 默认 `{default_model}`",
+ "llm_provider_tips.grok": "##### Grok 配置说明\n- **API Key**: 在 [xAI Console]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写当前账号支持的其它模型 ID",
+ "llm_provider_tips.groq": "##### Groq 配置说明\n- **API Key**: 在 [Groq Console]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以从接口加载当前账号支持的模型",
+ "llm_provider_tips.deepseek": "##### DeepSeek 配置说明\n- **API Key**: 在 [DeepSeek Platform]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写当前账号支持的其它模型 ID",
+ "llm_provider_tips.mimo": "##### Xiaomi MiMo 配置说明\n- **API Key**: 按照 [MiMo 官方文档]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写官方支持的其它模型 ID",
+ "llm_provider_tips.modelscope": "##### ModelScope 配置说明\n- **API Key**: 按照 [ModelScope 文档]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;[查看模型列表](https://modelscope.cn/models?filter=inference_type&page=1)",
+ "llm_provider_tips.cloudflare": "##### Cloudflare AI Gateway 配置说明\n- **API Key**: 在 [Cloudflare 控制台]({api_key_url}) 创建 API Token,需要 `AI Gateway - Read`、`AI Gateway - Edit` 和 `Workers AI - Read` 权限\n- **Account ID**: 填写 Cloudflare 账号 ID\n- **Gateway ID**: 默认 `{default_gateway_id}`;也可以填写已创建的 Gateway ID\n- **Base Url**: 无需填写,程序会根据 Account ID 自动构造 REST API 地址\n- **Model Name**: 默认 `{default_model}`;使用 `provider/model` 格式填写 AI Gateway 支持的模型 ID",
+ "llm_provider_tips.minimax": "##### MiniMax 配置说明\n- **API Key**: 在 [中国站](https://platform.minimaxi.com/) 或 [国际站](https://platform.minimax.io/) 创建\n- **Base Url**: 中国站使用 `https://api.minimaxi.com/v1`;国际站使用 `{default_base_url}`(默认)\n- **Model Name**: 默认 `{default_model}`;也可以填写当前账号支持的其它模型 ID\n\n请确保 API Key 与 Base Url 来自同一平台,否则可能出现鉴权失败。",
+ "llm_provider_tips.pollinations": "##### Pollinations AI 配置说明\n- **API Key**: 在 [Pollinations]({api_key_url}) 创建\n- **Base Url**: 默认 `{default_base_url}`\n- **Model Name**: 默认 `{default_model}`;也可以填写 [模型目录](https://gen.pollinations.ai/v1/models) 中支持 Chat Completions 的其它模型 ID",
+ "llm_provider_tips.litellm": "##### LiteLLM 配置说明\n- **API Key**: 无需在此处填写;请通过环境变量配置目标 Provider 的密钥\n- **Base Url**: 无需填写\n- **Model Name**: 默认 `{default_model}`;使用 `provider/model` 格式,[查看 Provider 列表](https://docs.litellm.ai/docs/providers)"
}
}
diff --git a/webui/styles.css b/webui/styles.css
new file mode 100644
index 00000000..6b329726
--- /dev/null
+++ b/webui/styles.css
@@ -0,0 +1,404 @@
+header[data-testid="stHeader"],
+div[data-testid="stToolbar"],
+div[data-testid="stDecoration"],
+div[data-testid="stStatusWidget"],
+div[data-testid="stSkillsNudgeAnchor"],
+div[data-testid="stSkillsNudge"] {
+ display: none !important;
+}
+
+div[data-testid="stMainBlockContainer"] {
+ padding-top: 0.5rem !important;
+}
+
+h1 {
+ padding-top: 0 !important;
+ margin-top: 0 !important;
+}
+
+/* Streamlit 默认让标签中的帮助区域占据剩余宽度,导致问号按钮贴到控件最右侧。
+ 帮助提示在语义上从属于标签文字,因此取消该区域的伸展,并用固定小间距让
+ 问号紧跟标签;没有 help 参数的标签不存在这个 div,不会受到影响。 */
+label[data-testid="stWidgetLabel"] > div {
+ flex: 0 0 auto !important;
+ width: auto !important;
+ margin-left: 0.35rem !important;
+}
+
+/* 配音方式位于四列布局中的窄面板。Streamlit 的 stretch 模式默认让单个分段
+ 按钮接近半行宽,三个选项会换成两行;这里仅对该控件改为三等分,并压缩
+ 水平内边距,保持其它 segmented control 的原生尺寸不变。 */
+div[class*="st-key-voice_mode_control"] [role="radiogroup"] {
+ flex-wrap: nowrap !important;
+}
+
+div[class*="st-key-voice_mode_control"] [role="radiogroup"] > button {
+ flex: 1 1 0 !important;
+ width: auto !important;
+ min-width: 0 !important;
+ padding: 0.25rem !important;
+}
+
+div[class*="st-key-voice_mode_control"] [role="radiogroup"] > button p {
+ overflow: hidden !important;
+ font-size: 0.8rem !important;
+ text-overflow: ellipsis !important;
+ white-space: nowrap !important;
+}
+
+/* 顶部品牌区将项目名和弱化版本号放在同一基线。项目名称仍是页面唯一的 h1;
+ 版本号本身作为项目链接,避免增加独立图标而干扰标题的视觉层级。 */
+.mpt-brand {
+ min-width: 0;
+ margin: 0;
+ padding: 0;
+ color: inherit;
+ line-height: 1.15;
+}
+
+/* Streamlit 会在自定义 h1 内增加一层文本容器,实际的行内布局需要作用在
+ 这层容器上,才能稳定控制项目名和版本号的间距。 */
+.mpt-brand > span:first-child {
+ display: flex;
+ align-items: baseline;
+ gap: 0.65rem;
+ min-width: 0;
+}
+
+.mpt-brand__name {
+ min-width: 0;
+ font-size: 2.75rem;
+ font-weight: 700;
+ letter-spacing: 0;
+ white-space: nowrap;
+}
+
+.mpt-brand__version {
+ flex: 0 0 auto;
+ font-size: 1rem;
+ font-weight: 600;
+ color: inherit !important;
+ opacity: 0.72;
+ text-decoration: none !important;
+ white-space: nowrap;
+}
+
+.mpt-brand__version:hover {
+ color: inherit !important;
+ opacity: 1;
+ text-decoration: underline !important;
+ text-underline-offset: 0.18em;
+}
+
+.mpt-brand__version:focus-visible {
+ outline: 2px solid rgba(255, 75, 75, 0.48);
+ outline-offset: 2px;
+}
+
+/* Streamlit 会自动给 h1 追加一个标题锚点。品牌区已有版本号项目链接,额外的
+ 标题锚点没有实际价值,因此只在这个标题内隐藏,避免窄屏出现多余图标。 */
+.mpt-brand > [data-testid="stHeaderActionElements"] {
+ display: none !important;
+}
+
+/* 顶部任务入口由 st.fragment 定时刷新,Streamlit 会为 Fragment 自动生成一个
+ 占满整行的 LayoutWrapper。这里只收缩该包装层,保证右侧操作区按内容紧凑排列。 */
+.st-key-top_bar_actions
+ > div[data-testid="stLayoutWrapper"]:first-child {
+ flex: 0 0 auto !important;
+ width: fit-content !important;
+}
+
+@media (max-width: 700px) {
+ .mpt-brand > span:first-child {
+ gap: 0.45rem;
+ }
+
+ .mpt-brand__name {
+ font-size: 1.875rem;
+ }
+
+ .mpt-brand__version {
+ font-size: 0.875rem;
+ }
+
+}
+
+@media (max-width: 480px) {
+ .mpt-brand > span:first-child {
+ gap: 0.35rem;
+ }
+
+ .mpt-brand__name {
+ font-size: 1.5rem;
+ }
+
+ .mpt-brand__version {
+ font-size: 0.75rem;
+ }
+
+}
+
+/* 高级设置属于内容展开入口,不是执行操作。保留 Streamlit 原生 expander 的
+ 语义和键盘交互,只在带 advanced_settings_ key 的局部容器内移除卡片边框,
+ 避免与紧邻的 AI 生成按钮形成两个连续大按钮的视觉干扰。 */
+div[class*="st-key-advanced_settings_"] details {
+ border: 0 !important;
+ border-radius: 4px !important;
+ background: transparent !important;
+}
+
+div[class*="st-key-advanced_settings_"] details > summary {
+ min-height: 2.25rem !important;
+ padding: 0.35rem 0.25rem !important;
+ color: inherit !important;
+ opacity: 0.78;
+}
+
+div[class*="st-key-advanced_settings_"] details > summary:hover {
+ opacity: 1;
+ background: color-mix(
+ in srgb,
+ currentColor 6%,
+ transparent
+ ) !important;
+}
+
+/* 展开后让标题和内容共享同一背景,视觉上形成连续区域;折叠状态仍保持原有的
+ 透明轻量入口,不额外占用页面层级。 */
+div[class*="st-key-advanced_settings_"] details[open] > summary {
+ border-radius: 4px 4px 0 0 !important;
+ opacity: 1;
+ background: color-mix(
+ in srgb,
+ currentColor 5%,
+ transparent
+ ) !important;
+}
+
+div[class*="st-key-advanced_settings_"] details > summary:focus {
+ background: color-mix(
+ in srgb,
+ currentColor 5%,
+ transparent
+ ) !important;
+ box-shadow: none !important;
+ outline: none !important;
+}
+
+/* 键盘操作使用标题下划线作为焦点反馈,不再绘制任何外框,确保展开区域在视觉
+ 上完全无边框,同时仍能让键盘用户识别当前焦点。 */
+div[class*="st-key-advanced_settings_"] details > summary:focus-visible {
+ box-shadow: none !important;
+}
+
+div[class*="st-key-advanced_settings_"] details > summary:focus-visible p {
+ text-decoration: underline !important;
+ text-underline-offset: 0.18em;
+}
+
+div[class*="st-key-advanced_settings_"] details > summary p {
+ font-size: 0.9rem !important;
+ font-weight: 500 !important;
+}
+
+/* 内容区与展开标题无缝衔接,不使用任何边框,仅通过统一背景和内边距表达
+ 控件从属于高级设置,避免出现嵌套卡片或割裂的两段式结构。 */
+div[class*="st-key-advanced_settings_"] div[data-testid="stExpanderDetails"] {
+ margin-top: 0 !important;
+ padding: 0.75rem 0.75rem 0.85rem 1rem !important;
+ border: 0 !important;
+ border-radius: 0 0 4px 4px !important;
+ background: color-mix(
+ in srgb,
+ currentColor 5%,
+ transparent
+ ) !important;
+}
+
+/* 任务管理 popover 需要固定宽度,避免内容从空状态、列表状态切换时
+ 反复改变宽度造成页面抖动。宽度仍保留视口约束,兼容窄屏。 */
+div[data-testid="stPopoverBody"] {
+ width: min(860px, calc(100vw - 48px)) !important;
+ max-width: min(860px, calc(100vw - 48px)) !important;
+}
+
+div[data-testid="stPopoverBody"] div[data-testid="stVerticalBlock"] {
+ width: 100% !important;
+}
+
+/* 任务管理列表保留 Streamlit 原生布局,只做轻量压缩,避免每一行过高。
+ 通过 task_row_ key 限定作用范围,避免影响其它配置面板的 container。 */
+div[class*="st-key-task_row_"] {
+ margin-bottom: 0.18rem !important;
+}
+
+div[class*="st-key-task_row_"] div[data-testid="stVerticalBlockBorderWrapper"] {
+ padding: 0.18rem 0.6rem !important;
+}
+
+div[class*="st-key-task_row_"] div[data-testid="stElementContainer"],
+div[class*="st-key-task_row_"] div[data-testid="stMarkdown"] {
+ margin-bottom: 0 !important;
+}
+
+div[class*="st-key-task_row_"] div[data-testid="stMarkdown"] {
+ display: flex !important;
+ align-items: center !important;
+ min-height: 1.75rem !important;
+}
+
+div[class*="st-key-task_row_"] div[data-testid="stMarkdownContainer"] {
+ display: flex !important;
+ align-items: center !important;
+ margin-bottom: 0 !important;
+}
+
+div[class*="st-key-task_row_"] p {
+ margin-bottom: 0 !important;
+ line-height: 1.25 !important;
+}
+
+div[class*="st-key-task_row_"] button[kind="secondary"] {
+ position: relative !important;
+ min-height: 1.75rem !important;
+ height: 1.75rem !important;
+ padding: 0.1rem 0.3rem !important;
+}
+
+/* 按钮文字视觉隐藏后,Streamlit 仍会保留图标与文字之间的默认间距,导致
+ 单独图标向左偏移。清除该间距并让内容层占满按钮,确保操作图标严格居中。 */
+div[class*="st-key-task_row_"]
+ button[kind="secondary"]
+ span[data-has-shortcut] {
+ width: 100% !important;
+ gap: 0 !important;
+ justify-content: center !important;
+}
+
+/* 行内操作保留可访问的按钮名称,但视觉上只显示图标。使用屏幕阅读器可见的
+ 隐藏方式,而不是 display:none,确保每个操作仍能被正确朗读。 */
+div[class*="st-key-task_row_"] button[kind="secondary"] p {
+ position: absolute !important;
+ width: 1px !important;
+ height: 1px !important;
+ padding: 0 !important;
+ margin: -1px !important;
+ overflow: hidden !important;
+ clip: rect(0, 0, 0, 0) !important;
+ clip-path: inset(50%) !important;
+ white-space: nowrap !important;
+}
+
+
+/* 中等宽度下将四个设置面板调整为 2×2,避免每列过窄导致标签和按钮频繁换行。 */
+@media (min-width: 701px) and (max-width: 1100px) {
+ .mpt-brand__name {
+ font-size: 2.25rem;
+ }
+
+ .mpt-brand__version {
+ font-size: 0.875rem;
+ }
+
+ div[class*="st-key-main_settings_grid"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"] {
+ flex-wrap: wrap !important;
+ gap: 1rem !important;
+ }
+
+ div[class*="st-key-main_settings_grid"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"] {
+ flex: 1 1 calc(50% - 0.5rem) !important;
+ width: calc(50% - 0.5rem) !important;
+ min-width: calc(50% - 0.5rem) !important;
+ }
+}
+
+/* 移动端隐藏桌面表头,并将任务行重排为“主题 + 元信息 + 操作”紧凑结构。 */
+@media (max-width: 700px) {
+ div[class*="st-key-task_table_header_"] {
+ display: none !important;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"] {
+ display: grid !important;
+ grid-template-columns: auto minmax(0, 1fr) auto auto;
+ gap: 0.2rem 0.5rem !important;
+ align-items: center !important;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"] {
+ width: auto !important;
+ min-width: 0 !important;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(1) {
+ grid-column: 1;
+ grid-row: 2;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(2) {
+ grid-column: 2;
+ grid-row: 2;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(3) {
+ grid-column: 1 / 4;
+ grid-row: 1;
+ font-weight: 600;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(4) {
+ grid-column: 3;
+ grid-row: 2;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(5) {
+ grid-column: 4;
+ grid-row: 1 / 3;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(5)
+ div[data-testid="stHorizontalBlock"] {
+ display: flex !important;
+ flex-direction: row !important;
+ gap: 0.15rem !important;
+ }
+
+ div[class*="st-key-task_row_"]
+ > div[data-testid="stLayoutWrapper"]
+ > div[data-testid="stHorizontalBlock"]
+ > div[data-testid="stColumn"]:nth-child(5)
+ div[data-testid="stColumn"] {
+ flex: 1 1 0 !important;
+ width: auto !important;
+ min-width: 1.75rem !important;
+ }
+}