@sogni-ai/sogni-creative-agent-skill 3.17.1 → 3.18.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.17.1",
3
+ "version": "3.18.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.17.1",
3
+ "version": "3.18.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,14 +1,23 @@
1
- ## [3.17.1](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.17.0...v3.17.1) (2026-07-26)
1
+ # [3.18.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.17.2...v3.18.0) (2026-07-27)
2
+
3
+
4
+ ### Features
2
5
 
6
+ * **video:** default first/last-frame pairs to LTX-2.3 morph ([#24](https://github.com/Sogni-AI/sogni-creative-agent-skill/issues/24)) ([430edf5](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/430edf58e1d1be1f757824e586a5ba7ef18764fe))
7
+
8
+ ## [3.17.2](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.17.1...v3.17.2) (2026-07-26)
3
9
 
4
10
  ### Bug Fixes
5
11
 
6
- * **scripts:** refuse runtime sync on intelligence-client version mismatch ([247da8c](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/247da8c9cb7b6f0575a25543847ca00f44929c0a))
7
- * **video:** stop discarding i2v resolution on sparse aspect ratios ([23125f7](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/23125f780d394ec988012aabd4db7a9e49c63341))
12
+ * **billing:** clarify that `tokenType: "spark"` is a denomination rather than proof of a Spark debit;
13
+ Unlimited coverage is determined by `paymentModel: "subscription"` or explicit subscription-billing
14
+ success ([d836b49](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/d836b490bccda5c9e8166b2bb3d928708d2fbae4)).
15
+ * **video:** use an already-compatible local LTX/10Eros reference as the implicit i2v canvas, avoiding
16
+ misleading intermediate dimension adjustments and no-op resize messages
17
+ ([d836b49](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/d836b490bccda5c9e8166b2bb3d928708d2fbae4)).
8
18
 
9
19
  ## [3.17.1](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.17.0...v3.17.1) (2026-07-26)
10
20
 
11
-
12
21
  ### Bug Fixes
13
22
 
14
23
  * **scripts:** refuse runtime sync on intelligence-client version mismatch ([247da8c](https://github.com/Sogni-AI/sogni-creative-agent-skill/commit/247da8c9cb7b6f0575a25543847ca00f44929c0a))
package/README.md CHANGED
@@ -401,9 +401,14 @@ sogni-agent --video -m seedance2 --workflow t2v \
401
401
  --ref-audio https://cdn.example.com/music.m4a \
402
402
  "Use @Image1 for product identity, @Video1 for camera movement, and @Audio1 for music rhythm"
403
403
 
404
- # Image-to-video (i2v)
404
+ # Image-to-video (i2v; defaults to wan_v2.2-14b-fp8_i2v_lightx2v)
405
405
  sogni-agent --video --ref cat.jpg "gentle camera pan"
406
406
 
407
+ # Animate two images together (first frame → last frame; defaults to
408
+ # ltx23-22b-fp8_i2v_distilled with the auto-applied transition/morph LoRA)
409
+ sogni-agent --video --ref first.png --ref-end last.png \
410
+ "the opening frame flows smoothly into the final frame"
411
+
407
412
  # Image+audio-to-video (auto-routes to LTX-2.3 ia2v)
408
413
  sogni-agent --video --ref cover.jpg --ref-audio song.mp3 \
409
414
  "music video with synchronized motion"
@@ -587,7 +592,7 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
587
592
  - Use `--target-resolution <px>` for bare resolution requests like "720p" — it targets the short side and preserves the inherited aspect ratio.
588
593
  - Natural-language aspect requests like "portrait", "square", "16:9", or "9:16" are inferred when width/height aren't explicitly set. Combined requests like "720p 9:16" keep the requested short side while applying the requested shape.
589
594
  - For i2v (and any workflow using `--ref` / `--ref-end`), the client wrapper resizes the reference image with strict aspect-fit (`fit: inside`) and uses the *resized* dimensions as the final video size. Because that resize uses rounding, a "valid" requested size can still produce an invalid final size (example: `1024×1536` requested, but ref becomes `1024×1535`). `sogni-agent` detects this for local refs and auto-adjusts to a nearby safe size.
590
- - **LTX-2.3 two-keyframe morph:** when the LTX-2.3 i2v model `ltx23-22b-fp8_i2v_distilled` gets **both** a start frame (`--ref`) and an end frame (`--ref-end`), it auto-applies the ValiantCat transition/morph LoRA (lora id `transition`, trigger word `zhuanchang`, strength ~1.0) and morphs the first image into the last in a single render — no bridge clip or `--concat-videos` needed. The sogni-client SDK example feeds the two frames as its `image` / `end-image` arguments and additionally exposes manual `transition` / `transition-strength` SDK arguments.
595
+ - **LTX-2.3 two-keyframe morph (the default for `--ref` + `--ref-end` when no `-m` is given):** when the LTX-2.3 i2v model `ltx23-22b-fp8_i2v_distilled` gets **both** a start frame (`--ref`) and an end frame (`--ref-end`), it auto-applies the ValiantCat transition/morph LoRA (lora id `transition`, trigger word `zhuanchang`, strength ~1.0) and morphs the first image into the last in a single render — no bridge clip or `--concat-videos` needed. The sogni-client SDK example feeds the two frames as its `image` / `end-image` arguments and additionally exposes manual `transition` / `transition-strength` SDK arguments.
591
596
  - **Private mature-theme creativity:** optional uncensored LTX-2.3 video models are available for adults who explicitly want them. They remain opt-in and are not part of ordinary model recommendations; the agent loads their specialized guidance only for a relevant request.
592
597
  - Pass `--strict-size` to fail instead — the script will print a suggested size.
593
598
 
@@ -777,6 +782,8 @@ App Store and Google Play prices may differ from web pricing due to platform fee
777
782
 
778
783
  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.
779
784
 
785
+ Do not use `tokenType: "spark"` by itself to determine that Spark paid for a render. `tokenType` is also the quote/accounting denomination for covered jobs. The server's separate `paymentModel` is authoritative: `subscription` means it skipped the artist Spark/SOGNI debit, while `paid_spark`, `free_spark`, and `sogni` identify token-funded paths. Some client result summaries do not expose `paymentModel`; in that case the payment source is unknown from that result alone. A request that completes successfully with `--billing-mode subscription` was covered—if coverage is unavailable, the server returns `4078` or `4080` instead of silently spending Spark.
786
+
780
787
  With an active subscription, the CLI also skips its client-side "insufficient SPARK" pre-flight for covered video renders — a low token balance no longer blocks jobs the plan pays for. Vendor models and `--billing-mode tokens` keep the pre-flight, and the server remains authoritative either way.
781
788
 
782
789
  ### Free-trial usage limits
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 one-click image-folder loop reels, personas (named people with saved reference photos and voice clips), persistent memories, custom personality, style transfer, angle synthesis, 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\", \"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.17.1"
5
+ version: "3.18.0"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -144,8 +144,11 @@ sogni-agent -q -c /path/to/input.jpg -o ./edited.png "make it pop art style"
144
144
  sogni-agent -q --photobooth --ref /path/to/face.jpg -o ./stylized.png "80s fashion portrait"
145
145
 
146
146
  # Text-to-video / image-to-video (write the prompt per references/video-prompting.md)
147
+ # Single-image i2v defaults to wan_v2.2-14b-fp8_i2v_lightx2v; adding --ref-end
148
+ # defaults to ltx23-22b-fp8_i2v_distilled (transition/morph LoRA auto-applies).
147
149
  sogni-agent -q --video -o ./video.mp4 "<cinematic prose paragraph>"
148
150
  sogni-agent -q --video --ref /path/to/image.png -o ./video.mp4 "<cinematic prose paragraph>"
151
+ sogni-agent -q --video --ref ./first.png --ref-end ./last.png -o ./morph.mp4 "<LTX transition paragraph>"
149
152
 
150
153
  # Sound-to-video (lip-sync), image+audio, audio-only (workflow auto-inferred)
151
154
  sogni-agent --video --ref face.jpg --ref-audio speech.m4a -m wan_v2.2-14b-fp8_s2v_lightx2v "lip sync talking head"
@@ -239,7 +242,7 @@ For "4k" / "uhd" requests where the user accepts the Premium Spark vendor path o
239
242
 
240
243
  ### Video editing, stitching, 360 turnarounds
241
244
 
242
- Trigger patterns — "animate/morph image A to image B" (`--ref A --ref-end B`; on LTX-2.3 i2v this is a single render — the transition/morph LoRA auto-applies, no bridge clip), "continue this video" (extract last frame → i2v → concat), "transition between two videos" (bridge clip between two *finished videos*), "make a reel/slideshow from these images" or "animate this folder of images" (`--source-reel <dir>`; plan first with the free `--reel-plan-only`; options: `--reel-image-seconds`, `--reel-transition-seconds`, `--reel-loop`/`--no-reel-loop`, `--reel-image-prompt`, `--reel-transition-prompt`), "360 video" (`--angles-360 --angles-360-video`), "add/replace the soundtrack" (`--concat-audio` / `--remix-audio`). **Read [`references/video-editing.md`](./references/video-editing.md) for the step-by-step recipes.**
245
+ Trigger patterns — "animate/morph image A to image B" or any first-frame/last-frame request (`--ref A --ref-end B` — defaults to `ltx23-22b-fp8_i2v_distilled`, a single render whose transition/morph LoRA auto-applies, no bridge clip; single-image i2v defaults to `wan_v2.2-14b-fp8_i2v_lightx2v`), "continue this video" (extract last frame → i2v → concat), "transition between two videos" (bridge clip between two *finished videos*), "make a reel/slideshow from these images" or "animate this folder of images" (`--source-reel <dir>`; plan first with the free `--reel-plan-only`; options: `--reel-image-seconds`, `--reel-transition-seconds`, `--reel-loop`/`--no-reel-loop`, `--reel-image-prompt`, `--reel-transition-prompt`), "360 video" (`--angles-360 --angles-360-video`), "add/replace the soundtrack" (`--concat-audio` / `--remix-audio`). **Read [`references/video-editing.md`](./references/video-editing.md) for the step-by-step recipes.**
243
246
 
244
247
  For a **one-click polished folder loop** where each source image animates and then morphs directly into the next original image, read [`references/loop-maker.md`](./references/loop-maker.md). Use its visually deduplicated, one-LTX-clip-per-pair workflow instead of the default SourceReel split animation-plus-bridge structure. Do not route true 360 novel-view synthesis to this direct pairwise workflow: a turning subject or occluder wipe is not a camera orbit. Trigger on requests such as "Sogni Loop Maker", "make this image folder a seamless loop", "one-click animated photo reel", the Claude Code command `/sogni-creative-agent:loop-maker`, or the Codex skill `$sogni-creative-agent:loop-maker`.
245
248
 
@@ -275,6 +278,8 @@ Do not collect payment details, quote a custom price, or simulate a purchase in
275
278
 
276
279
  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. Plans: Unlimited ($20/mo, $199/yr) and Unlimited Pro ($50/mo, $498/yr), with a one-per-account 3-day free trial. External-vendor models — **GPT Image 2**, **Seedance 2.0 / Mini / Fast**, and **HappyHorse 1.1** — 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."
277
280
 
281
+ **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.
282
+
278
283
  Unlimited is fair-use, not unmetered: per-UTC-day concurrency ceilings step down as completed renders climb (and reset at UTC midnight), and once a plan's fast-lane allowance is exceeded, further jobs run best-effort in a lower-priority standard queue until capacity resets. Describe this as **fair use** / a **standard (throttled) queue** — never as "relaxed."
279
284
 
280
285
  When a generation cannot bill to the subscription, the CLI returns a structured error (`errorCategory: "subscription_billing"`). Respond by the `errorCode`, and **do not** collect payment details or simulate a purchase:
@@ -324,7 +329,7 @@ Failure (single JSON object on stdout, exit code 1; progress/warnings on stderr)
324
329
 
325
330
  ## Cost
326
331
 
327
- Uses Spark tokens from the user's Sogni account. 512x512 images are most cost-efficient. `-n` is safety-capped at 16 outputs per call (`SOGNI_MAX_COUNT` raises it deliberately). Seedance, HappyHorse, and GPT Image 2 are vendor models requiring Premium Spark eligibility.
332
+ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise renders use the selected Spark or SOGNI token path. 512x512 images are most cost-efficient. `-n` is safety-capped at 16 outputs per call (`SOGNI_MAX_COUNT` raises it deliberately). Seedance, HappyHorse, and GPT Image 2 are vendor models requiring Premium Spark eligibility.
328
333
 
329
334
  ## Troubleshooting
330
335
 
@@ -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.17.1",
5
+ "version": "3.18.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",
@@ -73,7 +73,9 @@ export const TOOLS = [
73
73
  name: 'generate_video',
74
74
  description:
75
75
  'Generate a video from a text prompt, optionally driven by reference media. ' +
76
- 'ref = start frame image, ref_end = end frame, ref_audio = soundtrack/lip-sync audio, ref_video = motion reference. ' +
76
+ 'ref = start frame image (alone defaults to wan_v2.2-14b-fp8_i2v_lightx2v), ' +
77
+ 'ref_end = end frame (with ref, defaults to ltx23-22b-fp8_i2v_distilled and its auto-applied transition/morph LoRA), ' +
78
+ 'ref_audio = soundtrack/lip-sync audio, ref_video = motion reference. ' +
77
79
  'Rendering takes minutes; prefer output_path (absolute .mp4). ' + CHAT_ATTACHMENT_NOTE,
78
80
  inputSchema: {
79
81
  type: 'object',
package/llm.txt CHANGED
@@ -117,7 +117,13 @@ HappyHorse 1.1 (`happyhorse-1.1-t2v`, `happyhorse-1.1-i2v`,
117
117
  `happyhorse-1.1-r2v`) — are never covered and always need Premium Spark;
118
118
  selecting SOGNI opts a job out of coverage. The server decides
119
119
  coverage from the verified entitlement + resolved model; the CLI never asserts
120
- coverage. Fair-use throttling lowers per-UTC-day concurrency as completed renders
120
+ coverage. Never infer a Spark charge from `tokenType: "spark"`: that field is
121
+ the quote/accounting denomination and can remain `spark` on a covered job.
122
+ `paymentModel: "subscription"` is the authoritative indication that the artist
123
+ debit was skipped. If `paymentModel` is absent, call the payment source unknown
124
+ instead of claiming Spark was spent. A successful `--billing-mode subscription`
125
+ request is covered; unavailable coverage fails with 4078 or 4080 rather than
126
+ silently falling back to Spark. Fair-use throttling lowers per-UTC-day concurrency as completed renders
121
127
  climb (resets UTC midnight) and demotes over-allowance jobs to a lower-priority
122
128
  standard queue — describe this as fair use / standard queue, never "relaxed".
123
129
  Subscription-billing failures use `errorCategory: "subscription_billing"` with
@@ -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.17.1",
5
+ "version": "3.18.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.17.1",
3
+ "version": "3.18.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",
@@ -22,7 +22,8 @@ Do not run the default `npx setup-sogni-agent-skill` from an installed plugin un
22
22
 
23
23
  - Image: `sogni-agent "a cat on the moon, cinematic"`
24
24
  - Image edit: `sogni-agent -c <path> "make it night, add fireflies"`
25
- - Video (image-to-video): `sogni-agent --video --ref <path> "gentle camera pan"`
25
+ - Video (image-to-video): `sogni-agent --video --ref <path> "gentle camera pan"` (defaults to `wan_v2.2-14b-fp8_i2v_lightx2v`)
26
+ - Animate two images (first frame → last frame): `sogni-agent --video --ref <first> --ref-end <last> "smooth morph into the final frame"` (defaults to `ltx23-22b-fp8_i2v_distilled`; the transition/morph LoRA auto-applies)
26
27
  - One-click image-folder loop: `/sogni-creative-agent:loop-maker ./images`
27
28
  - One-click image-folder loop in Codex: `$sogni-creative-agent:loop-maker ./images`
28
29
  - Music: `sogni-agent --music "ambient drone, 30 seconds"`
@@ -104,7 +104,7 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
104
104
  | Model | Speed | Use Case |
105
105
  |-------|-------|----------|
106
106
  | `ltx23-22b-fp8_t2v_distilled` | Fast (~2-3min) | Default text-to-video with native dialogue/audio |
107
- | `ltx23-22b-fp8_i2v_distilled` | Fast (~2-3min) | Image-to-video with native dialogue/audio |
107
+ | `ltx23-22b-fp8_i2v_distilled` | Fast (~2-3min) | Image-to-video with native dialogue/audio; **default for two-image first-frame → last-frame animation** (transition/morph LoRA auto-applies) |
108
108
  | `ltx23-22b-fp8_ia2v_distilled` | Fast (~2-3min) | Image+audio-to-video |
109
109
  | `ltx23-22b-fp8_a2v_distilled` | Fast (~2-3min) | Audio-to-video |
110
110
  | `ltx23-22b-fp8_v2v_distilled` | Fast (~3min) | Video-to-video with ControlNet, plus canvas outpaint and masked inpaint |
@@ -117,13 +117,34 @@ direct music generation. Music controls: `--lyrics`, `--language`, `--bpm`
117
117
  | `happyhorse-1.1-t2v` | Variable | HappyHorse 1.1 text-to-video, 3-15s, native audio, 720P/1080P |
118
118
  | `happyhorse-1.1-i2v` | Variable | HappyHorse 1.1 image-to-video from one first-frame image (`--ref`) |
119
119
  | `happyhorse-1.1-r2v` | Variable | HappyHorse 1.1 reference-to-video from 1-9 reference images (`-c`/`--context`) |
120
- | `wan_v2.2-14b-fp8_i2v_lightx2v` | Fast | Simple image-to-video |
120
+ | `wan_v2.2-14b-fp8_i2v_lightx2v` | Fast | **Default single-image image-to-video** (one `--ref`, no end frame) |
121
121
  | `wan_v2.2-14b-fp8_i2v` | Slow | Higher quality video |
122
122
  | `wan_v2.2-14b-fp8_t2v_lightx2v` | Fast | Text-to-video |
123
123
  | `wan_v2.2-14b-fp8_s2v_lightx2v` | Fast | Face lip-sync with uploaded audio |
124
124
  | `wan_v2.2-14b-fp8_animate-move_lightx2v` | Fast | Animate-move |
125
125
  | `wan_v2.2-14b-fp8_animate-replace_lightx2v` | Fast | Animate-replace |
126
126
 
127
+ ### Default image-to-video routing
128
+
129
+ - **Single-image i2v** (`--ref` only, no `-m`) defaults to
130
+ `wan_v2.2-14b-fp8_i2v_lightx2v`. Keep that default for plain "animate this
131
+ image" requests. The CLI auto-routes single-image i2v to
132
+ `ltx23-22b-fp8_i2v_distilled` only when the prompt calls for native audio
133
+ (quoted dialogue; words like audio, music, sound, speech, sings) or reads
134
+ as story direction (story, scene, script, narrative, commercial), or when
135
+ `-Q hq`/`-Q pro` is set — WAN clips render silent. If the prompt must
136
+ contain such words but the WAN path is still wanted, pin it explicitly
137
+ with `-m wan_v2.2-14b-fp8_i2v_lightx2v`.
138
+ - **Two-image first-frame → last-frame animation** (`--ref` + `--ref-end`,
139
+ no `-m`) defaults to `ltx23-22b-fp8_i2v_distilled`: the transition/morph
140
+ LoRA auto-attaches (trigger `zhuanchang`) and morphs the first image into
141
+ the end image in a single render. Use this default whenever the user asks
142
+ to animate two images together or supplies a first and last frame. Pass
143
+ `-m wan_v2.2-14b-fp8_i2v_lightx2v` only when the user explicitly wants the
144
+ WAN path (silent clip, no transition LoRA).
145
+ - A configured `videoModels.i2v` (OpenClaw plugin config) overrides both
146
+ defaults.
147
+
127
148
  ## HappyHorse 1.1 models
128
149
 
129
150
  Alibaba HappyHorse 1.1 is a Premium-Spark vendor video family (three discrete
@@ -219,6 +240,8 @@ model recommendations.
219
240
  | Direct music generation | `ace_step_1.5_xl_turbo` (or `--music-model turbo`) |
220
241
  | Music with stronger lyric handling | `ace_step_1.5_xl_sft` (or `--music-model sft`) |
221
242
  | Text-to-video with native dialogue/audio | `ltx23-22b-fp8_t2v_distilled` |
243
+ | Image-to-video from one start frame (default) | `wan_v2.2-14b-fp8_i2v_lightx2v` |
244
+ | Animate two images together (first frame → last frame) | `ltx23-22b-fp8_i2v_distilled` with `--ref A --ref-end B` (transition/morph LoRA auto-applies) |
222
245
  | Image+audio-to-video | `ltx23-22b-fp8_ia2v_distilled` |
223
246
  | Audio-to-video | `ltx23-22b-fp8_a2v_distilled` |
224
247
  | Video-to-video with ControlNet | `ltx23-22b-fp8_v2v_distilled` |
@@ -70,6 +70,10 @@ CLI defaults are 512×512 images, count 1, spark tokens, prompt-hash seeds):
70
70
  Notes:
71
71
 
72
72
  - Seed strategies: `prompt-hash` (deterministic) or `random`.
73
+ - `videoModels.i2v` also governs two-image `--ref` + `--ref-end` renders:
74
+ when set, it overrides the built-in LTX-2.3 transition/morph default
75
+ (`ltx23-22b-fp8_i2v_distilled`) that otherwise applies to first/last-frame
76
+ pairs. Unset, single-image i2v defaults to `wan_v2.2-14b-fp8_i2v_lightx2v`.
73
77
  - `defaultCount` is clamped to the CLI's safety cap (16 unless raised with
74
78
  `SOGNI_MAX_COUNT`).
75
79
  - `mediaInboundDir` defaults to `~/.openclaw/media/inbound`; when unset and
@@ -15,9 +15,17 @@ reproducible results and are the only sanctioned file operations.
15
15
  When a user asks to **animate between two images**, use `--ref` (first frame) and `--ref-end` (last frame):
16
16
 
17
17
  ```bash
18
- sogni-agent -q --video --ref ./imageA.png --ref-end ./imageB.png -o ./transition.mp4 "descriptive prompt of the transition"
18
+ sogni-agent -q --video --ref ./imageA.png --ref-end ./imageB.png -o ./transition.mp4 "<4-8 sentence LTX transition paragraph>"
19
19
  ```
20
20
 
21
+ **Default model:** with both `--ref` and `--ref-end` set and no `-m`, the CLI
22
+ defaults to `ltx23-22b-fp8_i2v_distilled` — the LTX-2.3 transition/morph path
23
+ described in the callout below — so write the prompt as an LTX paragraph per
24
+ [`video-prompting.md`](video-prompting.md). Pass
25
+ `-m wan_v2.2-14b-fp8_i2v_lightx2v` only when the user explicitly wants the
26
+ WAN path (silent clip, no transition LoRA). Plain single-image i2v (one
27
+ `--ref`, no end frame) defaults to `wan_v2.2-14b-fp8_i2v_lightx2v` instead.
28
+
21
29
  **Always apply this pattern when:**
22
30
  - User says "animate image A to image B" → use `--ref A --ref-end B`
23
31
  - User says "animate this video to this image" → extract last frame, use as `--ref`, target image as `--ref-end`, then stitch
@@ -45,8 +53,9 @@ sogni-agent -q --video --ref ./imageA.png --ref-end ./imageB.png -o ./transition
45
53
  ```
46
54
  2. **Generate a new video** using the last frame as `--ref` and the target image as `--ref-end`:
47
55
  ```bash
48
- sogni-agent -q --video --ref ./lastframe.png --ref-end ./target.png -o ./continuation.mp4 "scene transition prompt"
56
+ sogni-agent -q --video --ref ./lastframe.png --ref-end ./target.png -o ./continuation.mp4 "<4-8 sentence LTX transition paragraph into the target image>"
49
57
  ```
58
+ (No `-m` needed — the two-frame default is `ltx23-22b-fp8_i2v_distilled` with the auto-applied transition/morph LoRA.)
50
59
  3. **Concatenate the videos**:
51
60
  ```bash
52
61
  sogni-agent --concat-videos ./full_sequence.mp4 ./existing.mp4 ./continuation.mp4
@@ -74,7 +83,7 @@ To **create a transition between two existing videos** (A → B), bridge them wi
74
83
  ```bash
75
84
  sogni-agent -q --video -m wan_v2.2-14b-fp8_i2v_lightx2v \
76
85
  --ref ./A_last.png --ref-end ./B_first.png --fps 24 \
77
- -o ./transition.mp4 "descriptive morph between the two scenes"
86
+ -o ./transition.mp4 "descriptive morph between the two shots"
78
87
  ```
79
88
  3. Concatenate A → transition → B:
80
89
  ```bash
package/sogni-agent.mjs CHANGED
@@ -401,6 +401,11 @@ function defaultsFromModelTier(card) {
401
401
  if (Number.isFinite(card?.width?.min)) defaults.minDimension = card.width.min;
402
402
  if (Number.isFinite(card?.width?.max)) defaults.maxDimension = card.width.max;
403
403
  if (Number.isFinite(card?.width?.step)) defaults.dimensionMultiple = card.width.step;
404
+ const defaultSize = String(card?.defaultSize || '').match(/^(\d+)x(\d+)$/i);
405
+ if (defaultSize) {
406
+ defaults.defaultWidth = Number(defaultSize[1]);
407
+ defaults.defaultHeight = Number(defaultSize[2]);
408
+ }
404
409
  return defaults;
405
410
  }
406
411
 
@@ -3223,7 +3228,9 @@ Video Options:
3223
3228
  --no-auto-resize-assets Disable auto-resize for video assets
3224
3229
  --estimate-video-cost Estimate video cost and exit
3225
3230
  --ref <path|url> Reference image for video (start/first frame on Seedance)
3226
- --ref-end <path|url> End frame for interpolation/morphing (last frame on Seedance)
3231
+ --ref-end <path|url> End frame for interpolation/morphing; with --ref it
3232
+ defaults to the LTX-2.3 transition/morph model
3233
+ (last frame on Seedance)
3227
3234
  --ref-audio <path|url> Audio reference. Repeatable on Seedance models (up to 3 total);
3228
3235
  first entry is the primary, extras must be HTTPS URLs in CLI
3229
3236
  direct-gen (use --api-chat for multi local-file uploads).
@@ -3393,7 +3400,7 @@ Image Models:
3393
3400
 
3394
3401
  Recommended LTX 2.3 Video Models:
3395
3402
  ltx23-22b-fp8_t2v_distilled Text-to-video with native dialogue/audio
3396
- ltx23-22b-fp8_i2v_distilled Image-to-video with native dialogue/audio
3403
+ ltx23-22b-fp8_i2v_distilled Image-to-video with native dialogue/audio; default for --ref + --ref-end pairs
3397
3404
  ltx23-22b-fp8_ia2v_distilled Image+audio-to-video
3398
3405
  ltx23-22b-fp8_a2v_distilled Audio-to-video
3399
3406
  ltx23-22b-fp8_v2v_distilled Video-to-video with ControlNet
@@ -3419,7 +3426,7 @@ HappyHorse 1.1 Video Model Selectors (3-15s, fixed 24fps, native audio, 720P/108
3419
3426
 
3420
3427
  WAN 2.2 Video Models:
3421
3428
  wan_v2.2-14b-fp8_t2v_lightx2v Text-to-video (fast)
3422
- wan_v2.2-14b-fp8_i2v_lightx2v Fast simple image-to-video
3429
+ wan_v2.2-14b-fp8_i2v_lightx2v Default single-image image-to-video (fast)
3423
3430
  wan_v2.2-14b-fp8_i2v Higher quality
3424
3431
  wan_v2.2-14b-fp8_s2v_lightx2v Face lip-sync with uploaded audio (fast)
3425
3432
  wan_v2.2-14b-fp8_s2v Sound-to-video (quality)
@@ -4025,8 +4032,30 @@ if (options.music) {
4025
4032
  options.timeout = 600000;
4026
4033
  }
4027
4034
  } else if (options.video) {
4028
- options.model = options.model || selectDefaultVideoModel(options.videoWorkflow, options, openclawConfig) || 'wan_v2.2-14b-fp8_i2v_lightx2v';
4035
+ if (!options.model) {
4036
+ let defaultVideoModel = selectDefaultVideoModel(options.videoWorkflow, options, openclawConfig);
4037
+ // Two-image first/last-frame animation defaults to the LTX-2.3 i2v morph
4038
+ // path (transition LoRA auto-applies); a configured videoModels.i2v or an
4039
+ // LTX pick from audio/quality routing still wins.
4040
+ if (
4041
+ options.videoWorkflow === 'i2v'
4042
+ && options.refImage && options.refImageEnd
4043
+ && !openclawConfig?.videoModels?.i2v
4044
+ && !isLtx2Model(defaultVideoModel)
4045
+ ) {
4046
+ defaultVideoModel = 'ltx23-22b-fp8_i2v_distilled';
4047
+ }
4048
+ options.model = defaultVideoModel || 'wan_v2.2-14b-fp8_i2v_lightx2v';
4049
+ }
4029
4050
  options.model = resolveVideoModelAlias(options.model, options.videoWorkflow);
4051
+ try {
4052
+ await loadLiveModelDefaults(options.model);
4053
+ } catch (error) {
4054
+ fatalCliError(error?.message || 'Could not load the live Sogni model catalog.', {
4055
+ code: error?.code || 'MODEL_CATALOG_UNAVAILABLE',
4056
+ hint: error?.hint
4057
+ });
4058
+ }
4030
4059
  const videoModelDefaults = getModelDefaults(options.model, openclawConfig);
4031
4060
  // Fall back to skill-local defaults for models the intel registry does not
4032
4061
  // carry (e.g. HappyHorse), so they get a sensible 16:9 default instead of the
@@ -4524,6 +4553,44 @@ if (options.video) {
4524
4553
  maxDimension: Math.min(baseVideoDimensionRules.maxDimension, WRAPPER_MAX_REF_VIDEO_DIMENSION)
4525
4554
  }
4526
4555
  : baseVideoDimensionRules;
4556
+
4557
+ // An implicit LTX i2v canvas follows an already-compatible local reference
4558
+ // directly. Resolve this before normalizing the model's landscape default so
4559
+ // the CLI does not print an intermediate adjustment that will immediately be
4560
+ // discarded in favor of the reference aspect.
4561
+ const hasRequestedVideoCanvas =
4562
+ cliSet.width ||
4563
+ cliSet.height ||
4564
+ cliSet.targetResolution ||
4565
+ widthFromConfig ||
4566
+ heightFromConfig ||
4567
+ widthFromPrompt ||
4568
+ heightFromPrompt ||
4569
+ targetResolutionFromPrompt;
4570
+ if (
4571
+ isLtx2Model(options.model) &&
4572
+ options.videoWorkflow === 'i2v' &&
4573
+ !hasRequestedVideoCanvas
4574
+ ) {
4575
+ const implicitRefPath = options.refImage || options.refImageEnd;
4576
+ if (implicitRefPath && !isHttpUrl(implicitRefPath) && existsSync(implicitRefPath)) {
4577
+ const implicitRefBuffer = readFileSync(implicitRefPath);
4578
+ const implicitRefDims = getImageDimensionsFromBuffer(implicitRefBuffer);
4579
+ if (implicitRefDims?.width && implicitRefDims?.height) {
4580
+ const sourceCanvas = computeSourceAspectCanvas(
4581
+ implicitRefDims.width,
4582
+ implicitRefDims.height,
4583
+ videoDimensionRules
4584
+ );
4585
+ options.width = sourceCanvas.width;
4586
+ options.height = sourceCanvas.height;
4587
+ options._ltxReferencePassthrough =
4588
+ sourceCanvas.width === implicitRefDims.width &&
4589
+ sourceCanvas.height === implicitRefDims.height;
4590
+ }
4591
+ }
4592
+ }
4593
+
4527
4594
  if (!Number.isFinite(options.width) || options.width <= 0 || !Number.isFinite(options.height) || options.height <= 0) {
4528
4595
  fatalCliError('Video width/height must be positive numbers.', {
4529
4596
  code: 'INVALID_ARGUMENT',
@@ -4572,6 +4639,7 @@ if (options.video) {
4572
4639
  const buffer = readFileSync(ref.path);
4573
4640
  const dims = getImageDimensionsFromBuffer(buffer);
4574
4641
  if (!dims?.width || !dims?.height) continue;
4642
+
4575
4643
  localRefDims.set(ref.key, dims);
4576
4644
 
4577
4645
  const predicted = predictSharpInsideResizeDims(dims.width, dims.height, options.width, options.height);
@@ -9939,7 +10007,11 @@ async function main() {
9939
10007
  return;
9940
10008
  }
9941
10009
 
9942
- await loadLiveModelDefaults(options.model);
10010
+ // Video catalog data is loaded before model-aware dimension planning.
10011
+ // Other media types retain the connected-stage lookup used previously.
10012
+ if (!options.video) {
10013
+ await loadLiveModelDefaults(options.model);
10014
+ }
9943
10015
  await ensureSufficientVideoBalance(client, log);
9944
10016
 
9945
10017
  if (options.estimateVideoCost) {
@@ -10327,8 +10399,13 @@ async function main() {
10327
10399
  if (options.outputFormat) {
10328
10400
  projectConfig.outputFormat = options.outputFormat;
10329
10401
  }
10402
+ // Skip the wrapper's generic resize only for the proven no-op case: an
10403
+ // implicit LTX canvas already equals the compatible local reference.
10404
+ // Explicit canvases and incompatible references retain wrapper handling.
10330
10405
  if (options.autoResizeVideoAssets !== null) {
10331
10406
  projectConfig.autoResizeVideoAssets = options.autoResizeVideoAssets;
10407
+ } else if (options._ltxReferencePassthrough) {
10408
+ projectConfig.autoResizeVideoAssets = false;
10332
10409
  }
10333
10410
 
10334
10411
  if (options.frames) {
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.17.1';
1
+ export const PACKAGE_VERSION = '3.18.0';