@sogni-ai/sogni-client 4.0.0-alpha.40 → 4.0.0-alpha.41
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/CHANGELOG.md +7 -0
- package/README.md +30 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [4.0.0-alpha.41](https://github.com/Sogni-AI/sogni-client/compare/v4.0.0-alpha.40...v4.0.0-alpha.41) (2026-01-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* example script workflow enhancements ([94d14e4](https://github.com/Sogni-AI/sogni-client/commit/94d14e42a121976b1090fe797734f2f76e57da02))
|
|
7
|
+
|
|
1
8
|
# [4.0.0-alpha.40](https://github.com/Sogni-AI/sogni-client/compare/v4.0.0-alpha.39...v4.0.0-alpha.40) (2026-01-06)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -593,24 +593,43 @@ const videoUrls = await project.waitForCompletion();
|
|
|
593
593
|
|
|
594
594
|
The [examples](https://github.com/Sogni-AI/sogni-client/tree/main/examples) directory contains working examples for all workflows:
|
|
595
595
|
|
|
596
|
+
### Image Workflow Examples
|
|
597
|
+
- **`workflow_text_to_image.mjs`** - Text-to-image generation with multiple model options
|
|
598
|
+
- **`workflow_image_edit.mjs`** - Reference-based image generation using context images
|
|
599
|
+
|
|
596
600
|
### Video Workflow Examples
|
|
597
|
-
- **`
|
|
598
|
-
- **`
|
|
599
|
-
- **`
|
|
600
|
-
- **`
|
|
601
|
-
- **`video_animate_replace.mjs`** - Subject replacement while preserving motion
|
|
601
|
+
- **`workflow_text_to_video.mjs`** - Text-to-video generation with WAN 2.2 models
|
|
602
|
+
- **`workflow_image_to_video.mjs`** - Animate static images into videos
|
|
603
|
+
- **`workflow_sound_to_video.mjs`** - Audio-synchronized video generation with lip-sync
|
|
604
|
+
- **`workflow_video_to_video.mjs`** - Motion transfer and character replacement (Animate-Move/Animate-Replace)
|
|
602
605
|
|
|
603
606
|
### Basic Examples
|
|
604
607
|
- **`promise_based.mjs`** - Image generation using promises/async-await
|
|
605
608
|
- **`event_driven.js`** - Image generation using event listeners
|
|
606
609
|
|
|
607
|
-
|
|
610
|
+
### Featured Models
|
|
611
|
+
|
|
612
|
+
The workflow examples showcase powerful new models:
|
|
613
|
+
|
|
614
|
+
| Model ID | Description | Use Case |
|
|
615
|
+
|----------|-------------|----------|
|
|
616
|
+
| `z_image_turbo_bf16` | Z-Image Turbo - Fast 4-step generation | Quick text-to-image prototyping |
|
|
617
|
+
| `qwen_image_edit_2511_fp8_lightning` | Qwen Image Edit Lightning - Fast 4-step | Quick reference-based generation |
|
|
618
|
+
| `qwen_image_edit_2511_fp8` | Qwen Image Edit - High quality 20-step | Professional image editing |
|
|
619
|
+
| `flux2_dev_fp8` | Flux.2 Dev - Context-aware generation | High-quality images with reference support |
|
|
620
|
+
|
|
621
|
+
All workflow examples include:
|
|
622
|
+
- Interactive model and parameter selection
|
|
608
623
|
- Balance checking and cost confirmation
|
|
609
|
-
-
|
|
610
|
-
- Error handling
|
|
611
|
-
- Automatic
|
|
624
|
+
- Real-time progress tracking with ETA
|
|
625
|
+
- Error handling with detailed feedback
|
|
626
|
+
- Automatic file download and preview
|
|
612
627
|
|
|
613
|
-
Run any example
|
|
628
|
+
Run any workflow example:
|
|
614
629
|
```bash
|
|
615
|
-
|
|
630
|
+
cd examples
|
|
631
|
+
npm install
|
|
632
|
+
node workflow_text_to_image.mjs
|
|
633
|
+
node workflow_image_edit.mjs
|
|
634
|
+
node workflow_text_to_video.mjs
|
|
616
635
|
```
|