@sogni-ai/sogni-creative-agent-skill 3.60.4 → 3.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ name: sogni-creative-agent-skill
3
3
  description: "Generate and edit images, 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, build a playable world, apply a saved identity, or refine an earlier Sogni result."
4
4
  license: MIT
5
5
  metadata:
6
- version: "3.60.4"
6
+ version: "3.61.0"
7
7
  author: Sogni AI
8
8
  hermes:
9
9
  category: creative
@@ -178,6 +178,8 @@ and Music 3 section tags. Discover 3D with `--search-models pixal3d` or
178
178
 
179
179
  - Model choice, quality tiers, Krea identity edits, and video aliases: read
180
180
  [models.md](references/models.md).
181
+ - Recognizable identity within a creative transformation, with explicit locks
182
+ and bounded edits respected: read the [style-transfer recipes](references/personas-memory.md#style-transfer-recipes).
181
183
  - Krea 2 LoRA ids, strength ranges, bipolar sliders, and stacking up to 8 in
182
184
  one render: read [krea2-loras.md](references/krea2-loras.md).
183
185
  - Video prompts, reference roles, LTX, WAN 2.2, Wan 3, MiniMax, Seedance, and HappyHorse:
@@ -13,7 +13,7 @@ substitute another destination model's prompt contract.
13
13
  | SD 1.5 | Weighted or comma-separated tags; quality/medium, subject, environment, lighting/camera | `positive_prompt:` plus `negative_prompt:` |
14
14
  | SDXL | Hybrid natural language plus selective comma-separated style/quality terms; Pony variants start with their score tags | `positive_prompt:` plus `negative_prompt:` |
15
15
  | FLUX.1 Schnell | One concise natural-language visual description centered on the subject, composition, light, and style; no SD score/tag soup | Prompt text only |
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 |
16
+ | FLUX 3 Image Klein | A full scene caption in plain sentences: subject, framing, setting, lighting, and style; name reference contributions by attachment order (the first image, the second image); 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
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 |
@@ -64,6 +64,14 @@ Markdown fence, preamble, explanation, or render offer.
64
64
  visible copy, proper nouns, style, and constraints. Add supporting visual
65
65
  detail without inventing extra objects, labels, slogans, characters, or
66
66
  story events.
67
+ - For a referenced person or character, distinguish a bounded edit from a
68
+ creative transformation. Keep genuinely untargeted content stable for a
69
+ bounded edit; express the recognizable individual in the requested medium
70
+ for a transformation, including its implied retouching or physical redesign.
71
+ Honor explicit locks without imposing a fixed face, texture, accessory,
72
+ pose, framing or facial-exposure inventory. Source observations are evidence
73
+ to interpret, not immutable requirements. Write task-specific art direction
74
+ rather than appending a universal identity or beauty paragraph.
67
75
  - Model capability selection comes from typed model and operation metadata.
68
76
  Never infer it from sentence-shape regexes or a list of creative keywords.
69
77
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Read this when managing personas (named people with saved reference photos and
4
4
  voice clips), persistent user preferences, custom agent personality, or
5
- multi-persona scenes.
5
+ multi-persona scenes, or style transformations of a referenced individual.
6
6
 
7
7
  ## Persona System
8
8
 
@@ -98,13 +98,18 @@ sogni-agent -c photo.jpg -o ./styled.png "Apply style: Andy Warhol pop art with
98
98
  # Studio Ghibli transformation
99
99
  sogni-agent -c photo.jpg -o ./ghibli.png "Apply style: Studio Ghibli watercolor with soft pastel sky and lush greenery"
100
100
 
101
- # For photos with people, always preserve identity
102
- sogni-agent -c portrait.jpg -o ./styled.png "Apply style: oil painting in the style of Vermeer. Preserve all facial features, expressions, and identity."
101
+ # Translate the particular person's likeness into the requested visual language
102
+ sogni-agent -c portrait.jpg -o ./styled.png "Reimagine the person from this portrait in a Vermeer-inspired oil painting, with a recognizable individual likeness expressed through the painted forms."
103
103
  ```
104
104
 
105
- **Tips:** reference artists and styles BY NAME for best results. Use positive
106
- phrasing. For photos with people, always append identity-preservation
107
- instructions.
105
+ **Tips:** use the requested artist or visual language and concrete art direction.
106
+ For a bounded edit, preserve genuinely untargeted content. For a creative
107
+ transformation, the complete brief can imply changed proportions, anatomy,
108
+ expression, pose, framing, accessories or skin treatment. Make the particular
109
+ individual recognizable within that design; source observations are evidence,
110
+ not an unchanged-feature inventory. Honor explicit locks and choose facial
111
+ exposure with artistic judgment. Do not append universal face-preservation or
112
+ beauty boilerplate to every prompt.
108
113
 
109
114
  ## Photo Restoration recipes
110
115
 
@@ -652,11 +652,26 @@ N/A
652
652
  Trim definitions for references that were not attached; unresolved labels are
653
653
  invalid.
654
654
 
655
- Sogni's current agent-facing R2V attachments are loose references. A prompt may
656
- borrow a clip's motion, pacing, or temporal structure, but must not claim
657
- `video editing` or `video continuation` unless the caller actually supplies a
658
- typed transformation relationship. Use I2VA, L2VA, or FL2VA when an endpoint
659
- must be locked.
655
+ **Source-shot edits.** When the user asks to transform an attached source shot,
656
+ use `video editing` and the exact edited-version opening above. Ref2VA carries
657
+ the source through the ordinary video reference input; it needs no extra SDK
658
+ edit flag. For appearance replacement, mark `<Video N>` `partially_preserved`:
659
+ list the camera, scene, positions, action and timing that stay, and the identity,
660
+ hair, clothing or body attributes that change. Do not mark the whole source
661
+ `fully_preserved` just because its motion or framing is retained.
662
+
663
+ Define the replacement subject from its image references, with face and wardrobe
664
+ pictures assigned to the correct person. The replaced performer supplies the
665
+ performance, not a second retained visible identity. Keep original clothing only
666
+ when requested. Define untouched performers separately. If the replacement
667
+ resembles an existing performer, explicitly state the final subject count and
668
+ distinct positions so the image does not bind only to the existing match.
669
+
670
+ For a new shot borrowing motion, use `reference generation` and state the
671
+ transferred attributes and requested identity/setting. Neither task label
672
+ guarantees pixel-exact preservation or exact choreography. `video continuation`
673
+ still needs an actual continuation workflow. Use I2VA, L2VA, or FL2VA when an
674
+ endpoint must be locked.
660
675
 
661
676
  For voice references, bind the voice to the speaking subject by reusing that
662
677
  subject's `(Sx)` in `subject_definitions`; do not put the speaker ID in
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.60.4",
3
+ "version": "3.61.0",
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.60.4",
3
+ "version": "3.61.0",
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,29 @@
1
+ ## [3.61.0] - 2026-10-30
2
+
3
+ ### Features
4
+
5
+ * Show the recorded explanation for a failed project in status and result output.
6
+
7
+ ### Bug Fixes
8
+
9
+ * Include Premium Spark in balance JSON and text output while preserving total Spark, account and subscription details. Distinguish zero Premium from unavailable information.
10
+ * Use intelligence-client 4.22.4 and Sogni SDK 5.71.0 across the CLI and standalone skill runtime.
11
+
12
+ ## [3.60.6] - 2026-10-30
13
+
14
+ ### Bug Fixes
15
+
16
+ * Correct speech option forwarding for Qwen preset voices, voice cloning and voice design while preserving existing defaults.
17
+
18
+ ## [3.60.5] - 2026-10-29
19
+
20
+ ### Bug Fixes
21
+
22
+ * Express a referenced individual's recognizable identity within the requested visual language. Artistic transformations can change proportions, skin treatment, accessories, expression, pose and framing; bounded edits and explicit preservation requests remain respected.
23
+ * Share the corrected image guidance across the creative runtime, tool descriptions, prompt-authoring reference, persona recipes and Hermes bundle. Preserve custom wording and existing model defaults.
24
+ * Align the bundled runtime with intelligence-client 4.22.2, creative-agent 2.26.5 and the published Sogni SDK 5.70.0.
25
+ * Clarify source-shot reference-video editing: apply requested changes while preserving the requested source continuity and untouched content.
26
+
1
27
  ## [3.60.4] - 2026-10-26
2
28
 
3
29
  ### Updates
package/README.md CHANGED
@@ -864,7 +864,7 @@ Uses SDXL Turbo (`coreml-sogniXLturbo_alpha1_ad`) at 1024×1024 by default. The
864
864
 
865
865
  Multi-angle mode (`--multi-angle` / `--angles-360`) auto-builds the `<sks>` prompt and applies the `multiple_angles` LoRA. `--angles-360-video` generates i2v clips between consecutive angles (including last → first) and concatenates them with `ffmpeg` into a seamless loop.
866
866
 
867
- `--balance` / `--balances` does not require a prompt and prints the account username, subscription plan (`Plan: Sogni Unlimited (active)` / `Plan: none`), and current `SPARK` and `SOGNI` balances before exiting. In `--json` mode the payload carries `username` and `subscription` fields (`null` when unavailable). `--doctor` likewise reports the authenticated user and an explicit `plan` check, so a wrong-account API key or a missing subscription is visible at a glance.
867
+ `--balance` / `--balances` does not require a prompt and prints the account username, subscription plan (`Plan: Sogni Unlimited (active)` / `Plan: none`), and current `SPARK`, `PREMIUM SPARK`, and `SOGNI` balances before exiting. In `--json` mode, `spark` is total Spark and `premiumSpark` is the Premium portion already included in that total. Premium is `null` in JSON or `unknown` in text when the client does not expose it; zero means a known zero balance. The payload also carries `username` and `subscription` fields (`null` when unavailable). Use this read-only command to check for a top-up; never submit a paid render to discover the balance. `--doctor` likewise reports the authenticated user and an explicit `plan` check, so a wrong-account API key or a missing subscription is visible at a glance.
868
868
 
869
869
  ---
870
870
 
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 (people with saved photos and voices), 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\", \"build a playable world\", \"apply a style\", or \"generate me as a superhero\"."
4
4
  metadata:
5
- version: "3.60.4"
5
+ version: "3.61.0"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -332,12 +332,13 @@ sogni-agent doctor --json
332
332
  - If the request is "**same image, different style**" — e.g. an anime version that must keep the same face, pose, clothing, background, framing, and composition; "use this image as the base"; "keep everything the same"; "only change the style" — use context editing with `-c/--context` instead. For stronger preservation than the lightning default:
333
333
 
334
334
  ```bash
335
- sogni-agent -c photo.jpg -m qwen_image_edit_2511_fp8 "turn this into anime style; keep the same face, pose, clothing, background, framing, and composition"
335
+ sogni-agent -c photo.jpg -m qwen_image_edit_2511_fp8 "Transform the person from this photo into an anime character, expressing their recognizable likeness through the character design."
336
336
  ```
337
337
 
338
338
  - For an edit of a referenced person or character that must preserve likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style, default to `-m krea2_identity_edit_v1_2` with `-c`. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a single-character sheet unless Pro/detail-critical layout requirements favor GPT Image 2. An explicitly requested model always wins; use `-m dark_beast_krea2_identity_edit_v1_2` only when the creator explicitly requests that community/uncensored variant. Both accept 1-2 references at 512-2048 px. For two references, pass the base scene first and the person/detail/outfit/pose/style reference second. Write a concise 1-4 sentence delta instruction, do not send a negative prompt, and leave steps, guidance, sampler, and scheduler unset so the current model tier and worker choose their optimized defaults.
339
339
  - For Krea 2 style/control LoRAs, use the base text-to-image model `-m krea2_turbo_fp8_scaled` with repeatable ordered `--lora <id> --lora-strength <n>` arguments (or comma-separated `--loras` / `--lora-strengths`). Up to 8 LoRAs may be stacked. Order matters, strengths are positional, omitted strengths default to 1, and many Krea 2 LoRAs are bipolar sliders whose negative values apply the inverse effect. Do not clamp them to 0-2. The first use of an uncached LoRA may pause while the worker downloads it. All 25 published Krea 2 LoRAs work on every Krea 2 based model, including the identity-edit and Dark Beast variants, so a context edit with `-m krea2_identity_edit_v1_2 -c` can stack LoRAs to shift age, build, skin, or lighting while the identity LoRA holds the likeness. Never combine a negative `krea2-age` with `krea2-mystic-x` or `krea2-realism-engine`; the platform rejects that outright. Read [`references/krea2-loras.md`](./references/krea2-loras.md) for the IDs and per-LoRA ranges, and run `--list-loras` / `--search-loras` for the live catalog before relying on an exact range.
340
340
  - Do not route to `--photobooth` merely because the user asks to preserve a face in a style edit — face-preserving full-image edits use `-c` with Krea 2 Identity Edit by the semantic rule above. The bare CLI still defaults context edits without `-m` to `qwen_image_edit_2511_fp8_lightning`, so agents must pass the Krea model explicitly for identity-sensitive edits. Select `-m gpt-image-2` for up to 16 reference images and OpenAI-backed editing (FLUX 3 Image Klein `flux3_image_klein_sd_int8_convrot` supports up to 10; Qwen supports up to 3; Krea identity edit supports up to 2).
341
+ - Express recognizable identity within the requested medium rather than freezing physical appearance. Read the [style-transfer guidance](./references/personas-memory.md#style-transfer-recipes) when a portrait or persona undergoes a creative transformation.
341
342
 
342
343
  ### Prompt-only model authoring
343
344
 
@@ -460,7 +461,7 @@ Failure (single JSON object on stdout, exit code 1; progress/warnings on stderr)
460
461
  }
461
462
  ```
462
463
 
463
- `--json --balance` → `{ "success": true, "type": "balance", "spark": 12.34, "sogni": 0.56, "username": "name", "subscription": { "active": true, "status": "active", "tier": "unlimited" } }` (`username`/`subscription` are `null` when unavailable; an active subscription means eligible renders are covered by Sogni Unlimited even when `spark` is low). `--last --json` wraps the last render record in a `{ "success": true, ... }` envelope and exits 1 with `errorCode: "NO_LAST_RENDER"` when nothing has been rendered. In `--json` mode stdout always carries exactly one JSON object — SSE workflow frames and progress lines go to stderr.
464
+ `--json --balance` → `{ "success": true, "type": "balance", "spark": 12.34, "premiumSpark": 2.50, "sogni": 0.56, "username": "name", "subscription": { "active": true, "status": "active", "tier": "unlimited" } }`. `spark` is total Spark; `premiumSpark` is the Premium portion already included in it. `premiumSpark: 0` means none remains; `null` means the client did not expose it. Use this read-only command to check a top-up, never a paid render. `username`/`subscription` are `null` when unavailable; an active subscription means eligible renders are covered by Sogni Unlimited even when `spark` is low. `--last --json` wraps the last render record in a `{ "success": true, ... }` envelope and exits 1 with `errorCode: "NO_LAST_RENDER"` when nothing has been rendered. In `--json` mode stdout always carries exactly one JSON object — SSE workflow frames and progress lines go to stderr.
464
465
 
465
466
  ## Cost
466
467
 
@@ -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.60.4",
5
+ "version": "3.61.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",
@@ -2744,9 +2744,9 @@ const PROMPT_CONTRACTS = [
2744
2744
  "contractId": "restore_photo_v1",
2745
2745
  "version": "1.0.0",
2746
2746
  "toolName": "restore_photo",
2747
- "baseDescription": "restore_photo edits or restores the ORIGINAL uploaded photograph. Use this for the first\nrestoration/edit on an upload, or when the user explicitly asks to start over from the\noriginal/source photo. Use refine_result for follow-up edits to an existing generated result.\n\nFor photos with people, front-load identity preservation before the restoration or edit.\nUse positive constraints such as preserve exact facial likeness, face structure, apparent\nage, pose, and composition. End with preservation of unmentioned details.\n\nUse Dynamic Prompt syntax only when the user explicitly asks to compare multiple restoration\napproaches. Default restoration batches should keep the same prompt and vary only by seed.\nIf the user only wants a larger, higher-resolution copy without restoration or other creative\nchanges, use upscale_image instead. restore_photo is a generative edit and is not a substitute\nfor deterministic upscaling.",
2747
+ "baseDescription": "restore_photo edits or restores the ORIGINAL uploaded photograph. Use this for the first\nrestoration/edit on an upload, or when the user explicitly asks to start over from the\noriginal/source photo. Use refine_result for follow-up edits to an existing generated result.\n\nFor faithful restoration or a bounded repair, preserve the original people and genuinely\nuntargeted source content, including age appearance, pose and composition where unaffected\nby the requested change. A requested artistic transformation follows the brief's scope\nand recognizable identity in its new medium, not a mandatory unchanged-feature inventory.\n\nUse Dynamic Prompt syntax only when the user explicitly asks to compare multiple restoration\napproaches. Default restoration batches should keep the same prompt and vary only by seed.\nIf the user only wants a larger, higher-resolution copy without restoration or other creative\nchanges, use upscale_image instead. restore_photo is a generative edit and is not a substitute\nfor deterministic upscaling.",
2748
2748
  "parameterDocs": {
2749
- "prompt": "Natural-language edit/restoration prompt. Start with identity preservation for people, then requested restoration/edit, then preserve unmentioned details.",
2749
+ "prompt": "Natural-language edit/restoration prompt. Preserve recognizable people and genuinely untargeted source details; realize the requested changes without adding universal physical-feature locks.",
2750
2750
  "numberOfVariations": "Use 1 unless the user explicitly asks for multiple outputs or comparison options.",
2751
2751
  "scale": "Set only when the user asks to upscale, enlarge, or increase resolution.",
2752
2752
  "quality": "Omit unless the user explicitly asks for fast or high quality."
@@ -2780,9 +2780,9 @@ const PROMPT_CONTRACTS = [
2780
2780
  "contractId": "apply_style_v1",
2781
2781
  "version": "1.0.0",
2782
2782
  "toolName": "apply_style",
2783
- "baseDescription": "apply_style transfers an artistic style, era, franchise, medium, or photographic look onto\nan uploaded or generated image. It automatically uses the latest result unless the user\nspecifies a result number or asks for the original upload.\n\nTransfer visual style only. Do not let a style reference override identity, pose, or\ncomposition unless the user asked for those changes. For people, state identity preservation\nbefore the style instructions and finish by preserving pose and composition.\n\nUse refine_result instead when the user wants a targeted non-style edit to an existing\nresult. Use restore_photo only when they explicitly want to restart from the original upload.",
2783
+ "baseDescription": "apply_style transfers an artistic style, era, franchise, medium, or photographic look onto\nan uploaded or generated image. It automatically uses the latest result unless the user\nspecifies a result number or asks for the original upload.\n\nRealize the requested visual language, including its implied shape, proportion and material\nchanges. A style donor does not silently replace the intended individual. Express likeness\nwithin the requested style. Preserve pose and composition only where the brief leaves\nthem untargeted; its implied shape, proportion and framing changes remain part of the style.\n\nUse refine_result instead when the user wants a targeted non-style edit to an existing\nresult. Use restore_photo only when they explicitly want to restart from the original upload.",
2784
2784
  "parameterDocs": {
2785
- "prompt": "Style-transfer prompt. Name the style/era/artist/franchise and preserve identity, pose, and composition for people.",
2785
+ "prompt": "Style-transfer prompt. Name the requested visual language and express recognizable identity within it when intended. Honor explicit locks and preserve genuinely untargeted content.",
2786
2786
  "sourceImageIndex": "Omit for the latest result. Use -1 only when the user explicitly says original/source upload.",
2787
2787
  "scale": "Set only when the user asks to upscale, enlarge, or increase resolution."
2788
2788
  }
@@ -2791,9 +2791,9 @@ const PROMPT_CONTRACTS = [
2791
2791
  "contractId": "refine_result_v1",
2792
2792
  "version": "1.0.0",
2793
2793
  "toolName": "refine_result",
2794
- "baseDescription": "refine_result is the default follow-up image-edit tool after generated results exist. Use it\nfor targeted changes to a prior result: color, brightness, sharpening, background changes,\nobject edits, further restoration, or small creative adjustments.\n\nDescribe only the delta. The source image already contains the subject, composition, and\nmost details. Do not rewrite the whole image unless the user asks for a broad transformation.\nFor people, front-load exact identity preservation and end with preserving all unmentioned\ndetails.\n\nUse restore_photo instead only when the user explicitly asks to start over from the original\nupload. Use sourceImageIndex only when the user names a specific result.",
2794
+ "baseDescription": "refine_result is the default follow-up image-edit tool after generated results exist. Use it\nfor targeted changes to a prior result: color, brightness, sharpening, background changes,\nobject edits, further restoration, or small creative adjustments.\n\nDescribe only the delta. The source image already contains the subject, composition, and\nmost details. Do not rewrite the whole image unless the user asks for a broad transformation.\nKeep a referenced person recognizable when they are meant to remain the same individual.\nA broad transformation may change physical appearance, pose or framing as its brief implies;\npreserve explicitly fixed requirements and genuinely untargeted details.\n\nUse restore_photo instead only when the user explicitly asks to start over from the original\nupload. Use sourceImageIndex only when the user names a specific result.",
2795
2795
  "parameterDocs": {
2796
- "prompt": "Targeted delta instruction. Preserve identity first for people, then specify the change, then preserve everything else.",
2796
+ "prompt": "Targeted refinement or requested transformation, with clear source identity when relevant and preservation of explicitly fixed or genuinely untargeted content.",
2797
2797
  "sourceImageIndex": "Omit for the latest relevant result unless the user names a specific image number.",
2798
2798
  "numberOfVariations": "Use 1 unless the user asks to compare multiple refinement options."
2799
2799
  }
@@ -2851,11 +2851,11 @@ const PROMPT_CONTRACTS = [
2851
2851
  "contractId": "edit_image_v1",
2852
2852
  "version": "1.0.0",
2853
2853
  "toolName": "edit_image",
2854
- "baseDescription": "edit_image applies instruction-based edits to uploaded or generated images. Use when\nuploaded or reference images must guide identity or likeness.\n\nImage-to-Image prompt order: [IDENTITY LOCK] → [REQUESTED EDIT] → [REFERENCE ROLE\nMAPPING] → [POSE/COMPOSITION] → [STYLE] → [LIGHTING/REALISM] → [PRESERVE ALL\nUNMENTIONED DETAILS]. GOLDEN RULE: When editing a person, state which image owns\nidentity so it is not ambiguous. Describe only the DELTA — what changes. Don't\nrewrite the entire image; the base image already contains most of the truth. Default to minimal\nchange. For multi-image edits, assign one primary role per reference image (identity, pose,\noutfit, style, environment). Do not let a style/pose/clothing reference silently override the face.\nUse positive constraints — \"preserve exact facial likeness, face structure, eye shape, nose\nshape, mouth shape, jawline, skin tone, hairline, apparent age, and overall recognizability\"\n— not vague negatives like \"don't mess up the face\".\n\nKREA IDENTITY EDIT: Use model=\"krea-identity-edit\" whenever an edit of a referenced\nperson or character must keep likeness or character identity while changing clothing,\nhair or makeup, pose or position, face/head/body, background, lighting, or visual style.\nInfer that semantic intent in any language; never route from keyword or regex matching.\nAlso use it for a non-Pro single-character sheet. An explicitly requested model always\nwins. Use model=\"dark-beast-krea2-identity-edit\" only when the user explicitly requests\nthat model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2.\nThese models require one reference image, accept up to two context images, and work best\nat 512-2048 px. Let the model tier and worker choose current execution defaults, and do\nnot use negative prompts. Put the primary scene/base image first and an optional\nperson/detail reference second; reference them with context_image_0 and context_image_1\nwhen model_ref tokens are needed.\n\nFLUX 3 IMAGE KLEIN: Use model=\"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image\nKlein. It accepts 1-10 reference images and works at 256-4096 px, including 4K. Guidance is\nfixed and a negative prompt has no effect, so do not send one. Unlike the Krea delta\ninstruction, describe the whole result as a full scene caption (subject, framing, background,\nlighting) that folds the requested change into a description of the reference, and refer to\nreferences in order as the first image, the second image, and so on.\n\nKREA 2 IDENTITY EDIT PROMPTING: Use a concise 1-4 sentence delta instruction instead of\nthe generic 50-200 word expansion. Name the requested change and only the details that\nmust remain fixed; do not restate the whole image or dump a facial-feature inventory.\nWith two references, assign their roles compactly: base scene/image first, then the\nperson/detail/outfit/pose/style reference. Longer structured prompts remain appropriate\nfor character sheets, grids, editorial layouts, or exact visible text.\n\nUPLOADED IMAGE VARIANT SETS: When the user supplies a photo/portrait/reference image and\nasks for N distinct generated images deriving from that source while changing paired\nper-output details, prefer one edit_image call with sourceImageIndex=-1,\nnumberOfVariations=N, and ONE Dynamic Prompt branch with N complete options. Each option\nmust be a full concrete image prompt for one output, including the uploaded subject/reference\nanchor, requested pose or placement preservation, the specific changed appearance/style/role,\nclothing or surface details when relevant, setting/background, and any requested label text or\nvisual symbol. If one option is a remade original/preserved source and the rest are themed\nvariants, the original option should explicitly say to preserve the original clothing/wardrobe/outfit\nand background/setting, plus any requested added label, flag, logo, symbol, or prop.\nDo not call generate_image, analyze_image, or multiple serial edit_image calls first.\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, prefer one edit_image call with numberOfVariations=N\nand one Dynamic Prompt branch. After images are created, stop and ask the user to choose\nunless the user explicitly asked to run the later stage immediately.\n\nMULTI-PERSONA (COMBINED): When multiple personas must appear in the SAME scene, make\none edit_image call with all persona faces in one prompt and omit personaName.\nPer-persona splits (one call each with personaName set) are RARE — only when the user\nexplicitly asks for solo images of each person individually.\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 edit_image batch for all scene keyframes, then one\nanimate_photo batch for all video clips in parallel.\nException: if the storyboard/shot sheet is already uploaded and the user asks to make a\ntrailer/video/movie/clip from that uploaded board, do not extract panels or redraw keyframes.\nUse generate_video with Seedance references for one continuous clip unless the user explicitly\nasks for separate image keyframes or a storyboard sheet output.\n\nDIRECT UPLOADED GPT IMAGE STORYBOARD SHEETS: If the user uploaded reference images and\nasks for one finished GPT Image storyboard/keyframe sheet now, call edit_image directly\nwith sourceImageIndex=-1, model=\"gpt-image-2.5-sunburst\", numberOfVariations=1, and the requested\ncanvas/aspect settings. Preserve another explicit GPT Image model named by the user.\nIf the user did not explicitly specify a storyboard page/canvas/sheet\nshape, default the GPT Image 2.5 storyboard sheet pixel dimensions to a balanced grid that hosts\nthe target cell aspect ratio natively (e.g., 12 cells with 9:16 portrait video target -> ~3:4\nportrait sheet around 1728x2304; 12 cells with 16:9 landscape video target -> ~4:3 landscape\nsheet around 2304x1728; 6 cells with 9:16 target -> ~27:32 portrait sheet around 1840x2176). Do\nNOT default the sheet to 2560x1440 landscape when cells are portrait — a landscape sheet with\na portrait-cell grid physically forces cells to ~4:3 landscape and the model will not render\n9:16 portrait rectangles inside it. Keep individual scene-cell/frame areas at the target video\naspect ratio. Do not call map_assets_for_model, analyze_image, generate_image, or a separate\nplanning tool first. The uploaded files are already available as references; describe their\nroles plainly in the edit_image prompt and generate the sheet in that call.\n\nDO NOT USE edit_image FOR UPLOADED REFERENCE LOOPED VIDEO SEGMENTS: If the user says the\nsame 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 edit_image for that\nrequest. Call animate_photo once with repeated uploaded source indices and per-scene prompts.",
2854
+ "baseDescription": "edit_image applies instruction-based edits to uploaded or generated images. Use when\nuploaded or reference images must guide identity or likeness.\n\nAssign clear reference roles: identity, base scene, pose, outfit, style, or environment.\nFor a bounded edit, describe the requested change and retain genuinely untargeted content.\nFor a creative transformation or new composition, describe the intended result and the\nchanges the complete brief implies. Match the selected model's prompt grammar below.\nWhen a referenced person or character is meant to remain the same individual, make the identity source unambiguous and depict that particular individual rather than a generic attractive face or anonymous character. For a bounded edit, change the requested elements and their necessary consequences while keeping genuinely untargeted content stable. For an artistic transformation, carry the individual's recognizable combination of identity signatures into the requested visual language. Interpret the complete brief, including the transformations its medium and character design imply; the user need not enumerate every physical change. Substantial retouching, idealization, exaggerated proportions or nonhuman abstraction can be essential to that result. Facial geometry, skin treatment, age appearance, hair, accessories, expression, pose, framing, costume and facial exposure are governed by the brief and the recognizable outcome, not a universal unchanged-feature inventory or a rule to reveal or cover the face. Honor explicitly fixed requirements. Treat source observations as descriptive evidence to interpret, not immutable locks; keep different people's identities distinct. Turn this reasoning into concrete, task-specific art direction without copying this guidance or adding a universal identity or beauty paragraph to the render prompt.\n\nKREA IDENTITY EDIT: Use model=\"krea-identity-edit\" whenever an edit of a referenced\nperson or character must keep likeness or character identity while changing clothing,\nhair or makeup, pose or position, face/head/body, background, lighting, or visual style.\nInfer that semantic intent in any language; never route from keyword or regex matching.\nAlso use it for a non-Pro single-character sheet. An explicitly requested model always\nwins. Use model=\"dark-beast-krea2-identity-edit\" only when the user explicitly requests\nthat model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2.\nThese models require one reference image, accept up to two context images, and work best\nat 512-2048 px. Let the model tier and worker choose current execution defaults, and do\nnot use negative prompts. Put the primary scene/base image first and an optional\nperson/detail reference second; reference them with context_image_0 and context_image_1\nwhen model_ref tokens are needed.\n\nFLUX 3 IMAGE KLEIN: Use model=\"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image\nKlein. It accepts 1-10 reference images and works at 256-4096 px, including 4K. Guidance is\nfixed and a negative prompt has no effect, so do not send one. Unlike the Krea delta\ninstruction, describe the whole result as a full scene caption (subject, framing, background,\nlighting) that folds the requested change into a description of the reference, and refer to\nreferences in order as the first image, the second image, and so on.\n\nKREA 2 IDENTITY EDIT PROMPTING: Use a concise 1-4 sentence delta instruction instead of\nthe generic 50-200 word expansion. Name the requested change and only the details that\nmust remain fixed; do not restate the whole image or dump a facial-feature inventory.\nWith two references, assign their roles compactly: base scene/image first, then the\nperson/detail/outfit/pose/style reference. Longer structured prompts remain appropriate\nfor character sheets, grids, editorial layouts, or exact visible text.\n\nUPLOADED IMAGE VARIANT SETS: When the user supplies a photo/portrait/reference image and\nasks for N distinct generated images deriving from that source while changing paired\nper-output details, prefer one edit_image call with sourceImageIndex=-1,\nnumberOfVariations=N, and ONE Dynamic Prompt branch with N complete options. Each option\nmust be a full concrete image prompt for one output, including the uploaded subject/reference\nanchor, requested pose or placement preservation, the specific changed appearance/style/role,\nclothing or surface details when relevant, setting/background, and any requested label text or\nvisual symbol. If one option is a remade original/preserved source and the rest are themed\nvariants, the original option should explicitly say to preserve the original clothing/wardrobe/outfit\nand background/setting, plus any requested added label, flag, logo, symbol, or prop.\nDo not call generate_image, analyze_image, or multiple serial edit_image calls first.\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, prefer one edit_image call with numberOfVariations=N\nand one Dynamic Prompt branch. After images are created, stop and ask the user to choose\nunless the user explicitly asked to run the later stage immediately.\n\nMULTI-PERSONA (COMBINED): When multiple personas must appear in the SAME scene, make\none edit_image call with all persona faces in one prompt and omit personaName.\nPer-persona splits (one call each with personaName set) are RARE — only when the user\nexplicitly asks for solo images of each person individually.\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 edit_image batch for all scene keyframes, then one\nanimate_photo batch for all video clips in parallel.\nException: if the storyboard/shot sheet is already uploaded and the user asks to make a\ntrailer/video/movie/clip from that uploaded board, do not extract panels or redraw keyframes.\nUse generate_video with Seedance references for one continuous clip unless the user explicitly\nasks for separate image keyframes or a storyboard sheet output.\n\nDIRECT UPLOADED GPT IMAGE STORYBOARD SHEETS: If the user uploaded reference images and\nasks for one finished GPT Image storyboard/keyframe sheet now, call edit_image directly\nwith sourceImageIndex=-1, model=\"gpt-image-2.5-sunburst\", numberOfVariations=1, and the requested\ncanvas/aspect settings. Preserve another explicit GPT Image model named by the user.\nIf the user did not explicitly specify a storyboard page/canvas/sheet\nshape, default the GPT Image 2.5 storyboard sheet pixel dimensions to a balanced grid that hosts\nthe target cell aspect ratio natively (e.g., 12 cells with 9:16 portrait video target -> ~3:4\nportrait sheet around 1728x2304; 12 cells with 16:9 landscape video target -> ~4:3 landscape\nsheet around 2304x1728; 6 cells with 9:16 target -> ~27:32 portrait sheet around 1840x2176). Do\nNOT default the sheet to 2560x1440 landscape when cells are portrait — a landscape sheet with\na portrait-cell grid physically forces cells to ~4:3 landscape and the model will not render\n9:16 portrait rectangles inside it. Keep individual scene-cell/frame areas at the target video\naspect ratio. Do not call map_assets_for_model, analyze_image, generate_image, or a separate\nplanning tool first. The uploaded files are already available as references; describe their\nroles plainly in the edit_image prompt and generate the sheet in that call.\n\nDO NOT USE edit_image FOR UPLOADED REFERENCE LOOPED VIDEO SEGMENTS: If the user says the\nsame 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 edit_image for that\nrequest. Call animate_photo once with repeated uploaded source indices and per-scene prompts.",
2855
2855
  "parameterDocs": {
2856
2856
  "sourceImageIndex": "Index of uploaded/generated image. Use -1 for the first uploaded image.",
2857
2857
  "numberOfVariations": "Number of output variants. When > 1, use a Dynamic Prompt branch with one complete prompt per output.",
2858
- "prompt": "Edit instruction. Start with identity lock (who owns the face), then describe only the delta."
2858
+ "prompt": "Model-native edit or composition instruction with clear reference roles. Preserve recognizable identity when intended, honor explicit locks, and realize the full requested transformation; use bounded-change preservation only for bounded edits."
2859
2859
  }
2860
2860
  },
2861
2861
  {
@@ -133,6 +133,7 @@ export function speechConfig(options, referenceAudio) {
133
133
  return {
134
134
  modelId: options.model, positivePrompt: options.prompt, numberOfMedia: options.count,
135
135
  tokenType: options.tokenType || 'spark', waitForCompletion: false,
136
+ disableNSFWFilter: options.noFilter === true,
136
137
  language: options.musicLanguage, outputFormat: options.outputFormat,
137
138
  ...(options.speechVoice ? { speaker: options.speechVoice } : {}),
138
139
  ...(options.voiceDescription ? { instruct: options.voiceDescription } : {}),
@@ -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.60.4",
5
+ "version": "3.61.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.60.4",
3
+ "version": "3.61.0",
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,14 @@
102
102
  "media-utilities.mjs"
103
103
  ],
104
104
  "dependencies": {
105
- "@sogni-ai/sogni-intelligence-client": "4.21.0",
105
+ "@sogni-ai/sogni-intelligence-client": "4.22.4",
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.69.1"
111
+ "@sogni-ai/sogni-client": "5.71.0",
112
+ "undici@7": "7.30.1"
112
113
  },
113
114
  "openclaw": {
114
115
  "extensions": [
@@ -120,8 +121,8 @@
120
121
  "@commitlint/config-conventional": "^21.2.2",
121
122
  "@semantic-release/changelog": "^6.0.3",
122
123
  "@semantic-release/git": "^10.0.1",
123
- "clawhub": "0.23.3",
124
+ "clawhub": "0.24.1",
124
125
  "husky": "^9.1.7",
125
- "semantic-release": "^25.0.3"
126
+ "semantic-release": "25.0.9"
126
127
  }
127
128
  }
@@ -13,7 +13,7 @@ substitute another destination model's prompt contract.
13
13
  | SD 1.5 | Weighted or comma-separated tags; quality/medium, subject, environment, lighting/camera | `positive_prompt:` plus `negative_prompt:` |
14
14
  | SDXL | Hybrid natural language plus selective comma-separated style/quality terms; Pony variants start with their score tags | `positive_prompt:` plus `negative_prompt:` |
15
15
  | FLUX.1 Schnell | One concise natural-language visual description centered on the subject, composition, light, and style; no SD score/tag soup | Prompt text only |
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 |
16
+ | FLUX 3 Image Klein | A full scene caption in plain sentences: subject, framing, setting, lighting, and style; name reference contributions by attachment order (the first image, the second image); 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
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 |
@@ -64,6 +64,14 @@ Markdown fence, preamble, explanation, or render offer.
64
64
  visible copy, proper nouns, style, and constraints. Add supporting visual
65
65
  detail without inventing extra objects, labels, slogans, characters, or
66
66
  story events.
67
+ - For a referenced person or character, distinguish a bounded edit from a
68
+ creative transformation. Keep genuinely untargeted content stable for a
69
+ bounded edit; express the recognizable individual in the requested medium
70
+ for a transformation, including its implied retouching or physical redesign.
71
+ Honor explicit locks without imposing a fixed face, texture, accessory,
72
+ pose, framing or facial-exposure inventory. Source observations are evidence
73
+ to interpret, not immutable requirements. Write task-specific art direction
74
+ rather than appending a universal identity or beauty paragraph.
67
75
  - Model capability selection comes from typed model and operation metadata.
68
76
  Never infer it from sentence-shape regexes or a list of creative keywords.
69
77
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Read this when managing personas (named people with saved reference photos and
4
4
  voice clips), persistent user preferences, custom agent personality, or
5
- multi-persona scenes.
5
+ multi-persona scenes, or style transformations of a referenced individual.
6
6
 
7
7
  ## Persona System
8
8
 
@@ -98,13 +98,18 @@ sogni-agent -c photo.jpg -o ./styled.png "Apply style: Andy Warhol pop art with
98
98
  # Studio Ghibli transformation
99
99
  sogni-agent -c photo.jpg -o ./ghibli.png "Apply style: Studio Ghibli watercolor with soft pastel sky and lush greenery"
100
100
 
101
- # For photos with people, always preserve identity
102
- sogni-agent -c portrait.jpg -o ./styled.png "Apply style: oil painting in the style of Vermeer. Preserve all facial features, expressions, and identity."
101
+ # Translate the particular person's likeness into the requested visual language
102
+ sogni-agent -c portrait.jpg -o ./styled.png "Reimagine the person from this portrait in a Vermeer-inspired oil painting, with a recognizable individual likeness expressed through the painted forms."
103
103
  ```
104
104
 
105
- **Tips:** reference artists and styles BY NAME for best results. Use positive
106
- phrasing. For photos with people, always append identity-preservation
107
- instructions.
105
+ **Tips:** use the requested artist or visual language and concrete art direction.
106
+ For a bounded edit, preserve genuinely untargeted content. For a creative
107
+ transformation, the complete brief can imply changed proportions, anatomy,
108
+ expression, pose, framing, accessories or skin treatment. Make the particular
109
+ individual recognizable within that design; source observations are evidence,
110
+ not an unchanged-feature inventory. Honor explicit locks and choose facial
111
+ exposure with artistic judgment. Do not append universal face-preservation or
112
+ beauty boilerplate to every prompt.
108
113
 
109
114
  ## Photo Restoration recipes
110
115
 
@@ -652,11 +652,26 @@ N/A
652
652
  Trim definitions for references that were not attached; unresolved labels are
653
653
  invalid.
654
654
 
655
- Sogni's current agent-facing R2V attachments are loose references. A prompt may
656
- borrow a clip's motion, pacing, or temporal structure, but must not claim
657
- `video editing` or `video continuation` unless the caller actually supplies a
658
- typed transformation relationship. Use I2VA, L2VA, or FL2VA when an endpoint
659
- must be locked.
655
+ **Source-shot edits.** When the user asks to transform an attached source shot,
656
+ use `video editing` and the exact edited-version opening above. Ref2VA carries
657
+ the source through the ordinary video reference input; it needs no extra SDK
658
+ edit flag. For appearance replacement, mark `<Video N>` `partially_preserved`:
659
+ list the camera, scene, positions, action and timing that stay, and the identity,
660
+ hair, clothing or body attributes that change. Do not mark the whole source
661
+ `fully_preserved` just because its motion or framing is retained.
662
+
663
+ Define the replacement subject from its image references, with face and wardrobe
664
+ pictures assigned to the correct person. The replaced performer supplies the
665
+ performance, not a second retained visible identity. Keep original clothing only
666
+ when requested. Define untouched performers separately. If the replacement
667
+ resembles an existing performer, explicitly state the final subject count and
668
+ distinct positions so the image does not bind only to the existing match.
669
+
670
+ For a new shot borrowing motion, use `reference generation` and state the
671
+ transferred attributes and requested identity/setting. Neither task label
672
+ guarantees pixel-exact preservation or exact choreography. `video continuation`
673
+ still needs an actual continuation workflow. Use I2VA, L2VA, or FL2VA when an
674
+ endpoint must be locked.
660
675
 
661
676
  For voice references, bind the voice to the speaking subject by reusing that
662
677
  subject's `(Sx)` in `subject_definitions`; do not put the speaker ID in
@@ -3,12 +3,12 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "4.21.0",
6
+ "@sogni-ai/sogni-intelligence-client": "4.22.4",
7
7
  "execa": "^10.0.1",
8
8
  "json5": "^2.2.3",
9
9
  "sharp": "0.35.5"
10
10
  },
11
11
  "overrides": {
12
- "@sogni-ai/sogni-client": "5.69.1"
12
+ "@sogni-ai/sogni-client": "5.71.0"
13
13
  }
14
14
  }
package/sogni-agent.mjs CHANGED
@@ -12989,6 +12989,9 @@ function projectLookupSummary(result) {
12989
12989
  ...(result.modelId ? { model: result.modelId } : {}),
12990
12990
  waitingReason: result.waitingReason ?? null,
12991
12991
  ...(message ? { message } : {}),
12992
+ // Why a failed project failed, as its owner was told (sogni-client's getResult reads it from the stored status, so it
12993
+ // survives a disconnect or a follow from another app; it used to read back as nothing).
12994
+ ...(result.failure ? { failure: result.failure } : {}),
12992
12995
  jobs: (result.jobs || []).map((job) => ({
12993
12996
  id: job.id,
12994
12997
  status: job.status,
@@ -13009,6 +13012,7 @@ function printProjectStatus(result) {
13009
13012
  const done = summary.jobs.filter((job) => job.status === 'completed').length;
13010
13013
  console.log(`Project ${summary.projectId}: ${summary.status}${summary.finished ? ` (${done}/${summary.jobs.length} render(s) completed)` : ''}`);
13011
13014
  if (summary.message) console.log(summary.message);
13015
+ if (summary.failure?.message) console.log(`Why it failed: ${summary.failure.message}`);
13012
13016
  for (const job of summary.jobs) {
13013
13017
  if (job.status !== 'completed') console.log(` ${job.id}: ${job.status}${job.reason ? ` (${job.reason})` : ''}`);
13014
13018
  }
@@ -13045,6 +13049,7 @@ async function saveProjectResult(result) {
13045
13049
  return;
13046
13050
  }
13047
13051
  console.log(`Project ${summary.projectId}: ${summary.status}`);
13052
+ if (summary.failure?.message) console.log(`Why it failed: ${summary.failure.message}`);
13048
13053
  if (localPaths.length) {
13049
13054
  for (const path of localPaths) console.log(`Saved to ${path}`);
13050
13055
  } else {
@@ -14655,6 +14660,7 @@ async function main() {
14655
14660
  if (options.showBalance) {
14656
14661
  const balance = await client.getBalance();
14657
14662
  const spark = Number.parseFloat(balance?.spark);
14663
+ const premiumSpark = Number.parseFloat(balance?.premiumSpark);
14658
14664
  const sogni = Number.parseFloat(balance?.sogni);
14659
14665
  // Identity + plan make wrong-account and no-subscription states visible
14660
14666
  // (a low Spark balance is fine when Unlimited covers the renders).
@@ -14670,6 +14676,7 @@ async function main() {
14670
14676
  success: true,
14671
14677
  type: 'balance',
14672
14678
  spark: Number.isFinite(spark) ? spark : null,
14679
+ premiumSpark: Number.isFinite(premiumSpark) ? premiumSpark : null,
14673
14680
  sogni: Number.isFinite(sogni) ? sogni : null,
14674
14681
  tokenType: options.tokenType || 'spark',
14675
14682
  username: accountInfo?.username ?? null,
@@ -14690,6 +14697,7 @@ async function main() {
14690
14697
  console.log(`Plan: ${describeSubscription(subscription)}`);
14691
14698
  }
14692
14699
  console.log(`SPARK: ${formatTokenValue(spark)}`);
14700
+ console.log(`PREMIUM SPARK: ${formatTokenValue(premiumSpark)}`);
14693
14701
  console.log(`SOGNI: ${formatTokenValue(sogni)}`);
14694
14702
  }
14695
14703
  return;
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.60.4';
1
+ export const PACKAGE_VERSION = '3.61.0';