@sogni-ai/sogni-creative-agent-skill 3.37.0 → 3.38.0

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.
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
3
3
  description: "Generate and edit images, upscale images, create video and music, animate image folders into seamless reels, and manage reusable personas with Sogni AI. Use when a Hermes user asks to draw, render, upscale, edit or restyle an image, animate an image, make a video, create music or lyrics, build a media workflow, apply a saved identity, or refine an earlier Sogni result."
4
4
  license: MIT
5
5
  metadata:
6
- version: "3.37.0"
6
+ version: "3.38.0"
7
7
  author: Sogni AI
8
8
  hermes:
9
9
  category: creative
@@ -76,6 +76,7 @@ sogni-agent-hermes --video -o ./video.mp4 "a paper dragon takes flight"
76
76
  sogni-agent-hermes --video --ref ./start.png -o ./animated.mp4 "slow camera push-in"
77
77
  sogni-agent-hermes --video --ref ./first.png --ref-end ./last.png -o ./transition.mp4 "smooth transformation"
78
78
  sogni-agent-hermes --video -m wan3 --target-resolution 1080 --duration 8 -o ./wan3.mp4 'a presenter says "Welcome" in a detailed studio'
79
+ sogni-agent-hermes --video -m wan3-enhanced --target-resolution 1080 --duration 8 --wan3-ratio 16:9 -o ./wan3-enhanced.mp4 'a presenter says "Welcome" in a detailed studio'
79
80
 
80
81
  # Generate music
81
82
  sogni-agent-hermes --music -o ./soundtrack.mp3 "30-second ambient synth theme"
@@ -177,6 +177,7 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
177
177
  | `happyhorse-1.1-i2v` | Variable | HappyHorse 1.1 image-to-video from one first-frame image (`--ref`) |
178
178
  | `happyhorse-1.1-r2v` | Variable | HappyHorse 1.1 reference-to-video from 1-9 reference images (`-c`/`--context`) |
179
179
  | `wan3` / `wan3.0-video` | Variable | Alibaba Wan 3 unified text/frame/reference/audio/video generation, 2-30s, native audio, 480P/720P/1080P |
180
+ | `wan3-enhanced` / `wan3.0-spicy-video` | Variable | MuleRouter `w3.0-video`: Wan 3.0 Enhanced text/frame/reference/audio/video generation, fixed or smart 2-30s, native audio, 480P/720P/1080P |
180
181
  | `minimax-h3` / `minimax-h3-t2v` | Standard | MiniMax H3 text-to-video at 24 fps with native stereo audio |
181
182
  | `minimax-h3-i2v` | Standard | MiniMax H3 first-frame image-to-video with native stereo audio |
182
183
  | `minimax-h3-flf2v` | Standard | MiniMax H3 first-frame → last-frame video; pass both `--ref` and `--ref-end` |
@@ -393,6 +394,31 @@ Prompt in plain natural language. Name references exactly as `Image 1`,
393
394
  the words and identify the speaker; keep the visual action and camera direction
394
395
  observable and concise.
395
396
 
397
+ ## Wan 3.0 Enhanced
398
+
399
+ `wan3-enhanced`, `wan3.0-enhanced`, `wan3-spicy`, and `wan3.0-spicy` resolve to
400
+ the Sogni model `wan3.0-spicy-video`; MuleRouter's provider ID is
401
+ `w3.0-video`. Public surfaces call it **Wan 3.0 Enhanced**. It renders fixed or
402
+ smart 2–30 second clips at 30 fps with native audio and 480P, 720P, or 1080P
403
+ output. Supported ratios are `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, and
404
+ `3:4`.
405
+
406
+ - Use t2v for prompt-only video, i2v for first/optional last frame, r2v for
407
+ loose media references, and a2v/ia2v when audio drives the result.
408
+ - Use either first/last-frame anchors or loose references; the modes cannot be
409
+ combined. Loose-reference limits are 10 images, 5 videos, and 5 audio clips;
410
+ every input must be supplied through the context image/media workflow because
411
+ a prompt name alone cannot preserve identity.
412
+ - Smart duration (`--smart-duration`) and provider prompt expansion are
413
+ supported. There is no document/web context, watermark control, negative
414
+ prompt, sampling override, source-video edit, or extend mode. Seeds are
415
+ integers from `0` through `2147483647`; omit the seed for a random result.
416
+ - Standard artist PAYG rates are $0.0845/s at 480P, $0.169/s at 720P, and
417
+ $0.338/s at 1080P (as of 2026-08). Existing paid subscribers receive a
418
+ one-time model credit of $10 on Unlimited or $20 on Unlimited Pro through
419
+ September 1, 2026 00:00 UTC (August 31 at 5:00 PM PT). That credit is not
420
+ subscription coverage; once used or expired, normal PAYG applies.
421
+
396
422
  ## MiniMax H3 models
397
423
 
398
424
  MiniMax H3 is a Sogni-hosted video family with **twelve current modes**: four
@@ -693,6 +719,7 @@ model recommendations.
693
719
  | HappyHorse image-to-video from one first frame | `happyhorse-1.1-i2v` |
694
720
  | HappyHorse reference-to-video from up to 9 images | `happyhorse-1.1-r2v` |
695
721
  | Wan 3 unified text/frame/reference/audio/video generation | `wan3` / `wan3.0-video` |
722
+ | Wan 3.0 Enhanced text/frame/reference/audio/video generation | `wan3-enhanced` / `wan3.0-spicy-video` |
696
723
  | MiniMax H3 text-to-video with native stereo audio | `minimax-h3` (or `minimax-h3-t2v`) |
697
724
  | MiniMax H3 image-to-video from one first frame | `minimax-h3-i2v` with `--ref` |
698
725
  | MiniMax H3 first frame → last frame transition | `minimax-h3-flf2v` with `--ref A --ref-end B` |
@@ -711,6 +738,7 @@ model recommendations.
711
738
 
712
739
  - **WAN 2.2 models** use dimensions divisible by 16, min 480 px, max 1536 px.
713
740
  - **Wan 3** uses fixed 30 fps, fixed or smart 2–30 s output, and 480P/720P/1080P buckets with `adaptive`, `16:9`, `4:3`, `1:1`, `3:4`, and `9:16`; see [Alibaba Wan 3](#alibaba-wan-3).
741
+ - **Wan 3.0 Enhanced** uses fixed 30 fps, fixed or smart 2–30 s output, 480P/720P/1080P buckets, and `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, or `3:4`; see [Wan 3.0 Enhanced](#wan-30-enhanced).
714
742
  - **MiniMax H3 Standard, Balanced, and Turbo** use dimensions divisible by 32, fixed 24 fps, 124–362 frames on the `124 + n×17` grid (5.17–15.08 s), and no more than 1,032,192 pixels. Standard, Balanced, and FL2VA Turbo default to 1344×768; Ref2VA Turbo defaults to 960×544. Standard uses 20 steps, Balanced uses fixed 8-step Euler/simple PDD sampling, and Turbo uses 4 steps. Standard and Balanced accept no sampler override. FL2VA H3 Turbo defaults to `er_sde` on Socket and accepts `euler`, `er_sde`, or `sa_solver`; Ref2VA Turbo uses Euler/simple only. The CLI omits the sampler unless `--sampler` is passed. Guidance 1 and native stereo audio apply to all, with no negative-prompt input. FL2VA/Balanced/Turbo and image-only R2V require 32 GB-class workers; video-conditioned R2V requires above 40 GB. See [MiniMax H3 models](#minimax-h3-models).
715
743
  - **LTX family** (`ltx2-*`, `ltx23-*`, `ltx25-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
716
744
  - **Seedance** runs at fixed 24 fps. The 2.0 family (`seedance2`, `seedance2-mini`, `seedance2-fast`) supports 4–15 s durations; full `seedance2` supports native 4K via `--target-resolution 2160` while `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. `seedance2-5` renders 4–30 s single clips (97–721 frames) but caps at 480p/720p (max dimension 1280) — it cannot render 1080p or 4K. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.37.0",
3
+ "version": "3.38.0",
4
4
  "description": "Sogni Creative Agent: image, video, and music generation via Sogni AI's decentralized GPU network. Supports personas, persistent memories, style transfer, and multi-step creative workflows.",
5
5
  "author": {
6
6
  "name": "Sogni AI",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.37.0",
3
+ "version": "3.38.0",
4
4
  "description": "Create images, generative video, music, and polished image-folder loops with Sogni AI.",
5
5
  "author": {
6
6
  "name": "Sogni AI",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [3.38.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.37.0...v3.38.0) (2026-08-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** consume released Wan 3 client stack ([d807c85](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/d807c85494ccd8f4bc1356ac07b089466de900ec))
7
+ * **release:** restore published 3.37 baseline ([a25d76d](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/a25d76ded2d4e111d7a7ead3c1d7d573b5ee7550))
8
+ * **video:** align enhanced Wan3 CLI ([f3bec1f](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/f3bec1f9955a414782aff3f993ce6841e2809fad))
9
+
10
+
11
+ ### Features
12
+
13
+ * **video:** add Wan 3 Enhanced CLI ([477c116](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/477c11668c2ad2881f9578635a5e07b2ae6ce783))
14
+
1
15
  # [3.37.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.36.0...v3.37.0) (2026-08-27)
2
16
 
3
17
  ### Bug Fixes
package/README.md CHANGED
@@ -450,6 +450,12 @@ sogni-agent --video -m wan3 --smart-duration --wan3-ratio 9:16 --no-expand-promp
450
450
  --reference-file-url https://cdn.example.com/brief.pdf \
451
451
  "Use the supplied brief exactly"
452
452
 
453
+ # Wan 3.0 Enhanced through MuleRouter (smart/fixed 2-30s, 30fps, native audio)
454
+ sogni-agent --video -m wan3-enhanced --target-resolution 1080 --duration 8 \
455
+ --wan3-ratio 16:9 'A presenter says "Welcome." in a detailed studio'
456
+ sogni-agent --video -m wan3-enhanced --workflow i2v --ref first.png --ref-end last.png \
457
+ -c wardrobe.png "Keep the endpoint frames and use Image 1 for wardrobe detail"
458
+
453
459
  # MiniMax H3 Standard, 8-step Balanced, and 4-step Turbo video (native 32 kHz stereo audio)
454
460
  sogni-agent --video -m minimax-h3 --duration 10 "<three-field H3 prompt>"
455
461
  sogni-agent --video -m minimax-h3-i2v --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
@@ -578,7 +584,7 @@ Run `sogni-agent --help` for the full CLI. Below are the options and tables most
578
584
  | `--target-resolution <px>` | Target the short side, preserving aspect ratio |
579
585
  | `--workflow <type>` | Force `t2v`, `i2v`, `r2v`, `s2v`, `ia2v`, `a2v`, `v2v`, or animate workflows |
580
586
  | `--wan3-ratio`, `--smart-duration`, `--reference-file-url`, `--reference-link-url`, `--watermark` | Wan 3 adaptive/fixed ratio, smart timing, document/web context, and watermark controls |
581
- | `--expand-prompt`, `--no-expand-prompt` | Enable Alibaba prompt expansion for direct Wan 3 video, or preserve the exact submitted prompt |
587
+ | `--expand-prompt`, `--no-expand-prompt` | Enable provider prompt expansion for direct Wan 3 video, or preserve the exact submitted prompt |
582
588
  | `--generate-audio`, `--no-generate-audio` | Keep/strip MiniMax H3's track, enable/disable Wan 3 native audio, or control generated-keyframe workflows |
583
589
  | `--sampler <name>` | Image/music sampler; FL2VA H3 Turbo accepts `euler`, `er_sde`, or `sa_solver` and defaults to `er_sde` on Socket. Ref2VA Turbo accepts Euler only. The CLI omits this field unless explicitly set. |
584
590
  | `--api-chat` | Use `/v1/chat/completions` with Sogni creative-agent tools |
@@ -663,6 +669,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
663
669
  | Seedance video-to-video without ControlNet | `seedance2-v2v` |
664
670
  | Seedance 2.5 single clip up to 30s (480p/720p only) | `seedance2-5` (`seedance2-5-ia2v` / `seedance2-5-v2v` for image+audio and v2v/editing) |
665
671
  | Wan 3 unified text, frame, reference, audio, or video generation | `wan3` / `wan3.0-video` |
672
+ | Wan 3.0 Enhanced text, frame, reference, audio, or video generation | `wan3-enhanced` / `wan3.0-spicy-video` |
666
673
  | Face lip-sync with uploaded audio | `wan_v2.2-14b-fp8_s2v_lightx2v` |
667
674
 
668
675
  `gpt-image-2` supports flexible OpenAI image sizes up to 3840 px on either edge, max 3:1 aspect ratio, and total pixels from 655,360 to 8,294,400; the API snaps dimensions to valid multiples of 16. For image editing with `gpt-image-2`, you can pass up to 16 context images. For likeness-preserving edits of a referenced person or character, agents default to Krea 2 Identity Edit (`krea2_identity_edit_v1_2`) unless you explicitly choose another model. It and Dark Beast Krea 2 Identity Edit (`dark_beast_krea2_identity_edit_v1_2`) use `-c/--context`, accept 1-2 references at 512-2048 px, and leave execution defaults to the current model tier.
@@ -683,6 +690,7 @@ sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video s
683
690
 
684
691
  - **WAN 2.2 models** use dimensions divisible by 16, min 480 px, max 1536 px.
685
692
  - **Wan 3** (`wan3.0-video`) is a Premium Spark Alibaba model with fixed 30 fps, fixed or smart 2–30 s output, native audio, 480P/720P/1080P tiers, and `adaptive`, `16:9`, `4:3`, `1:1`, `3:4`, or `9:16` output. It accepts one first frame plus an optional last frame, or loose references up to 10 images, 5 videos, and 5 audio clips. It can also use one public document (PDF/Office/text/Markdown/Keynote/Pages/Numbers, up to 100 MB; PDF/DOCX/DOC/PPTX/PPT/Keynote/Pages up to 50 pages) or one public webpage; file and link context are mutually exclusive and cannot be combined with first/last anchors. Each video/audio reference is 1–15 s and each modality's clips total at most 15 s. Video references condition a new generation; Alibaba exposes no edit/extend task mode or task-type field, so use a dedicated video-to-video model when source-preserving editing is required. Provider prompt expansion defaults on; `--no-expand-prompt` preserves the exact prompt. Watermark defaults off. Send no negative prompt, steps, guidance, sampler, scheduler, ControlNet, or mask. Sogni retail rates before subscription discounts are $0.065/$0.13/$0.26 per output second at 480p/720p/1080p (as of 2026-08).
693
+ - **Wan 3.0 Enhanced** (`wan3.0-spicy-video`; MuleRouter provider ID `w3.0-video`; aliases `wan3-enhanced`, `wan3-spicy`) runs at fixed 30 fps with fixed or smart 2–30 s output, native audio, prompt expansion, 480P/720P/1080P, and `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, or `3:4`. It accepts either first/last-frame anchors or up to 10 image, 5 video, and 5 audio loose references; the two modes cannot be mixed. It has no document/web context, watermark, negative prompt, source-video edit, or extend mode. Standard PAYG is $0.0845/$0.169/$0.338 per output second at 480P/720P/1080P (as of 2026-08). Existing paid subscribers receive a one-time $10 Unlimited / $20 Unlimited Pro model credit through September 1, 2026 00:00 UTC (August 31 at 5:00 PM PT); this is a launch credit, not subscription coverage.
686
694
  - **MiniMax H3 Standard, Balanced, and Turbo** use a 32 px grid, fixed 24 fps, native 32 kHz stereo audio, 124–362 frames (`124 + n×17`, i.e. 5.17–15.08 s), and a 1,032,192-pixel render cap. Standard, Balanced, and FL2VA Turbo normally default to 1344×768 or 768×1344; Ref2VA Turbo defaults to 960×544 but supports other valid shapes. `--duration` snaps to the frame grid, so H3 delivers the nearest grid point rather than the exact requested seconds. Standard uses 20 steps, Balanced uses fixed 8-step Euler/simple PDD sampling, and Turbo uses 4 steps. Standard and Balanced accept no sampler override. FL2VA H3 Turbo defaults to `er_sde` on Socket, and the CLI omits the sampler unless `--sampler` is passed; FL2VA A/B tests may select `euler`, `er_sde`, or `sa_solver`. Ref2VA Turbo follows its exact upstream Euler/simple recipe and accepts only `--sampler euler`. Guidance 1 is fixed and there is no negative-prompt input. Standard, Balanced, and Turbo t2v/i2v/flf2v prompts use the exact ordered three fields; all Ref2VA tiers use exactly `subject_definitions`, `summary`, `retention_analysis`, `detailed_description`, `overall_soundscape`, and `non_diegetic_music`. Every Ref2VA tier accepts up to 9 images, 3 videos, and 3 audios, capped at 12 files; at least one visual reference is required, audio-only input is invalid, and r2v is never inferred. `--no-generate-audio` strips the jointly generated track from the result. This is the 768p-class open-weights release, not MiniMax's hosted 2K stage. FL2VA/Balanced/Turbo and image-only R2V require 32 GB-class workers; video-conditioned R2V requires above 40 GB. See `references/video-prompting.md` § MiniMax H3 Prompting for the exact contracts.
687
695
  - **LTX family** (`ltx2-*`, `ltx23-*`, `ltx25-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
688
696
  - **Seedance** runs at fixed 24 fps. The 2.0 family (`seedance2`, `seedance2-mini`, `seedance2-fast`) supports 4–15 s durations; full `seedance2` supports native 4K via `--target-resolution 2160` while `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. `seedance2-5` renders 4–30 s single clips but caps at 480p/720p (no 1080p or 4K). Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
@@ -878,7 +886,7 @@ Plan pricing, included features and models, usage allowances, fair-use controls,
878
886
  ### What the subscription covers
879
887
 
880
888
  - **Covered:** Sogni-hosted models on the Supernet — image, video, and music generation, including worker-hosted premium models. Covered renders bill to the subscription and do not spend Spark or SOGNI.
881
- - **Not covered (Premium Spark only):** external-vendor models — **GPT Image 2** (`gpt-image-2`), **Seedance 2.0 / Seedance 2.0 Mini / Seedance 2.0 Fast / Seedance 2.5** (`seedance-2-0`, `seedance-2-0-mini`, `seedance-2-0-fast`, `seedance-2-5`), **HappyHorse 1.1** (`happyhorse-1.1-t2v`, `happyhorse-1.1-i2v`, `happyhorse-1.1-r2v`), and **Wan 3** (`wan3.0-video`). These always require Premium Spark eligibility even with an active subscription; they never bill to the subscription and never fall back to SOGNI.
889
+ - **Not subscription-covered:** external-vendor models — **GPT Image 2** (`gpt-image-2`), **Seedance 2.0 / Seedance 2.0 Mini / Seedance 2.0 Fast / Seedance 2.5** (`seedance-2-0`, `seedance-2-0-mini`, `seedance-2-0-fast`, `seedance-2-5`), **HappyHorse 1.1** (`happyhorse-1.1-t2v`, `happyhorse-1.1-i2v`, `happyhorse-1.1-r2v`), **Wan 3** (`wan3.0-video`), and **Wan 3.0 Enhanced** (`wan3.0-spicy-video`). They never fall back to SOGNI. Wan 3.0 Enhanced may use its separate launch-credit ledger before PAYG; that credit does not make the model subscription-covered.
882
890
  - **Token choice stays yours:** selecting SOGNI (`--token-type sogni`) opts a job out of subscription coverage and spends SOGNI instead. Coverage applies when the active token is Spark.
883
891
 
884
892
  By default the CLI sends no `billingMode`/coverage hint; the server decides coverage from the account's verified entitlement and the resolved model, and a subscription claim is never honored without a server-verified entitlement. `--billing-mode` makes the choice explicit when you need it: `subscription` requires Unlimited coverage (the job fails instead of spending tokens), `tokens` opts out of coverage and bills Spark/SOGNI, and `auto` states the default server behavior explicitly.
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sogni-creative-agent-skill
3
3
  description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports promptless RTX VSR image upscaling through 16K, one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, MiniMax H3/H3 Balanced/H3 Turbo/Seedance/HappyHorse/LTX/WAN video, music/lyrics, hosted chat, durable workflows, replay records, and multi-step creative workflows. Ask the agent to \"draw\", \"generate\", \"create an image\", \"upscale an image\", \"make a video/animate\", \"turn this image folder into a loop\", \"make music\", \"apply a style\", or \"generate me as a superhero\"."
4
4
  metadata:
5
- version: "3.37.0"
5
+ version: "3.38.0"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -226,6 +226,12 @@ sogni-agent --video -m wan3 --workflow ia2v --ref presenter.png --ref-audio dial
226
226
  sogni-agent --video -m wan3 --workflow r2v --ref-video motion.mp4 "Use Video 1 as loose motion and pacing guidance for a new rainy-night scene"
227
227
  sogni-agent --video -m wan3 --smart-duration --wan3-ratio 9:16 --no-expand-prompt --reference-file-url https://cdn.example.com/brief.pdf "Use the supplied brief exactly"
228
228
 
229
+ # Wan 3.0 Enhanced through MuleRouter: fixed/smart 2-30s, 30fps, native audio,
230
+ # 480P/720P/1080P, adaptive/fixed ratios, and either frame anchors or loose refs.
231
+ sogni-agent --video -m wan3-enhanced --target-resolution 1080 --smart-duration --wan3-ratio adaptive 'A presenter says "Welcome." in a detailed studio'
232
+ sogni-agent --video -m wan3-enhanced --workflow i2v --ref first.png --ref-end last.png "Keep the supplied endpoints"
233
+ sogni-agent --video -m wan3-enhanced --workflow r2v -c wardrobe.png --ref-video motion.mp4 "Image 1 controls wardrobe; Video 1 controls motion"
234
+
229
235
  # Balances / last render / inbound media / health (no prompt required)
230
236
  sogni-agent --json --balance
231
237
  sogni-agent --last --json
@@ -356,13 +362,13 @@ When the requested image is meant to **repeat edge to edge without visible joins
356
362
 
357
363
  ### Model selection
358
364
 
359
- Prefer `-Q` presets and automatic workflow routing. When a specific model is needed (GPT Image 2 text rendering, Seedance / HappyHorse / Wan 3 / MiniMax H3 native audio and dialogue, WAN 2.2 lip-sync, LTX dialogue), **read [`references/models.md`](./references/models.md)** for the catalog, recommended selectors, and sizing/divisibility rules.
365
+ Prefer `-Q` presets and automatic workflow routing. When a specific model is needed (GPT Image 2 text rendering, Seedance / HappyHorse / Wan 3 / Wan 3.0 Enhanced / MiniMax H3 native audio and dialogue, WAN 2.2 lip-sync, LTX dialogue), **read [`references/models.md`](./references/models.md)** for the catalog, recommended selectors, and sizing/divisibility rules.
360
366
 
361
367
  `ltx23-eros` is an explicit-only uncensored LTX-2.3 image-to-video selector. Never choose it merely because a prompt appears sexual or another model rejects a request. Use it only when the user explicitly asks for 10Eros/the uncensored model and explicitly permits disabling the content filter. It requires an input image, `--no-filter`, and a 30GB+ worker; the CLI pins its required 9 steps, guidance 1, `euler_ancestral` sampler, and `manual_sigmas` scheduler.
362
368
 
363
369
  ### Insufficient funds
364
370
 
365
- Use `--token-type auto` to retry native Sogni models with SOGNI tokens when SPARK is insufficient. Vendor models (Seedance, HappyHorse, Wan 3, GPT Image 2) require Premium Spark eligibility and never fall back to SOGNI. When you see **"Debit Error: Insufficient funds"** even with auto-fallback, reply exactly:
371
+ Use `--token-type auto` to retry native Sogni models with SOGNI tokens when SPARK is insufficient. Vendor models (Seedance, HappyHorse, Wan 3, Wan 3.0 Enhanced, GPT Image 2) never fall back to SOGNI. Wan 3.0 Enhanced may consume a server-side launch credit before PAYG; the CLI deliberately lets the server evaluate that ledger. When you see **"Debit Error: Insufficient funds"** even with auto-fallback, reply exactly:
366
372
 
367
373
  "Insufficient funds. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs"
368
374
 
@@ -370,7 +376,7 @@ Do not collect payment details, quote a custom price, or simulate a purchase in
370
376
 
371
377
  ### Sogni Unlimited Subscription & Billing Errors
372
378
 
373
- On a **Sogni Unlimited** subscription, Sogni-hosted (Supernet) image, video, and music generation is covered by the plan under a fair-use policy instead of spending Spark or SOGNI. Current plans: Unlimited ($20/mo, $199/yr) and Unlimited Pro ($50/mo, $498/yr), with a one-per-account 3-day free trial. Plan pricing, included features and models, usage allowances, fair-use controls, and other limits are subject to change at Sogni AI's discretion, subject to applicable law; retrieve the current catalog before quoting them as current. External-vendor models — **GPT Image 2**, **Seedance 2.0 / Mini / Fast / 2.5**, **HappyHorse 1.1**, and **Wan 3** — are never covered and always require Premium Spark, even on an active subscription. Selecting SOGNI opts a job out of coverage. The server decides coverage from the verified entitlement and resolved model; never tell the user a vendor model is "free on Unlimited."
379
+ On a **Sogni Unlimited** subscription, Sogni-hosted (Supernet) image, video, and music generation is covered by the plan under a fair-use policy instead of spending Spark or SOGNI. Current plans: Unlimited ($20/mo, $199/yr) and Unlimited Pro ($50/mo, $498/yr), with a one-per-account 3-day free trial. Plan pricing, included features and models, usage allowances, fair-use controls, and other limits are subject to change at Sogni AI's discretion, subject to applicable law; retrieve the current catalog before quoting them as current. External-vendor models — **GPT Image 2**, **Seedance 2.0 / Mini / Fast / 2.5**, **HappyHorse 1.1**, **Wan 3**, and **Wan 3.0 Enhanced** — are not subscription-covered and never fall back to SOGNI. Existing paid subscribers may have a separate one-time Wan 3.0 Enhanced launch credit ($10 Unlimited / $20 Unlimited Pro) through September 1, 2026 00:00 UTC (August 31 at 5:00 PM PT); after the credit or cutoff, standard PAYG applies. Selecting SOGNI opts a job out of coverage. The server decides coverage and launch-credit use; never describe the launch credit as Unlimited model coverage.
374
380
 
375
381
  **Do not infer a Spark charge from `tokenType: "spark"`.** `tokenType` is the quote/accounting denomination and may remain `spark` on a covered Unlimited job. Billing is decided separately by the server's `paymentModel`: `subscription` means the artist Spark/SOGNI debit was skipped; `paid_spark`, `free_spark`, or `sogni` means token billing. If a result does not expose `paymentModel`, treat the payment source as unknown rather than warning that Spark was spent. Check the structured subscription state or transaction history when available. A successful request made with `--billing-mode subscription` is covered: if the server cannot use Unlimited, it rejects the request with `4078` or `4080` instead of silently falling back to Spark.
376
382
 
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.3",
3
3
  "name": "sogni-creative-agent",
4
4
  "display_name": "Sogni Creative Agent",
5
- "version": "3.37.0",
5
+ "version": "3.38.0",
6
6
  "description": "Generate images, video, and music on Sogni AI's decentralized GPU network — with personas, memories, and safe video editing tools.",
7
7
  "author": { "name": "Sogni AI", "url": "https://sogni.ai" },
8
8
  "homepage": "https://sogni.ai",
@@ -2,7 +2,7 @@
2
2
  "id": "sogni-creative-agent-skill",
3
3
  "name": "Sogni Creative Agent Skill — Image, Video & Music Generation",
4
4
  "description": "Agent skill and CLI for Sogni AI image, video, and music generation.",
5
- "version": "3.37.0",
5
+ "version": "3.38.0",
6
6
  "skills": [
7
7
  "."
8
8
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sogni-ai/sogni-creative-agent-skill",
3
- "version": "3.37.0",
3
+ "version": "3.38.0",
4
4
  "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
5
5
  "type": "module",
6
6
  "main": "sogni-agent.mjs",
@@ -95,13 +95,13 @@
95
95
  "sogni-agent.mjs"
96
96
  ],
97
97
  "dependencies": {
98
- "@sogni-ai/sogni-intelligence-client": "3.25.1",
98
+ "@sogni-ai/sogni-intelligence-client": "3.26.0",
99
99
  "execa": "^9.6.1",
100
100
  "json5": "^2.2.3",
101
101
  "sharp": "0.35.4"
102
102
  },
103
103
  "overrides": {
104
- "@sogni-ai/sogni-client": "5.22.0"
104
+ "@sogni-ai/sogni-client": "5.25.0"
105
105
  },
106
106
  "openclaw": {
107
107
  "extensions": [
@@ -31,6 +31,7 @@ Do not run the default `npx setup-sogni-agent-skill` from an installed plugin un
31
31
  - Animate two images (first frame → last frame): `sogni-agent --video --ref <first> --ref-end <last> "smooth morph into the final frame"` (defaults to `ltx25-22b-int8_i2v_distilled` and the standard FLF template; no transition LoRA is attached)
32
32
  - MiniMax H3 reference-to-video: `sogni-agent --video -m minimax-h3-r2v --ref <identity> -c <wardrobe> --ref-video <motion> --ref-audio <voice> "<Picture 1> controls identity; <Picture 2> controls wardrobe; <Video 1> controls motion; <Audio 1> controls voice."`
33
33
  - Alibaba Wan 3 unified video: `sogni-agent --video -m wan3 --target-resolution 1080 --duration 8 "a presenter says 'Welcome' in a detailed studio"`
34
+ - Wan 3.0 Enhanced through MuleRouter: `sogni-agent --video -m wan3-enhanced --target-resolution 1080 --smart-duration --wan3-ratio adaptive "a presenter says 'Welcome' in a detailed studio"`
34
35
  - One-click image-folder loop: `/sogni-creative-agent:loop-maker ./images`
35
36
  - One-click image-folder loop in Codex: `$sogni-creative-agent:loop-maker ./images`
36
37
  - Music: `sogni-agent --music "ambient drone, 30 seconds"`
@@ -177,6 +177,7 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
177
177
  | `happyhorse-1.1-i2v` | Variable | HappyHorse 1.1 image-to-video from one first-frame image (`--ref`) |
178
178
  | `happyhorse-1.1-r2v` | Variable | HappyHorse 1.1 reference-to-video from 1-9 reference images (`-c`/`--context`) |
179
179
  | `wan3` / `wan3.0-video` | Variable | Alibaba Wan 3 unified text/frame/reference/audio/video generation, 2-30s, native audio, 480P/720P/1080P |
180
+ | `wan3-enhanced` / `wan3.0-spicy-video` | Variable | MuleRouter `w3.0-video`: Wan 3.0 Enhanced text/frame/reference/audio/video generation, fixed or smart 2-30s, native audio, 480P/720P/1080P |
180
181
  | `minimax-h3` / `minimax-h3-t2v` | Standard | MiniMax H3 text-to-video at 24 fps with native stereo audio |
181
182
  | `minimax-h3-i2v` | Standard | MiniMax H3 first-frame image-to-video with native stereo audio |
182
183
  | `minimax-h3-flf2v` | Standard | MiniMax H3 first-frame → last-frame video; pass both `--ref` and `--ref-end` |
@@ -393,6 +394,31 @@ Prompt in plain natural language. Name references exactly as `Image 1`,
393
394
  the words and identify the speaker; keep the visual action and camera direction
394
395
  observable and concise.
395
396
 
397
+ ## Wan 3.0 Enhanced
398
+
399
+ `wan3-enhanced`, `wan3.0-enhanced`, `wan3-spicy`, and `wan3.0-spicy` resolve to
400
+ the Sogni model `wan3.0-spicy-video`; MuleRouter's provider ID is
401
+ `w3.0-video`. Public surfaces call it **Wan 3.0 Enhanced**. It renders fixed or
402
+ smart 2–30 second clips at 30 fps with native audio and 480P, 720P, or 1080P
403
+ output. Supported ratios are `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, and
404
+ `3:4`.
405
+
406
+ - Use t2v for prompt-only video, i2v for first/optional last frame, r2v for
407
+ loose media references, and a2v/ia2v when audio drives the result.
408
+ - Use either first/last-frame anchors or loose references; the modes cannot be
409
+ combined. Loose-reference limits are 10 images, 5 videos, and 5 audio clips;
410
+ every input must be supplied through the context image/media workflow because
411
+ a prompt name alone cannot preserve identity.
412
+ - Smart duration (`--smart-duration`) and provider prompt expansion are
413
+ supported. There is no document/web context, watermark control, negative
414
+ prompt, sampling override, source-video edit, or extend mode. Seeds are
415
+ integers from `0` through `2147483647`; omit the seed for a random result.
416
+ - Standard artist PAYG rates are $0.0845/s at 480P, $0.169/s at 720P, and
417
+ $0.338/s at 1080P (as of 2026-08). Existing paid subscribers receive a
418
+ one-time model credit of $10 on Unlimited or $20 on Unlimited Pro through
419
+ September 1, 2026 00:00 UTC (August 31 at 5:00 PM PT). That credit is not
420
+ subscription coverage; once used or expired, normal PAYG applies.
421
+
396
422
  ## MiniMax H3 models
397
423
 
398
424
  MiniMax H3 is a Sogni-hosted video family with **twelve current modes**: four
@@ -693,6 +719,7 @@ model recommendations.
693
719
  | HappyHorse image-to-video from one first frame | `happyhorse-1.1-i2v` |
694
720
  | HappyHorse reference-to-video from up to 9 images | `happyhorse-1.1-r2v` |
695
721
  | Wan 3 unified text/frame/reference/audio/video generation | `wan3` / `wan3.0-video` |
722
+ | Wan 3.0 Enhanced text/frame/reference/audio/video generation | `wan3-enhanced` / `wan3.0-spicy-video` |
696
723
  | MiniMax H3 text-to-video with native stereo audio | `minimax-h3` (or `minimax-h3-t2v`) |
697
724
  | MiniMax H3 image-to-video from one first frame | `minimax-h3-i2v` with `--ref` |
698
725
  | MiniMax H3 first frame → last frame transition | `minimax-h3-flf2v` with `--ref A --ref-end B` |
@@ -711,6 +738,7 @@ model recommendations.
711
738
 
712
739
  - **WAN 2.2 models** use dimensions divisible by 16, min 480 px, max 1536 px.
713
740
  - **Wan 3** uses fixed 30 fps, fixed or smart 2–30 s output, and 480P/720P/1080P buckets with `adaptive`, `16:9`, `4:3`, `1:1`, `3:4`, and `9:16`; see [Alibaba Wan 3](#alibaba-wan-3).
741
+ - **Wan 3.0 Enhanced** uses fixed 30 fps, fixed or smart 2–30 s output, 480P/720P/1080P buckets, and `adaptive`, `16:9`, `9:16`, `1:1`, `4:3`, or `3:4`; see [Wan 3.0 Enhanced](#wan-30-enhanced).
714
742
  - **MiniMax H3 Standard, Balanced, and Turbo** use dimensions divisible by 32, fixed 24 fps, 124–362 frames on the `124 + n×17` grid (5.17–15.08 s), and no more than 1,032,192 pixels. Standard, Balanced, and FL2VA Turbo default to 1344×768; Ref2VA Turbo defaults to 960×544. Standard uses 20 steps, Balanced uses fixed 8-step Euler/simple PDD sampling, and Turbo uses 4 steps. Standard and Balanced accept no sampler override. FL2VA H3 Turbo defaults to `er_sde` on Socket and accepts `euler`, `er_sde`, or `sa_solver`; Ref2VA Turbo uses Euler/simple only. The CLI omits the sampler unless `--sampler` is passed. Guidance 1 and native stereo audio apply to all, with no negative-prompt input. FL2VA/Balanced/Turbo and image-only R2V require 32 GB-class workers; video-conditioned R2V requires above 40 GB. See [MiniMax H3 models](#minimax-h3-models).
715
743
  - **LTX family** (`ltx2-*`, `ltx23-*`, `ltx25-*`) uses dimensions divisible by 64. The current wrapper caps non-WAN video dimensions at 2048 px on the long side.
716
744
  - **Seedance** runs at fixed 24 fps. The 2.0 family (`seedance2`, `seedance2-mini`, `seedance2-fast`) supports 4–15 s durations; full `seedance2` supports native 4K via `--target-resolution 2160` while `seedance2-mini` and `seedance2-fast` remain capped to the 720p lower-resolution path. `seedance2-5` renders 4–30 s single clips (97–721 frames) but caps at 480p/720p (max dimension 1280) — it cannot render 1080p or 4K. Other default/WAN paths support up to 10 s; LTX and WAN animate workflows support up to 20 s.
@@ -3,7 +3,7 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "3.25.1",
6
+ "@sogni-ai/sogni-intelligence-client": "3.26.0",
7
7
  "execa": "^9.6.1",
8
8
  "json5": "^2.2.3",
9
9
  "sharp": "0.35.4"
package/skills/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The legacy `SKILL.md` at the repo root is the public entry point ingested by skill-loading hosts (Claude Code, OpenClaw, Hermes Agent, Manus AI, etc.) that load a skill as one artifact. This `skills/` directory is the **per-skill** view used by hosts that want to load a focused subset of capability rather than the whole monolith.
4
4
 
5
- Each file is the canonical SKILL.md for one skill, kept in sync with the matching manifest exported from [`@sogni/creative-agent`](../../sogni-creative-agent/src/public-skill-runtime/index.ts). Frontmatter declares `name`, `description`, `always_loaded`, and `tool_names`; the body documents the LLM-callable tools and any constraints the host should respect.
5
+ Each file is the canonical SKILL.md for one skill, kept in sync with the matching manifest exported from [`@sogni/creative-agent`](https://github.com/Sogni-AI/sogni-creative-agent/tree/main/src/public-skill-runtime). Frontmatter declares `name`, `description`, `always_loaded`, and `tool_names`; the body documents the LLM-callable tools and any constraints the host should respect.
6
6
 
7
7
  ## Always-loaded skills
8
8
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: video_generation
3
- description: Text-to-video synthesis with LTX-2.3, WAN 2.2, Alibaba Wan 3, Seedance, HappyHorse, and MiniMax H3.
3
+ description: Text-to-video synthesis with LTX-2.3, WAN 2.2, Wan 3, Wan 3.0 Enhanced, Seedance, HappyHorse, and MiniMax H3.
4
4
  always_loaded: false
5
5
  tool_names:
6
6
  - generate_video
@@ -8,7 +8,7 @@ tool_names:
8
8
 
9
9
  # Video generation
10
10
 
11
- Text-to-video synthesis with LTX-2.3, WAN 2.2, Alibaba Wan 3, Seedance, HappyHorse, and MiniMax H3. Use when the user wants a new video clip generated from a prompt or a loose multimodal reference set.
11
+ Text-to-video synthesis with LTX-2.3, WAN 2.2, Wan 3, Wan 3.0 Enhanced, Seedance, HappyHorse, and MiniMax H3. Use when the user wants a new video clip generated from a prompt or a loose multimodal reference set.
12
12
 
13
13
  ## Tools
14
14
 
@@ -20,4 +20,5 @@ Text-to-video synthesis with LTX-2.3, WAN 2.2, Alibaba Wan 3, Seedance, HappyHor
20
20
  - For prompt-only variants with the same model, duration, dimensions, and references, use one Dynamic Prompt branch with `numberOfVariations`/`-n` instead of serial video calls.
21
21
  - HappyHorse 1.1 is a Premium Spark vendor path: t2v is prompt-only, i2v uses one first-frame image, and r2v uses 1-9 image references. It accepts no reference audio or video.
22
22
  - Wan 3 (`wan3.0-video`) is a Premium Spark unified vendor path: 2-30 s at fixed 30 fps with native audio and 480P/720P/1080P output. Use either first/last-frame anchors or a loose set capped at 10 images, 5 videos, 5 audios, and 20 files total; never combine the two reference modes.
23
+ - Wan 3.0 Enhanced (`wan3.0-spicy-video`, MuleRouter provider ID `w3.0-video`, aliases `wan3-enhanced`/`wan3-spicy`) supports fixed or smart 2-30 s at 30 fps, native audio, prompt expansion, 480P/720P/1080P, and adaptive/fixed ratios. Use either first/last-frame anchors or up to 10 image, 5 video, and 5 audio loose references; never mix the modes. It has no document/web context, watermark, negative prompt, source-video edit, or extend mode.
23
24
  - MiniMax H3 t2v uses `minimax-h3-t2v`; H3 r2v must be selected explicitly as `minimax-h3-r2v` and accepts up to 9 images, 3 videos, and 3 audio clips, capped at 12 files with at least one image. Address references with per-type `<Picture 1>` / `<Video 1>` / `<Audio 1>` tags and assign each one a role.
package/sogni-agent.mjs CHANGED
@@ -1379,7 +1379,7 @@ const MAX_COUNT = (() => {
1379
1379
 
1380
1380
  function parseSeedValue(raw, flagName) {
1381
1381
  const num = parseIntegerValue(raw, flagName);
1382
- if (num < 0 || num > 0xFFFFFFFF) {
1382
+ if (num < -1 || num > 0xFFFFFFFF) {
1383
1383
  fatalCliError(`${flagName} must be between 0 and 4294967295.`, {
1384
1384
  code: 'INVALID_ARGUMENT',
1385
1385
  details: { flag: flagName, value: raw }
@@ -1617,7 +1617,7 @@ const SEEDANCE_25_MODEL_SELECTIONS = new Set([
1617
1617
  ]);
1618
1618
 
1619
1619
  const WAN3_MODEL_ID = 'wan3.0-video';
1620
- const WAN3_MODEL_SELECTIONS = new Set([
1620
+ const WAN3_REGULAR_MODEL_SELECTIONS = new Set([
1621
1621
  WAN3_MODEL_ID,
1622
1622
  'wan3',
1623
1623
  'wan3.0',
@@ -1625,6 +1625,14 @@ const WAN3_MODEL_SELECTIONS = new Set([
1625
1625
  'wan-3',
1626
1626
  'wan-3.0',
1627
1627
  ]);
1628
+ const WAN3_ENHANCED_MODEL_ID = 'wan3.0-spicy-video';
1629
+ const WAN3_ENHANCED_MODEL_SELECTIONS = new Set([
1630
+ WAN3_ENHANCED_MODEL_ID,
1631
+ 'wan3-enhanced',
1632
+ 'wan3.0-enhanced',
1633
+ 'wan3-spicy',
1634
+ 'wan3.0-spicy',
1635
+ ]);
1628
1636
  const WAN3_REFERENCE_LIMITS = Object.freeze({
1629
1637
  images: 10,
1630
1638
  videos: 5,
@@ -1638,11 +1646,23 @@ const WAN3_SUPPORTED_RATIOS = new Set(['adaptive', '16:9', '4:3', '1:1', '3:4',
1638
1646
  const WAN3_MAX_SEED = 0x7fffffff;
1639
1647
 
1640
1648
  function isWan3ModelSelectionLocal(modelId) {
1641
- return WAN3_MODEL_SELECTIONS.has(String(modelId || '').trim().toLowerCase().replace(/_/g, '-'));
1649
+ const normalized = String(modelId || '').trim().toLowerCase().replace(/_/g, '-');
1650
+ return WAN3_REGULAR_MODEL_SELECTIONS.has(normalized) || WAN3_ENHANCED_MODEL_SELECTIONS.has(normalized);
1651
+ }
1652
+
1653
+ function isWan3EnhancedModelSelectionLocal(modelId) {
1654
+ return WAN3_ENHANCED_MODEL_SELECTIONS.has(
1655
+ String(modelId || '').trim().toLowerCase().replace(/_/g, '-'),
1656
+ );
1642
1657
  }
1643
1658
 
1644
1659
  function isWan3ModelLocal(modelId) {
1645
- return String(modelId || '').trim().toLowerCase() === WAN3_MODEL_ID;
1660
+ const normalized = String(modelId || '').trim().toLowerCase();
1661
+ return normalized === WAN3_MODEL_ID || normalized === WAN3_ENHANCED_MODEL_ID;
1662
+ }
1663
+
1664
+ function isWan3EnhancedModelLocal(modelId) {
1665
+ return String(modelId || '').trim().toLowerCase() === WAN3_ENHANCED_MODEL_ID;
1646
1666
  }
1647
1667
 
1648
1668
  function isSeedance25ModelSelectionLocal(modelId) {
@@ -2199,6 +2219,7 @@ function resolveSkillVideoModelAlias(
2199
2219
  hasEndFrame = false,
2200
2220
  ) {
2201
2221
  const normalized = String(modelId || '').trim().toLowerCase();
2222
+ if (isWan3EnhancedModelSelectionLocal(normalized)) return WAN3_ENHANCED_MODEL_ID;
2202
2223
  if (isWan3ModelSelectionLocal(normalized)) return WAN3_MODEL_ID;
2203
2224
  if (normalized === 'ltx25' || normalized === 'ltx25-t2v') {
2204
2225
  const mode = ['i2v', 'a2v', 'ia2v', 'v2v'].includes(workflow) ? workflow : 't2v';
@@ -4781,6 +4802,7 @@ if (options.video) {
4781
4802
  // In audio/video workflows --ref is a loose reference image. In i2v it is a
4782
4803
  // dedicated first-frame anchor and may be paired with --ref-end.
4783
4804
  if (isWan3ModelSelectionLocal(options.model)) {
4805
+ const isEnhancedSelection = isWan3EnhancedModelSelectionLocal(options.model);
4784
4806
  if (!options.videoWorkflow) {
4785
4807
  const hasLooseImages = Array.isArray(options.contextImages) && options.contextImages.length > 0;
4786
4808
  const hasAudio = Boolean(options.refAudio || options.refAudios.length > 0);
@@ -4799,7 +4821,7 @@ if (options.video) {
4799
4821
  options.videoWorkflow = 't2v';
4800
4822
  }
4801
4823
  }
4802
- options.model = WAN3_MODEL_ID;
4824
+ options.model = isEnhancedSelection ? WAN3_ENHANCED_MODEL_ID : WAN3_MODEL_ID;
4803
4825
  }
4804
4826
 
4805
4827
  // Each MiniMax H3 tier has four concrete worker selectors and five prompt
@@ -5287,6 +5309,7 @@ if (options.video) {
5287
5309
  const isSeedance25Video = isSeedance25ModelSelectionLocal(options.model);
5288
5310
  const isHappyHorseVideo = isHappyHorseModel(options.model);
5289
5311
  const isWan3Video = isWan3ModelLocal(options.model);
5312
+ const isWan3EnhancedVideo = isWan3EnhancedModelLocal(options.model);
5290
5313
  const isMiniMaxH3Video = isMiniMaxH3Model(options.model);
5291
5314
  const isMiniMaxH3R2v = isMiniMaxH3R2vModel(options.model);
5292
5315
  if (options.seedanceTaskType && !SEEDANCE_TASK_TYPES.has(options.seedanceTaskType)) {
@@ -5302,7 +5325,18 @@ if (options.video) {
5302
5325
  });
5303
5326
  }
5304
5327
  if ((cliSet.wan3Ratio || options.wan3SmartDuration || options.wan3ReferenceFileUrl || options.wan3ReferenceLinkUrl || options.wan3Watermark) && !isWan3Video) {
5305
- fatalCliError('Wan 3 controls are supported only by wan3 / wan3.0-video.', {
5328
+ fatalCliError('Wan 3 controls are supported only by Wan 3 or Wan 3.0 Enhanced.', {
5329
+ code: 'INVALID_ARGUMENT',
5330
+ details: { model: options.model }
5331
+ });
5332
+ }
5333
+ if (
5334
+ isWan3EnhancedVideo &&
5335
+ (options.wan3ReferenceFileUrl ||
5336
+ options.wan3ReferenceLinkUrl ||
5337
+ options.wan3Watermark)
5338
+ ) {
5339
+ fatalCliError('Wan 3.0 Enhanced does not support document/web context or watermark.', {
5306
5340
  code: 'INVALID_ARGUMENT',
5307
5341
  details: { model: options.model }
5308
5342
  });
@@ -5468,8 +5502,15 @@ if (options.video) {
5468
5502
  details: { promptLength: options.prompt.length, maximum: 20000 }
5469
5503
  });
5470
5504
  }
5471
- if (isWan3Video && cliSet.seed && (!Number.isInteger(options.seed) || options.seed < 0 || options.seed > WAN3_MAX_SEED)) {
5472
- fatalCliError(`Wan 3 --seed must be an integer from 0 through ${WAN3_MAX_SEED}.`, {
5505
+ const minimumWan3Seed = 0;
5506
+ if (cliSet.seed && options.seed === -1) {
5507
+ fatalCliError('--seed must be between 0 and 4294967295.', {
5508
+ code: 'INVALID_ARGUMENT',
5509
+ details: { seed: options.seed }
5510
+ });
5511
+ }
5512
+ if (isWan3Video && cliSet.seed && (!Number.isInteger(options.seed) || options.seed < minimumWan3Seed || options.seed > WAN3_MAX_SEED)) {
5513
+ fatalCliError(`Wan 3 --seed must be an integer from ${minimumWan3Seed} through ${WAN3_MAX_SEED}.`, {
5473
5514
  code: 'INVALID_ARGUMENT',
5474
5515
  details: { seed: options.seed }
5475
5516
  });
@@ -5509,15 +5550,15 @@ if (options.video) {
5509
5550
  code: 'INVALID_ARGUMENT'
5510
5551
  });
5511
5552
  }
5512
- if (options.refImageEnd && !options.refImage) {
5553
+ if (!isWan3EnhancedVideo && options.refImageEnd && !options.refImage) {
5513
5554
  fatalCliError('Wan 3 last-frame generation requires --ref as the first-frame image.', { code: 'INVALID_ARGUMENT' });
5514
5555
  }
5515
5556
  if (options.videoWorkflow === 't2v' && (hasFrameInputs || looseTotal > 0 || options.refImageEnd)) {
5516
5557
  fatalCliError('Wan 3 t2v does not accept reference media; choose i2v, r2v, a2v, or ia2v.', { code: 'INVALID_ARGUMENT' });
5517
5558
  }
5518
5559
  if (options.videoWorkflow === 'i2v') {
5519
- if (!options.refImage) {
5520
- fatalCliError('Wan 3 i2v requires --ref as its first-frame image.', { code: 'INVALID_ARGUMENT' });
5560
+ if (!options.refImage && !(isWan3EnhancedVideo && options.refImageEnd)) {
5561
+ fatalCliError('Wan 3 i2v requires --ref as its first-frame image, or Enhanced may use --ref-end alone.', { code: 'INVALID_ARGUMENT' });
5521
5562
  }
5522
5563
  if (options.contextImages.length > 0 || looseVideos > 0 || looseAudios > 0) {
5523
5564
  fatalCliError('Wan 3 first/last-frame anchors cannot be combined with loose image, video, or audio references.', { code: 'INVALID_ARGUMENT' });
@@ -11338,6 +11379,10 @@ function buildMiniMaxH3EstimateUnavailableError(cause) {
11338
11379
 
11339
11380
  async function ensureSufficientVideoBalance(client, log) {
11340
11381
  if (!options.video || options.estimateVideoCost) return;
11382
+ // Wan 3.0 Enhanced launch credits live in the server-side model ledger and
11383
+ // cannot be inferred from wallet balance. Let the socket apply credit first,
11384
+ // then enforce PAYG balance for any remainder.
11385
+ if (isWan3EnhancedModelLocal(options.model)) return;
11341
11386
  // Sogni Unlimited bills covered video jobs to the subscription, so a low
11342
11387
  // token balance must not block them client-side. Vendor models
11343
11388
  // (Seedance/HappyHorse) always bill Premium Spark and keep the check, as
@@ -12268,6 +12313,7 @@ async function main() {
12268
12313
  const isSeedanceVideo = isSeedanceModel(options.model);
12269
12314
  const isHappyHorseVideo = isHappyHorseModel(options.model);
12270
12315
  const isWan3Video = isWan3ModelLocal(options.model);
12316
+ const isWan3EnhancedVideo = isWan3EnhancedModelLocal(options.model);
12271
12317
  const isMiniMaxH3R2v = isMiniMaxH3R2vModel(options.model);
12272
12318
  // Vendor video models forward image references as HTTPS URL arrays (or
12273
12319
  // Sogni-hosted uploads) instead of inline buffers; HappyHorse takes
@@ -12713,10 +12759,12 @@ async function main() {
12713
12759
  projectConfig.ratio = options.wan3Ratio;
12714
12760
  projectConfig.generateAudio = options.apiGenerateAudio ?? true;
12715
12761
  projectConfig.promptExtend = options.apiExpandPrompt ?? true;
12716
- projectConfig.watermark = options.wan3Watermark;
12717
12762
  if (options.wan3SmartDuration) projectConfig.smartDuration = true;
12718
- if (options.wan3ReferenceFileUrl) projectConfig.referenceFileUrl = options.wan3ReferenceFileUrl;
12719
- if (options.wan3ReferenceLinkUrl) projectConfig.referenceLinkUrl = options.wan3ReferenceLinkUrl;
12763
+ if (!isWan3EnhancedVideo) {
12764
+ projectConfig.watermark = options.wan3Watermark;
12765
+ if (options.wan3ReferenceFileUrl) projectConfig.referenceFileUrl = options.wan3ReferenceFileUrl;
12766
+ if (options.wan3ReferenceLinkUrl) projectConfig.referenceLinkUrl = options.wan3ReferenceLinkUrl;
12767
+ }
12720
12768
  }
12721
12769
 
12722
12770
  if (options.outputFormat) {
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.37.0';
1
+ export const PACKAGE_VERSION = '3.38.0';