Skip to content

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

feat(material): default OFox vendor pinning to byteplus

celeste19004fe620e864ef
diff --git a/README-en.md b/README-en.md
index 29f9ff3d..4cd65535 100644
--- a/README-en.md
+++ b/README-en.md
@@ -496,7 +496,7 @@ ofox_text_to_video_model = "bytedance/seedance-2.0-fast"
ofox_base_url = "https://api.ofox.ai/v1"
```
-When the dedicated config value is empty, the `OFOX_API_KEY` environment variable is used. Select **OFox AI Video** as the video source and explicitly confirm paid generation before starting. CLI users must add `--confirm-ofox-charge`. For predictable routing, `ofox_provider` pins the upstream vendor (for example the Seedance series is served by both `"volcengine"` and `"byteplus"`, each with its own content policies and regional availability; when unset, OFox load-balances across vendors). The model can be any text-to-video model from the OFox catalog (`GET /v1/models`), e.g. `alibaba/wan-2.7`; each model has its own supported duration range and resolutions, and out-of-range values are rejected by the API with a clear error before any task is created.
+When the dedicated config value is empty, the `OFOX_API_KEY` environment variable is used. Select **OFox AI Video** as the video source and explicitly confirm paid generation before starting. CLI users must add `--confirm-ofox-charge`. The upstream vendor defaults to `"byteplus"` (the international vendor, for a consistent content policy and predictable routing); set `ofox_provider` to `"volcengine"` for the mainland-China vendor, or to an empty string `""` to let OFox load-balance across vendors. The model can be any text-to-video model from the OFox catalog (`GET /v1/models`), e.g. `alibaba/wan-2.7`; each model has its own supported duration range and resolutions, and out-of-range values are rejected by the API with a clear error before any task is created.
The first version supports text-to-video only. Each clip creates one asynchronous paid task; the program only polls the same task id, stops submitting new tasks whenever a paid task state is unknown, and generates just enough footage to cover the voiceover duration.
diff --git a/README-ja.md b/README-ja.md
index 3e4b0f70..b2083fdd 100644
--- a/README-ja.md
+++ b/README-ja.md
@@ -474,7 +474,7 @@ ofox_text_to_video_model = "bytedance/seedance-2.0-fast"
ofox_base_url = "https://api.ofox.ai/v1"
```
-専用設定が空の場合は、`OFOX_API_KEY` 環境変数を使用します。動画ソースで **OFox AI Video** を選び、生成前に有料タスクを明示的に確認してください。CLI では `--confirm-ofox-charge` も必要です。ルーティングを固定したい場合は `ofox_provider` で上流ベンダーを指定できます(例:Seedance シリーズは `"volcengine"` と `"byteplus"` から選択可能で、ベンダーごとにコンテンツポリシーと提供地域が異なります。未指定の場合はゲートウェイが重みに基づいて分散します)。モデルは OFox カタログ(`GET /v1/models`)の任意のテキスト動画モデル(例:`alibaba/wan-2.7`)に変更できます。モデルごとに対応する動画長と解像度が異なり、範囲外の値はタスク作成前に API が明確なエラーで拒否します。
+専用設定が空の場合は、`OFOX_API_KEY` 環境変数を使用します。動画ソースで **OFox AI Video** を選び、生成前に有料タスクを明示的に確認してください。CLI では `--confirm-ofox-charge` も必要です。上流ベンダーは既定で `"byteplus"`(国際ベンダー。コンテンツポリシーが一貫し、ルーティングが予測可能)に固定されます。`ofox_provider` を `"volcengine"`(中国本土ベンダー)に変更するか、空文字列 `""` を設定するとゲートウェイが重みに基づいて分散します。モデルは OFox カタログ(`GET /v1/models`)の任意のテキスト動画モデル(例:`alibaba/wan-2.7`)に変更できます。モデルごとに対応する動画長と解像度が異なり、範囲外の値はタスク作成前に API が明確なエラーで拒否します。
初版はテキスト動画のみ対応です。各クリップは非同期の有料タスクを 1 つ作成します。プログラムは同じタスク ID のみをポーリングし、状態が不明な場合は新規タスクの送信を停止し、ナレーションの長さを満たす分だけ生成します。
diff --git a/README.md b/README.md
index eb66017f..759666ae 100644
--- a/README.md
+++ b/README.md
@@ -491,7 +491,7 @@ ofox_text_to_video_model = "bytedance/seedance-2.0-fast"
ofox_base_url = "https://api.ofox.ai/v1"
```
-专用配置为空时,会使用 `OFOX_API_KEY` 环境变量。在视频源中选择"OFox AI 视频",并在生成前明确确认付费任务;CLI 还需要传入 `--confirm-ofox-charge`。需要可预期的路由时,可用 `ofox_provider` 钉定上游厂商(如 Seedance 系列可选 `"volcengine"` 或 `"byteplus"`,各厂商内容政策与区域可用性不同;不填则由网关按权重分发)。模型可换成 OFox 目录(`GET /v1/models`)中任意文生视频模型(如 `alibaba/wan-2.7`),不同模型支持的时长区间与分辨率不同,超出范围会在创建任务前被 API 明确拒绝。
+专用配置为空时,会使用 `OFOX_API_KEY` 环境变量。在视频源中选择"OFox AI 视频",并在生成前明确确认付费任务;CLI 还需要传入 `--confirm-ofox-charge`。上游厂商默认钉定 `"byteplus"`(国际厂商,内容政策一致、路由可预期);可通过 `ofox_provider` 改为 `"volcengine"`(大陆厂商),或显式置空 `""` 交由网关按权重分发。模型可换成 OFox 目录(`GET /v1/models`)中任意文生视频模型(如 `alibaba/wan-2.7`),不同模型支持的时长区间与分辨率不同,超出范围会在创建任务前被 API 明确拒绝。
首版仅支持文生视频。每个片段都会创建一个异步付费任务;程序只轮询同一个任务 ID,状态不明时停止继续下单,并仅生成足够覆盖配音时长的素材。
diff --git a/app/services/ofox.py b/app/services/ofox.py
index a9d2389a..95ffef60 100644
--- a/app/services/ofox.py
+++ b/app/services/ofox.py
@@ -14,6 +14,9 @@ from app.models.schema import MaterialInfo, VideoAspect
DEFAULT_BASE_URL = "https://api.ofox.ai/v1"
DEFAULT_MODEL_ID = "bytedance/seedance-2.0-fast"
DEFAULT_RESOLUTION = "720p"
+# 默认钉定国际厂商通道:面向全球受众时内容政策更一致;显式配置为空则交回
+# 网关按权重在可用厂商间分发。
+DEFAULT_PROVIDER_TYPE = "byteplus"
# 默认模型 bytedance/seedance-2.0-fast 只接受 4-15 秒(服务端实测校验值)。
# 其它可选模型区间不同(如 alibaba/wan-2.7 为 2-15 秒),切换模型时应同步
# 调整配置里的区间;超出区间的请求会被 API 以明确的 400 拒绝,不会计费。
@@ -101,15 +104,19 @@ def _resolution() -> str:
def _provider_type() -> str:
"""
- 读取可选的上游厂商钉定(provider routing)。
+ 读取上游厂商钉定(provider routing)。
OFox 的部分模型由多个上游厂商供货(如 Seedance 系列的 volcengine 与
- byteplus),不指定时由网关按权重分发。各厂商有各自的内容政策与区域
- 可用性,钉定厂商可以让路由变得可预期。非法厂商名会被 API 以专属的
- 400 ``invalid_provider_type`` 拒绝且不创建付费任务,因此本地不维护
- 厂商白名单。
+ byteplus),各厂商有各自的内容政策与区域可用性。默认钉定 byteplus
+ (国际厂商,对全球受众内容政策更一致、路由可预期);配置为其它厂商名
+ 则钉定那一家;显式配置为空字符串则不钉定,由网关按权重分发。非法厂商
+ 名会被 API 以专属的 400 ``invalid_provider_type`` 拒绝且不创建付费
+ 任务,因此本地不维护厂商白名单。
"""
- return str(config.app.get("ofox_provider", "") or "").strip()
+ value = config.app.get("ofox_provider", DEFAULT_PROVIDER_TYPE)
+ if value is None:
+ return DEFAULT_PROVIDER_TYPE
+ return str(value).strip()
def _config_bool(key: str, default: bool) -> bool:
diff --git a/config.example.toml b/config.example.toml
index 34891f3e..975687a1 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -140,13 +140,19 @@ ofox_resolution = "720p"
# submission (extra footage is trimmed by the editing pipeline).
ofox_min_duration = 4
ofox_max_duration = 15
-# Optional upstream vendor pinning. Some models are served by multiple
-# upstream vendors (for example the Seedance series is available from both
-# "volcengine" and "byteplus"); when unset, OFox load-balances across the
-# available vendors. Vendors apply their own content policies and regional
-# availability, so pinning one makes routing predictable. Unknown vendor
-# names are rejected by the API before any task is created.
-# ofox_provider = "byteplus"
+# Upstream vendor pinning. Some models are served by multiple upstream
+# vendors (for example the Seedance series is available from both
+# "volcengine" and "byteplus"). Vendors apply their own content policies and
+# regional availability. The default pins "byteplus" (the international
+# vendor) for a consistent content policy and predictable routing; set
+# "volcengine" for the mainland-China vendor, or set an empty string "" to
+# let OFox load-balance across the available vendors. Unknown vendor names
+# are rejected by the API before any task is created. Note: vendor coverage
+# is per model — the default pinning targets the Seedance series; when
+# switching to a non-Seedance model (e.g. alibaba/wan-2.7), set the matching
+# vendor or an empty string, otherwise the API rejects the request with
+# provider_type_unavailable (no task is created, nothing is billed).
+ofox_provider = "byteplus"
ofox_poll_interval = 5
ofox_run_timeout = 1800
diff --git a/test/services/test_ofox.py b/test/services/test_ofox.py
index 91675c0b..9146219e 100644
--- a/test/services/test_ofox.py
+++ b/test/services/test_ofox.py
@@ -128,6 +128,7 @@ class TestOFoxService(unittest.TestCase):
"duration": 5,
"resolution": "720p",
"aspect_ratio": "9:16",
+ "provider": {"type": ofox.DEFAULT_PROVIDER_TYPE},
},
)
self.assertEqual(get.call_count, 2)
@@ -148,8 +149,8 @@ class TestOFoxService(unittest.TestCase):
config.app["ofox_resolution"] = " 480p "
self.assertEqual(ofox._resolution(), "480p")
- def test_provider_pinning_is_optional_and_passed_through(self):
- # 未配置时不携带 provider 字段,让网关按权重自动分发。
+ def test_provider_pinning_defaults_to_byteplus_and_stays_configurable(self):
+ # 未配置时默认钉定国际厂商 byteplus(内容政策一致、路由可预期)。
submit = self._response({"id": "vid-route", "status": "queued"}, 202)
completed = self._response(
{
@@ -158,14 +159,29 @@ class TestOFoxService(unittest.TestCase):
"unsigned_urls": ["https://cdn.example.com/route.mp4"],
}
)
+ config.app.pop("ofox_provider", None)
with (
patch.object(ofox.requests, "post", return_value=submit) as post,
patch.object(ofox.requests, "get", return_value=completed),
):
ofox.generate_videos("sunrise", 5)
- self.assertNotIn("provider", post.call_args.kwargs["json"])
+ self.assertEqual(
+ post.call_args.kwargs["json"]["provider"], {"type": "byteplus"}
+ )
- for blank in ("", " ", None):
+ # None 视同未配置(配置解析异常时的兜底),仍走默认。
+ config.app["ofox_provider"] = None
+ with (
+ patch.object(ofox.requests, "post", return_value=submit) as post,
+ patch.object(ofox.requests, "get", return_value=completed),
+ ):
+ ofox.generate_videos("sunrise", 5)
+ self.assertEqual(
+ post.call_args.kwargs["json"]["provider"], {"type": "byteplus"}
+ )
+
+ # 显式配置为空字符串 = 不钉定,交回网关按权重自动分发。
+ for blank in ("", " "):
with self.subTest(blank=blank):
config.app["ofox_provider"] = blank
with (
@@ -175,16 +191,16 @@ class TestOFoxService(unittest.TestCase):
ofox.generate_videos("sunrise", 5)
self.assertNotIn("provider", post.call_args.kwargs["json"])
- # 配置后钉定上游厂商,形如 {"type": "byteplus"};非法厂商名由服务端
- # 以 400 invalid_provider_type 拒绝(不创建付费任务),走常规 4xx 路径。
- config.app["ofox_provider"] = " byteplus "
+ # 配置其它厂商名则钉定那一家;非法厂商名由服务端以 400
+ # invalid_provider_type 拒绝(不创建付费任务),走常规 4xx 路径。
+ config.app["ofox_provider"] = " volcengine "
with (
patch.object(ofox.requests, "post", return_value=submit) as post,
patch.object(ofox.requests, "get", return_value=completed),
):
ofox.generate_videos("sunrise", 5)
self.assertEqual(
- post.call_args.kwargs["json"]["provider"], {"type": "byteplus"}
+ post.call_args.kwargs["json"]["provider"], {"type": "volcengine"}
)
def test_server_rejected_resolution_raises_clear_error_without_polling(self):
diff --git a/webui/Main.py b/webui/Main.py
index e03b3c5e..a7137268 100644
--- a/webui/Main.py
+++ b/webui/Main.py
@@ -3428,6 +3428,34 @@ def _render_settings_dialog():
"ofox_base_url",
ofox_base_url.strip() or ofox.DEFAULT_BASE_URL,
)
+ ofox_vendor_options = [
+ (tr("OFox Vendor BytePlus"), "byteplus"),
+ (tr("OFox Vendor Volcengine"), "volcengine"),
+ (tr("OFox Vendor Auto"), ""),
+ ]
+ configured_ofox_vendor = str(
+ config.app.get("ofox_provider", ofox.DEFAULT_PROVIDER_TYPE)
+ or ""
+ ).strip()
+ if configured_ofox_vendor not in {
+ value for _, value in ofox_vendor_options
+ }:
+ # 用户在 config.toml 手工钉定了其它厂商名时保留该选择,
+ # 避免打开设置页就被下拉框覆盖回默认值。
+ ofox_vendor_options.append(
+ (configured_ofox_vendor, configured_ofox_vendor)
+ )
+ selected_ofox_vendor = stable_selectbox(
+ tr("OFox Upstream Vendor"),
+ options=[value for _, value in ofox_vendor_options],
+ default_value=configured_ofox_vendor,
+ key="ofox_provider_select",
+ format_func=lambda value: dict(
+ (v, label) for label, v in ofox_vendor_options
+ )[value],
+ help=tr("OFox Upstream Vendor Help"),
+ )
+ _set_runtime_config("app", "ofox_provider", selected_ofox_vendor)
with st.container(border=True):
st.markdown(f"#### {tr('AI Image Generation APIs')}")
diff --git a/webui/i18n/de.json b/webui/i18n/de.json
index e3cf829d..3926f236 100644
--- a/webui/i18n/de.json
+++ b/webui/i18n/de.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Jeder erzeugte Clip wird von OFox berechnet. Geben Sie ein Videoskript ein oder erzeugen Sie eines, um die geschätzte Anzahl der Aufträge anzuzeigen.",
"Confirm OFox Charge": "Ich verstehe, dass die OFox-Generierung kostenpflichtige OFox-Aufträge erstellt",
"Confirm OFox Charge Help": "OFox-Clips werden einzeln übermittelt, bis sie die Dauer der Sprachausgabe abdecken. OFox berechnet jeden eingereichten Generierungsauftrag.",
- "Confirm OFox Charge Required": "Bitte bestätigen Sie die Kosten der OFox-Generierung, bevor Sie das Video erstellen."
+ "Confirm OFox Charge Required": "Bitte bestätigen Sie die Kosten der OFox-Generierung, bevor Sie das Video erstellen.",
+ "OFox Upstream Vendor": "OFox Upstream-Anbieter",
+ "OFox Upstream Vendor Help": "Welcher Upstream-Anbieter die OFox-Videogenerierung bedient. BytePlus (international) ist der Standard mit einheitlicher Inhaltsrichtlinie; Volcano Engine ist der Festland-China-Anbieter; Auto lässt das OFox-Gateway die Last über die Anbieter verteilen.",
+ "OFox Vendor BytePlus": "BytePlus (international, Standard)",
+ "OFox Vendor Volcengine": "Volcano Engine (Festlandchina)",
+ "OFox Vendor Auto": "Auto (Gateway-Lastverteilung)"
}
}
diff --git a/webui/i18n/en.json b/webui/i18n/en.json
index c155f8c5..8a815f80 100644
--- a/webui/i18n/en.json
+++ b/webui/i18n/en.json
@@ -455,6 +455,11 @@
"OFox Billing Notice Without Script": "Each generated clip is billed by OFox. Enter or generate the video script to see an estimated task count.",
"Confirm OFox Charge": "I understand OFox video generation creates paid tasks",
"Confirm OFox Charge Help": "OFox clips are submitted one at a time and stop once they cover the voiceover duration. OFox bills each submitted generation task.",
- "Confirm OFox Charge Required": "Please confirm the OFox charge before generating the video."
+ "Confirm OFox Charge Required": "Please confirm the OFox charge before generating the video.",
+ "OFox Upstream Vendor": "OFox Upstream Vendor",
+ "OFox Upstream Vendor Help": "Which upstream vendor serves OFox video generation. BytePlus (international) is the default with a consistent content policy; Volcano Engine is the mainland-China vendor; Auto lets the OFox gateway load-balance across vendors.",
+ "OFox Vendor BytePlus": "BytePlus (International, default)",
+ "OFox Vendor Volcengine": "Volcano Engine (Mainland China)",
+ "OFox Vendor Auto": "Auto (gateway load balancing)"
}
}
diff --git a/webui/i18n/es.json b/webui/i18n/es.json
index e1a93ba9..09d279a9 100644
--- a/webui/i18n/es.json
+++ b/webui/i18n/es.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "OFox cobra cada clip generado. Introduce o genera el guion del vídeo para ver una estimación del número de tareas.",
"Confirm OFox Charge": "Entiendo que la generación con OFox crea tareas de pago en OFox",
"Confirm OFox Charge Help": "Los clips de OFox se envían uno a uno y se detienen cuando cubren la duración de la narración. OFox cobra cada tarea de generación enviada.",
- "Confirm OFox Charge Required": "Confirma el coste de generación de OFox antes de generar el vídeo."
+ "Confirm OFox Charge Required": "Confirma el coste de generación de OFox antes de generar el vídeo.",
+ "OFox Upstream Vendor": "Proveedor upstream de OFox",
+ "OFox Upstream Vendor Help": "Qué proveedor upstream sirve la generación de vídeo de OFox. BytePlus (internacional) es el predeterminado, con una política de contenido consistente; Volcano Engine es el proveedor de China continental; Auto deja que la pasarela de OFox balancee la carga entre proveedores.",
+ "OFox Vendor BytePlus": "BytePlus (internacional, predeterminado)",
+ "OFox Vendor Volcengine": "Volcano Engine (China continental)",
+ "OFox Vendor Auto": "Auto (balanceo de la pasarela)"
}
}
diff --git a/webui/i18n/fr.json b/webui/i18n/fr.json
index 9ecbdec3..fb58c0db 100644
--- a/webui/i18n/fr.json
+++ b/webui/i18n/fr.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Chaque clip généré est facturé par OFox. Saisissez ou générez le script vidéo pour afficher une estimation du nombre de tâches.",
"Confirm OFox Charge": "Je comprends que la génération OFox crée des tâches OFox payantes",
"Confirm OFox Charge Help": "Les clips OFox sont soumis un par un jusqu’à couvrir la durée de la narration. OFox facture chaque tâche de génération soumise.",
- "Confirm OFox Charge Required": "Veuillez confirmer les frais de génération OFox avant de créer la vidéo."
+ "Confirm OFox Charge Required": "Veuillez confirmer les frais de génération OFox avant de créer la vidéo.",
+ "OFox Upstream Vendor": "Fournisseur amont OFox",
+ "OFox Upstream Vendor Help": "Fournisseur amont utilisé pour la génération vidéo OFox. BytePlus (international) est la valeur par défaut, avec une politique de contenu cohérente ; Volcano Engine est le fournisseur de Chine continentale ; Auto laisse la passerelle OFox répartir la charge entre les fournisseurs.",
+ "OFox Vendor BytePlus": "BytePlus (international, défaut)",
+ "OFox Vendor Volcengine": "Volcano Engine (Chine continentale)",
+ "OFox Vendor Auto": "Auto (répartition par la passerelle)"
}
}
diff --git a/webui/i18n/id.json b/webui/i18n/id.json
index 6c11cb02..26d50d73 100644
--- a/webui/i18n/id.json
+++ b/webui/i18n/id.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Setiap klip yang dibuat dikenai biaya oleh OFox. Masukkan atau buat naskah video untuk melihat perkiraan jumlah tugas.",
"Confirm OFox Charge": "Saya memahami bahwa pembuatan OFox menghasilkan tugas OFox berbayar",
"Confirm OFox Charge Help": "Klip OFox dikirim satu per satu dan berhenti setelah mencakup durasi narasi. OFox mengenakan biaya untuk setiap tugas pembuatan yang dikirim.",
- "Confirm OFox Charge Required": "Konfirmasikan biaya pembuatan OFox sebelum membuat video."
+ "Confirm OFox Charge Required": "Konfirmasikan biaya pembuatan OFox sebelum membuat video.",
+ "OFox Upstream Vendor": "Vendor Upstream OFox",
+ "OFox Upstream Vendor Help": "Vendor upstream yang melayani pembuatan video OFox. BytePlus (internasional) adalah bawaan dengan kebijakan konten yang konsisten; Volcano Engine adalah vendor Tiongkok daratan; Auto membiarkan gateway OFox menyeimbangkan beban antar vendor.",
+ "OFox Vendor BytePlus": "BytePlus (internasional, bawaan)",
+ "OFox Vendor Volcengine": "Volcano Engine (Tiongkok daratan)",
+ "OFox Vendor Auto": "Otomatis (penyeimbangan gateway)"
}
}
diff --git a/webui/i18n/it.json b/webui/i18n/it.json
index d3ddd0de..fa223294 100644
--- a/webui/i18n/it.json
+++ b/webui/i18n/it.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Ogni clip generato viene addebitato da OFox. Inserisci o genera lo script del video per visualizzare una stima del numero di attività.",
"Confirm OFox Charge": "Comprendo che la generazione OFox crea attività OFox a pagamento",
"Confirm OFox Charge Help": "I clip OFox vengono inviati uno alla volta e si arrestano quando coprono la durata della narrazione. OFox addebita ogni attività di generazione inviata.",
- "Confirm OFox Charge Required": "Conferma il costo della generazione OFox prima di creare il video."
+ "Confirm OFox Charge Required": "Conferma il costo della generazione OFox prima di creare il video.",
+ "OFox Upstream Vendor": "Fornitore upstream OFox",
+ "OFox Upstream Vendor Help": "Quale fornitore upstream serve la generazione video OFox. BytePlus (internazionale) è il predefinito, con una politica dei contenuti coerente; Volcano Engine è il fornitore della Cina continentale; Auto lascia che il gateway OFox bilanci il carico tra i fornitori.",
+ "OFox Vendor BytePlus": "BytePlus (internazionale, predefinito)",
+ "OFox Vendor Volcengine": "Volcano Engine (Cina continentale)",
+ "OFox Vendor Auto": "Auto (bilanciamento del gateway)"
}
}
diff --git a/webui/i18n/ko.json b/webui/i18n/ko.json
index 61f38802..770012d5 100644
--- a/webui/i18n/ko.json
+++ b/webui/i18n/ko.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "생성된 각 클립은 OFox에서 과금됩니다. 예상 작업 수를 확인하려면 영상 대본을 입력하거나 생성하세요.",
"Confirm OFox Charge": "OFox 생성이 유료 OFox 작업을 만든다는 것을 이해했습니다",
"Confirm OFox Charge Help": "OFox 클립은 하나씩 제출되며 내레이션 길이를 채우면 중단됩니다. Ark는 제출된 각 생성 작업에 요금을 부과합니다.",
- "Confirm OFox Charge Required": "영상을 생성하기 전에 OFox 생성 요금을 확인해 주세요."
+ "Confirm OFox Charge Required": "영상을 생성하기 전에 OFox 생성 요금을 확인해 주세요.",
+ "OFox Upstream Vendor": "OFox 업스트림 공급사",
+ "OFox Upstream Vendor Help": "OFox 영상 생성에 사용할 업스트림 공급사입니다. BytePlus(국제)가 기본값으로 콘텐츠 정책이 일관됩니다. Volcano Engine은 중국 본토 공급사이며, 자동은 OFox 게이트웨이가 공급사 간 부하를 분산합니다.",
+ "OFox Vendor BytePlus": "BytePlus (국제, 기본값)",
+ "OFox Vendor Volcengine": "Volcano Engine (중국 본토)",
+ "OFox Vendor Auto": "자동 (게이트웨이 부하 분산)"
}
}
diff --git a/webui/i18n/pt.json b/webui/i18n/pt.json
index dd8e13b7..498361f0 100644
--- a/webui/i18n/pt.json
+++ b/webui/i18n/pt.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Cada clipe gerado é cobrado pelo OFox. Insira ou gere o roteiro do vídeo para ver uma estimativa do número de tarefas.",
"Confirm OFox Charge": "Entendo que a geração OFox cria tarefas OFox pagas",
"Confirm OFox Charge Help": "Os clipes OFox são enviados um por vez até cobrirem a duração da narração. O OFox cobra cada tarefa de geração enviada.",
- "Confirm OFox Charge Required": "Confirme o custo da geração OFox antes de criar o vídeo."
+ "Confirm OFox Charge Required": "Confirme o custo da geração OFox antes de criar o vídeo.",
+ "OFox Upstream Vendor": "Fornecedor upstream OFox",
+ "OFox Upstream Vendor Help": "Qual fornecedor upstream atende a geração de vídeo do OFox. BytePlus (internacional) é o padrão, com política de conteúdo consistente; Volcano Engine é o fornecedor da China continental; Auto deixa o gateway OFox balancear a carga entre fornecedores.",
+ "OFox Vendor BytePlus": "BytePlus (internacional, padrão)",
+ "OFox Vendor Volcengine": "Volcano Engine (China continental)",
+ "OFox Vendor Auto": "Automático (balanceamento do gateway)"
}
}
diff --git a/webui/i18n/ru.json b/webui/i18n/ru.json
index 684665b6..d10861af 100644
--- a/webui/i18n/ru.json
+++ b/webui/i18n/ru.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Каждый созданный клип оплачивается в OFox. Введите или создайте сценарий видео, чтобы увидеть примерное количество задач.",
"Confirm OFox Charge": "Я понимаю, что генерация OFox создаёт платные задачи OFox",
"Confirm OFox Charge Help": "Клипы OFox отправляются по одному, пока не покроют длительность озвучки. OFox взимает плату за каждую отправленную задачу генерации.",
- "Confirm OFox Charge Required": "Подтвердите стоимость генерации OFox перед созданием видео."
+ "Confirm OFox Charge Required": "Подтвердите стоимость генерации OFox перед созданием видео.",
+ "OFox Upstream Vendor": "Вышестоящий поставщик OFox",
+ "OFox Upstream Vendor Help": "Какой вышестоящий поставщик обслуживает генерацию видео OFox. BytePlus (международный) — значение по умолчанию с единой контентной политикой; Volcano Engine — поставщик материкового Китая; Авто — шлюз OFox сам распределяет нагрузку между поставщиками.",
+ "OFox Vendor BytePlus": "BytePlus (международный, по умолчанию)",
+ "OFox Vendor Volcengine": "Volcano Engine (материковый Китай)",
+ "OFox Vendor Auto": "Авто (балансировка шлюзом)"
}
}
diff --git a/webui/i18n/tr.json b/webui/i18n/tr.json
index b5dbe332..d5be5835 100644
--- a/webui/i18n/tr.json
+++ b/webui/i18n/tr.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Oluşturulan her klip OFox tarafından ücretlendirilir. Tahmini görev sayısını görmek için video metnini girin veya oluşturun.",
"Confirm OFox Charge": "OFox üretiminin ücretli OFox görevleri oluşturduğunu anlıyorum",
"Confirm OFox Charge Help": "OFox klipleri tek tek gönderilir ve seslendirme süresini karşıladığında durur. OFox, gönderilen her üretim görevi için ücret alır.",
- "Confirm OFox Charge Required": "Videoyu oluşturmadan önce OFox üretim ücretini onaylayın."
+ "Confirm OFox Charge Required": "Videoyu oluşturmadan önce OFox üretim ücretini onaylayın.",
+ "OFox Upstream Vendor": "OFox Üst Akış Sağlayıcısı",
+ "OFox Upstream Vendor Help": "OFox video üretimini hangi üst akış sağlayıcısının sunacağı. BytePlus (uluslararası) tutarlı içerik politikasıyla varsayılandır; Volcano Engine Çin anakarası sağlayıcısıdır; Otomatik, OFox ağ geçidinin yükü sağlayıcılar arasında dengelemesine izin verir.",
+ "OFox Vendor BytePlus": "BytePlus (uluslararası, varsayılan)",
+ "OFox Vendor Volcengine": "Volcano Engine (Çin anakarası)",
+ "OFox Vendor Auto": "Otomatik (ağ geçidi yük dengeleme)"
}
}
diff --git a/webui/i18n/vi.json b/webui/i18n/vi.json
index ba97fdd2..7267db4f 100644
--- a/webui/i18n/vi.json
+++ b/webui/i18n/vi.json
@@ -386,6 +386,11 @@
"OFox Billing Notice Without Script": "Mỗi clip được tạo đều bị OFox tính phí. Nhập hoặc tạo kịch bản video để xem số tác vụ ước tính.",
"Confirm OFox Charge": "Tôi hiểu rằng việc tạo bằng OFox sẽ tạo các tác vụ OFox có tính phí",
"Confirm OFox Charge Help": "Các clip OFox được gửi lần lượt và dừng khi đã đủ thời lượng lồng tiếng. OFox tính phí cho từng tác vụ tạo được gửi.",
- "Confirm OFox Charge Required": "Vui lòng xác nhận chi phí tạo OFox trước khi tạo video."
+ "Confirm OFox Charge Required": "Vui lòng xác nhận chi phí tạo OFox trước khi tạo video.",
+ "OFox Upstream Vendor": "Nhà cung cấp thượng nguồn OFox",
+ "OFox Upstream Vendor Help": "Nhà cung cấp thượng nguồn phục vụ việc tạo video OFox. BytePlus (quốc tế) là mặc định với chính sách nội dung nhất quán; Volcano Engine là nhà cung cấp Trung Quốc đại lục; Tự động để gateway OFox cân bằng tải giữa các nhà cung cấp.",
+ "OFox Vendor BytePlus": "BytePlus (quốc tế, mặc định)",
+ "OFox Vendor Volcengine": "Volcano Engine (Trung Quốc đại lục)",
+ "OFox Vendor Auto": "Tự động (gateway cân bằng tải)"
}
}
diff --git a/webui/i18n/zh.json b/webui/i18n/zh.json
index fa212ea7..ece6f46f 100644
--- a/webui/i18n/zh.json
+++ b/webui/i18n/zh.json
@@ -455,6 +455,11 @@
"OFox Billing Notice Without Script": "每段生成视频都会由 OFox 计费。填写或生成视频文案后可查看预计任务数量。",
"Confirm OFox Charge": "我已了解 OFox 视频生成会创建付费任务",
"Confirm OFox Charge Help": "OFox 素材按脚本片段逐段提交,凑够配音所需时长后立即停止。OFox 按实际提交的生成任务计费。",
- "Confirm OFox Charge Required": "请确认 OFox 生成费用后再生成视频。"
+ "Confirm OFox Charge Required": "请确认 OFox 生成费用后再生成视频。",
+ "OFox Upstream Vendor": "OFox 上游厂商",
+ "OFox Upstream Vendor Help": "OFox 视频生成使用的上游厂商。BytePlus(国际)为默认值,内容政策一致;火山引擎为大陆厂商;自动分发由 OFox 网关按权重在可用厂商间调度。",
+ "OFox Vendor BytePlus": "BytePlus(国际,默认)",
+ "OFox Vendor Volcengine": "火山引擎(中国大陆)",
+ "OFox Vendor Auto": "自动分发(网关调度)"
}
}