@sogni-ai/sogni-creative-agent-skill 3.57.0 → 3.58.1

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, create Pixal3D 3D models, remove backgrounds with BiRefNet, synthesize Qwen3-TTS speech, 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.57.0"
6
+ version: "3.58.1"
7
7
  author: Sogni AI
8
8
  hermes:
9
9
  category: creative
@@ -122,8 +122,10 @@ Seedance 2.5 supports 4–30s at 480p/720p/1080p, including edit/extend,
122
122
  with optional `--output-format mov` and `--return-last-frame`. Seedance 2.5
123
123
  Uncensored (`seedance2-5-uncensored`) has the same limits and Seedance 2.0 Mini
124
124
  Uncensored (`seedance2-mini-uncensored`) has Seedance 2.0 Mini's; use them only
125
- when asked, and on error 4103 tell the user to accept their shared likeness and
126
- consent agreement in the Sogni app instead of retrying. FastH3 Two-Stage
125
+ when asked. On error 4103, show the returned `consentUrl` and
126
+ `consentInstructions`: sign in with the same account as the agent/API key,
127
+ accept the shared agreement, then return and retry the original request.
128
+ Never accept for the user or retry while acceptance is pending. FastH3 Two-Stage
127
129
  delivers 720p/1080p/2K through its own model selector. FastH3 audio-to-video
128
130
  (`minimax-h3-fasth3-ia2v-turbo`, `-flfa2v-turbo`, `-a2v-turbo`) drives H3 with an
129
131
  uploaded `--ref-audio` track and keeps it as the soundtrack. Repeatable
@@ -16,6 +16,7 @@ substitute another destination model's prompt contract.
16
16
  | FLUX 3 Image Klein | A full scene caption in plain sentences: subject, framing, setting, lighting, and style; for reference edits, what to take from each reference and how they combine; no negative prompt (guidance is fixed at 1) | Prompt text only |
17
17
  | Chroma 1 / v.46 / Detail | One coherent natural-language visual description; exact visible text in quotes; no SD score/tag soup | Prompt text only |
18
18
  | Krea 2 / Krea 2 Turbo | Dense, fluent rich caption emphasizing observable composition, palette, light, texture, and atmosphere; no SD weighting syntax | Prompt text only |
19
+ | MOSS-Image SFT | Detailed natural-language caption, tags, or a supplied experimental JSON layout; preserve exact visible text and line breaks | Prompt text only; generation only |
19
20
  | Qwen Image 2512 | Detailed natural-language description with explicit spatial relationships and exact quoted typography | `positive_prompt:` plus `negative_prompt:` |
20
21
  | Z-Image | Compact instruction-aware natural-language caption | Foundation model: positive plus negative; Turbo: prompt text only |
21
22
  | GPT Image 2 | Direct natural-language creative direction with explicit layout, hierarchy, and exact quoted copy | Prompt text only |
@@ -34,6 +35,15 @@ Markdown fence, preamble, explanation, or render offer.
34
35
 
35
36
  ## Selector and operation discipline
36
37
 
38
+ - MOSS-Image SFT uses hosted selector `moss-image` and direct CLI model ID
39
+ `moss_image_sft_int8_convrot`. The 8-step preset uses hosted selector
40
+ `moss-image-8step` or direct ID `moss_image_sft_dmd8_int8_convrot`, with exactly
41
+ 8 steps and guidance 1. Both accept compatible Personal LoRAs. MOSS generates
42
+ from text and has no uploaded-photo
43
+ editing or reference-image input. JSON layouts use centered absolute pixel
44
+ boxes in `[y_min,x_min,y_max,x_max]` order, `bbox_format: "yxyx"`, and
45
+ `bbox_coord_space: "abs_centralized"`; match the generation canvas to the layout.
46
+
37
47
  - Treat a model selector as an exact capability declaration, not a name to
38
48
  fuzzy-match into a convenient family. Every selector exposed by
39
49
  `generate_image` and `edit_image` must resolve in the shared registry.
@@ -89,6 +89,8 @@ dimensions. "high quality" / "best quality" / "pro" → `-Q pro`; quick drafts
89
89
  | `qwen_image_2512_fp8_lightning` | Variable | Qwen Image 2512 Lightning |
90
90
  | `flux3_image_klein_sd_int8_convrot` | Variable | FLUX 3 Image Klein (Black Forest Labs): text-to-image, image-to-image, and edits from up to 10 optional context images |
91
91
  | `krea2_turbo_fp8_scaled` | Fast | Krea 2 Turbo text-to-image, fast high-quality generations with strong prompt adherence |
92
+ | `moss_image_sft_int8_convrot` | Full-step | Uncensored MOSS-Image SFT text-to-image with compatible Personal LoRAs; natural-language captions, tags and experimental JSON layouts; 50 steps, CFG 3, Euler / sgm_uniform |
93
+ | `moss_image_sft_dmd8_int8_convrot` | 8-step | Uncensored MOSS-Image with the built-in DMD adapter; CFG 1, Euler / sgm_uniform; compatible Personal LoRAs |
92
94
  | `dark_beast_krea2_fp8` | Fast | Dark Beast Krea 2 community text-to-image fine-tune |
93
95
  | `krea2_identity_edit_v1_2` | Fast | Krea 2 Identity Edit LoRA v1.2, identity-preserving edits with 1-2 references |
94
96
  | `dark_beast_krea2_identity_edit_v1_2` | Fast | Dark Beast Krea 2 Identity Edit community LoRA with 1-2 references |
@@ -137,14 +139,14 @@ alone, image-to-image from a start image, and edits or compositions guided by
137
139
  Qwen and Krea identity edit models. Hosted/chat planning uses the selector
138
140
  `flux-3-klein` on both `generate_image` and `edit_image`; direct CLI `-m` uses
139
141
  `flux3_image_klein_sd_int8_convrot`. Output is 256-4096 px per side (step 16,
140
- default 1024x1024) at 4-16 steps (default 16), including 4K: 3840x2160,
142
+ default 1440x1440, about 2 MP) at 4-16 steps (default 16), including 4K: 3840x2160,
141
143
  2160x3840 and 4096x4096 for prompts and several references. Renders above
142
144
  2048x2048 pixels run on 30 GB+ GPUs and take longer. An edit of one photo
143
145
  renders at that photo's own shape, up to 4 megapixels (for example 2352x1776 for
144
146
  a 4:3 photo; never enlarged): the CLI picks that size when you give none, and
145
147
  caps a larger one, because the server refuses one-photo edits above 4 MP (larger
146
148
  than its photo the edit breaks). With several references the first sets the
147
- shape at up to 1 MP. A different shape recomposes the photo. Guidance is fixed
149
+ shape at up to 2 MP. A different shape recomposes the photo. Guidance is fixed
148
150
  at 1, so a negative prompt has no effect; write a full scene caption instead,
149
151
  as Black Forest Labs recommends. It has no catalog LoRAs; personal LoRAs
150
152
  imported for FLUX 3 Image Klein work (`--lora personal-<id> --no-filter`; see
@@ -692,9 +694,11 @@ comes at a premium rate above Seedance 2.5; quote a render with
692
694
  - **Likeness and consent agreement**: each account must accept a one-time
693
695
  likeness and consent agreement in a Sogni app (web or chat) before its first
694
696
  render. Until then every job fails with error `4103`; the CLI reports it as a
695
- non-retryable `PERMISSION_REQUIRED` error that tells the user to accept the
696
- agreement in the Sogni app. Do not retry, and never try to accept it for the
697
- user (an API-key session cannot). Price estimates still work beforehand.
697
+ non-retryable `PERMISSION_REQUIRED` error with `consentUrl` and
698
+ `consentInstructions`. Show the clickable link, sign in with the same account
699
+ as the agent/API key, accept there, then return and retry the original request.
700
+ Never accept for the user or retry while acceptance is pending.
701
+ Price estimates still work beforehand.
698
702
  - **Not yet released**: where Sogni has not released the model yet, jobs and
699
703
  price estimates fail with error `4104`, reported as a non-retryable
700
704
  `MODEL_UNAVAILABLE` error whose message names the models to use instead.
@@ -721,7 +725,9 @@ Seedance 2.0 Mini; quote a render with `--estimate-video-cost`.
721
725
  consent agreement of Seedance 2.5 Uncensored; an account that accepted it in a
722
726
  Sogni app can use both. Until then every job fails with error `4103`, which
723
727
  the CLI reports as a non-retryable `PERMISSION_REQUIRED` error naming Seedance
724
- 2.0 Mini Uncensored. Do not retry, and never try to accept it for the user.
728
+ 2.0 Mini Uncensored. Show the returned clickable `consentUrl` and
729
+ `consentInstructions`, including the account and return guidance. Never accept
730
+ for the user or retry while acceptance is pending.
725
731
  - **Not yet released**: where Sogni has not released the model yet, jobs and
726
732
  price estimates fail with error `4104`, reported as a non-retryable
727
733
  `MODEL_UNAVAILABLE` error whose message names the models to use instead.
@@ -21,6 +21,12 @@ sogni-agent -m flux3_image_klein_sd_int8_convrot --lora personal-REPLACE-WITH-RE
21
21
  sogni-agent --video -m minimax-h3-fasth3-t2v-turbo-2stage --target-resolution 1080p --lora personal-REPLACE-WITH-RETURNED-ID --no-filter "the user's H3 prompt"
22
22
  ```
23
23
 
24
+ MOSS supports Personal LoRAs on `moss_image_sft_int8_convrot` and
25
+ `moss_image_sft_dmd8_int8_convrot`. Import for either preset; compatible entries
26
+ are shared across both. The 8-step preset keeps its built-in DMD adapter at 1.0
27
+ and applies the personal adapter after it. Personal strength controls only the
28
+ personal adapter. MOSS LoRAs cannot be used on Krea or FLUX.
29
+
24
30
  First confirm the selected model occurs in the entry's `modelIds`. Preserve the user's selected model. The CLI discovers owned entries through the authenticated catalog and uses catalog defaults when strengths are omitted; repeat `--lora-strength` to set explicit ordered strengths. Follow the entry's prompt and workflow requirements. Personal imports require `--no-filter`; explain that setting when it was not already requested. H3 audio-guided modes do not support LoRAs.
25
31
 
26
32
  `--list-loras` remains public and requires no account; add `--include-personal-loras` to merge owned ready imports. Catalog responses are account-specific. Do not share them between users.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.57.0",
3
+ "version": "3.58.1",
4
4
  "description": "Sogni Creative Agent: image, 3D, speech, 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.57.0",
3
+ "version": "3.58.1",
4
4
  "description": "Create images, 3D models, speech, generative video, music, and image-folder loops with Sogni AI.",
5
5
  "author": {
6
6
  "name": "Sogni AI",
package/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## [3.58.1] - 2026-10-19
2
+
3
+ ### Bug Fixes
4
+
5
+ * When a model needs its one-time account agreement, show a direct review link, the Sogni account to use, and instructions for returning to the original request after accepting. Update the intelligence client to 4.16.1 for these recovery details.
6
+
7
+ ## [3.58.0] - 2026-10-18
8
+
9
+ ### Added
10
+
11
+ * Generate uncensored images from text with MOSS-Image and MOSS-Image 8-Step, including compatible Personal LoRAs.
12
+
13
+ ### Changed
14
+
15
+ * Use the published MOSS contracts in intelligence client 4.15.0 and SDK 5.65.0.
16
+
17
+ ## [3.57.1] - 2026-10-17
18
+
19
+ ### Bug Fixes
20
+
21
+ * FLUX 3 Image Klein now renders at about 2 megapixels when no size is given, the 2K that Black Forest Labs recommends for its best results: a text-to-image renders at 1440x1440 (was 1024x1024), and an edit with several references sizes from the first one at up to 2 megapixels (was 1), never enlarged. An edit of one photo still keeps that photo's own shape up to 4 megapixels, and a size you give is kept. This matches Sogni Web, chat and the hosted agent.
22
+ * Update the intelligence client to 4.14.1 (creative agent 2.15.1) and the Sogni SDK (`@sogni-ai/sogni-client`) to 5.64.0 with protocol 1.0.0-alpha.51, the versions Sogni Web, chat and the hosted API run. 3.57.0 listed SDK 5.64.0 but still installed 5.63.3; this release installs 5.64.0, which routes Klein with up to ten references at up to 4096 px a side.
23
+
1
24
  ## [3.57.0] - 2026-10-16
2
25
 
3
26
  ### Features
package/README.md CHANGED
@@ -26,6 +26,8 @@ It ships four ways:
26
26
 
27
27
  With this skill, an agent can:
28
28
 
29
+ - generate with MOSS-Image SFT from captions, tags, or JSON layouts (`-m moss_image_sft_int8_convrot`), or the 8-step preset (`-m moss_image_sft_dmd8_int8_convrot`); both accept compatible Personal LoRAs. Optional `--moss-rope-scale-x` and `--moss-rope-scale-y` adjust spatial composition (0–100; neutral 1) while preserving output dimensions. See the [model recipes](./references/models.md).
30
+
29
31
  - generate images from prompts and edit/restyle existing images
30
32
  - select an object in an original image and return its SAM 3 mask (`--segment`; see the [object selection guide](references/object-selection.md))
31
33
  - create videos from text, images, first/last frames, audio, or source video (LTX-2.5), with LTX-2.3 retained for voice ID, transition, and 10Eros workflows
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sogni-creative-agent-skill
3
3
  description: "CLI and agent skill for personal LoRAs, image, video, and music generation using Sogni AI's decentralized GPU network. Supports Pixal3D single- and multi-view image-to-GLB, BiRefNet background removal, Qwen3-TTS speech/voice cloning/design, MiniMax Music 3, SAM 3 object selection, promptless RTX VSR image upscaling through 16K, promptless FlashVSR video upscaling to 1080p/1440p, 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/LightX2V Turbo/FastH3 Turbo (including audio-to-video from an uploaded track)/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\", \"upscale a video\", \"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.57.0"
5
+ version: "3.58.1"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -399,7 +399,7 @@ When the requested image is meant to **repeat edge to edge without visible joins
399
399
 
400
400
  ### Model selection
401
401
 
402
- 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. Seedance 2.5 Uncensored (`-m seedance2-5-uncensored`, also "Seedance Uncensored" or "Seedance Spicy") has every Seedance 2.5 mode and limit; use it only when the user asks for it. Error 4103 means the account has not accepted its one-time likeness and consent agreement: tell the user to accept it in the Sogni app and do not retry.
402
+ 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. Seedance 2.5 Uncensored (`-m seedance2-5-uncensored`, also "Seedance Uncensored" or "Seedance Spicy") has every Seedance 2.5 mode and limit; use it only when the user asks for it. On error 4103, show the returned `consentUrl` as a clickable link and include `consentInstructions`, with the account to use and how to return to the original request after manual acceptance. Never accept for the user or retry while acceptance is pending.
403
403
 
404
404
  `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.
405
405
 
@@ -483,7 +483,7 @@ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise rend
483
483
  | Read this | When the task involves |
484
484
  |-----------|------------------------|
485
485
  | [`references/interactive-worlds.md`](./references/interactive-worlds.md) | Building an explorable world end to end: the nine-model stack in order, the prepare/render/verify/retain loop, and the measured failure modes of each stage — segmentation prompts, matte thresholds, 3D input resolution, single-keyframe clips and reverse playback, dialogue loudness spread, voice-clone transcripts, on-camera lip-sync |
486
- | [`references/image-prompting.md`](./references/image-prompting.md) | Writing prompt-only image deliverables for SD/SDXL/Pony, FLUX.1 Schnell, FLUX 3 Image Klein, Chroma, Krea 2, Qwen, Z-Image, GPT Image, or model-specific edit operations |
486
+ | [`references/image-prompting.md`](./references/image-prompting.md) | Writing prompt-only image deliverables for SD/SDXL/Pony, FLUX.1 Schnell, FLUX 3 Image Klein, Chroma, Krea 2, Qwen, Z-Image, MOSS-Image, GPT Image, or model-specific edit operations |
487
487
  | [`references/video-prompting.md`](./references/video-prompting.md) | Writing LTX video prompts; writing MiniMax H3 official ordered-field prompts, mode preambles, shot notation, speaker IDs, dialogue tags, and intermediate keyframes; high-res/4K routing; orientation/aspect mapping; camera language |
488
488
  | [`references/private-mature-video.md`](./references/private-mature-video.md) | Mature-theme video model, LoRA, frame modes, and prompt tokens |
489
489
  | [`references/video-editing.md`](./references/video-editing.md) | Animate between images, continue/bridge videos, 360 turnarounds, concat, audio remix/layering, v2v ControlNet |
@@ -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.57.0",
5
+ "version": "3.58.1",
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",
@@ -2863,7 +2863,7 @@ const PROMPT_CONTRACTS = [
2863
2863
  "contractId": "generate_image_v1",
2864
2864
  "version": "1.1.0",
2865
2865
  "toolName": "generate_image",
2866
- "baseDescription": "generate_image creates images from text descriptions. Use for text-only image generation;\nuse edit_image when uploaded or reference images must guide identity/likeness.\nException: Z-image, Z-image Turbo, and Krea 2 Turbo image-to-image/enhancement requests\nuse generate_image with model=\"z-turbo\", model=\"z-image\", or model=\"krea-2-turbo\",\nsourceImageIndex=-1, and starting_image_strength; do not route explicit base-model\nZ-image Turbo or Krea 2 Turbo uploaded-image enhancement to edit_image because edit_image\ndoes not expose those base image-to-image models.\n\nMODEL CHOICE: If the user asks for Krea 2 Turbo, choose model=\"krea-2-turbo\". If they ask\nfor FLUX 3 or FLUX 3 Image Klein, choose model=\"flux-3-klein\". If they ask\nfor Dark Beast Krea 2, choose model=\"dark-beast-krea2\". If they ask for Dark Beast Z-Image\nTurbo, choose model=\"dark-beast-z-turbo\". If they ask for Chroma 1 HD, choose model=\"chroma1-hd\".\nIf they ask for anime or anime-style output without naming a model, choose model=\"one-obsession-v22\".\nBase Z-image and Krea 2 Turbo image-to-image/enhancement requests stay on generate_image with\nsourceImageIndex and starting_image_strength; identity-preserving Krea edits with reference\nphotos use edit_image instead.\n\nBATCH FAN-OUT DEFAULT (READ BEFORE ANYTHING ELSE BELOW):\nWhen the user explicitly asks for N images in the CURRENT turn, set numberOfVariations=N\nin one call. Avoid multiple serial generate_image calls unless the user explicitly wants\nindependent projects, isolated approvals, or per-output settings that cannot share one project.\nDo not omit numberOfVariations and try to \"generate the next one after this finishes\".\nTrigger phrasings:\n\"draw N\", \"make N\", \"give me N\", \"show me N\", \"render N\", \"create N\", \"generate N\",\n\"N more\", \"another N\", \"N as separate\", \"N separate images\", \"N different images\",\n\"N options\", \"N takes\", \"N versions\", \"N variations\", \"N pictures of\",\n\"all at the same time\", \"in parallel\", \"side by side as separate\".\n\nTHE PRIOR TURN DOES NOT ANCHOR THE CURRENT TURN. If the prior assistant turn used\nnumberOfVariations=1 with a composite \"N subjects in one image\" prompt, and the user\nnow says \"draw N more as separate images\" / \"as separate\" / \"separately\", DO NOT carry\nover numberOfVariations=1 from the prior call. The user is correcting that interpretation;\nset numberOfVariations=N for THIS call with one self-contained prompt per image via {|}\nDynamic Prompt branches. The new turn's count + separation language always wins over the\nprevious turn's pattern.\n\nWHEN BATCH FAN-OUT DOES NOT APPLY: numberOfVariations=1 with multiple subjects packed into\nONE prompt is correct only when the user clearly wants a SINGLE composite image (e.g.\n\"draw 2 goats in a meadow\" with no separation language, or explicit \"in one image\" / \"one\npicture of N\" / \"single image\" / \"composite\" / \"sheet\" / \"side-by-side composition\").\n\nIMAGE PROMPT ORDER: [SUBJECT] → [ATTRIBUTES] → [ACTION/POSE] → [CAMERA/FRAMING]\n→ [ENVIRONMENT] → [LIGHTING] → [STYLE/MEDIUM] → [MATERIALS/TEXTURES] →\n[SECONDARY DETAILS]. By default, start with the main subject and concrete observable\nattributes; use mood or atmosphere first only when the user explicitly asks for that shape.\nUse concrete nouns and observable adjectives — \"soft overcast daylight\" not \"nice lighting\".\nGood defaults when user is underspecified: medium shot for portraits, wide shot for\nenvironments, eye-level angle, soft natural light for realism.\n\nDYNAMIC PROMPTS: When numberOfVariations > 1 and distinct content is requested, use\nDynamic Prompt syntax to make each\nvariation meaningfully different — not just seed-different. Syntax: {a|b|c} cycles\nsequentially, {@a|b|c} picks randomly, {~a|b} paired cycling across groups. Rules: (1) Vary\nONLY what the user left unspecified — lock in everything they specified. (2) Match option\ncount to numberOfVariations so every result is unique. (3) Briefly tell the user what you're\nvarying without exposing raw {|} syntax unless the user asks to inspect the prompt.\n(4) Skip when: user wants consistency, prompt is fully\nspecified, user typed their own {|} syntax, or iterating on a specific result. (5) Do not put\nbatch counts or the words \"versions\"/\"variations\" into scene content. Preserve authored\nsubject counts and requested visible words verbatim. The prompt describes one output image;\ntyped count and grouping arguments determine batching, not words inside the prompt.\nLINKED VARIANTS: when multiple attributes must stay paired per result, use ONE top-level\nDynamic Prompt branch with one complete self-contained prompt per output. Do NOT split\nlinked fields into separate Dynamic Prompt groups. Treat every batch-wide requirement\nquantified as \"each\", \"every\", or \"all\" as a hard per-option invariant: repeat it inside\nEVERY option, including identity/pose continuity, clothing/style, the concrete setting, and\nliteral visible names, labels, captions, flags, logos, or symbols. A shared prefix or another\noption is never a substitute for a complete standalone option.\nEach option must name its actual styling, setting, accessories, and requested literal text or\nsymbol. Never emit meta-placeholders such as \"variant-specific background\", \"requested\nsymbol\", \"humorous alternate name\", or \"bake the name and symbol into the image\".\nWhen one option remakes/preserves an original and the others are themed variants, make the\noriginal option equally concrete: specify the original clothing and setting plus every\nrequested label, flag, logo, symbol, or prop; do not write only \"the original\".\n\nSELECTION-GATED IMAGE STAGES: If the user asks for N image options and says they will pick\none before a later dance/video/animation, call generate_image once with numberOfVariations=N.\nAfter images are created, stop and ask the user to choose unless the user explicitly asked\nto run the later stage immediately.\n\nIMAGE→VIDEO DIMENSION RULE: When generating an image that will feed into a video tool\n(animate_photo, sound_to_video, etc.), the image MUST be generated at the SAME aspect\nratio and dimensions as the target video. Default video aspect ratio is 16:9 landscape —\npass aspectRatio=\"16:9\" (or the user's specified/reference ratio) so the source image\nmatches the video output. Do not generate a square image for a widescreen video. Exception:\na composite GPT Image 2 storyboard/keyframe sheet for a later Seedance video is a board,\nnot a single source frame; unless the user explicitly specifies a storyboard page/canvas/sheet\nshape, default the sheet image dimensions to a balanced grid that hosts the target\nscene-cell/frame aspect natively (portrait video target -> portrait or square sheet whose\ncolumns x rows grid produces ~9:16 cells; landscape video target -> landscape sheet whose\nrows x columns grid produces ~16:9 cells). Each scene-cell/frame area preserves the target\nvideo aspect ratio.\n\nSTORYBOARD IMAGE BATCH RULE: When rendering scene keyframes from a screenplay/storyboard,\nnumberOfVariations is only the count; the prompt should be one Dynamic Prompt branch with one\nfull keyframe prompt per scene:\n{scene 1 full keyframe prompt|scene 2 full keyframe prompt|...|scene N full keyframe prompt}.\nDo not set numberOfVariations=N with only the first scene prompt — that creates N versions of\nscene 1. For full project requests, one generate_image batch for all scene keyframes, then\none animate_photo batch for all video clips in parallel.\n\nSTORYTELLING / BRAND / SOCIAL IMAGE PROMPTS: If generating a storyboard, ad concept,\ntrailer sheet, meme, creator post, or provocative social concept, make the first frame or\npanel immediately legible. Preserve the user's requested tone and audience. Use concrete\ncomposition, persona, product/brand role, caption placement, readable required text, and a\nclear visual transformation or punchline. For provocative adult social content, keep subjects\nclearly adult and consensual, PG-13/non-explicit, and avoid minor-coded styling or school-coded\nsettings while still optimizing visual magnet, persona, caption bait, and replay/comment value.\n\nGPT IMAGE STORYBOARD SHEET → SEEDANCE AUTO-PROCEED: If the user asks to run the whole\nGPT Image storyboard/keyframe sheet plus Seedance workflow without approval, the FIRST\ngenerate_image call must create ONE composite storyboard/keyframe sheet, not loose concept\nart and not separate keyframes. Default to model=\"gpt-image-2.5-sunburst\" and preserve another\nexplicit GPT Image model named by the user. Use numberOfVariations=1 and a\ncompiled storyboard prompt that literally includes: \"Create exactly N sequential video\nstoryboard frames as one composite storyboard image\", \"Target final video aspect ratio: X\",\na `SCENES:` section, and exactly N concrete scene entries named `SCENE_01`, `SCENE_02`,\netc. Each scene entry must include `Visual/Action:`, `Camera/Motion:`, `Dialogue/VO:`\n(use `[no dialogue]` when silent), `Audio/SFX:`, and any reference/visible-text notes\nneeded for that scene. Do not send only a source brief, storyboard concept, or generic\nlayout instructions as the prompt; malformed compiled storyboard prompts are blocked by\nquality audit instead of being repaired at runtime. If the user does not explicitly specify\na frame count, choose N with the shared storyboard density default: at least one key visual\nbeat about every 2 seconds, rounded up and clamped to 6-16 total storyboard frames\n(for example, a 60 second commercial defaults to N=16). Unless the user explicitly specifies another\nstoryboard page/canvas/sheet shape, default the GPT Image 2 storyboard sheet pixel dimensions\nto a balanced grid that hosts the target cell aspect natively: for a 9:16 portrait video,\npick a portrait-leaning sheet whose columns x rows grid produces ~9:16 cells (e.g., 12 cells\n-> ~3:4 sheet around 1728x2304, 6 cells -> ~27:32 around 1840x2176, 9 cells -> ~9:16 around\n1504x2672); for a 16:9 landscape video, pick a landscape sheet whose rows x columns grid\nproduces ~16:9 cells (e.g., 12 cells -> ~4:3 sheet around 2304x1728). Do not force landscape\n2560x1440 when cells are portrait — a landscape sheet with a portrait-cell grid cannot host\n9:16 cells without crushing them. Preserve the requested final video aspect ratio for every\nframe area. After\nthat image completes, call generate_video once using the generated storyboard board as\n@Image1/referenceImageIndices=[0], with skipPromptProcessing=false only when the user\nexplicitly wants the storyboard text rewritten; otherwise preserve the compiled shot guide\nand use skipPromptProcessing=true, expandPrompt=false.\n\nDO NOT USE generate_image FOR UPLOADED REFERENCE LOOPED VIDEO SEGMENTS: If the user says\nthe same uploaded image/reference should be reused as the first frame and last frame of each\nscripted segment/scene/clip before stitching, they are explicitly asking to animate the\nuploaded image, not to generate new storyboard keyframes. Do not call generate_image for\nthat request. Call animate_photo once with repeated uploaded source indices and per-scene\nprompts.\n\nREUSING RESULTS: When the user asks to redo, retry, or revise (e.g., \"try a new version\",\n\"redo the video with X\"), reuse the existing source images — do NOT regenerate them unless\nthe user explicitly asks for new images or describes changes to the images themselves.\nReference the existing result indices from the prior generation. If unsure whether the user\nwants new images, ask — don't regenerate by default.",
2866
+ "baseDescription": "generate_image creates images from text descriptions. Use for text-only image generation;\nuse edit_image when uploaded or reference images must guide identity/likeness.\nException: Z-image, Z-image Turbo, and Krea 2 Turbo image-to-image/enhancement requests\nuse generate_image with model=\"z-turbo\", model=\"z-image\", or model=\"krea-2-turbo\",\nsourceImageIndex=-1, and starting_image_strength; do not route explicit base-model\nZ-image Turbo or Krea 2 Turbo uploaded-image enhancement to edit_image because edit_image\ndoes not expose those base image-to-image models.\n\nMODEL CHOICE: If the user asks for Krea 2 Turbo, choose model=\"krea-2-turbo\". If they ask\nfor MOSS-Image or MOSS-Image SFT, choose model=\"moss-image\" for text-to-image generation.\nFor MOSS 8-step or DMD, choose model=\"moss-image-8step\" with 8 steps and guidance 1.\nBoth MOSS presets are uncensored and support compatible Personal LoRAs.\nMOSS-Image SFT does not accept uploaded image references or perform instruction editing. If they ask\nfor FLUX 3 or FLUX 3 Image Klein, choose model=\"flux-3-klein\". If they ask\nfor Dark Beast Krea 2, choose model=\"dark-beast-krea2\". If they ask for Dark Beast Z-Image\nTurbo, choose model=\"dark-beast-z-turbo\". If they ask for Chroma 1 HD, choose model=\"chroma1-hd\".\nIf they ask for anime or anime-style output without naming a model, choose model=\"one-obsession-v22\".\nBase Z-image and Krea 2 Turbo image-to-image/enhancement requests stay on generate_image with\nsourceImageIndex and starting_image_strength; identity-preserving Krea edits with reference\nphotos use edit_image instead.\n\nBATCH FAN-OUT DEFAULT (READ BEFORE ANYTHING ELSE BELOW):\nWhen the user explicitly asks for N images in the CURRENT turn, set numberOfVariations=N\nin one call. Avoid multiple serial generate_image calls unless the user explicitly wants\nindependent projects, isolated approvals, or per-output settings that cannot share one project.\nDo not omit numberOfVariations and try to \"generate the next one after this finishes\".\nTrigger phrasings:\n\"draw N\", \"make N\", \"give me N\", \"show me N\", \"render N\", \"create N\", \"generate N\",\n\"N more\", \"another N\", \"N as separate\", \"N separate images\", \"N different images\",\n\"N options\", \"N takes\", \"N versions\", \"N variations\", \"N pictures of\",\n\"all at the same time\", \"in parallel\", \"side by side as separate\".\n\nTHE PRIOR TURN DOES NOT ANCHOR THE CURRENT TURN. If the prior assistant turn used\nnumberOfVariations=1 with a composite \"N subjects in one image\" prompt, and the user\nnow says \"draw N more as separate images\" / \"as separate\" / \"separately\", DO NOT carry\nover numberOfVariations=1 from the prior call. The user is correcting that interpretation;\nset numberOfVariations=N for THIS call with one self-contained prompt per image via {|}\nDynamic Prompt branches. The new turn's count + separation language always wins over the\nprevious turn's pattern.\n\nWHEN BATCH FAN-OUT DOES NOT APPLY: numberOfVariations=1 with multiple subjects packed into\nONE prompt is correct only when the user clearly wants a SINGLE composite image (e.g.\n\"draw 2 goats in a meadow\" with no separation language, or explicit \"in one image\" / \"one\npicture of N\" / \"single image\" / \"composite\" / \"sheet\" / \"side-by-side composition\").\n\nIMAGE PROMPT ORDER: [SUBJECT] → [ATTRIBUTES] → [ACTION/POSE] → [CAMERA/FRAMING]\n→ [ENVIRONMENT] → [LIGHTING] → [STYLE/MEDIUM] → [MATERIALS/TEXTURES] →\n[SECONDARY DETAILS]. By default, start with the main subject and concrete observable\nattributes; use mood or atmosphere first only when the user explicitly asks for that shape.\nUse concrete nouns and observable adjectives — \"soft overcast daylight\" not \"nice lighting\".\nGood defaults when user is underspecified: medium shot for portraits, wide shot for\nenvironments, eye-level angle, soft natural light for realism.\n\nDYNAMIC PROMPTS: When numberOfVariations > 1 and distinct content is requested, use\nDynamic Prompt syntax to make each\nvariation meaningfully different — not just seed-different. Syntax: {a|b|c} cycles\nsequentially, {@a|b|c} picks randomly, {~a|b} paired cycling across groups. Rules: (1) Vary\nONLY what the user left unspecified — lock in everything they specified. (2) Match option\ncount to numberOfVariations so every result is unique. (3) Briefly tell the user what you're\nvarying without exposing raw {|} syntax unless the user asks to inspect the prompt.\n(4) Skip when: user wants consistency, prompt is fully\nspecified, user typed their own {|} syntax, or iterating on a specific result. (5) Do not put\nbatch counts or the words \"versions\"/\"variations\" into scene content. Preserve authored\nsubject counts and requested visible words verbatim. The prompt describes one output image;\ntyped count and grouping arguments determine batching, not words inside the prompt.\nLINKED VARIANTS: when multiple attributes must stay paired per result, use ONE top-level\nDynamic Prompt branch with one complete self-contained prompt per output. Do NOT split\nlinked fields into separate Dynamic Prompt groups. Treat every batch-wide requirement\nquantified as \"each\", \"every\", or \"all\" as a hard per-option invariant: repeat it inside\nEVERY option, including identity/pose continuity, clothing/style, the concrete setting, and\nliteral visible names, labels, captions, flags, logos, or symbols. A shared prefix or another\noption is never a substitute for a complete standalone option.\nEach option must name its actual styling, setting, accessories, and requested literal text or\nsymbol. Never emit meta-placeholders such as \"variant-specific background\", \"requested\nsymbol\", \"humorous alternate name\", or \"bake the name and symbol into the image\".\nWhen one option remakes/preserves an original and the others are themed variants, make the\noriginal option equally concrete: specify the original clothing and setting plus every\nrequested label, flag, logo, symbol, or prop; do not write only \"the original\".\n\nSELECTION-GATED IMAGE STAGES: If the user asks for N image options and says they will pick\none before a later dance/video/animation, call generate_image once with numberOfVariations=N.\nAfter images are created, stop and ask the user to choose unless the user explicitly asked\nto run the later stage immediately.\n\nIMAGE→VIDEO DIMENSION RULE: When generating an image that will feed into a video tool\n(animate_photo, sound_to_video, etc.), the image MUST be generated at the SAME aspect\nratio and dimensions as the target video. Default video aspect ratio is 16:9 landscape —\npass aspectRatio=\"16:9\" (or the user's specified/reference ratio) so the source image\nmatches the video output. Do not generate a square image for a widescreen video. Exception:\na composite GPT Image 2 storyboard/keyframe sheet for a later Seedance video is a board,\nnot a single source frame; unless the user explicitly specifies a storyboard page/canvas/sheet\nshape, default the sheet image dimensions to a balanced grid that hosts the target\nscene-cell/frame aspect natively (portrait video target -> portrait or square sheet whose\ncolumns x rows grid produces ~9:16 cells; landscape video target -> landscape sheet whose\nrows x columns grid produces ~16:9 cells). Each scene-cell/frame area preserves the target\nvideo aspect ratio.\n\nSTORYBOARD IMAGE BATCH RULE: When rendering scene keyframes from a screenplay/storyboard,\nnumberOfVariations is only the count; the prompt should be one Dynamic Prompt branch with one\nfull keyframe prompt per scene:\n{scene 1 full keyframe prompt|scene 2 full keyframe prompt|...|scene N full keyframe prompt}.\nDo not set numberOfVariations=N with only the first scene prompt — that creates N versions of\nscene 1. For full project requests, one generate_image batch for all scene keyframes, then\none animate_photo batch for all video clips in parallel.\n\nSTORYTELLING / BRAND / SOCIAL IMAGE PROMPTS: If generating a storyboard, ad concept,\ntrailer sheet, meme, creator post, or provocative social concept, make the first frame or\npanel immediately legible. Preserve the user's requested tone and audience. Use concrete\ncomposition, persona, product/brand role, caption placement, readable required text, and a\nclear visual transformation or punchline. For provocative adult social content, keep subjects\nclearly adult and consensual, PG-13/non-explicit, and avoid minor-coded styling or school-coded\nsettings while still optimizing visual magnet, persona, caption bait, and replay/comment value.\n\nGPT IMAGE STORYBOARD SHEET → SEEDANCE AUTO-PROCEED: If the user asks to run the whole\nGPT Image storyboard/keyframe sheet plus Seedance workflow without approval, the FIRST\ngenerate_image call must create ONE composite storyboard/keyframe sheet, not loose concept\nart and not separate keyframes. Default to model=\"gpt-image-2.5-sunburst\" and preserve another\nexplicit GPT Image model named by the user. Use numberOfVariations=1 and a\ncompiled storyboard prompt that literally includes: \"Create exactly N sequential video\nstoryboard frames as one composite storyboard image\", \"Target final video aspect ratio: X\",\na `SCENES:` section, and exactly N concrete scene entries named `SCENE_01`, `SCENE_02`,\netc. Each scene entry must include `Visual/Action:`, `Camera/Motion:`, `Dialogue/VO:`\n(use `[no dialogue]` when silent), `Audio/SFX:`, and any reference/visible-text notes\nneeded for that scene. Do not send only a source brief, storyboard concept, or generic\nlayout instructions as the prompt; malformed compiled storyboard prompts are blocked by\nquality audit instead of being repaired at runtime. If the user does not explicitly specify\na frame count, choose N with the shared storyboard density default: at least one key visual\nbeat about every 2 seconds, rounded up and clamped to 6-16 total storyboard frames\n(for example, a 60 second commercial defaults to N=16). Unless the user explicitly specifies another\nstoryboard page/canvas/sheet shape, default the GPT Image 2 storyboard sheet pixel dimensions\nto a balanced grid that hosts the target cell aspect natively: for a 9:16 portrait video,\npick a portrait-leaning sheet whose columns x rows grid produces ~9:16 cells (e.g., 12 cells\n-> ~3:4 sheet around 1728x2304, 6 cells -> ~27:32 around 1840x2176, 9 cells -> ~9:16 around\n1504x2672); for a 16:9 landscape video, pick a landscape sheet whose rows x columns grid\nproduces ~16:9 cells (e.g., 12 cells -> ~4:3 sheet around 2304x1728). Do not force landscape\n2560x1440 when cells are portrait — a landscape sheet with a portrait-cell grid cannot host\n9:16 cells without crushing them. Preserve the requested final video aspect ratio for every\nframe area. After\nthat image completes, call generate_video once using the generated storyboard board as\n@Image1/referenceImageIndices=[0], with skipPromptProcessing=false only when the user\nexplicitly wants the storyboard text rewritten; otherwise preserve the compiled shot guide\nand use skipPromptProcessing=true, expandPrompt=false.\n\nDO NOT USE generate_image FOR UPLOADED REFERENCE LOOPED VIDEO SEGMENTS: If the user says\nthe same uploaded image/reference should be reused as the first frame and last frame of each\nscripted segment/scene/clip before stitching, they are explicitly asking to animate the\nuploaded image, not to generate new storyboard keyframes. Do not call generate_image for\nthat request. Call animate_photo once with repeated uploaded source indices and per-scene\nprompts.\n\nREUSING RESULTS: When the user asks to redo, retry, or revise (e.g., \"try a new version\",\n\"redo the video with X\"), reuse the existing source images — do NOT regenerate them unless\nthe user explicitly asks for new images or describes changes to the images themselves.\nReference the existing result indices from the prior generation. If unsure whether the user\nwants new images, ask — don't regenerate by default.",
2867
2867
  "parameterDocs": {
2868
2868
  "prompt": "Text description of one output image. Put the subject first. Preserve authored subject counts and requested visible words. Use Dynamic Prompt syntax for requested distinct content; a fully specified or consistent scene may use a plain prompt.",
2869
2869
  "numberOfVariations": "Number of output images. Typed count and grouping arguments determine batching. Use Dynamic Prompt {|} syntax for requested distinct content; a fully specified or consistent scene may use a plain prompt. Preserve requested visible count or version words in the prompt.",
package/llm.txt CHANGED
@@ -25,6 +25,10 @@ Music uses `--music`, MiniMax Music 3 by default (`-m turbo` for ACE-Step); Qwen
25
25
  `--speech-mode voice|clone|design`. Read the model reference for required inputs,
26
26
  allowed controls, and hosted alternatives.
27
27
 
28
+ MOSS-Image SFT uses `-m moss_image_sft_int8_convrot`: 50 steps, guidance 3,
29
+ Euler / sgm_uniform. It generates from text, tags or experimental JSON layouts
30
+ and accepts no reference images. Read `references/image-prompting.md` for layouts.
31
+
28
32
  ## Install (pick the integration that matches your environment)
29
33
 
30
34
  ```bash
@@ -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.57.0",
5
+ "version": "3.58.1",
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.57.0",
3
+ "version": "3.58.1",
4
4
  "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, 3D, speech, video, and music generation.",
5
5
  "type": "module",
6
6
  "main": "sogni-agent.mjs",
@@ -102,13 +102,13 @@
102
102
  "media-utilities.mjs"
103
103
  ],
104
104
  "dependencies": {
105
- "@sogni-ai/sogni-intelligence-client": "4.13.0",
105
+ "@sogni-ai/sogni-intelligence-client": "4.16.1",
106
106
  "execa": "^10.0.1",
107
107
  "json5": "^2.2.3",
108
108
  "sharp": "0.35.5"
109
109
  },
110
110
  "overrides": {
111
- "@sogni-ai/sogni-client": "5.63.3"
111
+ "@sogni-ai/sogni-client": "5.66.0"
112
112
  },
113
113
  "openclaw": {
114
114
  "extensions": [
@@ -42,8 +42,8 @@ Honor requests to wait for user input; model-specific policies still apply.
42
42
  - Upscale a finished video: `sogni-agent --upscale-video ./clip.mp4 --upscale-resolution 1080 -o ./clip-1080p.mp4` (promptless FlashVSR; also supports 1440p)
43
43
  - 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."`
44
44
  - Alibaba Wan 3 unified video: `sogni-agent --video -m wan3 --target-resolution 1080 --duration 8 "a presenter says 'Welcome' in a detailed studio"`
45
- - Seedance 2.5 Uncensored, only when asked: `sogni-agent --video -m seedance2-5-uncensored --target-resolution 1080 --duration 8 "a slow dolly through a neon street at night"` (same limits as Seedance 2.5; error 4103 means the user must accept the one-time likeness and consent agreement in the Sogni app; do not retry)
46
- - Seedance 2.0 Mini Uncensored, only when asked: `sogni-agent --video -m seedance2-mini-uncensored --target-resolution 720 --duration 8 "a slow dolly through a neon street at night"` (same limits as Seedance 2.0 Mini; shares the Seedance 2.5 Uncensored agreement, so error 4103 means the user must accept it in the Sogni app; do not retry)
45
+ - Seedance 2.5 Uncensored, only when asked: `sogni-agent --video -m seedance2-5-uncensored --target-resolution 1080 --duration 8 "a slow dolly through a neon street at night"` (same limits as Seedance 2.5; on error 4103 show the returned `consentUrl` and `consentInstructions`, use the same account as the agent/API key, and return to retry after manual acceptance)
46
+ - Seedance 2.0 Mini Uncensored, only when asked: `sogni-agent --video -m seedance2-mini-uncensored --target-resolution 720 --duration 8 "a slow dolly through a neon street at night"` (same limits as Seedance 2.0 Mini; shares the agreement; on error 4103 show `consentUrl` and `consentInstructions`, including the account and return guidance; never accept or retry for the user)
47
47
  - 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"`
48
48
  - One-click image-folder loop: `/sogni-creative-agent:loop-maker ./images`
49
49
  - One-click image-folder loop in Codex: `$sogni-creative-agent:loop-maker ./images`
@@ -16,6 +16,7 @@ substitute another destination model's prompt contract.
16
16
  | FLUX 3 Image Klein | A full scene caption in plain sentences: subject, framing, setting, lighting, and style; for reference edits, what to take from each reference and how they combine; no negative prompt (guidance is fixed at 1) | Prompt text only |
17
17
  | Chroma 1 / v.46 / Detail | One coherent natural-language visual description; exact visible text in quotes; no SD score/tag soup | Prompt text only |
18
18
  | Krea 2 / Krea 2 Turbo | Dense, fluent rich caption emphasizing observable composition, palette, light, texture, and atmosphere; no SD weighting syntax | Prompt text only |
19
+ | MOSS-Image SFT | Detailed natural-language caption, tags, or a supplied experimental JSON layout; preserve exact visible text and line breaks | Prompt text only; generation only |
19
20
  | Qwen Image 2512 | Detailed natural-language description with explicit spatial relationships and exact quoted typography | `positive_prompt:` plus `negative_prompt:` |
20
21
  | Z-Image | Compact instruction-aware natural-language caption | Foundation model: positive plus negative; Turbo: prompt text only |
21
22
  | GPT Image 2 | Direct natural-language creative direction with explicit layout, hierarchy, and exact quoted copy | Prompt text only |
@@ -34,6 +35,15 @@ Markdown fence, preamble, explanation, or render offer.
34
35
 
35
36
  ## Selector and operation discipline
36
37
 
38
+ - MOSS-Image SFT uses hosted selector `moss-image` and direct CLI model ID
39
+ `moss_image_sft_int8_convrot`. The 8-step preset uses hosted selector
40
+ `moss-image-8step` or direct ID `moss_image_sft_dmd8_int8_convrot`, with exactly
41
+ 8 steps and guidance 1. Both accept compatible Personal LoRAs. MOSS generates
42
+ from text and has no uploaded-photo
43
+ editing or reference-image input. JSON layouts use centered absolute pixel
44
+ boxes in `[y_min,x_min,y_max,x_max]` order, `bbox_format: "yxyx"`, and
45
+ `bbox_coord_space: "abs_centralized"`; match the generation canvas to the layout.
46
+
37
47
  - Treat a model selector as an exact capability declaration, not a name to
38
48
  fuzzy-match into a convenient family. Every selector exposed by
39
49
  `generate_image` and `edit_image` must resolve in the shared registry.
@@ -89,6 +89,8 @@ dimensions. "high quality" / "best quality" / "pro" → `-Q pro`; quick drafts
89
89
  | `qwen_image_2512_fp8_lightning` | Variable | Qwen Image 2512 Lightning |
90
90
  | `flux3_image_klein_sd_int8_convrot` | Variable | FLUX 3 Image Klein (Black Forest Labs): text-to-image, image-to-image, and edits from up to 10 optional context images |
91
91
  | `krea2_turbo_fp8_scaled` | Fast | Krea 2 Turbo text-to-image, fast high-quality generations with strong prompt adherence |
92
+ | `moss_image_sft_int8_convrot` | Full-step | Uncensored MOSS-Image SFT text-to-image with compatible Personal LoRAs; natural-language captions, tags and experimental JSON layouts; 50 steps, CFG 3, Euler / sgm_uniform |
93
+ | `moss_image_sft_dmd8_int8_convrot` | 8-step | Uncensored MOSS-Image with the built-in DMD adapter; CFG 1, Euler / sgm_uniform; compatible Personal LoRAs |
92
94
  | `dark_beast_krea2_fp8` | Fast | Dark Beast Krea 2 community text-to-image fine-tune |
93
95
  | `krea2_identity_edit_v1_2` | Fast | Krea 2 Identity Edit LoRA v1.2, identity-preserving edits with 1-2 references |
94
96
  | `dark_beast_krea2_identity_edit_v1_2` | Fast | Dark Beast Krea 2 Identity Edit community LoRA with 1-2 references |
@@ -137,14 +139,14 @@ alone, image-to-image from a start image, and edits or compositions guided by
137
139
  Qwen and Krea identity edit models. Hosted/chat planning uses the selector
138
140
  `flux-3-klein` on both `generate_image` and `edit_image`; direct CLI `-m` uses
139
141
  `flux3_image_klein_sd_int8_convrot`. Output is 256-4096 px per side (step 16,
140
- default 1024x1024) at 4-16 steps (default 16), including 4K: 3840x2160,
142
+ default 1440x1440, about 2 MP) at 4-16 steps (default 16), including 4K: 3840x2160,
141
143
  2160x3840 and 4096x4096 for prompts and several references. Renders above
142
144
  2048x2048 pixels run on 30 GB+ GPUs and take longer. An edit of one photo
143
145
  renders at that photo's own shape, up to 4 megapixels (for example 2352x1776 for
144
146
  a 4:3 photo; never enlarged): the CLI picks that size when you give none, and
145
147
  caps a larger one, because the server refuses one-photo edits above 4 MP (larger
146
148
  than its photo the edit breaks). With several references the first sets the
147
- shape at up to 1 MP. A different shape recomposes the photo. Guidance is fixed
149
+ shape at up to 2 MP. A different shape recomposes the photo. Guidance is fixed
148
150
  at 1, so a negative prompt has no effect; write a full scene caption instead,
149
151
  as Black Forest Labs recommends. It has no catalog LoRAs; personal LoRAs
150
152
  imported for FLUX 3 Image Klein work (`--lora personal-<id> --no-filter`; see
@@ -692,9 +694,11 @@ comes at a premium rate above Seedance 2.5; quote a render with
692
694
  - **Likeness and consent agreement**: each account must accept a one-time
693
695
  likeness and consent agreement in a Sogni app (web or chat) before its first
694
696
  render. Until then every job fails with error `4103`; the CLI reports it as a
695
- non-retryable `PERMISSION_REQUIRED` error that tells the user to accept the
696
- agreement in the Sogni app. Do not retry, and never try to accept it for the
697
- user (an API-key session cannot). Price estimates still work beforehand.
697
+ non-retryable `PERMISSION_REQUIRED` error with `consentUrl` and
698
+ `consentInstructions`. Show the clickable link, sign in with the same account
699
+ as the agent/API key, accept there, then return and retry the original request.
700
+ Never accept for the user or retry while acceptance is pending.
701
+ Price estimates still work beforehand.
698
702
  - **Not yet released**: where Sogni has not released the model yet, jobs and
699
703
  price estimates fail with error `4104`, reported as a non-retryable
700
704
  `MODEL_UNAVAILABLE` error whose message names the models to use instead.
@@ -721,7 +725,9 @@ Seedance 2.0 Mini; quote a render with `--estimate-video-cost`.
721
725
  consent agreement of Seedance 2.5 Uncensored; an account that accepted it in a
722
726
  Sogni app can use both. Until then every job fails with error `4103`, which
723
727
  the CLI reports as a non-retryable `PERMISSION_REQUIRED` error naming Seedance
724
- 2.0 Mini Uncensored. Do not retry, and never try to accept it for the user.
728
+ 2.0 Mini Uncensored. Show the returned clickable `consentUrl` and
729
+ `consentInstructions`, including the account and return guidance. Never accept
730
+ for the user or retry while acceptance is pending.
725
731
  - **Not yet released**: where Sogni has not released the model yet, jobs and
726
732
  price estimates fail with error `4104`, reported as a non-retryable
727
733
  `MODEL_UNAVAILABLE` error whose message names the models to use instead.
@@ -21,6 +21,12 @@ sogni-agent -m flux3_image_klein_sd_int8_convrot --lora personal-REPLACE-WITH-RE
21
21
  sogni-agent --video -m minimax-h3-fasth3-t2v-turbo-2stage --target-resolution 1080p --lora personal-REPLACE-WITH-RETURNED-ID --no-filter "the user's H3 prompt"
22
22
  ```
23
23
 
24
+ MOSS supports Personal LoRAs on `moss_image_sft_int8_convrot` and
25
+ `moss_image_sft_dmd8_int8_convrot`. Import for either preset; compatible entries
26
+ are shared across both. The 8-step preset keeps its built-in DMD adapter at 1.0
27
+ and applies the personal adapter after it. Personal strength controls only the
28
+ personal adapter. MOSS LoRAs cannot be used on Krea or FLUX.
29
+
24
30
  First confirm the selected model occurs in the entry's `modelIds`. Preserve the user's selected model. The CLI discovers owned entries through the authenticated catalog and uses catalog defaults when strengths are omitted; repeat `--lora-strength` to set explicit ordered strengths. Follow the entry's prompt and workflow requirements. Personal imports require `--no-filter`; explain that setting when it was not already requested. H3 audio-guided modes do not support LoRAs.
25
31
 
26
32
  `--list-loras` remains public and requires no account; add `--include-personal-loras` to merge owned ready imports. Catalog responses are account-specific. Do not share them between users.
@@ -3,12 +3,12 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "4.13.0",
6
+ "@sogni-ai/sogni-intelligence-client": "4.16.1",
7
7
  "execa": "^10.0.1",
8
8
  "json5": "^2.2.3",
9
- "sharp": "0.35.4"
9
+ "sharp": "0.35.5"
10
10
  },
11
11
  "overrides": {
12
- "@sogni-ai/sogni-client": "5.63.3"
12
+ "@sogni-ai/sogni-client": "5.66.0"
13
13
  }
14
14
  }
@@ -20,8 +20,8 @@ Text-to-video synthesis with LTX-2.3, WAN 2.2, Wan 3, Wan 3.0 Enhanced, Seedance
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
- - Seedance 2.5 Uncensored (`seedance2-5-uncensored`, also "Seedance Uncensored"/"Seedance Spicy") has every Seedance 2.5 mode and limit under its own model id; use it only when the user asks for it. Each account first accepts a one-time likeness and consent agreement in the Sogni app; error 4103 means it has not, so tell the user to accept it there and do not retry.
24
- - Seedance 2.0 Mini Uncensored (`seedance2-mini-uncensored`, also "Seedance Mini Uncensored"/"Uncensored Seedance Mini" in any word order) has every Seedance 2.0 Mini mode and limit under its own model id; use it only when the user asks for it. It shares the Seedance 2.5 Uncensored likeness and consent agreement; error 4103 means the account has not accepted it, so tell the user to accept it in the Sogni app and do not retry.
23
+ - Seedance 2.5 Uncensored (`seedance2-5-uncensored`, also "Seedance Uncensored"/"Seedance Spicy") has every Seedance 2.5 mode and limit under its own model id; use it only when the user asks for it. Each account first accepts a one-time likeness and consent agreement in the Sogni app; on error 4103, show the returned `consentUrl` and `consentInstructions`, use the same account as the agent/API key, then return and retry after manual acceptance.
24
+ - Seedance 2.0 Mini Uncensored (`seedance2-mini-uncensored`, also "Seedance Mini Uncensored"/"Uncensored Seedance Mini" in any word order) has every Seedance 2.0 Mini mode and limit under its own model id; use it only when the user asks for it. It shares the Seedance 2.5 Uncensored likeness and consent agreement; on error 4103, show the returned `consentUrl` and `consentInstructions`, including the account and return guidance. Never accept for the user or retry while acceptance is pending.
25
25
  - 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.
26
26
  - 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.
27
27
  - MiniMax H3 keyframes on `generate_video` are Reference to Video only (`minimax-h3-r2v` and its turbo, balanced, and two-stage forms): `keyframes=[{imageIndex, atSeconds}]` (up to 8, strictly inside the clip, `imageIndex` indexed like `endImageIndex`) pins extra images at chosen times. Keyframes are not references: never put them in `referenceImageIndices` or count them toward the reference limits, and R2V still needs its own image or video reference. The prompt names each keyframe `<Picture N>`, numbered in time order after the reference pictures, and describes it at its time. Text-to-video never takes keyframes.
package/sogni-agent.mjs CHANGED
@@ -689,6 +689,7 @@ function buildCliErrorPayload({ message, code, details, hint, prompt }) {
689
689
  prompt: prompt ?? null
690
690
  };
691
691
  if (classified.metadata) payload.metadata = classified.metadata;
692
+ if (classified.metadata?.consentInstructions && !hint) payload.hint = classified.metadata.consentInstructions;
692
693
  if (classified.technicalError && classified.technicalError !== payload.error) {
693
694
  payload.technicalError = classified.technicalError;
694
695
  }
@@ -811,7 +812,7 @@ function classifyCliError(error, context = {}) {
811
812
  // consent agreement in the Sogni app. The message names the refused model. It
812
813
  // must win over the Seedance failure matchers below, never be retried, and
813
814
  // never be accepted by the CLI.
814
- const consentPayload = modelConsentRequiredPayloadFromError(error);
815
+ const consentPayload = modelConsentRequiredPayloadFromError(error, context.accountUsername);
815
816
  if (consentPayload) {
816
817
  return {
817
818
  error_type: 'PERMISSION_REQUIRED',
@@ -946,6 +947,7 @@ function addCanonicalErrorFields(payload, error, context = {}) {
946
947
  payload.errorCategory = classified.category;
947
948
  payload.retryable = classified.retryable;
948
949
  if (classified.metadata) payload.metadata = classified.metadata;
950
+ if (classified.metadata?.consentInstructions && !payload.hint) payload.hint = classified.metadata.consentInstructions;
949
951
  if (classified.technicalError && classified.technicalError !== classified.message) {
950
952
  payload.technicalError = classified.technicalError;
951
953
  }
@@ -975,6 +977,7 @@ function printHumanError(error, context = {}) {
975
977
  console.error(`Details: ${classified.technicalError}`);
976
978
  }
977
979
  const hint = error?.hint
980
+ || classified?.metadata?.consentInstructions
978
981
  || (classified?.category === 'insufficient_credits' ? SPARK_PACKS_PURCHASE_HINT : null);
979
982
  if (hint) console.error(`Hint: ${hint}`);
980
983
  }
@@ -1886,19 +1889,24 @@ function getJpegDimensions(buffer) {
1886
1889
 
1887
1890
  const FLUX3_IMAGE_KLEIN_MODEL_ID = 'flux3_image_klein_sd_int8_convrot';
1888
1891
  const FLUX3_IMAGE_KLEIN_SINGLE_REFERENCE_MAX_PIXELS = 4 * 1024 * 1024;
1892
+ // About 2 megapixels: Black Forest Labs says Klein does best at 2K, and 2K is
1893
+ // 2 MP (Mark, 2026-10-17). The size of a text-to-image with no size given, and
1894
+ // the cap on an edit with several references.
1895
+ const FLUX3_IMAGE_KLEIN_DEFAULT_MAX_PIXELS = 2 * 1024 * 1024;
1896
+ const FLUX3_IMAGE_KLEIN_DEFAULT_SIZE = 1440;
1889
1897
 
1890
1898
  /**
1891
1899
  * FLUX 3 Image Klein's edit size from its first reference, the way Black Forest
1892
1900
  * Labs' pipeline sizes references (the rule sogni-creative-agent's
1893
1901
  * getFlux3ImageKleinEditOutputSize applies for web, chat and the hosted API):
1894
1902
  * one photo keeps its shape at up to 4 MiB pixels and 4096 px a side, never
1895
- * enlarged; with several references the first sets the shape at up to 1 MiB.
1903
+ * enlarged; with several references the first sets the shape at up to 2 MiB.
1896
1904
  * Sides land on the 16 px grid (256 minimum). Null beyond a 4:1 shape.
1897
1905
  */
1898
1906
  function flux3KleinEditOutputSize(width, height, referenceCount) {
1899
1907
  if (!(width > 0) || !(height > 0)) return null;
1900
1908
  const grid = 16;
1901
- const maxPixels = referenceCount > 1 ? 1024 * 1024 : FLUX3_IMAGE_KLEIN_SINGLE_REFERENCE_MAX_PIXELS;
1909
+ const maxPixels = referenceCount > 1 ? FLUX3_IMAGE_KLEIN_DEFAULT_MAX_PIXELS : FLUX3_IMAGE_KLEIN_SINGLE_REFERENCE_MAX_PIXELS;
1902
1910
  let scale = Math.min(1, Math.sqrt(maxPixels / (width * height)), 4096 / Math.max(width, height));
1903
1911
  if (Math.min(width, height) * scale < 256) scale = 256 / Math.min(width, height);
1904
1912
  let w = Math.round((width * scale) / grid) * grid;
@@ -1976,6 +1984,19 @@ function isGptImage2ModelSelection(modelId) {
1976
1984
  }
1977
1985
 
1978
1986
  function imageOptionsFromCli() {
1987
+ const rope = {};
1988
+ for (const name of ['mossRopeScaleX', 'mossRopeScaleY']) {
1989
+ const value = options[name];
1990
+ if (value === undefined) continue;
1991
+ if (getSharedModelDefaults(options.model)?.family !== 'moss-image') {
1992
+ fatalCliError(`${name} is only supported by MOSS-Image.`);
1993
+ }
1994
+ if (!Number.isFinite(value) || value < 0 || value > 100) {
1995
+ fatalCliError(`${name} must be a finite number between 0 and 100.`);
1996
+ }
1997
+ if (value !== 1) rope[name] = value;
1998
+ }
1999
+ if (Object.keys(rope).length) return rope;
1979
2000
  if (!isGptImage2ModelSelection(options.model)) return {};
1980
2001
  return {
1981
2002
  ...getGptImageRequestOptions({
@@ -3890,6 +3911,10 @@ for (let i = 0; i < args.length; i++) {
3890
3911
  i++;
3891
3912
  options.guidance = parseNumberValue(raw, arg);
3892
3913
  cliSet.guidance = true;
3914
+ } else if (arg === '--moss-rope-scale-x' || arg === '--moss-rope-scale-y') {
3915
+ const raw = requireFlagValue(args, i, arg);
3916
+ i++;
3917
+ options[arg.endsWith('-x') ? 'mossRopeScaleX' : 'mossRopeScaleY'] = parseNumberValue(raw, arg);
3893
3918
  } else if (arg === '--return-last-frame') {
3894
3919
  options.returnLastFrame = true;
3895
3920
  } else if (arg === '--no-prompt-metadata') {
@@ -5139,6 +5164,8 @@ General:
5139
5164
  (default 24, max 168); fetch one with --result
5140
5165
  --steps <num> Override steps (model-dependent)
5141
5166
  --guidance <num> Override guidance (model-dependent)
5167
+ --moss-rope-scale-x <num> MOSS horizontal composition scale (0–100; neutral 1)
5168
+ --moss-rope-scale-y <num> MOSS vertical composition scale (0–100; neutral 1)
5142
5169
  --token-type <type> Token type: spark|sogni|auto (default: spark, auto retries with alternate)
5143
5170
  --billing-mode <mode> Billing: auto|subscription|tokens (default: server decides; "subscription"
5144
5171
  requires Sogni Unlimited coverage, "tokens" opts out of it)
@@ -5223,6 +5250,8 @@ Image Models:
5223
5250
  gpt-image-2.5-flare GPT Image 2.5 Flare: edits, masks, 16 references, transparency
5224
5251
  flux3_image_klein_sd_int8_convrot FLUX 3 Image Klein: text-to-image, image-to-image, edits (up to 10 context images)
5225
5252
  krea2_turbo_fp8_scaled Krea 2 Turbo text-to-image
5253
+ moss_image_sft_int8_convrot MOSS-Image SFT text-to-image (50 steps, no reference editing)
5254
+ moss_image_sft_dmd8_int8_convrot MOSS-Image 8-Step text-to-image (CFG 1, Personal LoRAs)
5226
5255
  dark_beast_krea2_fp8 Dark Beast Krea 2 text-to-image
5227
5256
  krea2_identity_edit_v1_2 Krea 2 Identity Edit LoRA (up to 2 context images)
5228
5257
  dark_beast_krea2_identity_edit_v1_2 Dark Beast Krea 2 Identity Edit (up to 2 context images)
@@ -15750,14 +15779,15 @@ async function main() {
15750
15779
  log(`Generating with ${options.model}...`);
15751
15780
  if (options.seed !== null && options.seed !== undefined) log(`Using seed: ${options.seed}`);
15752
15781
  const modelDefaults = getModelDefaults(options.model, openclawConfig);
15753
- // FLUX 3 Image Klein renders natively at its tier default (1024x1024); the CLI's
15754
- // generic 512x512 starting size would quarter its pixels at the same per-image price.
15782
+ // FLUX 3 Image Klein with no size given renders at about 2 MP (1440x1440),
15783
+ // the 2K Black Forest Labs recommends, as web, chat and the hosted tools do;
15784
+ // not the CLI's generic 512x512 starting size or the API's 1024x1024 default.
15755
15785
  if (
15756
15786
  options.model === FLUX3_IMAGE_KLEIN_MODEL_ID
15757
15787
  && !(cliSet.width || cliSet.height || widthFromConfig || heightFromConfig || widthFromPrompt || heightFromPrompt)
15758
15788
  ) {
15759
- options.width = modelDefaults?.defaultWidth ?? 1024;
15760
- options.height = modelDefaults?.defaultHeight ?? 1024;
15789
+ options.width = FLUX3_IMAGE_KLEIN_DEFAULT_SIZE;
15790
+ options.height = FLUX3_IMAGE_KLEIN_DEFAULT_SIZE;
15761
15791
  }
15762
15792
  const guidance = options.guidance ?? modelDefaults?.guidance ?? 1.0;
15763
15793
  const steps = options.steps ?? modelDefaults?.steps;
@@ -16308,6 +16338,12 @@ async function main() {
16308
16338
  }
16309
16339
  enrichAppIdLimitError(error);
16310
16340
 
16341
+ const errorContext = { modelId: options.model };
16342
+ if (modelConsentRequiredPayloadFromError(error) && client?.isConnected?.()) {
16343
+ // Cached authenticated identity, not another network preflight. The browser
16344
+ // may be signed in to a different account from the CLI's API key.
16345
+ try { errorContext.accountUsername = (await client.getAccountInfo())?.username; } catch { /* preserve the original refusal */ }
16346
+ }
16311
16347
  exitCode = 1;
16312
16348
  const shouldJson = options.json || IS_OPENCLAW_INVOCATION;
16313
16349
  if (shouldJson) {
@@ -16315,7 +16351,7 @@ async function main() {
16315
16351
  success: false,
16316
16352
  error: error.message,
16317
16353
  prompt: options.prompt ?? null
16318
- }, error, { modelId: options.model });
16354
+ }, error, errorContext);
16319
16355
  if (error.code) payload.errorCode = error.code;
16320
16356
  if (error.details) payload.errorDetails = error.details;
16321
16357
  // Don't let a stale per-error hint overwrite the canonical
@@ -16353,10 +16389,10 @@ async function main() {
16353
16389
  if (IS_OPENCLAW_INVOCATION) payload.openclaw = true;
16354
16390
  console.log(JSON.stringify(payload));
16355
16391
  if (!options.json) {
16356
- printHumanError(error, { modelId: options.model });
16392
+ printHumanError(error, errorContext);
16357
16393
  }
16358
16394
  } else {
16359
- printHumanError(error, { modelId: options.model });
16395
+ printHumanError(error, errorContext);
16360
16396
  }
16361
16397
  } finally {
16362
16398
  try {
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.57.0';
1
+ export const PACKAGE_VERSION = '3.58.1';