@sogni-ai/sogni-creative-agent-skill 3.62.0 → 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 +16 -11
- package/.agents/skills/sogni-creative-agent-skill/references/image-prompting.md +44 -5
- package/.agents/skills/sogni-creative-agent-skill/references/loop-maker.md +2 -2
- package/.agents/skills/sogni-creative-agent-skill/references/models.md +44 -24
- 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 +1 -2
- package/.agents/skills/sogni-creative-agent-skill/references/video-prompting.md +804 -64
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/CHANGELOG.md +16 -0
- package/README.md +27 -16
- package/SKILL.md +22 -19
- package/desktop-extension/manifest.json +1 -1
- 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 +7 -0
- package/openclaw.plugin.json +1 -1
- package/package.json +7 -5
- package/plugin-skills/sogni-creative-agent/SKILL.md +16 -10
- package/references/image-prompting.md +44 -5
- package/references/loop-maker.md +2 -2
- package/references/models.md +44 -24
- package/references/private-mature-video.md +21 -16
- package/references/video-editing.md +1 -2
- package/references/video-prompting.md +804 -64
- package/skill-package.json +2 -2
- package/skills/image_generation.md +1 -1
- package/sogni-agent.mjs +330 -9
- 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,19 @@
|
|
|
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
|
+
|
|
1
17
|
## [3.62.0] - 2026-11-03
|
|
2
18
|
|
|
3
19
|
### Features
|
package/README.md
CHANGED
|
@@ -471,9 +471,10 @@ sogni-agent --video --target-resolution 768 \
|
|
|
471
471
|
sogni-agent --video -m seedance2 --target-resolution 2160 --duration 8 \
|
|
472
472
|
"A polished product reveal with native ambient sound"
|
|
473
473
|
|
|
474
|
-
# 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)
|
|
475
476
|
sogni-agent --video -m seedance2 --workflow t2v \
|
|
476
|
-
|
|
477
|
+
-c https://cdn.example.com/product.png \
|
|
477
478
|
--ref-video https://cdn.example.com/motion.mp4 \
|
|
478
479
|
--ref-audio https://cdn.example.com/music.m4a \
|
|
479
480
|
"Use @Image1 for product identity, @Video1 for camera movement, and @Audio1 for music rhythm"
|
|
@@ -495,12 +496,12 @@ sogni-agent --video -m wan3 --smart-duration --wan3-ratio 9:16 --no-expand-promp
|
|
|
495
496
|
# Accept its one-time likeness and consent agreement in the Sogni app first
|
|
496
497
|
# (until then jobs fail with error 4103, which is not retryable).
|
|
497
498
|
sogni-agent --video -m seedance2-5-uncensored --target-resolution 1080 --duration 8 \
|
|
498
|
-
"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."
|
|
499
500
|
|
|
500
501
|
# Seedance 2.0 Mini Uncensored: every Seedance 2.0 Mini mode and limit (480p/720p,
|
|
501
502
|
# 4-15s) under its own model. It shares the Seedance 2.5 Uncensored agreement.
|
|
502
503
|
sogni-agent --video -m seedance2-mini-uncensored --target-resolution 720 --duration 8 \
|
|
503
|
-
"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."
|
|
504
505
|
|
|
505
506
|
# Wan 3.0 Enhanced through MuleRouter (smart/fixed 2-30s, 30fps, native audio)
|
|
506
507
|
sogni-agent --video -m wan3-enhanced --target-resolution 1080 --duration 8 \
|
|
@@ -541,7 +542,7 @@ sogni-agent --video -m minimax-h3-fasth3-flf2v-turbo --ref first.png --ref-end l
|
|
|
541
542
|
"<keyframe alignment line plus three-field H3 prompt that names each keyframe <Picture N> and describes it at its time>"
|
|
542
543
|
|
|
543
544
|
# Image-to-video (i2v; defaults to wan_v2.2-14b-fp8_i2v_lightx2v)
|
|
544
|
-
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"
|
|
545
546
|
|
|
546
547
|
# Animate two images together (first frame → last frame; defaults to
|
|
547
548
|
# ltx25-22b-int8_i2v_distilled using the standard first/last-frame template)
|
|
@@ -583,7 +584,7 @@ sogni-agent --music -m turbo --bpm 128 --keyscale "C major" "bright indie pop ch
|
|
|
583
584
|
|
|
584
585
|
# LTX-2.3 voice identity / persona
|
|
585
586
|
sogni-agent --video --reference-audio-identity voice.webm \
|
|
586
|
-
'
|
|
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."'
|
|
587
588
|
|
|
588
589
|
# Hosted chat with Sogni creative-agent tools (/v1/chat/completions)
|
|
589
590
|
sogni-agent --api-chat \
|
|
@@ -797,9 +798,16 @@ Music generation uses `--music` and outputs `mp3` by default. `--audio` remains
|
|
|
797
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:
|
|
798
799
|
|
|
799
800
|
```bash
|
|
800
|
-
sogni-agent --video -m seedance2-5 --seedance-task-type reference --ref-audio voice.m4a "Use @Audio1
|
|
801
|
-
sogni-agent --video -m seedance2-5-v2v --seedance-task-type edit --ref-video source.mp4 --duration 8 --target-resolution 720 "Edit @Video1
|
|
802
|
-
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
|
|
803
811
|
```
|
|
804
812
|
|
|
805
813
|
---
|
|
@@ -829,23 +837,26 @@ The LTX-2.5 v2v selector `ltx25-v2v` supports two extra control modes: **`outpai
|
|
|
829
837
|
|
|
830
838
|
## LTX-2.x Prompting Guide
|
|
831
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
|
+
|
|
832
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.
|
|
833
843
|
|
|
834
|
-
- Write
|
|
835
|
-
-
|
|
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.
|
|
836
846
|
- Start with shot scale and scene identity, then cover environment, time of day, textures, and named light sources.
|
|
837
|
-
- 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.
|
|
838
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.
|
|
839
850
|
- Express mood through visible behavior, motion, and sound cues — not vague adjectives.
|
|
840
|
-
- Use positive phrasing. Avoid script formatting, negative prompts,
|
|
841
|
-
-
|
|
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.
|
|
842
853
|
|
|
843
854
|
**Example rewrite:**
|
|
844
855
|
|
|
845
856
|
```text
|
|
846
857
|
User ask: "make a 4k video of a woman in a neon alley"
|
|
847
858
|
|
|
848
|
-
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."
|
|
849
860
|
```
|
|
850
861
|
|
|
851
862
|
---
|
|
@@ -886,7 +897,7 @@ sogni-agent --persona-add "Sarah" --ref sarah.jpg --relationship partner --voice
|
|
|
886
897
|
sogni-agent --persona "Mark" -o hero.png "superhero in dramatic lighting"
|
|
887
898
|
|
|
888
899
|
# Video using a persona photo + saved voice identity
|
|
889
|
-
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."'
|
|
890
901
|
|
|
891
902
|
# List / remove
|
|
892
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: "🎨"
|
|
@@ -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) | - |
|
|
@@ -338,11 +339,13 @@ sogni-agent -c photo.jpg -m krea2_identity_edit_v1_2 "Turn her into an anime cha
|
|
|
338
339
|
|
|
339
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.
|
|
340
341
|
|
|
341
|
-
|
|
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.
|
|
342
343
|
|
|
343
|
-
###
|
|
344
|
+
### Video prompts
|
|
344
345
|
|
|
345
|
-
|
|
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.**
|
|
346
349
|
|
|
347
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.
|
|
348
351
|
|
|
@@ -356,7 +359,7 @@ H3 r2v accepts up to **9 images** (`--ref` then repeatable `-c`), **3 videos** (
|
|
|
356
359
|
|
|
357
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.
|
|
358
361
|
|
|
359
|
-
**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.
|
|
360
363
|
|
|
361
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.
|
|
362
365
|
|
|
@@ -480,8 +483,8 @@ Eligible Sogni-hosted renders use Unlimited coverage when active; otherwise rend
|
|
|
480
483
|
| Read this | When the task involves |
|
|
481
484
|
|-----------|------------------------|
|
|
482
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 |
|
|
483
|
-
| [`references/image-prompting.md`](./references/image-prompting.md) | Writing
|
|
484
|
-
| [`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 |
|
|
485
488
|
| [`references/private-mature-video.md`](./references/private-mature-video.md) | Mature-theme video model, LoRA, frame modes, and prompt tokens |
|
|
486
489
|
| [`references/video-editing.md`](./references/video-editing.md) | Animate between images, continue/bridge videos, 360 turnarounds, concat, audio remix/layering, v2v ControlNet |
|
|
487
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",
|
|
@@ -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
|
},
|