@sogni-ai/sogni-creative-agent-skill 3.61.1 → 3.63.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/.agents/skills/sogni-creative-agent-skill/SKILL.md +24 -13
- package/.agents/skills/sogni-creative-agent-skill/references/hosted-api.md +9 -3
- package/.agents/skills/sogni-creative-agent-skill/references/image-prompting.md +47 -7
- package/.agents/skills/sogni-creative-agent-skill/references/interactive-worlds.md +8 -0
- package/.agents/skills/sogni-creative-agent-skill/references/loop-maker.md +2 -2
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +132 -41
- package/.agents/skills/sogni-creative-agent-skill/references/personas-memory.md +1 -1
- package/.agents/skills/sogni-creative-agent-skill/references/private-mature-video.md +21 -16
- package/.agents/skills/sogni-creative-agent-skill/references/video-editing.md +52 -0
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +813 -64
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +33 -0
- package/README.md +36 -24
- package/SKILL.md +31 -27
- package/desktop-extension/manifest.json +2 -2
- package/desktop-extension/server/index.mjs +2 -1
- package/desktop-extension/server/tools.mjs +49 -5
- package/generated/creative-agent-runtime.mjs +9 -9
- package/llm.txt +14 -2
- package/openclaw.plugin.json +2 -3
- package/package.json +7 -5
- package/plugin-skills/sogni-creative-agent/SKILL.md +17 -11
- package/references/hosted-api.md +9 -3
- package/references/image-prompting.md +47 -7
- package/references/interactive-worlds.md +8 -0
- package/references/loop-maker.md +2 -2
- package/references/models.md +132 -41
- package/references/openclaw-config.md +4 -1
- package/references/personas-memory.md +1 -1
- package/references/private-mature-video.md +21 -16
- package/references/video-editing.md +52 -0
- package/references/video-prompting.md +813 -64
- package/skill-package.json +2 -2
- package/skills/image_editing.md +2 -1
- package/skills/image_generation.md +2 -2
- package/sogni-agent.mjs +428 -30
- package/version.mjs +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sogni-creative-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.63.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",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## [3.63.0] - 2026-11-03
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* `sogni-agent prompt-guide <model> [--mode <mode>] [--json]` prints the prompt rules Sogni's own prompt writers use for an image or video model and mode, so an agent can read them before it writes the prompt. It is free and offline (no credits, no API key), resolves the model the way `-m` does for a render, and with no model lists every family, mode and model id. The desktop extension adds a matching `prompt_guide` tool, and `generate_image` and `generate_video` ask for it before a prompt is written. The video and image prompting guides carry the same rules, generated from intelligence-client: each video family's main mode in full, with the command for every other mode.
|
|
6
|
+
* Seedance 2.5 draft mode: `--seedance-draft` renders a 480p draft at the 480p price, and `--seedance-finalize <job-id>` renders that same video at 1080p, with the draft's prompt, media, length, ratio, seed and audio. Iterate on drafts and pay for 1080p only on the take you keep. `--json` results carry the draft's `jobId` and `seedanceDraftExpiresAt` (about three hours), `--estimate-video-cost` quotes both, and a finalize refuses the inputs it inherits, in the CLI's own flag names.
|
|
7
|
+
* The video prompting guide now has sections for Seedance 2.x/2.5, WAN 2.2, Wan 3 and HappyHorse 1.1, written for an agent writing the prompt itself: the shot in one sentence first, one job per reference, timed beats, one primary camera move, pace shown through what rushes past, constraints stated as positive facts, cuts that follow the request, and the exact words for speech and on-screen text. SKILL.md, the plugin skills, `llm.txt` and the desktop extension point agents to the model's section before they write a prompt.
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Camera wording keeps the request's pace: "zoom in" maps to a push-in or crash zoom, "pan" to a pan or whip pan, "orbit" to an orbit or fast arc, instead of always slowing the move.
|
|
12
|
+
* LTX text-to-video gives each shot one sentence and keeps every requested shot, each later sentence opening with its cut time; image-to-video and first/last-frame clips stay one continuous take.
|
|
13
|
+
* Every action the request names stays in the clip, on-screen text is kept exactly in quotes after "reads", and adult guides follow the requested intensity.
|
|
14
|
+
* A storyboard upload keeps your own words after the storyboard instructions instead of replacing them with a fixed prompt.
|
|
15
|
+
* Use intelligence-client 4.23.0, the creative-agent 2.27.9 runtime and Sogni SDK 5.74.0.
|
|
16
|
+
|
|
17
|
+
## [3.62.0] - 2026-11-03
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* Image edits route by what you ask for: Krea 2 Identity Edit for people, FLUX 3 Image Klein for type and graphic design, Dark Beast Krea 2 Identity Edit for NSFW, and GPT Image 2.5 Sunburst as the Premium Spark best option. Qwen Image Edit runs only when you name it.
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* Seedance 2.5 and Seedance 2.5 Uncensored edits keep a 30-second source video and 30 seconds of reference audio. A local source was trimmed to 15 seconds before upload, so a 30-second edit came back half as long. Seedance 2.0 keeps its 15-second limit.
|
|
26
|
+
* Long hosted chat calls stay connected past two minutes and deliver their whole reply, including long `--json` output through a pipe.
|
|
27
|
+
* API key hints link straight to the API Keys page.
|
|
28
|
+
* Use intelligence-client 4.22.9 and Sogni SDK 5.73.0 across the CLI and standalone skill runtime.
|
|
29
|
+
|
|
30
|
+
### Updates
|
|
31
|
+
|
|
32
|
+
* New production guidance: perform flat cloned dialogue with a video model and keep only the sound, re-prompt Dark Beast instead of cleaning its stills with another editor, check every join of a stitched video at full size, check that every clip stays physically plausible, and keep a recurring character's voice reference and wording identical in every clip.
|
|
33
|
+
|
|
1
34
|
## [3.61.1] - 2026-11-01
|
|
2
35
|
|
|
3
36
|
### Updates
|
package/README.md
CHANGED
|
@@ -88,7 +88,7 @@ With this skill, an agent can:
|
|
|
88
88
|
|
|
89
89
|
## Quick Start
|
|
90
90
|
|
|
91
|
-
1. Get a Sogni API key from [
|
|
91
|
+
1. Get a Sogni API key from [the API Keys page](https://dashboard.sogni.ai/api-key) and save it — see [Setup](#setup-sogni-api-key).
|
|
92
92
|
2. Install (one command):
|
|
93
93
|
|
|
94
94
|
```bash
|
|
@@ -131,7 +131,7 @@ Then ask your agent to do something:
|
|
|
131
131
|
## Requirements
|
|
132
132
|
|
|
133
133
|
- **Node.js ≥ 22.11.0**
|
|
134
|
-
- **Sogni API key** ([
|
|
134
|
+
- **Sogni API key** ([API Keys page](https://dashboard.sogni.ai/api-key))
|
|
135
135
|
- **`ffmpeg` + `ffprobe`** *(optional)* — required for local utilities such as `--angles-360-video`, `--concat-videos`, timestamped frame extraction, and `--verify-video`; `--upscale-video` needs `ffprobe`. Set `FFMPEG_PATH` / `FFPROBE_PATH` to override discovery (a leading `~` is expanded).
|
|
136
136
|
- macOS, Linux, or Windows
|
|
137
137
|
|
|
@@ -391,7 +391,7 @@ Codex also runs the Skill natively (see [OpenAI Codex CLI](#openai-codex-cli))
|
|
|
391
391
|
|
|
392
392
|
## Setup (Sogni API key)
|
|
393
393
|
|
|
394
|
-
1. Get your API key from [
|
|
394
|
+
1. Get your API key from [the API Keys page](https://dashboard.sogni.ai/api-key).
|
|
395
395
|
2. Save it to a credentials file:
|
|
396
396
|
|
|
397
397
|
```bash
|
|
@@ -453,8 +453,9 @@ does not mean the optional content filter withheld the image.
|
|
|
453
453
|
# Image generation
|
|
454
454
|
sogni-agent -Q hq -o dragon.png "a dragon eating tacos"
|
|
455
455
|
|
|
456
|
-
# Edit an image
|
|
456
|
+
# Edit an image (a person: Krea 2 Identity Edit, the default; type or design: FLUX 3 Image Klein)
|
|
457
457
|
sogni-agent -c subject.jpg "add a neon cyberpunk glow"
|
|
458
|
+
sogni-agent -c poster.png -m flux3_image_klein_sd_int8_convrot "the headline now reads GRAND OPENING"
|
|
458
459
|
|
|
459
460
|
# Photobooth face transfer
|
|
460
461
|
sogni-agent --photobooth --ref face.jpg "80s fashion portrait"
|
|
@@ -470,9 +471,10 @@ sogni-agent --video --target-resolution 768 \
|
|
|
470
471
|
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 \
|
|
471
472
|
"A polished product reveal with native ambient sound"
|
|
472
473
|
|
|
473
|
-
# Seedance multimodal context with public HTTPS references
|
|
474
|
+
# Seedance multimodal context with public HTTPS references (-c for the image: loose
|
|
475
|
+
# references cannot be combined with --ref/--ref-end frame anchors)
|
|
474
476
|
sogni-agent --video -m seedance2 --workflow t2v \
|
|
475
|
-
|
|
477
|
+
-c https://cdn.example.com/product.png \
|
|
476
478
|
--ref-video https://cdn.example.com/motion.mp4 \
|
|
477
479
|
--ref-audio https://cdn.example.com/music.m4a \
|
|
478
480
|
"Use @Image1 for product identity, @Video1 for camera movement, and @Audio1 for music rhythm"
|
|
@@ -494,12 +496,12 @@ sogni-agent --video -m wan3 --smart-duration --wan3-ratio 9:16 --no-expand-promp
|
|
|
494
496
|
# Accept its one-time likeness and consent agreement in the Sogni app first
|
|
495
497
|
# (until then jobs fail with error 4103, which is not retryable).
|
|
496
498
|
sogni-agent --video -m seedance2-5-uncensored --target-resolution 1080 --duration 8 \
|
|
497
|
-
"A
|
|
499
|
+
"A low camera circles two dancers spinning through a packed neon club, the crowd and strobe lights streaking past the lens. 0-3s: they lock hands and whip into a tight turn, her sequined dress and his loose shirt flaring out as the dancers around them throw their arms up. 3-6s: the taller dancer dips her partner low to the floor while the camera swings around them, magenta and blue light washing across their faces and sweat glinting on their shoulders. 6-8s: they snap upright together on the bass drop, chests heaving and grinning, as the crowd surges in behind them. Pounding bass, the crowd cheering, heels striking the floor. Both dancers keep the same faces, outfits and hair from the first frame to the last."
|
|
498
500
|
|
|
499
501
|
# Seedance 2.0 Mini Uncensored: every Seedance 2.0 Mini mode and limit (480p/720p,
|
|
500
502
|
# 4-15s) under its own model. It shares the Seedance 2.5 Uncensored agreement.
|
|
501
503
|
sogni-agent --video -m seedance2-mini-uncensored --target-resolution 720 --duration 8 \
|
|
502
|
-
"A slow dolly
|
|
504
|
+
"A slow dolly glides down a rain-soaked neon street at night at chest height, the wet asphalt mirroring pink and blue signs. 0-3s: a lone cyclist in a yellow raincoat rolls through the frame from left to right, tires hissing through a wide puddle and scattering the reflections. 3-6s: steam curls up from a street grate as a shop shutter on the right rattles down to the pavement. 6-8s: the dolly comes to rest on a glowing noodle-bar window where a cook tosses noodles in a smoking wok. Steady rain patter on awnings, distant traffic, the shutter's metal clatter. The street stays empty apart from the cyclist and the cook."
|
|
503
505
|
|
|
504
506
|
# Wan 3.0 Enhanced through MuleRouter (smart/fixed 2-30s, 30fps, native audio)
|
|
505
507
|
sogni-agent --video -m wan3-enhanced --target-resolution 1080 --duration 8 \
|
|
@@ -540,7 +542,7 @@ sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end l
|
|
|
540
542
|
"<keyframe alignment line plus three-field H3 prompt that names each keyframe <Picture N> and describes it at its time>"
|
|
541
543
|
|
|
542
544
|
# Image-to-video (i2v; defaults to wan_v2.2-14b-fp8_i2v_lightx2v)
|
|
543
|
-
sogni-agent --video --ref cat.jpg "
|
|
545
|
+
sogni-agent --video --ref cat.jpg "the cat leaps off the sofa and bolts toward the camera as it tracks back"
|
|
544
546
|
|
|
545
547
|
# Animate two images together (first frame → last frame; defaults to
|
|
546
548
|
# ltx25-22b-int8_i2v_distilled using the standard first/last-frame template)
|
|
@@ -582,7 +584,7 @@ sogni-agent --music -m turbo --bpm 128 --keyscale "C major" "bright indie pop ch
|
|
|
582
584
|
|
|
583
585
|
# LTX-2.3 voice identity / persona
|
|
584
586
|
sogni-agent --video --reference-audio-identity voice.webm \
|
|
585
|
-
'
|
|
587
|
+
'A medium close-up frames the narrator as he looks into the lens and says in a calm, low voice, "This is my voice."'
|
|
586
588
|
|
|
587
589
|
# Hosted chat with Sogni creative-agent tools (/v1/chat/completions)
|
|
588
590
|
sogni-agent --api-chat \
|
|
@@ -668,7 +670,7 @@ Run `sogni-agent --help` for the full CLI. Below are the options and tables most
|
|
|
668
670
|
|--------|-----|
|
|
669
671
|
| `-Q fast\|hq\|pro` | Pick image quality without memorizing model IDs |
|
|
670
672
|
| `-o <path>` | Save output locally |
|
|
671
|
-
| `-c <path>` | Provide image context for edits |
|
|
673
|
+
| `-c <path>` | Provide image context for edits (without `-m`: Krea 2 Identity Edit for 1-2 images, FLUX 3 Image Klein for 3-10) |
|
|
672
674
|
| `--video` | Generate video instead of image |
|
|
673
675
|
| `--music` | Generate music instead of an image: MiniMax Music 3 by default, 10–300s (60s default, a ceiling); `-m turbo` or `-m sft` for ACE-Step (10–600s) |
|
|
674
676
|
| `--lyrics`, `--bpm`, `--keyscale`, `--timesig` | `--lyrics` for any model (Music 3: plain `[Verse]`/`[Chorus]` tags); `--bpm`/`--keyscale`/`--timesig` are exact ACE-Step controls and are written into the prompt on the default Music 3 |
|
|
@@ -739,7 +741,7 @@ Prefer `-Q fast|hq|pro` for images and automatic workflow routing for video. Pas
|
|
|
739
741
|
| Default images | `z_image_turbo_bf16` |
|
|
740
742
|
| OpenAI GPT Image generation, editing, or strong text rendering | `gpt-image-2` |
|
|
741
743
|
| Highest-quality images | `qwen_image_2512_fp8` (or `-Q pro`) |
|
|
742
|
-
| Image editing | `
|
|
744
|
+
| Image editing, chosen by what the request means (never Qwen Image Edit unless the user names it) | a person's likeness: `krea2_identity_edit_v1_2` (the `-c` default for 1-2 references); type, logos and graphic design: `flux3_image_klein_sd_int8_convrot` (the default for 3-10); NSFW: `dark_beast_krea2_identity_edit_v1_2`; the best result with Premium Spark: `gpt-image-2.5-sunburst` |
|
|
743
745
|
| Deterministic image upscaling through 16K | `rtx_vsr_pro` via `--upscale` |
|
|
744
746
|
| Promptless video upscaling to 1080p/1440p | `flashvsr_v1.1_tiny_long_bf16` via `--upscale-video` |
|
|
745
747
|
| Object masks from points, boxes, or a description | `sam3_image_segment_bf16` via `--segment` |
|
|
@@ -796,9 +798,16 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
|
|
|
796
798
|
Seedance 2.5 loose-reference operations use an explicit task contract. `reference` accepts any loose image/video/audio set (including audio-only); `edit` and `extend` require `@Video1` through `--ref-video` and reject first/last-frame anchors. Edit inherits the source aspect ratio and requires its source duration, while extend inherits the ratio and uses the requested continuation duration:
|
|
797
799
|
|
|
798
800
|
```bash
|
|
799
|
-
sogni-agent --video -m seedance2-5 --seedance-task-type reference --ref-audio voice.m4a "Use @Audio1
|
|
800
|
-
sogni-agent --video -m seedance2-5-v2v --seedance-task-type edit --ref-video source.mp4 --duration 8 --target-resolution 720 "Edit @Video1
|
|
801
|
-
sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video source.mp4 --duration 8 --target-resolution 720 "Extend @Video1 after its ending"
|
|
801
|
+
sogni-agent --video -m seedance2-5 --seedance-task-type reference --ref-audio voice.m4a "Use @Audio1 as the singer's voice. <the new performance, in time-coded beats>"
|
|
802
|
+
sogni-agent --video -m seedance2-5-v2v --seedance-task-type edit --ref-video source.mp4 --duration 8 --target-resolution 720 "Edit @Video1. Replace <what changes>. Keep the subject, camera path, and timing."
|
|
803
|
+
sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video source.mp4 --duration 8 --target-resolution 720 "Extend @Video1. <the new footage after its ending, in time-coded beats>"
|
|
804
|
+
```
|
|
805
|
+
|
|
806
|
+
Seedance 2.5 draft mode lets you iterate on 480p drafts and pay for 1080p only on the take you keep. `--seedance-draft` renders a 480p draft at the 480p price. `--seedance-finalize <job-id>` renders that same video at 1080p, with the draft's prompt, media, length, ratio, seed and audio, before the draft's `seedanceDraftExpiresAt` (about three hours).
|
|
807
|
+
|
|
808
|
+
```bash
|
|
809
|
+
sogni-agent --video -m seedance2-5 --seedance-draft --json "<Seedance prompt>" # results[0].jobId
|
|
810
|
+
sogni-agent --video -m seedance2-5 --seedance-finalize <job-id> -o final.mp4
|
|
802
811
|
```
|
|
803
812
|
|
|
804
813
|
---
|
|
@@ -828,23 +837,26 @@ The LTX-2.5 v2v selector `ltx25-v2v` supports two extra control modes: **`outpai
|
|
|
828
837
|
|
|
829
838
|
## LTX-2.x Prompting Guide
|
|
830
839
|
|
|
840
|
+
Every video family reads its own prompt grammar. `sogni-agent prompt-guide <model> --mode <mode>` prints the rules Sogni's own prompt writer uses for that model and mode (free and offline; with no model it lists every guide), and `references/video-prompting.md` has a section per model (LTX, MiniMax H3, Seedance, WAN 2.2, Wan 3, HappyHorse). This section summarizes the LTX one.
|
|
841
|
+
|
|
831
842
|
When you use LTX-2.5 or an LTX-2.3 rollback model, do **not** feed it short tag prompts like `"cinematic drone shot over tropical cliffs"`. LTX renders more reliably from a dense natural-language scene description.
|
|
832
843
|
|
|
833
|
-
- Write
|
|
834
|
-
-
|
|
844
|
+
- Write present-tense prose with no bullets, headers, or tag blocks.
|
|
845
|
+
- Text-to-video gives each shot one sentence: one continuous shot unless the user asks for cuts, and every requested shot kept in order, each later sentence opening with its cut time (`At exactly 3 seconds, a hard cut switches to a close-up of …`). Image-to-video and first/last-frame stay one continuous take.
|
|
835
846
|
- Start with shot scale and scene identity, then cover environment, time of day, textures, and named light sources.
|
|
836
|
-
- Keep characters and objects concrete and stable;
|
|
847
|
+
- Keep characters and objects concrete and stable; give each shot one main action thread from start to finish.
|
|
837
848
|
- For dialogue, include the exact spoken words in double quotes with the speaker and delivery identified inline.
|
|
849
|
+
- Keep any on-screen text the user asks for exactly, in double quotes after "reads" (`a neon sign reads "OPEN ALL NIGHT"`), and add none they did not ask for.
|
|
838
850
|
- Express mood through visible behavior, motion, and sound cues — not vague adjectives.
|
|
839
|
-
- Use positive phrasing. Avoid script formatting, negative prompts,
|
|
840
|
-
-
|
|
851
|
+
- Use positive phrasing. Avoid script formatting, negative prompts, and filler words like "beautiful" or "nice".
|
|
852
|
+
- Fit every action the user names into the clip, in order. If they cannot all finish on screen, suggest a longer clip rather than dropping one.
|
|
841
853
|
|
|
842
854
|
**Example rewrite:**
|
|
843
855
|
|
|
844
856
|
```text
|
|
845
857
|
User ask: "make a 4k video of a woman in a neon alley"
|
|
846
858
|
|
|
847
|
-
LTX prompt: "A medium
|
|
859
|
+
LTX-2.5 prompt (one shot, so one sentence): "A medium shot frames a woman in her 30s in a dark trench coat standing in a rain-soaked neon alley at night, violet and amber signs reflecting across the wet pavement and steam drifting from a street vent behind her, as she turns toward the camera and steps forward with one hand tightening around her bag strap while the camera pushes in on her set jaw, rain tapping on a metal fire escape and a distant train humming through the block."
|
|
848
860
|
```
|
|
849
861
|
|
|
850
862
|
---
|
|
@@ -860,9 +872,9 @@ sogni-agent --photobooth --ref face.jpg -n 4 "LinkedIn professional headshot"
|
|
|
860
872
|
|
|
861
873
|
Uses SDXL Turbo (`coreml-sogniXLturbo_alpha1_ad`) at 1024×1024 by default. The face image is passed via `--ref` and styled by the prompt. Cannot be combined with `--video` or `-c` / `--context`.
|
|
862
874
|
|
|
863
|
-
`--photobooth` is face-reference generation, not full-image editing. If the request is "same image, different style" — for example an anime version that must keep the same face, pose, clothing, background, framing, and composition — use
|
|
875
|
+
`--photobooth` is face-reference generation, not full-image editing. If the request is "same image, different style" — for example an anime version that must keep the same face, pose, clothing, background, framing, and composition — use context editing with `-c/--context` instead (Krea 2 Identity Edit, `-m krea2_identity_edit_v1_2`, keeps the person recognizable).
|
|
864
876
|
|
|
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.
|
|
877
|
+
Multi-angle mode (`--multi-angle` / `--angles-360`) auto-builds the `<sks>` prompt and applies the `multiple_angles` LoRA. It runs on Qwen Image Edit 2511, the only model with that LoRA, so use it only when asked for by name; an ordinary change of camera angle is a `-c` edit on the routed model. `--angles-360-video` generates i2v clips between consecutive angles (including last → first) and concatenates them with `ffmpeg` into a seamless loop.
|
|
866
878
|
|
|
867
879
|
`--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
880
|
|
|
@@ -885,7 +897,7 @@ sogni-agent --persona-add "Sarah" --ref sarah.jpg --relationship partner --voice
|
|
|
885
897
|
sogni-agent --persona "Mark" -o hero.png "superhero in dramatic lighting"
|
|
886
898
|
|
|
887
899
|
# Video using a persona photo + saved voice identity
|
|
888
|
-
sogni-agent --video --persona "Sarah" '
|
|
900
|
+
sogni-agent --video --persona "Sarah" 'A medium close-up frames Sarah as she smiles into the lens and says, "This is my voice."'
|
|
889
901
|
|
|
890
902
|
# List / remove
|
|
891
903
|
sogni-agent --persona-list
|
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.
|
|
5
|
+
version: "3.63.0"
|
|
6
6
|
homepage: https://sogni.ai
|
|
7
7
|
openclaw:
|
|
8
8
|
emoji: "🎨"
|
|
@@ -79,7 +79,7 @@ When a user asks to uninstall, run `npx setup-sogni-agent-skill --uninstall --re
|
|
|
79
79
|
|
|
80
80
|
## Setup
|
|
81
81
|
|
|
82
|
-
1. **Get your Sogni API key**
|
|
82
|
+
1. **Get your Sogni API key** at https://dashboard.sogni.ai/api-key (sign in or create an account first).
|
|
83
83
|
2. **Create the credentials file** (or just export `SOGNI_API_KEY`). When the person has a terminal, have them do this themselves rather than paste the key into the chat; if they give it to you anyway, write it only to this file and don't repeat it back:
|
|
84
84
|
|
|
85
85
|
```bash
|
|
@@ -124,7 +124,7 @@ Preserve the requested deliverable: capability questions need an answer, a writi
|
|
|
124
124
|
|
|
125
125
|
You (the calling LLM) are almost always more capable than Sogni's hosted planning model, so **do the planning and tool selection yourself** and let the hosted endpoints do what only the server can — run on the GPU network, persist assets/manifests, orchestrate durable multi-step runs with replay, and apply structured-contract repair. Don't flatten a rich request into a single natural-language string and hand planning back to a weaker model. Match the mode to the work:
|
|
126
126
|
|
|
127
|
-
- **One-shot generation** → direct-to-SDK flags (the Core Commands below). You
|
|
127
|
+
- **One-shot generation** → direct-to-SDK flags (the Core Commands below). You pick the tool and model. The direct path runs no model-aware prompt shaper (Wan 3 aside), so before running it, run `sogni-agent prompt-guide <model> --mode <mode>` (free and offline: the rules Sogni's own prompt writer uses) and write the prompt in that model's grammar from those rules and its section of [`references/video-prompting.md`](./references/video-prompting.md) or [`references/image-prompting.md`](./references/image-prompting.md). No LLM round-trip, lowest latency/cost.
|
|
128
128
|
- **Multi-step / durable / resumable** → `--api-workflow` with an explicit step graph via `--workflow-input <json|@path>`. *You* author the exact plan — `steps[]` with `toolName`, `arguments`, and `dependsOn` bindings (e.g. `sourceStepId`, `targetArgument`, `transform: "artifact_url"`) — and the server executes it durably with replay/resumability, **without re-planning through the hosted LLM**. Presets like `--api-workflow storyboard-video` are fine when they already match the request.
|
|
129
129
|
- **`--api-chat` / `--durable-chat` (hosted LLM owns the loop)** → reserve for when you deliberately *want* the hosted model to drive a long server-side tool loop (saves client round-trips on long async jobs), when structured-contract repair recipes should govern, or when several local files must be uploaded for a single turn (multi-file local upload is only supported here). These delegate planning to the hosted model — choose them on purpose, not by default.
|
|
130
130
|
|
|
@@ -173,7 +173,8 @@ sogni-agent -q --upscale-video /path/to/clip.mp4 --upscale-resolution 1080 -o ./
|
|
|
173
173
|
# Photobooth (face transfer — new portrait from a face photo)
|
|
174
174
|
sogni-agent -q --photobooth --ref /path/to/face.jpg -o ./stylized.png "80s fashion portrait"
|
|
175
175
|
|
|
176
|
-
# Text-to-video / image-to-video (write the prompt per references/video-prompting.md)
|
|
176
|
+
# Text-to-video / image-to-video (write the prompt per the model's section of references/video-prompting.md)
|
|
177
|
+
sogni-agent prompt-guide wan22-i2v --mode i2v # first: the model's prompt rules (free, offline)
|
|
177
178
|
# Single-image i2v defaults to wan_v2.2-14b-fp8_i2v_lightx2v; adding --ref-end
|
|
178
179
|
# defaults to ltx25-22b-int8_i2v_distilled (the standard LTX-2.5 FLF template).
|
|
179
180
|
sogni-agent -q --video -o ./video.mp4 "<cinematic prose paragraph>"
|
|
@@ -193,14 +194,14 @@ sogni-agent -q --music --duration 30 -o ./music.mp3 "uplifting cinematic synthwa
|
|
|
193
194
|
sogni-agent --music --lyrics $'[Verse]\nRise with the morning light\n[Chorus]\nWe run' "bright indie pop chorus, 128 BPM, C major"
|
|
194
195
|
|
|
195
196
|
# Seedance 2.0 4K (4-15s vendor video with native audio)
|
|
196
|
-
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 "
|
|
197
|
+
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 "<Seedance prompt with time-coded beats>"
|
|
197
198
|
|
|
198
199
|
# Seedance 2.5 loose-reference operations (fixed 24fps, 480p/720p/1080p; same for -m seedance2-5-uncensored; -m seedance2-mini-uncensored follows seedance2-mini).
|
|
199
200
|
# Edit inherits @Video1's ratio and uses its source duration; extend inherits
|
|
200
201
|
# the ratio but uses the requested continuation duration.
|
|
201
|
-
sogni-agent --video -m seedance2-5 --target-resolution 1080 --seedance-task-type reference --ref-audio voice.m4a "
|
|
202
|
-
sogni-agent --video -m seedance2-5-v2v --seedance-task-type edit --ref-video source.mp4 --duration 8 --target-resolution 720 "Edit @Video1
|
|
203
|
-
sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video source.mp4 --duration 8 --target-resolution 720 "Extend @Video1 after its ending"
|
|
202
|
+
sogni-agent --video -m seedance2-5 --target-resolution 1080 --seedance-task-type reference --ref-audio voice.m4a "<one job for @Audio1, then the Seedance prompt>"
|
|
203
|
+
sogni-agent --video -m seedance2-5-v2v --seedance-task-type edit --ref-video source.mp4 --duration 8 --target-resolution 720 "Edit @Video1. Replace <what changes>. Keep the subject, camera path, and timing."
|
|
204
|
+
sogni-agent --video -m seedance2-5-v2v --seedance-task-type extend --ref-video source.mp4 --duration 8 --target-resolution 720 "Extend @Video1. <the new footage after its ending, in time-coded beats>"
|
|
204
205
|
|
|
205
206
|
# MiniMax H3 (fixed 24fps, native stereo audio + dialogue; use the official ordered-field
|
|
206
207
|
# prompt contract — see references/video-prompting.md). Standard, 8-step Balanced, and 4-step
|
|
@@ -222,14 +223,14 @@ sogni-agent --video -m minimax-h3-r2v-turbo -w 960 -h 544 --ref identity.png -c
|
|
|
222
223
|
sogni-agent --video -m minimax-h3-fasth3-turbo --duration 8 "<three-field H3 prompt>"
|
|
223
224
|
sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --duration 8 "<I2V preamble plus three-field H3 prompt>"
|
|
224
225
|
sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end last.png --duration 8 "<FLF2V preamble plus three-field H3 prompt>"
|
|
225
|
-
sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --keyframe turn.png@3.5 --duration 8 "<I2V prompt
|
|
226
|
+
sogni-agent --video -m minimax-h3-fasth3-i2v-turbo --ref first.png --keyframe turn.png@3.5 --duration 8 "<I2V prompt naming turn.png as <Picture 2> where the clip reaches it>" # up to 8 keyframes on H3 i2v/flf2v, Sound to Video, Ref2VA
|
|
226
227
|
sogni-agent --video -m minimax-h3-fasth3-turbo-2stage --duration 8 "<three-field H3 prompt>" # 2K by default; --target-resolution 1080 or 720 for 1080p or 720p; minimax-h3-fasth3-r2v-turbo-2stage for references
|
|
227
228
|
|
|
228
229
|
# HappyHorse 1.1 (3-15s vendor video, fixed 24fps, native audio). t2v default;
|
|
229
230
|
# i2v from one first-frame image (--ref); r2v from 1-9 reference images (-c).
|
|
230
|
-
sogni-agent --video -m happyhorse --duration 8 "
|
|
231
|
-
sogni-agent --video -m happyhorse --ref first-frame.png "
|
|
232
|
-
sogni-agent --video -m happyhorse-1.1-r2v -c ref1.png -c ref2.png "
|
|
231
|
+
sogni-agent --video -m happyhorse --duration 8 "<HappyHorse t2v prompt>"
|
|
232
|
+
sogni-agent --video -m happyhorse --ref first-frame.png "<the motion and camera that follow the first frame>"
|
|
233
|
+
sogni-agent --video -m happyhorse-1.1-r2v -c ref1.png -c ref2.png "<a role for each [Image N], then the shot>"
|
|
233
234
|
|
|
234
235
|
# Alibaba Wan 3 unified video (2-30s, fixed 30fps, native audio,
|
|
235
236
|
# 480P/720P/1080P, 720P by default). --ref/--ref-end are frame anchors; r2v/a2v/ia2v
|
|
@@ -279,10 +280,10 @@ sogni-agent doctor --json
|
|
|
279
280
|
| `--video`, `--music` | Generate video / music instead of image | - |
|
|
280
281
|
| `--workflow <t>` | Force `t2v\|i2v\|r2v\|s2v\|ia2v\|a2v\|v2v\|animate-move\|animate-replace` | inferred |
|
|
281
282
|
| `--ref`, `-c`, `--ref-end`, `--ref-audio`, `--ref-video`, `--mask` | Frame / loose image / audio / video / mask references; audio/video repeat for H3 r2v; `--keyframe <image>@<sec>` pins an H3 keyframe (repeat, up to 8) | - |
|
|
282
|
-
| `--seedance-task-type reference\|edit\|extend
|
|
283
|
+
| `--seedance-task-type reference\|edit\|extend`; `--seedance-draft`, `--seedance-finalize <jobId>` | Seedance 2.5 loose-reference operation (v2v defaults to edit). Draft mode: iterate on 480p drafts (480p price), then render the kept draft at 1080p with all its inputs, before its `seedanceDraftExpiresAt` (~3 h); see `references/models.md` § Seedance 2.5 | - |
|
|
283
284
|
| `--wan3-ratio`, `--smart-duration` | Wan 3 adaptive/fixed ratio and provider-selected 2–30s duration | adaptive / fixed |
|
|
284
285
|
| `--reference-file-url`, `--reference-link-url` | One public Wan 3 document or webpage context URL (mutually exclusive) | - |
|
|
285
|
-
| `--expand-prompt`, `--no-expand-prompt`, `--watermark`, `--no-watermark` | Local video prompt
|
|
286
|
+
| `--expand-prompt`, `--no-expand-prompt`, `--watermark`, `--no-watermark` | Local video prompt guardrails (quote and duration checks, storyboard fallback) plus Sogni's server-side Wan 3 rewrite; `--no-expand-prompt` sends the prompt literally. Wan 3 watermark control | on / watermark off |
|
|
286
287
|
| `--generate-audio`, `--no-generate-audio` | Keep/strip MiniMax H3's track or enable/disable Wan 3 native audio | keep / enabled |
|
|
287
288
|
| `--sampler <name>` | Image/music sampler; LightX2V FL2VA H3 Turbo: `euler\|er_sde\|sa_solver`; Ref2VA Turbo and FastH3 Turbo: `euler` only | LightX2V FL2VA H3 Turbo defaults to `er_sde` on Socket; CLI omits unless set |
|
|
288
289
|
| `--control-type`, `--outpaint-position`, `--outpaint-aspect-ratio` | LTX v2v control mode and outpaint canvas controls (`ltx25-v2v` default) | - |
|
|
@@ -317,31 +318,34 @@ sogni-agent doctor --json
|
|
|
317
318
|
- SDK callers: SAM 3 takes `sam3Prompt.applyMask: true` for a cutout; leave it off for the binary mask. If text matches too many instances, inspect `maskSelections` and refine with `maxInstances: 1` or points. BiRefNet uses top-level `applyMask` instead.
|
|
318
319
|
- Pixal3D (`pixal3d_int8_i23d`) reconstructs one `startingImage` into a textured GLB. When the user has more photos of the same object, add any of `--left-view`, `--back-view` and `--right-view` to `--image-to-3d front.png`; the CLI then uses `pixal3d_multiview_int8_i23d` (SDK `leftViewImage` / `backViewImage` / `rightViewImage`) at the same options and price. Views are named by the subject's own sides, not the viewer's: left = the subject turned so its own left side faces the camera (it faces screen-left), right = its own right side (it faces screen-right), back = seen from behind. Never follow turnaround templates that label the subject's right side "left" — swapped sides build a model turned 180 degrees. Its supported graph is promptless: omit `templateVariant` or use `i23d-birefnet`; the old prompted `i23d` variant is removed. Shape resolution defaults to 1024, with 1536 available at a higher price. Set `meshTargetFaces` below the 700000 maximum for a real-time asset. Discovery supports `--search-models pixal3d` and `--model-media model`; generate with `--image-to-3d object.png --mesh-faces 30000 -o object.glb`. Save the binary result as `.glb`, never process it as an image.
|
|
319
320
|
- `birefnet_image_background_removal_fp16` is available on Supernet for promptless soft-matte background removal. SDK callers pass `startingImage` and top-level `applyMask: true` for an RGBA cutout. Use `--remove-background original.png -o cutout.png`; add `--matte` for a soft mask. Preserve original bytes and dimensions.
|
|
320
|
-
- SAM 3 and BiRefNet are flat-priced; Pixal3D pricing changes with `shapeResolution`. `--music` uses MiniMax Music 3 by default (`-m turbo` for ACE-Step); use `--speech --speech-mode voice|clone|design` for Qwen3-TTS. Read [`references/models.md`](./references/models.md) before these modes: it covers promptless mesh/cutout controls, Music 3 section tags, exact speech scripts, studio voices,
|
|
321
|
+
- SAM 3 and BiRefNet are flat-priced; Pixal3D pricing changes with `shapeResolution`. `--music` uses MiniMax Music 3 by default (`-m turbo` for ACE-Step); use `--speech --speech-mode voice|clone|design` for Qwen3-TTS. Read [`references/models.md`](./references/models.md) before these modes: it covers promptless mesh/cutout controls, Music 3 section tags, exact speech scripts, studio voices, 3–30s clone recordings, and what to do when a cloned line sounds flat. Speech never accepts music duration or diffusion controls.
|
|
321
322
|
|
|
322
323
|
### Photobooth vs. context editing
|
|
323
324
|
|
|
324
325
|
- `--photobooth` is **face-reference generation**, not full-image editing: it generates a *new* portrait from a face photo and may change pose, clothing, background, framing, and composition. Use it when the user explicitly asks for photobooth/face-transfer, a new portrait/headshot from their face, or to place their face into a different concept. Cannot be combined with `--video` or `-c/--context`. Tune with `--cn-strength` (default 0.8) and `--cn-guidance-end` (default 0.3).
|
|
325
|
-
- 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
|
|
326
|
+
- 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, on the model the routing below picks:
|
|
326
327
|
|
|
327
328
|
```bash
|
|
328
|
-
sogni-agent -c photo.jpg -m
|
|
329
|
+
sogni-agent -c photo.jpg -m krea2_identity_edit_v1_2 "Turn her into an anime character, recognizable through the character design."
|
|
329
330
|
```
|
|
330
331
|
|
|
331
|
-
-
|
|
332
|
+
- **Edit-model routing** — infer what the request means in any language; never route from keyword or regex matching. An explicitly requested model always wins. An edit that must preserve likeness or character identity (clothing, hair, makeup, pose, face/body, background, lighting or style changes; a single-character sheet unless a Pro/detail-critical layout favors GPT Image 2.5 Sunburst) → `-m krea2_identity_edit_v1_2`. Type, logos, posters, labels, layouts and other graphic design → `-m flux3_image_klein_sd_int8_convrot` (up to 10 references). Nudity, sexual, horror or gore, or the creator asks for the uncensored variant → `-m dark_beast_krea2_identity_edit_v1_2` (`dark_beast_krea2_fp8` is its text-to-image counterpart). The best result when `--balance` shows Premium Spark or the user asks for top quality → `-m gpt-image-2.5-sunburst` (up to 16 references; OpenAI's safety system refuses gore on a real person's likeness and sexualized edits, so those stay on Dark Beast). Never choose Qwen Image Edit (`qwen_image_edit_2511_fp8*`): it is an older model, run only when the user names it. Without `-m` the CLI edits with Krea 2 Identity Edit (1-2 references) or FLUX 3 Image Klein (3-10), so pass `-m` for every other case.
|
|
333
|
+
- Krea 2 Identity Edit and its Dark Beast variant 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.
|
|
332
334
|
- 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.
|
|
333
|
-
- 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
|
|
335
|
+
- 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 routing above.
|
|
334
336
|
- 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.
|
|
335
337
|
|
|
336
338
|
### Prompt-only model authoring
|
|
337
339
|
|
|
338
340
|
When the creator asks only to write, draft, return, or generate a prompt for **any image or video model/workflow**, the prompt text is the final deliverable. Require the named model/version and operation, apply its registered model-native contract, and return only the directly runnable prompt. Do not invoke the CLI, hosted API, or any media-generation tool; do not add a Markdown fence, preamble, generic tips, explanation, render offer, or follow-up question after a completed prompt. If the target is omitted, ask which model to tune for. If the model/version/operation has no validated contract, say so and ask for the exact target; never substitute a generic prompt or another model's format. If the same request also asks to render the media now, that execution request wins and the shaped prompt becomes the generation input.
|
|
339
341
|
|
|
340
|
-
|
|
342
|
+
Before writing any image prompt, rendered or returned as text, run `sogni-agent prompt-guide <model> --mode <generate|edit>` and **read [`references/image-prompting.md`](./references/image-prompting.md)**. SD 1.5, SDXL/Pony, FLUX.1 Schnell, FLUX 3 Image Klein, Chroma, Krea 2, Qwen Image, Z-Image, GPT Image, and their edit operations do not share one prompt syntax or output envelope.
|
|
341
343
|
|
|
342
|
-
###
|
|
344
|
+
### Video prompts
|
|
343
345
|
|
|
344
|
-
|
|
346
|
+
Every video family reads its own prompt grammar. Before writing any video prompt, run `sogni-agent prompt-guide <model> --mode <t2v|i2v|l2v|flf|r2v|v2v|a2v|ia2v|…>` for the model and mode you will run: it prints the rules Sogni's own prompt writer uses, free and offline. Then read that model's section of [`references/video-prompting.md`](./references/video-prompting.md): LTX, MiniMax H3, Seedance 2.0/2.5, WAN 2.2, Wan 3, or HappyHorse.
|
|
347
|
+
|
|
348
|
+
Whenever the chosen video model is in the LTX family (including the default t2v), **do not pass the user's short request through unchanged**. Rewrite it into present-tense prose — concrete subjects, named light sources, every action the user names in order, dialogue embedded in double quotes with the speaker identified, requested on-screen text in double quotes, positive phrasing only, no headers/bullets/negative-prompts. Text-to-video gives each shot one sentence: one continuous shot unless the user asks for cuts, and each requested cut opens its sentence with its time. Image-to-video and first/last-frame stay one continuous take. **Read [`references/video-prompting.md`](./references/video-prompting.md) for the full rule, duration pacing, orientation mapping, and camera language before writing the prompt.**
|
|
345
349
|
|
|
346
350
|
Whenever the creator explicitly requests 10Eros, and for lawful adult mature-theme video requests generally, read [`references/private-mature-video.md`](./references/private-mature-video.md) before choosing a model, LoRA, or specialized prompt token. Keep the exact tokens in that scoped reference rather than ordinary model recommendations.
|
|
347
351
|
|
|
@@ -355,7 +359,7 @@ H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (
|
|
|
355
359
|
|
|
356
360
|
[Personal LoRA library management](./references/personal-loras.md) covers imports, consent, status and compatible models. **MiniMax H3 is the only video family that loads LoRAs**, including its FastH3 audio-to-video modes. Attach them with the same repeatable `--lora <id> --lora-strength <n>` arguments the image models take, and name the explicit H3 mode in the same command — availability differs per mode, and bare `-m minimax-h3` cannot be validated. Video LoRAs are positive-only: a negative value is not an inverse effect and `0` is off, unlike the bipolar Krea 2 image sliders. Omit `--lora-strengths` to apply each adapter's catalog default rather than the worker's 1.0 fallback. `h3-realism-people` needs its trigger word `r34l1sm` near the FRONT of the prompt or it renders as ordinary H3 with no error. The CLI validates every id against the live catalog for the model you selected, so a wrong id fails before it costs a render instead of being dropped silently. LTX, WAN, Seedance, and HappyHorse load none. Read [`references/h3-video-loras.md`](./references/h3-video-loras.md) for per-mode availability and ranges.
|
|
357
361
|
|
|
358
|
-
**H3 requires MiniMax's official ordered-field prompt contract.** Standard, Balanced, LightX2V Turbo, and FastH3 T2V/I2V/L2V/FLF2V (and the FastH3 audio modes, with the I2V or FLF2V preamble when frames are supplied) use `integrated_multimodal_description`, `overall_soundscape`, then `non_diegetic_music`, with the mode-specific alignment preamble for endpoint-conditioned modes. Use `[Shot N]` notation, stable `(S1)` speaker IDs, and dialogue as `<d>[Language] words</d>`. Preserve supplied dialogue exactly; author one concise line only when the user explicitly asks for speech/dialogue/lyrics without supplying words, and otherwise invent no speech. Use `<scenetrans>` at both connecting points when one line crosses a cut and `<cutoff>` only when the video ending truncates speech. Do not substitute quoted prose, bracketed timecode lists, or tokenizer-internal `<|...|>` markers. Ref2VA uses its separate six-field contract and exact task/retention vocabulary; loose video references do not promise editing or continuation.
|
|
362
|
+
**H3 requires MiniMax's official ordered-field prompt contract.** Standard, Balanced, LightX2V Turbo, and FastH3 T2V/I2V/L2V/FLF2V (and the FastH3 audio modes, with the I2V or FLF2V preamble when frames are supplied) use `integrated_multimodal_description`, `overall_soundscape`, then `non_diegetic_music`, with the mode-specific alignment preamble for endpoint-conditioned modes. Use `[Shot N]` notation, stable `(S1)` speaker IDs, and dialogue as `<d>[Language] words</d>`. Preserve supplied dialogue exactly; author one concise line only when the user explicitly asks for speech/dialogue/lyrics without supplying words, and otherwise invent no speech. Use `<scenetrans>` at both connecting points when one line crosses a cut and `<cutoff>` only when the video ending truncates speech. Do not substitute quoted prose, bracketed timecode lists, or tokenizer-internal `<|...|>` markers. Ref2VA uses its separate six-field contract and exact task/retention vocabulary; loose video references do not promise editing or continuation. Exclusions belong inside the structured prompt as positive facts ("the hall is empty") because there is no negative-prompt field. **Keyframes:** when one H3 clip must pass through extra images at chosen moments, add repeatable `--keyframe image@seconds` (up to 8, strictly inside the clip; i2v/flf2v, FastH3 Sound to Video, and Ref2VA only) and make the clip long enough to hold them. Name each keyframe `<Picture N>`, numbered in time order after the mode's own pictures (the first/last frame or the Ref2VA references), list it in the alignment line (Ref2VA: a keyframe entry, `keyframe completion`, and a retention entry), and describe what it shows where it lands, because H3's text encoder never sees keyframe images; start a new shot at a keyframe that changes the angle, place, or light. Two are included in the price; each extra keyframe adds a little. Read [`references/video-prompting.md`](./references/video-prompting.md) § MiniMax H3 Prompting before writing any H3 prompt.
|
|
359
363
|
|
|
360
364
|
For an H3 prompt-only request, the general prompt-authoring rule above requires returning only the applicable ordered-field contract. The fields themselves are the directly runnable deliverable; do not wrap them in commentary.
|
|
361
365
|
|
|
@@ -422,7 +426,7 @@ Cancelling a paid subscription keeps access until the end of the paid period; ca
|
|
|
422
426
|
|
|
423
427
|
### Suggest next steps after a render
|
|
424
428
|
|
|
425
|
-
After an image: offer to animate it (`--video --ref <result>`), restyle it (`-c <result> "Apply style: ..."`), change the angle (
|
|
429
|
+
After an image: offer to animate it (`--video --ref <result>`), restyle it (`-c <result> "Apply style: ..."`), change the camera angle (`-c <result>` on the routed edit model), generate variations (`-n 3 "{a|b|c}"`), or refine at `-Q pro`. After a video: offer different motion, dialogue (LTX), longer `--duration`, stitching (`--concat-videos`), or a soundtrack (`--concat-audio` / `--remix-audio`).
|
|
426
430
|
|
|
427
431
|
### Lessons: get better every session
|
|
428
432
|
|
|
@@ -468,7 +472,7 @@ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise rend
|
|
|
468
472
|
|
|
469
473
|
- **Anything broken?** Run `sogni-agent doctor` first — it checks Node, credentials (and file permissions), config-dir writability, ffmpeg, live auth, and version freshness, with a fix in every failure detail.
|
|
470
474
|
- **A newly listed live model fails immediately with `PROJECT_ERROR`:** if `doctor` reports a newer CLI, update before retrying. The live catalog can expose a model that needs model-specific client rules added after the installed CLI version; repeated submissions with generic defaults will fail the same way.
|
|
471
|
-
- **Auth errors:** check `SOGNI_API_KEY` or `~/.config/sogni/credentials` (key from https://dashboard.sogni.ai
|
|
475
|
+
- **Auth errors:** check `SOGNI_API_KEY` or `~/.config/sogni/credentials` (key from https://dashboard.sogni.ai/api-key).
|
|
472
476
|
- **Error 4061 / too many app IDs:** the CLI leases stable IDs from the persistent pool in `~/.config/sogni/app-ids/`. Do not delete that directory between runs. For ephemeral/container homes, set the same `SOGNI_APP_ID` on every session. An existing block may require waiting before retrying after upgrading.
|
|
473
477
|
- **Kicked mid-render / SWITCH_CONNECTION 4015:** two processes shared one app ID. The slot pool prevents this for concurrent CLI runs; if a long-lived daemon also uses this account, give it its own pinned `SOGNI_APP_ID`.
|
|
474
478
|
- **Video size errors:** sizes are model-specific (WAN 2.2 ÷16, sides 480–1536, at most 1,048,576 pixels, so no 1080p; Wan 3 uses its exact 480P/720P/1080P ratio buckets, 720P unless `--target-resolution 1080`; LTX ÷64, long side ≤2048). The CLI auto-adjusts for local refs; `--strict-size` makes it fail with a suggested size instead. Details in [`references/models.md`](./references/models.md).
|
|
@@ -479,8 +483,8 @@ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise rend
|
|
|
479
483
|
| Read this | When the task involves |
|
|
480
484
|
|-----------|------------------------|
|
|
481
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 |
|
|
482
|
-
| [`references/image-prompting.md`](./references/image-prompting.md) | Writing
|
|
483
|
-
| [`references/video-prompting.md`](./references/video-prompting.md) | Writing
|
|
486
|
+
| [`references/image-prompting.md`](./references/image-prompting.md) | Writing any image prompt, rendered or returned as text, 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
|
+
| [`references/video-prompting.md`](./references/video-prompting.md) | Writing any video prompt: LTX; MiniMax H3 official ordered-field prompts, mode preambles, shot notation, speaker IDs, dialogue tags, and intermediate keyframes; Seedance 2.0/2.5 reference roles, timed beats, and edits; WAN 2.2; Wan 3; high-res/4K routing; orientation/aspect mapping; camera language |
|
|
484
488
|
| [`references/private-mature-video.md`](./references/private-mature-video.md) | Mature-theme video model, LoRA, frame modes, and prompt tokens |
|
|
485
489
|
| [`references/video-editing.md`](./references/video-editing.md) | Animate between images, continue/bridge videos, 360 turnarounds, concat, audio remix/layering, v2v ControlNet |
|
|
486
490
|
| [`references/loop-maker.md`](./references/loop-maker.md) | One-click image-folder loops with visual deduplication, direct LTX first/last-frame clips, music, and verification |
|
|
@@ -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.
|
|
5
|
+
"version": "3.63.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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"api_key": {
|
|
24
24
|
"type": "string",
|
|
25
25
|
"title": "Sogni API key",
|
|
26
|
-
"description": "Optional if you've already run `npx setup-sogni-agent-skill` (which saves ~/.config/sogni/credentials). Get a key at https://dashboard.sogni.ai.",
|
|
26
|
+
"description": "Optional if you've already run `npx setup-sogni-agent-skill` (which saves ~/.config/sogni/credentials). Get a key at https://dashboard.sogni.ai/api-key.",
|
|
27
27
|
"sensitive": true,
|
|
28
28
|
"required": false
|
|
29
29
|
}
|
|
@@ -156,7 +156,8 @@ async function callTool(name, input, progressToken) {
|
|
|
156
156
|
|| `sogni-agent exited with code ${code}`;
|
|
157
157
|
// Success output is front-loaded (e.g. result JSON) so keep the head; on
|
|
158
158
|
// failure the actionable error is at the tail, so keep the tail instead.
|
|
159
|
-
const
|
|
159
|
+
const maxChars = tool.maxResultChars ?? MAX_RESULT_CHARS;
|
|
160
|
+
const clipped = code === 0 ? text.slice(0, maxChars) : text.slice(-maxChars);
|
|
160
161
|
if (code !== 0) {
|
|
161
162
|
finish(textResult(clipped, true));
|
|
162
163
|
return;
|
|
@@ -34,7 +34,11 @@ export const TOOLS = [
|
|
|
34
34
|
'Generate one or more images from a text prompt on the Sogni GPU network. ' +
|
|
35
35
|
'Pass output_path (absolute, .png/.jpg) to save locally; otherwise a hosted URL is returned. ' +
|
|
36
36
|
'Use context_images for image editing ("make the background a beach") and persona to include a saved person. ' +
|
|
37
|
-
'Image results are attached inline in the tool result. ' +
|
|
37
|
+
'Image results are attached inline in the tool result. ' +
|
|
38
|
+
'The model reads your prompt with no model-specific rewrite. Before writing the prompt, call prompt_guide for the model you chose, ' +
|
|
39
|
+
'and write it in that model family\'s own form: ' +
|
|
40
|
+
'https://raw.githubusercontent.com/Sogni-AI/sogni-creative-agent-skill/main/references/image-prompting.md. ' +
|
|
41
|
+
CHAT_ATTACHMENT_NOTE,
|
|
38
42
|
inputSchema: {
|
|
39
43
|
type: 'object',
|
|
40
44
|
properties: {
|
|
@@ -82,11 +86,17 @@ export const TOOLS = [
|
|
|
82
86
|
'drives the clip with the uploaded audio and keeps it as the soundtrack; no LoRAs. ' +
|
|
83
87
|
'MiniMax H3 i2v, first/last-frame, FastH3 audio-to-video and r2v also take keyframes: extra images pinned at chosen times inside the clip. ' +
|
|
84
88
|
'ref_audio = soundtrack/lip-sync audio, ref_video = motion reference. ' +
|
|
89
|
+
'Seedance 2.5 draft mode: seedance_draft renders a 480p draft at the 480p price, and the result carries its jobId and seedanceDraftExpiresAt; ' +
|
|
90
|
+
'seedance_finalize with that jobId (same model, no prompt, media, duration or size) renders the same video at 1080p before it expires (about three hours). ' +
|
|
91
|
+
'Iterate on drafts and finalize only the take you keep. ' +
|
|
92
|
+
'The model reads your prompt with no model-specific rewrite (Wan 3 aside). Before writing the prompt, call prompt_guide for the model you chose, ' +
|
|
93
|
+
'and read the section for that model (LTX, MiniMax H3, Seedance, WAN 2.2, Wan 3) in ' +
|
|
94
|
+
'https://raw.githubusercontent.com/Sogni-AI/sogni-creative-agent-skill/main/references/video-prompting.md. ' +
|
|
85
95
|
'Rendering takes minutes; prefer output_path (absolute .mp4). ' + CHAT_ATTACHMENT_NOTE,
|
|
86
96
|
inputSchema: {
|
|
87
97
|
type: 'object',
|
|
88
98
|
properties: {
|
|
89
|
-
prompt: str('
|
|
99
|
+
prompt: str('The prompt, in the chosen model\'s own grammar (see the tool description): what is seen and heard'),
|
|
90
100
|
output_path: str('Absolute .mp4 path to save (optional)'),
|
|
91
101
|
model: str('Video model id (optional)'),
|
|
92
102
|
workflow: { type: 'string', enum: ['t2v', 'i2v', 'r2v', 's2v', 'ia2v', 'a2v', 'v2v', 'animate-move', 'animate-replace'] },
|
|
@@ -120,12 +130,16 @@ export const TOOLS = [
|
|
|
120
130
|
generate_audio: { type: 'boolean', description: 'For MiniMax H3, keep generated audio (true) or strip it from the returned video (false)' },
|
|
121
131
|
persona: str('Saved persona name (reference frame)'),
|
|
122
132
|
target_resolution: num('Short-side target in px, preserves aspect'),
|
|
133
|
+
seedance_draft: { type: 'boolean', description: 'Seedance 2.5: render a 480p draft that seedance_finalize can render at 1080p' },
|
|
134
|
+
seedance_finalize: str('Seedance 2.5: the jobId of a draft to render at 1080p with its own prompt, media, length, ratio, seed and audio (send no prompt)'),
|
|
123
135
|
timeout_seconds: num('Generation timeout override (default 1800)'),
|
|
124
136
|
},
|
|
125
|
-
required: [
|
|
137
|
+
required: [],
|
|
126
138
|
},
|
|
127
139
|
buildArgs(input) {
|
|
128
|
-
|
|
140
|
+
// A finalize renders its draft's own prompt; every other render needs one.
|
|
141
|
+
const finalize = input.seedance_finalize;
|
|
142
|
+
const prompt = finalize ? input.prompt : required(input, 'prompt');
|
|
129
143
|
const args = [...GEN_BASE, '--video'];
|
|
130
144
|
push(args, '-o', input.output_path);
|
|
131
145
|
push(args, '-m', input.model);
|
|
@@ -150,8 +164,38 @@ export const TOOLS = [
|
|
|
150
164
|
if (input.generate_audio === false) args.push('--no-generate-audio');
|
|
151
165
|
push(args, '--persona', input.persona);
|
|
152
166
|
push(args, '--target-resolution', input.target_resolution);
|
|
167
|
+
if (input.seedance_draft === true) args.push('--seedance-draft');
|
|
168
|
+
push(args, '--seedance-finalize', finalize);
|
|
153
169
|
push(args, '-t', input.timeout_seconds);
|
|
154
|
-
args.push(prompt);
|
|
170
|
+
if (prompt) args.push(prompt);
|
|
171
|
+
return args;
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: 'prompt_guide',
|
|
176
|
+
description:
|
|
177
|
+
'The prompt rules Sogni\'s own prompt writers use for one image or video model and mode. Call it before writing a prompt ' +
|
|
178
|
+
'for generate_image or generate_video: those tools send your words to the model with no model-specific rewrite, ' +
|
|
179
|
+
'so these rules are the shaping the prompt gets. Free and offline: no credits, no API call. ' +
|
|
180
|
+
'Pass the model id you will generate with and the mode you will run; omit model to list every family, mode and model id.',
|
|
181
|
+
inputSchema: {
|
|
182
|
+
type: 'object',
|
|
183
|
+
properties: {
|
|
184
|
+
model: str('The model id or alias you will pass as model, e.g. seedance2-5, ltx25, minimax-h3-r2v-balanced, wan22-i2v, krea2_identity_edit_v1_2'),
|
|
185
|
+
mode: str(
|
|
186
|
+
'The mode you will run: t2v, i2v, l2v (last frame only), flf (first and last frame), r2v, v2v, a2v, ia2v, flfa2v, s2v, ' +
|
|
187
|
+
'extend, i2v-keyframes, a2v-keyframes, animate-move, animate-replace, generate or edit. ' +
|
|
188
|
+
'Default: the mode the model id names, else t2v for video.',
|
|
189
|
+
),
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
// MiniMax H3 guides run past 20,000 characters (r2v is about 20,100).
|
|
193
|
+
maxResultChars: 64_000,
|
|
194
|
+
buildArgs(input) {
|
|
195
|
+
const args = ['prompt-guide'];
|
|
196
|
+
push(args, '--model', input.model);
|
|
197
|
+
push(args, '--mode', input.mode);
|
|
198
|
+
args.push('--no-update-check');
|
|
155
199
|
return args;
|
|
156
200
|
},
|
|
157
201
|
},
|