@ohmygame/minimax 0.1.0 → 0.1.2
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 +2 -2
- package/README.md +32 -16
- package/locales/en.json +1 -1
- package/locales/zh-CN.json +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.ohmygame.ai/schema/plugin-2.json",
|
|
3
3
|
"id": "ohmygame/minimax",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"engines": {
|
|
6
|
-
"ohmygame-api": "^2.
|
|
6
|
+
"ohmygame-api": "^2.8.0"
|
|
7
7
|
},
|
|
8
8
|
"displayName": "%plugin.name%",
|
|
9
9
|
"description": "%plugin.description%",
|
package/README.md
CHANGED
|
@@ -4,20 +4,29 @@ Optional MiniMax H3 and H3 Max video provider for OhMyGame, with independent Chi
|
|
|
4
4
|
and Global API keys. Includes text-to-video, first/last frames and up to nine
|
|
5
5
|
reference images. The provider and plugin details use the MiniMax logo.
|
|
6
6
|
|
|
7
|
-
This is an optional beta plugin. It needs OhMyGame API 2.
|
|
8
|
-
|
|
7
|
+
This is an optional beta plugin. It needs OhMyGame API 2.8 with durable retry ownership
|
|
8
|
+
([app #848](https://github.com/WhiteTowerAI/ohmygame/pull/848)).
|
|
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.8. 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/)
|
|
@@ -37,11 +46,16 @@ activate migration or replace the built-in provider.
|
|
|
37
46
|
5. Stop a pending job. Local waiting should end promptly; inspect the original
|
|
38
47
|
job in MiniMax yourself. **Stop does not cancel the remote job or its charges.**
|
|
39
48
|
MiniMax's DELETE endpoint also deletes completed records, so this plugin does
|
|
40
|
-
not call it. Retry
|
|
41
|
-
|
|
42
|
-
6.
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
not call it. Retry checks the same task; it must not send a second create request.
|
|
50
|
+
停止仅结束本地等待,远端任务可能继续并计费;重试继续查询原任务,不重复创建。
|
|
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
|
|
@@ -59,8 +73,10 @@ unexpected host fails visibly instead of broadening access.
|
|
|
59
73
|
A lost create response or server error is treated as possibly accepted; retry
|
|
60
74
|
cannot submit another paid job. Check the vendor console before starting a new
|
|
61
75
|
one. A structured 4xx rejection allows a corrected retry. Repeated polling errors
|
|
62
|
-
end the attempt
|
|
63
|
-
|
|
76
|
+
end the local attempt and preserve its task for retry, as do local stop, timeout,
|
|
77
|
+
app shutdown and interrupted downloads. Retry queries the original task rather
|
|
78
|
+
than submitting a replacement. A definite terminal vendor error clears the task;
|
|
79
|
+
starting a new generation is a separate intentional action.
|
|
64
80
|
|
|
65
81
|
Sources checked 2026-11-14:
|
|
66
82
|
[create](https://platform.minimax.io/docs/api-reference/video-generation-v2-create),
|
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 密钥",
|