@remixmate/cli 0.9.9 → 0.9.10
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/dist/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remixmate/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.10",
|
|
4
4
|
"description": "AI media generation skills for Claude Code / Codex — 11 skills covering image, video, voice, digital human, web capture, script, template registry, rendering, Jianying export, and video deconstruction.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,7 +40,10 @@ def poll_vod_playback_url(
|
|
|
40
40
|
- 看到阿里云 OSS 直链时记为 fallback,继续等 CDN
|
|
41
41
|
- 超时仍未拿到 CDN 时退回到 OSS 原始地址
|
|
42
42
|
"""
|
|
43
|
-
api_base = os.environ.get(
|
|
43
|
+
api_base = os.environ.get(
|
|
44
|
+
"MM_API_BASE_URL",
|
|
45
|
+
os.environ.get("MM_BACKEND_API_URL", "https://api.remixmate.com/api"),
|
|
46
|
+
).rstrip("/")
|
|
44
47
|
url = f"{api_base}/file/get"
|
|
45
48
|
headers = {
|
|
46
49
|
"Content-Type": "application/json",
|
|
@@ -6,7 +6,9 @@ render_job_client.py — ab-api renderJob 接口 Python 客户端
|
|
|
6
6
|
gen_jianying_draft.py 使用。
|
|
7
7
|
|
|
8
8
|
认证方式: X-Priv-Token header(与其他 skill 脚本一致)
|
|
9
|
-
接口地址:
|
|
9
|
+
接口地址: 优先读 MM_API_BASE_URL(executor 显式转发、全链路标准名),
|
|
10
|
+
回退 MM_BACKEND_API_URL,再回退默认 https://api.remixmate.com/api。
|
|
11
|
+
两个变量语义相同,保留回退是为兼容只配了其中一个的部署环境。
|
|
10
12
|
"""
|
|
11
13
|
|
|
12
14
|
import json
|
|
@@ -17,7 +19,10 @@ import urllib.request
|
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
def _api_base() -> str:
|
|
20
|
-
return os.environ.get(
|
|
22
|
+
return os.environ.get(
|
|
23
|
+
"MM_API_BASE_URL",
|
|
24
|
+
os.environ.get("MM_BACKEND_API_URL", "https://api.remixmate.com/api"),
|
|
25
|
+
).rstrip("/")
|
|
21
26
|
|
|
22
27
|
|
|
23
28
|
def _make_headers(priv_token: str) -> dict:
|