Repository navigation
Conversation
Connect enhanced text from the regional prompt API to local H3 workflows. Honor polling limits and preserve the task ID when a query fails.
lstein
self-requested a review
November 30, 2026 02:15
renningg
force-pushed
the
feat/minimax-h3-context-ir
branch
from
December 2, 2026 03:21
88aba99 to
df11827
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add MiniMax H3 Context-IR (API) to the workflow editor. Give it a scene or shot list, a target duration and an aspect ratio. Its Value output carries the expanded text into the existing Prompt - MiniMax H3 encoder. It can also run on its own so you can review and edit the text before generating a video.
Related Issues / Discussions
The local H3 workflow can use this node independently of the hosted video generation feature in #10384. MiniMax documents prompt expansion for both regions. Global API · Mainland China API
QA Instructions
uv run --no-sync pytest tests/app/invocations/test_minimax_h3_context_ir.py. Coverage includes both regions, single submission, throttled or interrupted polling, cancellation and invalid results.895 backend tests passed, including 38 focused on Context-IR. Ruff, both generated API contract tests, 302 docs tests and the docs build also passed. The legacy frontend type check reports the same 43 TypeScript errors on this branch and its base.
Review
If the submission response is lost, the node directs the user to check MiniMax task history before rerunning. Polling honors
Retry-Afterand preserves the known task ID on errors. Canceling locally stops polling; an accepted provider task can still complete and incur a charge.Compatibility / Rollout
This adds a workflow node and regenerates the shared OpenAPI and TypeScript schemas. Existing graphs need no migration. Set
external_minimax_api_keyon the server to enable the node. The default region is global. For a mainland China key, setexternal_minimax_base_urltohttps://api.minimax.cnand restart Invoke.Checklist
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.