@ohmygame/minimax 0.1.0 → 0.1.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/.ohmygame-plugin/plugin.json +1 -1
- package/README.md +24 -10
- package/locales/en.json +1 -1
- package/locales/zh-CN.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,17 +7,26 @@ reference images. The provider and plugin details use the MiniMax logo.
|
|
|
7
7
|
This is an optional beta plugin. It needs OhMyGame API 2.7 with
|
|
8
8
|
reference-dependent video aspect ratios ([app #825](https://github.com/WhiteTowerAI/ohmygame/pull/825)).
|
|
9
9
|
Install it from the plugin catalog in a compatible app. It is not preinstalled.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
Apps with MiniMax migration support can move existing keys, switches, global and
|
|
11
|
+
project defaults, and saved canvas selections to this plugin. Migration requires
|
|
12
|
+
an enabled, authorized official npm release whose exact contents the app has
|
|
13
|
+
reviewed. An unpacked development folder is not a migration target. Installing or
|
|
14
|
+
updating the plugin alone does not activate migration; see the app's
|
|
15
|
+
[migration and cutover guide](https://github.com/WhiteTowerAI/ohmygame/blob/dev/docs/media-provider-plugins.md#minimax-committed-profile-cutover).
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
After migration commits, manage MiniMax credentials in this plugin. The app keeps
|
|
18
|
+
original keys and task history, hides the built-in connection, and does not
|
|
19
|
+
reactivate it if the plugin is disabled or removed. Old built-in jobs have no
|
|
20
|
+
recoverable vendor task ID: check their status in MiniMax before intentionally
|
|
21
|
+
starting a new generation. Plugin jobs retain the recovery behavior below.
|
|
22
|
+
|
|
23
|
+
支持迁移的应用会在确认官方 npm 包、启用状态和授权后,迁移密钥、开关、默认模型和
|
|
24
|
+
画布选择。迁移后在插件中管理密钥;停用或卸载插件不会恢复旧内置服务。原密钥及
|
|
25
|
+
任务记录保留,旧内置任务无法安全恢复,请先在 MiniMax 确认任务状态再决定是否重新生成。
|
|
17
26
|
|
|
18
27
|
## Local testing / 本地测试
|
|
19
28
|
|
|
20
|
-
1.
|
|
29
|
+
1. Use an app with OhMyGame API 2.7. In Plugins, install this `plugins/minimax`
|
|
21
30
|
folder, review its three network hosts, then enable it for every project.
|
|
22
31
|
在配套应用分支中,打开插件页,安装本目录并启用;检查图标和中英文说明。
|
|
23
32
|
2. Set either **China API key** from [platform.minimax.cn](https://platform.minimax.cn/)
|
|
@@ -39,9 +48,14 @@ activate migration or replace the built-in provider.
|
|
|
39
48
|
MiniMax's DELETE endpoint also deletes completed records, so this plugin does
|
|
40
49
|
not call it. Retry after a deliberate stop is a new generation.
|
|
41
50
|
停止仅结束本地等待,远端任务可能继续并计费;停止后重试会创建新任务。
|
|
42
|
-
6.
|
|
43
|
-
|
|
44
|
-
|
|
51
|
+
6. For migration testing, use an isolated profile and the official npm version
|
|
52
|
+
reviewed by the app. Restart after enabling it for every project. Check both
|
|
53
|
+
regions' choices, defaults and saved boards; original keys and historical
|
|
54
|
+
task inputs must remain on disk. After migration, disable the plugin: its
|
|
55
|
+
models disappear and the old built-in provider stays retired. A profile
|
|
56
|
+
whose migration is deferred keeps its existing built-in connection.
|
|
57
|
+
使用独立测试目录及应用已校验的官方 npm 版本验证迁移;确认密钥、开关、默认选择
|
|
58
|
+
和历史任务保留。迁移后禁用插件不能回退到旧服务;尚未迁移的账户保持原行为。
|
|
45
59
|
|
|
46
60
|
Automated tests use the actual sandbox adapter, host permission/network boundary,
|
|
47
61
|
regional secret lookup and durable journals with mocked HTTP. They cover request
|
package/locales/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"plugin.name": "MiniMax Video",
|
|
3
3
|
"plugin.description": "Make videos with MiniMax H3 and H3 Max using your own API key.",
|
|
4
|
-
"plugin.longDescription": "Adds separate China and Global video providers. Supports text, first/last frames and up to nine reference images. Stop ends local waiting; the remote task may continue and incur charges.
|
|
4
|
+
"plugin.longDescription": "Adds separate China and Global video providers. Supports text, first/last frames and up to nine reference images. Stop ends local waiting; the remote task may continue and incur charges. Compatible app versions can move existing MiniMax settings into this plugin.",
|
|
5
5
|
"provider.cn": "MiniMax China (plugin)",
|
|
6
6
|
"provider.global": "MiniMax Global (plugin)",
|
|
7
7
|
"config.cn.title": "China API key",
|
package/locales/zh-CN.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"plugin.name": "MiniMax 视频",
|
|
3
3
|
"plugin.description": "使用自己的 API 密钥,通过 MiniMax H3 和 H3 Max 生成视频。",
|
|
4
|
-
"plugin.longDescription": "
|
|
4
|
+
"plugin.longDescription": "提供独立的中国区和国际区视频服务,支持文字、首尾帧和最多九张参考图。停止只结束本地等待,远端任务可能继续运行并计费。支持迁移的应用版本可将原有 MiniMax 设置迁入本插件。",
|
|
5
5
|
"provider.cn": "MiniMax 中国区(插件)",
|
|
6
6
|
"provider.global": "MiniMax 国际区(插件)",
|
|
7
7
|
"config.cn.title": "中国区 API 密钥",
|