@sogni-ai/sogni-creative-agent-skill 2.1.2 → 2.2.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.
package/llm.txt CHANGED
@@ -7,6 +7,10 @@ runtimes.
7
7
  ## Install (pick the integration that matches your environment)
8
8
 
9
9
  ```bash
10
+ # Agent-safe CLI install or upgrade
11
+ npm install -g @sogni-ai/sogni-creative-agent-skill@latest
12
+ sogni-agent --version
13
+
10
14
  # OpenClaw plugin
11
15
  openclaw plugins install sogni-creative-agent-skill
12
16
 
@@ -26,36 +30,55 @@ npm link
26
30
  npm run openclaw:sync
27
31
  openclaw gateway restart
28
32
 
29
- # Hermes Agent / Manus / other agent frameworks
30
- # Point the agent at https://github.com/Sogni-AI/sogni-creative-agent-skill — use SKILL.md as
31
- # the behavior source and invoke the CLI.
33
+ # Agent-safe existing checkout update
34
+ DEST="$HOME/Documents/git/sogni/sogni-creative-agent-skill"
35
+ git -C "$DEST" pull --ff-only
36
+ npm --prefix "$DEST" install
32
37
 
33
- # Standalone Node CLI
34
- npm install -g @sogni-ai/sogni-creative-agent-skill
38
+ # Hermes Agent / Manus / other agent frameworks
39
+ # Point the agent at the Sogni-AI/sogni-creative-agent-skill repository.
40
+ # Use SKILL.md as the behavior source and invoke the CLI.
35
41
  ```
36
42
 
37
- ## Configure Sogni credentials
43
+ When operating inside an agent runtime, do not generate clone-or-pull shell
44
+ bootstrap scripts with `set -e`, `bash -c`, `sh -c`, or inline repository URLs.
45
+ Use the npm upgrade command above, update an existing checkout with `git -C`, or
46
+ ask before cloning.
47
+
48
+ ## Configure Sogni API key
38
49
 
39
50
  Once-only setup, used by every integration above:
40
51
 
52
+ The API key can always be found by logging into https://dashboard.sogni.ai and
53
+ clicking your username.
54
+
41
55
  ```bash
42
56
  mkdir -p ~/.config/sogni
43
57
  cat > ~/.config/sogni/credentials << 'EOF'
44
58
  SOGNI_API_KEY=your_api_key
45
- # or:
46
- # SOGNI_USERNAME=your_username
47
- # SOGNI_PASSWORD=your_password
48
59
  EOF
49
60
  chmod 600 ~/.config/sogni/credentials
50
61
  ```
51
62
 
52
- You can also export `SOGNI_API_KEY`, or `SOGNI_USERNAME` + `SOGNI_PASSWORD`,
53
- instead of writing the file. Sign up at https://app.sogni.ai/ if you do not
54
- have an account.
63
+ You can also export `SOGNI_API_KEY` instead of writing the file.
64
+
65
+ Hosted API modes require `SOGNI_API_KEY`: use `sogni-agent --api-chat "prompt"`
66
+ for `/v1/chat/completions` with rich creative-agent tools, or
67
+ `sogni-agent --api-workflow image-to-video --video-prompt "motion" "image prompt"`
68
+ for durable `/v1/creative-agent/workflows` execution.
69
+ Use the direct CLI path for uploaded media (`-c`, `--ref`, `--ref-audio`,
70
+ `--ref-video`); hosted API modes do not accept those media flags for server-side
71
+ tool execution.
72
+
73
+ Reusable hosted workflow behavior belongs in `../sogni-creative-agent` before it
74
+ is synced into this public skill. Use typed planner/runtime contracts for media
75
+ routing and repair decisions; keep skill-local regex limited to CLI fact
76
+ extraction such as paths, URLs, extensions, dimensions, durations, and explicit
77
+ positions.
55
78
 
56
79
  ## Repo
57
80
 
58
- https://github.com/Sogni-AI/sogni-creative-agent-skill
81
+ Sogni-AI/sogni-creative-agent-skill
59
82
 
60
83
  ## Key files
61
84
 
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "id": "sogni-creative-agent-skill",
3
- "name": "Sogni Creative Agent Skill — Image & Video Generation",
4
- "description": "Agent skill and CLI for Sogni AI image and video generation.",
5
- "version": "2.1.2",
3
+ "name": "Sogni Creative Agent Skill — Image, Video & Music Generation",
4
+ "description": "Agent skill and CLI for Sogni AI image, video, and music generation.",
5
+ "version": "2.2.0",
6
6
  "skills": [
7
7
  "."
8
8
  ],
@@ -25,6 +25,11 @@
25
25
  "default": "coreml-sogniXLturbo_alpha1_ad",
26
26
  "description": "Default model for photobooth face transfer."
27
27
  },
28
+ "defaultMusicModel": {
29
+ "type": "string",
30
+ "default": "ace_step_1.5_turbo",
31
+ "description": "Default model for direct music/audio generation."
32
+ },
28
33
  "videoModels": {
29
34
  "type": "object",
30
35
  "additionalProperties": false,
@@ -58,6 +63,22 @@
58
63
  "default": "spark",
59
64
  "description": "Default token balance to use."
60
65
  },
66
+ "apiBaseUrl": {
67
+ "type": "string",
68
+ "default": "https://api.sogni.ai",
69
+ "description": "Default Sogni API base URL for --api-chat and --api-workflow modes."
70
+ },
71
+ "defaultLlmModel": {
72
+ "type": "string",
73
+ "default": "qwen3.6-35b-a3b-gguf-iq4xs",
74
+ "description": "Default LLM model for --api-chat."
75
+ },
76
+ "defaultApiToolMode": {
77
+ "type": "string",
78
+ "enum": ["creative-agent", "rich", "hosted", "none"],
79
+ "default": "creative-agent",
80
+ "description": "Default Sogni tool family injected into --api-chat requests."
81
+ },
61
82
  "seedStrategy": {
62
83
  "type": "string",
63
84
  "enum": ["random", "prompt-hash"],
@@ -116,10 +137,21 @@
116
137
  "minimum": 30,
117
138
  "default": 300
118
139
  },
140
+ "defaultMusicDurationSec": {
141
+ "type": "integer",
142
+ "minimum": 10,
143
+ "maximum": 600,
144
+ "default": 30
145
+ },
146
+ "defaultMusicTimeoutSec": {
147
+ "type": "integer",
148
+ "minimum": 30,
149
+ "default": 600
150
+ },
119
151
  "credentialsPath": {
120
152
  "type": "string",
121
153
  "default": "~/.config/sogni/credentials",
122
- "description": "Optional path to Sogni credentials file (can also set SOGNI_CREDENTIALS_PATH)."
154
+ "description": "Optional path to Sogni API key credentials file (can also set SOGNI_CREDENTIALS_PATH)."
123
155
  },
124
156
  "lastRenderPath": {
125
157
  "type": "string",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sogni-ai/sogni-creative-agent-skill",
3
- "version": "2.1.2",
4
- "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image and video generation.",
3
+ "version": "2.2.0",
4
+ "description": "Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.",
5
5
  "type": "module",
6
6
  "main": "sogni-agent.mjs",
7
7
  "bin": {
@@ -22,6 +22,8 @@
22
22
  "agent",
23
23
  "image-generation",
24
24
  "video-generation",
25
+ "music-generation",
26
+ "audio-generation",
25
27
  "openclaw",
26
28
  "hermes-agent",
27
29
  "manus",
@@ -39,7 +41,7 @@
39
41
  },
40
42
  "homepage": "https://github.com/Sogni-AI/sogni-creative-agent-skill#readme",
41
43
  "engines": {
42
- "node": ">=22.11.0"
44
+ "node": ">=22"
43
45
  },
44
46
  "files": [
45
47
  "LICENSE",