free-short-video 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -36
- package/core/config.py +1 -1
- package/core/i18n_backend.py +731 -0
- package/core/pipelines/anchor_video.py +16 -13
- package/core/pipelines/creative/steps_audio.py +9 -7
- package/core/pipelines/creative/steps_frames.py +16 -4
- package/core/pipelines/creative/steps_script.py +44 -21
- package/core/pipelines/creative/steps_video.py +14 -14
- package/core/pipelines/manuscript_video.py +30 -13
- package/core/pipelines/multi_scene.py +17 -11
- package/core/pipelines/poetry_video.py +9 -5
- package/core/pipelines/simple_video.py +7 -7
- package/core/screenwriter/__init__.py +16 -4
- package/package.json +1 -1
- package/static/assets/ar-CT5Vb96u.js +1 -0
- package/static/assets/bn-BRFSrmpr.js +1 -0
- package/static/assets/de-BfbzdWS4.js +1 -0
- package/static/assets/es-DI_YGUav.js +1 -0
- package/static/assets/fa-CLlBTWBD.js +1 -0
- package/static/assets/fr-CrJe-R-B.js +1 -0
- package/static/assets/hi-Biw0K-wF.js +1 -0
- package/static/assets/id-CD_7Mjc4.js +1 -0
- package/static/assets/index-D3X3fptl.css +1 -0
- package/static/assets/index-Da6mRnWp.js +45 -0
- package/static/assets/it-c6SdEfC4.js +1 -0
- package/static/assets/ja-C1nVdqg3.js +1 -0
- package/static/assets/ko-DJJcPzZ7.js +1 -0
- package/static/assets/ms-BVvY5UaD.js +1 -0
- package/static/assets/nl-BFMVg2IF.js +1 -0
- package/static/assets/pt-Br9EP1M-.js +1 -0
- package/static/assets/ru-BXIDO_lx.js +1 -0
- package/static/assets/th-qi227Ckr.js +1 -0
- package/static/assets/tl-CI-FZE-c.js +1 -0
- package/static/assets/tr-4WitX2Ji.js +1 -0
- package/static/assets/ur-CYLssynd.js +1 -0
- package/static/assets/vi-oji0SPGU.js +1 -0
- package/static/index.html +2 -2
- package/web/helpers.py +23 -9
- package/web/routes/config_routes.py +37 -26
- package/web/routes/gallery_routes.py +4 -3
- package/web/routes/image_routes.py +6 -3
- package/web/routes/preset_routes.py +4 -3
- package/web/routes/preview_routes.py +38 -11
- package/web/routes/task_creation_routes.py +91 -24
- package/web/routes/utility_routes.py +8 -7
- package/web/routes/video_routes.py +4 -4
- package/web/routes/voice_routes.py +3 -2
- package/web/routes/workspace_routes.py +7 -6
- package/static/assets/ar-DVEg_H6f.js +0 -1
- package/static/assets/bn-BiFSnXzB.js +0 -1
- package/static/assets/de-uhexDoxx.js +0 -1
- package/static/assets/es-DUPqgRup.js +0 -1
- package/static/assets/fa-CNvLTccz.js +0 -1
- package/static/assets/fr-BagKMN93.js +0 -1
- package/static/assets/hi-DeWOhJ1q.js +0 -1
- package/static/assets/id-nGPSnGvK.js +0 -1
- package/static/assets/index-CJDvYGjk.css +0 -1
- package/static/assets/index-CfGG_wN-.js +0 -45
- package/static/assets/it-BJGGcHvC.js +0 -1
- package/static/assets/ja-cR8f9YPd.js +0 -1
- package/static/assets/ko-C0xGw09S.js +0 -1
- package/static/assets/ms-Cgs1dWE8.js +0 -1
- package/static/assets/nl-Cwg9KBwg.js +0 -1
- package/static/assets/pt-B9Hhu0CQ.js +0 -1
- package/static/assets/ru-CafubBrt.js +0 -1
- package/static/assets/th-2Muse1NU.js +0 -1
- package/static/assets/tl-DGVTGEV4.js +0 -1
- package/static/assets/tr-BPcMq5fF.js +0 -1
- package/static/assets/ur-BTthCgqj.js +0 -1
- package/static/assets/vi-Bi-nuXdz.js +0 -1
package/README.md
CHANGED
|
@@ -1,52 +1,35 @@
|
|
|
1
1
|
---
|
|
2
2
|
|
|
3
|
-
# What's New in v7.0.
|
|
3
|
+
# What's New in v7.0.1
|
|
4
4
|
|
|
5
5
|
## What's New
|
|
6
6
|
|
|
7
7
|
### Features & Improvements
|
|
8
8
|
|
|
9
|
-
- **
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
fetch it from the endpoint or type model ids by hand. Model selection is a two-level
|
|
19
|
-
provider → model picker that merges the models of all providers.
|
|
20
|
-
- **Interface-language aware backend messages.** Task progress messages, failure panels, HTTP
|
|
21
|
-
error details and the diagnostics report are now localized according to the UI language
|
|
22
|
-
instead of being hard-coded Chinese. The UI language travels with every request
|
|
23
|
-
(`X-Agnes-UI-Lang`, falling back to `Accept-Language`), is snapshotted into each task at
|
|
24
|
-
creation time, and therefore does not drift if the user switches language later. Chinese and
|
|
25
|
-
English are covered; the remaining languages fall back to the existing behaviour.
|
|
26
|
-
- **Clearer network failure diagnosis.** TLS handshake resets (`connection reset`) are now
|
|
27
|
-
attributed to local-connection problems, and the diagnostics report shows the interface
|
|
28
|
-
language of the reporting user, making failure reports easier to triage.
|
|
9
|
+
- **Provider setup guidance in Settings.** When adding a third-party text model provider, the
|
|
10
|
+
configuration panel now shows practical notes with a recommended provider (AMD Radeon
|
|
11
|
+
Cloud) and its OpenAI-compatible endpoint, plus a link to a step-by-step guide for
|
|
12
|
+
collecting free tokens. Available in all 22 UI languages.
|
|
13
|
+
- **Localized backend messages everywhere.** The localization framework shipped in v7.0.0 has
|
|
14
|
+
been extended from high-impact messages to the complete set: ~120 remaining strings across
|
|
15
|
+
all six task types — progress updates for every pipeline step, task-creation and preview
|
|
16
|
+
validation errors, config/provider validation, voice-compatibility warnings and cleanup
|
|
17
|
+
tooling messages — are rendered in the task's UI language.
|
|
29
18
|
|
|
30
19
|
### Refactoring & Optimizations
|
|
31
20
|
|
|
32
|
-
- **
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
same error log as before.
|
|
38
|
-
- **Backend i18n runtime.** A new translation runtime plus request-scoped language middleware
|
|
39
|
-
gives the FastAPI side the same localization guarantees the frontend already had, with a
|
|
40
|
-
safe fallback chain that never turns a missing translation into a request failure.
|
|
21
|
+
- **Single bilingual message catalog for the backend.** All user-facing backend strings now
|
|
22
|
+
live in one translation catalog (~200 keys) with CI-enforced Chinese/English parity and a
|
|
23
|
+
documented contributor convention (domain-based key naming, keyword placeholders, per-request
|
|
24
|
+
vs per-task language sources), making the interface-language behavior a maintained invariant
|
|
25
|
+
rather than an ad-hoc practice.
|
|
41
26
|
|
|
42
27
|
### Bug Fixes
|
|
43
28
|
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
-
|
|
47
|
-
|
|
48
|
-
- Non-Chinese interfaces no longer receive hard-coded Chinese network-diagnosis and task
|
|
49
|
-
messages (issue #64).
|
|
29
|
+
- English-interface users no longer receive Chinese progress messages and validation errors
|
|
30
|
+
in simple, creative, manuscript, anchor and poetry video tasks (follow-up to issue #64).
|
|
31
|
+
- Reference-image analysis failures ("image analysis failed (Start Frame)") are reported in
|
|
32
|
+
the task's UI language instead of hard-coded Chinese (issue #65 follow-up).
|
|
50
33
|
|
|
51
34
|
---
|
|
52
35
|
|
package/core/config.py
CHANGED
|
@@ -18,7 +18,7 @@ CONFIG_FILE = os.path.join(CONFIG_DIR, "config.json")
|
|
|
18
18
|
# ═══════════════════════════════════════════════════
|
|
19
19
|
# 应用版本号(v6.1 新增:发版时同步更新,见 docs/dev/release_process.md)
|
|
20
20
|
# ═══════════════════════════════════════════════════
|
|
21
|
-
APP_VERSION = "7.0.
|
|
21
|
+
APP_VERSION = "7.0.1"
|
|
22
22
|
|
|
23
23
|
# 未配置 API Key 时的统一报错文案(含免费获取与在线体验兜底,全站路由共用)
|
|
24
24
|
#
|