@sogni-ai/sogni-creative-agent-skill 3.49.0 → 3.49.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.49.0"
6
+ version: "3.49.1"
7
7
  author: Sogni AI
8
8
  hermes:
9
9
  category: creative
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sogni-creative-agent",
3
- "version": "3.49.0",
3
+ "version": "3.49.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.49.0",
3
+ "version": "3.49.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,10 @@
1
+ ## [3.49.1](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.49.0...v3.49.1) (2026-09-14)
2
+
3
+ ### Bug Fixes
4
+
5
+ * Include video inputs in Seedance estimates and all reference-video counts and measured durations in Wan 3 and MiniMax H3 estimates. Wan 3 quotes use the selected source window.
6
+ * Use intelligence-client 4.0.1 and SDK 5.48.1 consistently in the CLI and installed skill runtime.
7
+
1
8
  ## [3.49.0](https://github.com/Sogni-AI/sogni-creative-agent-skill/compare/v3.47.0...v3.49.0) (2026-09-14)
2
9
 
3
10
  ### Features
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sogni-creative-agent-skill
3
3
  description: "Sogni Creative Agent Skill: agent skill and CLI for image, video, and music generation using Sogni AI's decentralized GPU network. Supports Pixal3D 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/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.49.0"
5
+ version: "3.49.1"
6
6
  homepage: https://sogni.ai
7
7
  openclaw:
8
8
  emoji: "🎨"
@@ -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.49.0",
5
+ "version": "3.49.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",
@@ -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.49.0",
5
+ "version": "3.49.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.49.0",
3
+ "version": "3.49.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",
@@ -100,13 +100,13 @@
100
100
  "media-utilities.mjs"
101
101
  ],
102
102
  "dependencies": {
103
- "@sogni-ai/sogni-intelligence-client": "4.0.0",
103
+ "@sogni-ai/sogni-intelligence-client": "4.0.1",
104
104
  "execa": "^10.0.1",
105
105
  "json5": "^2.2.3",
106
106
  "sharp": "0.35.4"
107
107
  },
108
108
  "overrides": {
109
- "@sogni-ai/sogni-client": "5.48.0"
109
+ "@sogni-ai/sogni-client": "5.48.1"
110
110
  },
111
111
  "openclaw": {
112
112
  "extensions": [
@@ -3,7 +3,7 @@
3
3
  "private": true,
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@sogni-ai/sogni-intelligence-client": "4.0.0",
6
+ "@sogni-ai/sogni-intelligence-client": "4.0.1",
7
7
  "execa": "^10.0.1",
8
8
  "json5": "^2.2.3",
9
9
  "sharp": "0.35.4"
package/sogni-agent.mjs CHANGED
@@ -5832,6 +5832,7 @@ if (typeof options.prompt === 'string' && options.prompt.trim() === '') {
5832
5832
  }
5833
5833
  const wan3ReferenceMediaCache = new Map();
5834
5834
  const wan3ReferencePreparationPlan = new Map();
5835
+ let wan3ReferenceVideoDurationSeconds = 0;
5835
5836
  const wan3HasMediaInput = isWan3ModelLocal(options.model) && Boolean(
5836
5837
  options.refImage
5837
5838
  || options.refImageEnd
@@ -9934,6 +9935,7 @@ async function prepareWan3ReferenceMediaPlan() {
9934
9935
  details: { referenceVideoDuration: totalVideoDuration, outputDuration: fixedOutputDuration }
9935
9936
  });
9936
9937
  }
9938
+ wan3ReferenceVideoDurationSeconds = totalVideoDuration;
9937
9939
  }
9938
9940
 
9939
9941
  async function transcodeSeedanceReferenceAudioToMp3(request) {
@@ -12044,9 +12046,11 @@ function miniMaxH3R2vReferenceImageCount() {
12044
12046
  + (Array.isArray(options.contextImages) ? options.contextImages.length : 0);
12045
12047
  }
12046
12048
 
12047
- function buildVideoEstimateParams({ tokenType, steps }) {
12049
+ async function buildVideoEstimateParams({ tokenType, steps }) {
12048
12050
  const isSeedanceVideo = isSeedanceModel(options.model);
12049
12051
  const isWan3Video = isWan3ModelLocal(options.model);
12052
+ const isMiniMaxH3R2v = isMiniMaxH3R2vModel(options.model);
12053
+ const videoSources = [options.refVideo, ...options.refVideos].filter(Boolean);
12050
12054
  const referenceImageCount = miniMaxH3R2vReferenceImageCount();
12051
12055
  const params = {
12052
12056
  modelId: options.model,
@@ -12060,13 +12064,29 @@ function buildVideoEstimateParams({ tokenType, steps }) {
12060
12064
  ...(referenceImageCount !== undefined ? { referenceImageCount } : {})
12061
12065
  };
12062
12066
 
12063
- if ((isSeedanceVideo || isWan3Video) && options.refVideo) {
12067
+ if ((isSeedanceVideo || isWan3Video || isMiniMaxH3R2v) && videoSources.length > 0) {
12064
12068
  params.hasVideoInput = true;
12065
- if (isHttpsUrl(options.refVideo)) {
12066
- params.referenceVideoUrls = [options.refVideo];
12067
- } else {
12069
+ params.referenceVideoUrls = videoSources.filter(isHttpsUrl);
12070
+ if (videoSources.some(source => !isHttpsUrl(source))) {
12068
12071
  params.referenceVideo = true;
12069
12072
  }
12073
+ params.referenceVideoCount = videoSources.length;
12074
+ if (isWan3Video) {
12075
+ params.referenceVideoDurationSeconds = wan3ReferenceVideoDurationSeconds;
12076
+ } else if (isMiniMaxH3R2v) {
12077
+ const durations = await Promise.all(videoSources.map(async (source, index) => {
12078
+ const duration = await probeLocalMediaDurationSeconds(source)
12079
+ ?? await probeMediaBufferDurationSeconds(
12080
+ await fetchMediaBuffer(source),
12081
+ mediaFilenameFromSource(source, `h3-reference-video-${index + 1}.mp4`)
12082
+ );
12083
+ if (!Number.isFinite(duration) || duration < 2 || duration > 15) {
12084
+ throw new Error(`MiniMax H3 reference video ${index + 1} must be between 2 and 15 seconds.`);
12085
+ }
12086
+ return duration;
12087
+ }));
12088
+ params.referenceVideoDurationSeconds = durations.reduce((sum, duration) => sum + duration, 0);
12089
+ }
12070
12090
  }
12071
12091
 
12072
12092
  return params;
@@ -12137,7 +12157,7 @@ async function ensureSufficientVideoBalance(client, log) {
12137
12157
 
12138
12158
  let estimate;
12139
12159
  try {
12140
- estimate = await client.estimateVideoCost(buildVideoEstimateParams({ tokenType, steps }));
12160
+ estimate = await client.estimateVideoCost(await buildVideoEstimateParams({ tokenType, steps }));
12141
12161
  } catch (err) {
12142
12162
  if (!options.quiet) {
12143
12163
  if (isMiniMaxH3ExtendedDurationEstimateError(err)) {
@@ -12901,7 +12921,7 @@ async function main() {
12901
12921
  err.hint = 'Pass --steps explicitly (e.g. --steps 4 for lightx2v models).';
12902
12922
  throw err;
12903
12923
  }
12904
- const estimateParams = buildVideoEstimateParams({
12924
+ const estimateParams = await buildVideoEstimateParams({
12905
12925
  tokenType: options.tokenType || 'spark',
12906
12926
  steps
12907
12927
  });
package/version.mjs CHANGED
@@ -1 +1 @@
1
- export const PACKAGE_VERSION = '3.49.0';
1
+ export const PACKAGE_VERSION = '3.49.1';