You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Generate a video (Hailuo-2.3 / 2.3-Fast)',
24
+
description: 'Generate a video (T2V: Hailuo-2.3 / 2.3-Fast / Hailuo-02 | I2V: I2V-01 / I2V-01-Director / I2V-01-live | S2V: S2V-01)',
25
+
apiDocs: '/docs/api-reference/video-generation',
25
26
usage: 'mmx video generate --prompt <text> [flags]',
26
27
options: [
27
-
{flag: '--model <model>',description: 'Model ID (default: MiniMax-Hailuo-2.3)'},
28
+
{flag: '--model <model>',description: 'Model ID (default: MiniMax-Hailuo-2.3). Auto-switched to Hailuo-02 with --last-frame, or S2V-01 with --subject-image.'},
{flag: '--first-frame <path-or-url>',description: 'First frame image (local path or URL). Auto base64-encoded for local files.'},
31
+
{flag: '--last-frame <path-or-url>',description: 'Last frame image (local path or URL). Enables SEF (start-end frame) interpolation mode with Hailuo-02 model. Requires --first-frame.'},
32
+
{flag: '--subject-image <path-or-url>',description: 'Subject reference image for character consistency (local path or URL). Switches to S2V-01 model.'},
30
33
{flag: '--callback-url <url>',description: 'Webhook URL for completion notification'},
31
34
{flag: '--download <path>',description: 'Save video to file on completion'},
32
35
{flag: '--no-wait',description: 'Return task ID immediately without waiting'},
@@ -38,6 +41,10 @@ export default defineCommand({
38
41
'mmx video generate --prompt "Ocean waves at sunset." --download sunset.mp4',
39
42
'mmx video generate --prompt "A robot painting." --async --quiet',
40
43
'mmx video generate --prompt "A robot painting." --no-wait --quiet',
44
+
'# SEF: first + last frame interpolation (uses Hailuo-02 model)',
45
+
'mmx video generate --prompt "Walk forward" --first-frame start.jpg --last-frame end.jpg',
46
+
'# Subject reference: character consistency (uses S2V-01 model)',
47
+
'mmx video generate --prompt "A detective walking" --subject-image character.jpg',
0 commit comments