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
{flag: '--width <px>',description: 'Custom width in pixels. Range [512, 2048], must be multiple of 8. Only effective for image-01 model. Overrides --aspect-ratio if set.',type: 'number'},
31
+
{flag: '--height <px>',description: 'Custom height in pixels. Range [512, 2048], must be multiple of 8. Only effective for image-01 model. Overrides --aspect-ratio if set.',type: 'number'},
32
+
{flag: '--prompt-optimizer',description: 'Automatically optimize the prompt before generation for better results.'},
33
+
{flag: '--aigc-watermark',description: 'Embed AI-generated content watermark in the output image.'},
34
+
{flag: '--subject-ref <params>',description: 'Subject reference for character consistency. Format: type=character,image=path-or-url'},
35
35
{flag: '--out-dir <dir>',description: 'Download images to directory'},
{flag: '--prompt <text>',description: 'Music style description (can be detailed — see examples)'},
19
-
{flag: '--lyrics <text>',description: 'Song lyrics with structure tags. Use "无歌词" for instrumental music. Cannot be used with --instrumental.'},
20
-
{flag: '--lyrics-file <path>',description: 'Read lyrics from file. Use "无歌词" for instrumental. (use - for stdin)'},
18
+
{flag: '--prompt <text>',description: 'Music style description (e.g. "cinematic orchestral, building tension"). Max 2000 chars when combined with structured flags.'},
19
+
{flag: '--lyrics <text>',description: 'Song lyrics with structure tags (newline separated). Supported: [Intro], [Verse], [Pre Chorus], [Chorus], [Interlude], [Bridge], [Outro], [Post Chorus], [Transition], [Break], [Hook], [Build Up], [Inst], [Solo]. ⚠️ Tags must be clean — no descriptions inside brackets (they will be sung). Max 3500 chars. Use "\u65e0\u6b4c\u8bcd" for instrumental workaround. Cannot be used with --instrumental.'},
20
+
{flag: '--lyrics-file <path>',description: 'Read lyrics from file(use - for stdin). Same tag rules as --lyrics.'},
21
21
{flag: '--vocals <text>',description: 'Vocal style, e.g. "warm male baritone", "bright female soprano", "duet with harmonies"'},
22
-
{flag: '--genre <text>',description: 'Music genre, e.g. folk, pop, jazz'},
22
+
{flag: '--genre <text>',description: 'Music genre, e.g. folk, pop, jazz, electronic'},
23
23
{flag: '--mood <text>',description: 'Mood or emotion, e.g. warm, melancholic, uplifting'},
24
-
{flag: '--instruments <text>',description: 'Instruments to feature, e.g. "acoustic guitar, piano"'},
24
+
{flag: '--instruments <text>',description: 'Instruments to feature, e.g. "acoustic guitar, piano, strings"'},
25
25
{flag: '--tempo <text>',description: 'Tempo description, e.g. fast, slow, moderate'},
26
26
{flag: '--bpm <number>',description: 'Exact tempo in beats per minute',type: 'number'},
27
27
{flag: '--key <text>',description: 'Musical key, e.g. C major, A minor, G sharp'},
28
28
{flag: '--avoid <text>',description: 'Elements to avoid in the generated music'},
29
29
{flag: '--use-case <text>',description: 'Use case context, e.g. "background music for video", "theme song"'},
30
30
{flag: '--structure <text>',description: 'Song structure, e.g. "verse-chorus-verse-bridge-chorus"'},
31
-
{flag: '--references <text>',description: 'Reference tracks or artists, e.g. "similar to Ed Sheeran, Taylor Swift"'},
31
+
{flag: '--references <text>',description: 'Reference tracks or artists, e.g. "similar to Ed Sheeran"'},
32
32
{flag: '--extra <text>',description: 'Additional fine-grained requirements not covered above'},
33
-
{flag: '--model <model>',description: 'Model to use: music-2.5 or music-2.5+ (recommended). music-2.5+ supports is_instrumental flag.'},
34
-
{flag: '--instrumental',description: 'Generate instrumental music (no vocals). music-2.5: lyrics workaround. music-2.5+: native is_instrumental flag.'},
35
-
{flag: '--lyrics-optimizer',description: 'Auto-generate lyrics from prompt. Only works when lyrics is empty. music-2.5 and music-2.5+ support.'},
36
-
{flag: '--output-format <fmt>',description: 'Return format: hex (default, saved to file) or url (24h expiry). When --stream, only hex.'},
37
-
{flag: '--aigc-watermark',description: 'Embed AI-generated content watermark in audio for content provenance'},
{flag: '--instrumental',description: 'Generate instrumental music (no vocals). music-2.5+: native is_instrumental flag. music-2.5: [intro][outro] lyrics workaround.'},
35
+
{flag: '--lyrics-optimizer',description: 'Auto-generate lyrics from prompt. Only works when lyrics is empty. Supports music-2.5 and music-2.5+.'},
36
+
{flag: '--output-format <fmt>',description: 'Return format: hex (default, saved to file) or url (24h expiry, download promptly). When --stream, only hex.'},
37
+
{flag: '--aigc-watermark',description: 'Embed AI-generated content watermark. Only effective when --stream is false.'},
38
38
{flag: '--format <fmt>',description: 'Audio format (default: mp3)'},
description: 'Generate a video (Hailuo-2.3 / 2.3-Fast / Hailuo-02 / S2V-01)',
25
25
usage: 'mmx video generate --prompt <text> [flags]',
26
26
options: [
27
-
{flag: '--model <model>',description: 'Model ID (default: MiniMax-Hailuo-2.3). Auto-switches to Hailuo-02 with --last-frame, S2V-01 with --subject-image.'},
27
+
{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: '--subject-image <path-or-url>',description: 'Subject reference image for character consistency (auto-switches to S2V-01 model)'},
29
+
{flag: '--first-frame <path-or-url>',description: 'First frame image (local path or URL). Auto base64-encoded for local files.'},
30
+
{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.'},
31
+
{flag: '--subject-image <path-or-url>',description: 'Subject reference image for character consistency (local path or URL). Switches to S2V-01 model.'},
32
32
{flag: '--callback-url <url>',description: 'Webhook URL for completion notification'},
33
33
{flag: '--download <path>',description: 'Save video to file on completion'},
34
-
{flag: '--no-wait',description: 'Return task ID immediately without waiting'},
34
+
{flag: '--no-wait',description: 'Return task ID immediately without waiting for completion'},
35
35
{flag: '--async',description: 'Return task ID immediately (agent/CI mode, same as --no-wait but explicit)'},
36
-
{flag: '--poll-interval <seconds>',description: 'Polling interval when waiting (default: 5)',type: 'number'},
36
+
{flag: '--poll-interval <seconds>',description: 'Polling interval when waiting for completion (default: 5)',type: 'number'},
37
37
],
38
38
examples: [
39
39
'mmx video generate --prompt "A man reads a book. Static shot."',
0 commit comments