@sogni-ai/sogni-client 5.83.0 → 5.84.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.md +7 -2
- package/CHANGELOG.md +15 -0
- package/README.md +33 -5
- package/dist/Chat/_hostedToolsManifest.generated.js +15 -6
- package/dist/Chat/_hostedToolsManifest.generated.js.map +1 -1
- package/dist/Chat/hostedToolValidator.js +24 -2
- package/dist/Chat/hostedToolValidator.js.map +1 -1
- package/dist/Chat/tools.js +1 -1
- package/dist/Chat/tools.js.map +1 -1
- package/dist/Projects/createJobRequestMessage.js +49 -23
- package/dist/Projects/createJobRequestMessage.js.map +1 -1
- package/dist/Projects/types/index.d.ts +20 -13
- package/dist/Projects/types/index.js.map +1 -1
- package/dist/Projects/utils/index.d.ts +24 -6
- package/dist/Projects/utils/index.js +34 -9
- package/dist/Projects/utils/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/validation.js +1 -0
- package/dist/lib/validation.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist-esm/Chat/_hostedToolsManifest.generated.js +15 -6
- package/dist-esm/Chat/_hostedToolsManifest.generated.js.map +1 -1
- package/dist-esm/Chat/hostedToolValidator.js +24 -2
- package/dist-esm/Chat/hostedToolValidator.js.map +1 -1
- package/dist-esm/Chat/tools.js +1 -1
- package/dist-esm/Chat/tools.js.map +1 -1
- package/dist-esm/Projects/createJobRequestMessage.js +50 -24
- package/dist-esm/Projects/createJobRequestMessage.js.map +1 -1
- package/dist-esm/Projects/types/index.js.map +1 -1
- package/dist-esm/Projects/utils/index.js +31 -8
- package/dist-esm/Projects/utils/index.js.map +1 -1
- package/dist-esm/index.js +2 -2
- package/dist-esm/index.js.map +1 -1
- package/dist-esm/lib/validation.js +1 -0
- package/dist-esm/lib/validation.js.map +1 -1
- package/dist-esm/version.js +1 -1
- package/llms-full.txt +37 -10
- package/llms.txt +31 -6
- package/package.json +4 -2
- package/src/Chat/_hostedToolsManifest.generated.ts +15 -6
- package/src/Chat/hostedToolValidator.ts +30 -2
- package/src/Chat/tools.ts +1 -1
- package/src/Projects/createJobRequestMessage.ts +54 -26
- package/src/Projects/types/index.ts +20 -13
- package/src/Projects/utils/index.ts +36 -8
- package/src/index.ts +6 -0
- package/src/lib/validation.ts +1 -0
- package/src/version.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/lib/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC;IAClC,aAAa;IACb,wBAAwB;IACxB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;CACtB,CAAC,CAAC;AAEH,MAAM,UAAU,eAAe,CAAC,OAAgB;IAC9C,OAAO,OAAO,KAAK,SAAS,IAAI,mBAAmB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,MAA0B;;IAChE,MAAM,IAAI,GACR,MAAM,CAAC,OAAO,KAAK,wBAAwB,IAAI,MAAM,CAAC,OAAO,KAAK,qBAAqB,CAAC;IAC1F,MAAM,cAAc,GAAG,MAAM,CAAC,YAAY,KAAK,KAAK,CAAC;IACrD,IACE,CAAC,IAAI;QACL,CAAC,cAAc;YACb,MAAM,CAAC,kBAAkB,KAAK,SAAS;YACvC,MAAM,CAAC,kBAAkB,KAAK,SAAS;YACvC,MAAM,CAAC,uBAAuB,KAAK,SAAS;YAC5C,MAAM,CAAC,iBAAiB,KAAK,SAAS,CAAC,EACzC,CAAC;QACD,MAAM,IAAI,KA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AI,CAAC;IACd,CAAC;IACD,OAAO,cAAc,CACnB,KAAK,EACL,SAAS,CAAC,OAAO,EACjB,qBAAqB,KAAK,qBAAqB,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAClF,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,KAAyB,EAAE,OAAqB;;IAC1E,IAAI,CAAC,CAAC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA,MAAA,OAAO,CAAC,GAAG,0CAAE,OAAO,CAAC,MAAM,CAAA,IAAI,CAAC,KAAK,EAAE,CAAC;QAClE,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,cAAc,CACnB,KAAK,EACL,OAAO,CAAC,GAAG,CAAC,OAAO,EACnB,eAAe,KAAK,qBAAqB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAC9E,CAAC;AACJ,CAAC"}
|
package/dist-esm/version.js
CHANGED
package/llms-full.txt
CHANGED
|
@@ -1246,6 +1246,7 @@ from 124 to 362, and a 32px canvas grid capped at 1,032,192 pixels.
|
|
|
1246
1246
|
| minimax-h3-ref2va-fp8_r2v_balanced_2stage | Two-Stage reference-to-video, Balanced 8 steps (2x canvas delivery) | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
1247
1247
|
| minimax-h3-fastvideo-omni-int8_r2v_turbo | FastH3 Reference reference-to-video | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
1248
1248
|
| minimax-h3-fastvideo-omni-int8_r2v_turbo_2stage | FastH3 Reference Two-Stage reference-to-video (2x canvas delivery) | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
1249
|
+
| minimax-h3-prism-int8_r2v | Prism reference-to-video: optional model for mature themes, 8 steps, 768p class only; Sensitive Content Filter off, subject to server authorization | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
1249
1250
|
| minimax-h3-fl2va-fp8_t2v_balanced | Balanced text-to-video | none |
|
|
1250
1251
|
| minimax-h3-fl2va-fp8_i2v_balanced | Balanced endpoint-conditioned image-to-video | first frame, last frame, or both (at least one) |
|
|
1251
1252
|
| minimax-h3-fl2va-fp8_flf2v_balanced | Balanced first-and-last-frame video | both anchor images required |
|
|
@@ -1254,20 +1255,23 @@ from 124 to 362, and a 32px canvas grid capped at 1,032,192 pixels.
|
|
|
1254
1255
|
Turbo covers the three FL2VA workflows plus Ref2VA R2V. The dedicated Ref2VA Turbo ID is `minimax-h3-ref2va-fp8_r2v_turbo`; it uses the LightX2V v0.1 four-step LoRA with Euler/simple and defaults to 960x544.
|
|
1255
1256
|
Turbo is fixed at 4 steps; standard H3 is fixed at 20 steps.
|
|
1256
1257
|
|
|
1257
|
-
All
|
|
1258
|
+
All 29 current workflow ids are available through the Sogni projects API: four
|
|
1258
1259
|
Standard, four Balanced, four LightX2V Turbo, six FastH3 Turbo (three with
|
|
1259
1260
|
generated audio, three audio-guide), six FastH3 Two-Stage modes, two Ref2VA
|
|
1260
|
-
Two-Stage modes (Standard and Balanced),
|
|
1261
|
-
Two-Stage)
|
|
1261
|
+
Two-Stage modes (Standard and Balanced), FastH3 Reference (one-stage and
|
|
1262
|
+
Two-Stage), and Prism (`minimax-h3-prism-int8_r2v`), an optional
|
|
1263
|
+
reference-to-video model for mature themes that needs `disableNSFWFilter: true`.
|
|
1264
|
+
Prism's recipe is fixed at 8 Euler steps (omit `steps` or send 8; the schedule
|
|
1265
|
+
is not a request option) and it has no two-stage id.
|
|
1262
1266
|
|
|
1263
1267
|
For direct `projects.create()` calls, both H3 I2V ids accept `referenceImage`,
|
|
1264
1268
|
`referenceImageEnd`, or both, with at least one required. The explicit FLF2V ids
|
|
1265
1269
|
still require both anchors.
|
|
1266
1270
|
|
|
1267
|
-
INTERMEDIATE KEYFRAMES (every H3 workflow except T2V,
|
|
1271
|
+
INTERMEDIATE KEYFRAMES (every H3 workflow except T2V, 24 ids;
|
|
1268
1272
|
`isMinimaxH3KeyframeModel()`): I2V and FLF2V on every tier (Standard, Balanced,
|
|
1269
1273
|
LightX2V Turbo, FastH3 Turbo and FastH3 Two-Stage), the six FastH3 Sound to
|
|
1270
|
-
Video ids (IA2V, FLFA2V, A2V, one- and two-stage) and the
|
|
1274
|
+
Video ids (IA2V, FLFA2V, A2V, one- and two-stage) and the eight R2V ids.
|
|
1271
1275
|
`keyframes: [{ image, frameIndex }]` pins up to `MINIMAX_H3_MAX_KEYFRAMES` (8)
|
|
1272
1276
|
still images between the first and last frame, alongside the workflow's own
|
|
1273
1277
|
uploads. `frameIndex` is the 0-based frame at 24 fps (`Math.round(seconds *
|
|
@@ -1652,6 +1656,29 @@ optional `targetResolution` 1080 or 1440, and optional `detailPreference`,
|
|
|
1652
1656
|
`processingSpeed` and `seed`); the server reads the source metadata
|
|
1653
1657
|
itself, so the model never supplies frames or fps.
|
|
1654
1658
|
|
|
1659
|
+
RELAYVSR VIDEO UPSCALING:
|
|
1660
|
+
`RELAYVSR_X2_VIDEO_UPSCALE_MODEL_ID` (`relayvsr_x2_lightx2v_int8_convrot`) and `RELAYVSR_X4_VIDEO_UPSCALE_MODEL_ID` (`relayvsr_x4_int8_convrot`) upscale one finished video to 1080p, 1440p, or 2160p on its short edge. The request is the same as FlashVSR's: one `referenceVideo`, `upscaleResolution`, `numberOfMedia: 1`, and an empty prompt. The output keeps every source frame, the exact frame rate, the full aspect ratio, and the original audio.
|
|
1661
|
+
|
|
1662
|
+
X2 takes a source up to 1080x1920 pixels (either orientation) and delivers at most twice its size; X4 takes a source up to 768x1344 and delivers at most four times its size. The target must be larger than the source's short edge, and the output's long edge can be at most 3840px, so 2160p needs a source short edge of exactly 1080px on X2 or 540px to 768px on X4. Sources must be 1-60 fps, SDR, and 100 MB or less, and the server enforces the maximum clip length. Variable-frame-rate, rotated and non-square-pixel clips need no re-export for RelayVSR: the server conforms them, and every limit applies to the clip as it plays.
|
|
1663
|
+
|
|
1664
|
+
```javascript
|
|
1665
|
+
import fs from 'node:fs';
|
|
1666
|
+
import { RELAYVSR_X2_VIDEO_UPSCALE_MODEL_ID } from '@sogni-ai/sogni-client';
|
|
1667
|
+
|
|
1668
|
+
const project = await sogni.projects.create({
|
|
1669
|
+
type: 'video',
|
|
1670
|
+
network: 'fast',
|
|
1671
|
+
modelId: RELAYVSR_X2_VIDEO_UPSCALE_MODEL_ID,
|
|
1672
|
+
positivePrompt: '',
|
|
1673
|
+
numberOfMedia: 1,
|
|
1674
|
+
referenceVideo: fs.readFileSync('./clip-1080p.mp4'),
|
|
1675
|
+
upscaleResolution: 2160 // 1080 | 1440 | 2160: the output's short edge
|
|
1676
|
+
});
|
|
1677
|
+
const [upscaledUrl] = await project.waitForCompletion(); // MP4 with the original audio
|
|
1678
|
+
```
|
|
1679
|
+
|
|
1680
|
+
`isRelayVsrModel(modelId)` detects both models, and `isVideoUpscaleModel(modelId)` covers them too. The SDK refuses `detailPreference`, `processingSpeed`, and `seed` for RelayVSR. Quote it the same way as FlashVSR, with the output `width`/`height` and `sourceWidth`/`sourceHeight`; the price follows the source's size and length, not the target. In hosted chat and durable workflows, set `model: 'relayvsr'` on `upscale_video`; the server picks X2 when the target is at most twice the source's short edge and X4 otherwise. FlashVSR stays the tool's default.
|
|
1681
|
+
|
|
1655
1682
|
================================================================================ 8. AUDIO GENERATION - MINIMAX MUSIC 3 AND ACE-STEP 1.5 MODELS
|
|
1656
1683
|
================================================================================
|
|
1657
1684
|
|
|
@@ -2132,7 +2159,7 @@ The full hosted surface executes server-side via `sogni.chat.hosted.create()` /
|
|
|
2132
2159
|
- `generate_image`, `edit_image`, `generate_video`, `generate_music`, `generate_speech`, `sound_to_video`, `video_to_video` — core media-generation tools with creative-agent naming.
|
|
2133
2160
|
- `restore_photo`, `apply_style`, `refine_result`, `change_angle` — image-edit adapters backed by the shared image-edit workflow.
|
|
2134
2161
|
- `upscale_image` — promptless RTX VSR image enlargement.
|
|
2135
|
-
- `upscale_video` — promptless FlashVSR upscale of one generated or uploaded video (`sourceVideoIndex`) to 1080p or 1440p (`targetResolution`), with optional `detailPreference`, `processingSpeed` and `seed`, keeping every frame, the frame rate, and the original audio. Use it instead of `video_to_video` when the user only wants more resolution.
|
|
2162
|
+
- `upscale_video` — promptless FlashVSR upscale of one generated or uploaded video (`sourceVideoIndex`) to 1080p or 1440p (`targetResolution`), with optional `detailPreference`, `processingSpeed` and `seed`, or up to 2160p with `model: 'relayvsr'`, which takes none of those three, keeping every frame, the frame rate, and the original audio. Use it instead of `video_to_video` when the user only wants more resolution.
|
|
2136
2163
|
- `animate_photo` — image-to-video, with multi-source fan-out via `sourceImageIndices`. Fan-out (>1 source image) is composed into one MP4 by default; opt out with `stitched: false` for a flat clip list.
|
|
2137
2164
|
- `stitch_video` — concatenate selected video clips (with optional audio overlay via `audioIndex`) into one MP4.
|
|
2138
2165
|
- `orbit_video` — generate orbit clips around a subject and stitch them into one MP4.
|
|
@@ -2435,8 +2462,8 @@ VIDEO-SPECIFIC PARAMETERS:
|
|
|
2435
2462
|
lastFrameStrength?: number; // LTX-2.3 only (0-1)
|
|
2436
2463
|
trimEndFrame?: boolean;
|
|
2437
2464
|
controlNet?: VideoControlNetParams; // LTX-2.3 only
|
|
2438
|
-
upscaleResolution?: 1080 | 1440; //
|
|
2439
|
-
frames?: number; // Exact frame count (MiniMax H3: 124 + n*17; pass it with keyframes);
|
|
2465
|
+
upscaleResolution?: 1080 | 1440 | 2160; // Video upscale only: output short edge; 2160 is RelayVSR only
|
|
2466
|
+
frames?: number; // Exact frame count (MiniMax H3: 124 + n*17; pass it with keyframes); video upscale: optional, must equal the source's count
|
|
2440
2467
|
outputFormat?: 'mp4';
|
|
2441
2468
|
}
|
|
2442
2469
|
```
|
|
@@ -2698,7 +2725,7 @@ MiniMax H3 keyframe pricing: the first two keyframes are included; each extra ke
|
|
|
2698
2725
|
Quote MiniMax H3 two-stage output with the `_2stage` model id and the canvas
|
|
2699
2726
|
the job renders (672x384 for 720p, 960x544 for 1080p, 1344x768 for 2K).
|
|
2700
2727
|
|
|
2701
|
-
For a FlashVSR upscale estimate, pass the output `width`/`height`, the source's
|
|
2728
|
+
For a FlashVSR or RelayVSR upscale estimate, pass the output `width`/`height`, the source's
|
|
2702
2729
|
`frames` and `fps`, `steps: 1`, `numberOfMedia: 1`, and
|
|
2703
2730
|
`sourceWidth`/`sourceHeight` (see FLASHVSR VIDEO UPSCALING). The project itself
|
|
2704
2731
|
is charged from the verified uploaded source.
|
|
@@ -2887,7 +2914,7 @@ interface VideoProjectParams extends BaseProjectParams {
|
|
|
2887
2914
|
lastFrameStrength?: number;
|
|
2888
2915
|
outputFormat?: 'mp4';
|
|
2889
2916
|
controlNet?: VideoControlNetParams;
|
|
2890
|
-
upscaleResolution?: 1080 | 1440; //
|
|
2917
|
+
upscaleResolution?: 1080 | 1440 | 2160; // Video upscale only; 2160 is RelayVSR only
|
|
2891
2918
|
}
|
|
2892
2919
|
```
|
|
2893
2920
|
|
package/llms.txt
CHANGED
|
@@ -577,6 +577,7 @@ MiniMax H3 generates video and 32kHz stereo audio jointly on Sogni's own GPUs. S
|
|
|
577
577
|
| `minimax-h3-ref2va-fp8_r2v_balanced_2stage` | Two-Stage reference-to-video, Balanced 8 steps (2x canvas delivery) | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
578
578
|
| `minimax-h3-fastvideo-omni-int8_r2v_turbo` | FastH3 Reference reference-to-video | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
579
579
|
| `minimax-h3-fastvideo-omni-int8_r2v_turbo_2stage` | FastH3 Reference Two-Stage reference-to-video (2x canvas delivery) | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
580
|
+
| `minimax-h3-prism-int8_r2v` | Prism reference-to-video: optional model for mature themes, 8 steps, 768p class only; Sensitive Content Filter off, subject to server authorization | 0-9 images, 0-3 videos (at least one visual), 0-3 audios, 12 total |
|
|
580
581
|
| `minimax-h3-fl2va-fp8_t2v_balanced` | Balanced text-to-video | none |
|
|
581
582
|
| `minimax-h3-fl2va-fp8_i2v_balanced` | Balanced endpoint-conditioned image-to-video | first frame, last frame, or both (at least one) |
|
|
582
583
|
| `minimax-h3-fl2va-fp8_flf2v_balanced` | Balanced first-and-last-frame video | both anchor images required |
|
|
@@ -584,13 +585,13 @@ MiniMax H3 generates video and 32kHz stereo audio jointly on Sogni's own GPUs. S
|
|
|
584
585
|
|
|
585
586
|
Turbo covers the three FL2VA workflows plus Ref2VA R2V. The dedicated Ref2VA Turbo ID is `minimax-h3-ref2va-fp8_r2v_turbo`; it uses the LightX2V v0.1 four-step LoRA with Euler/simple and defaults to 960x544. Turbo is fixed at 4 steps; standard H3 is fixed at 20 steps.
|
|
586
587
|
|
|
587
|
-
All
|
|
588
|
+
All 29 current workflow IDs are available through the Sogni projects API: four Standard, four Balanced, four LightX2V Turbo, six FastH3 Turbo (three with generated audio, three audio-guide), six FastH3 Two-Stage modes, two Ref2VA Two-Stage modes (Standard and Balanced), FastH3 Reference (one-stage and Two-Stage), and Prism (`minimax-h3-prism-int8_r2v`), an optional reference-to-video model for mature themes that needs `disableNSFWFilter: true`. Prism's recipe is fixed at 8 Euler steps (omit `steps` or send 8; the schedule is not a request option) and it has no two-stage ID.
|
|
588
589
|
|
|
589
590
|
For direct `projects.create()` calls, H3 I2V IDs accept `referenceImage`, `referenceImageEnd`, or both, with at least one required. Explicit FLF2V IDs require both anchors.
|
|
590
591
|
|
|
591
592
|
`referenceVideoCompression` is a legacy MiniMax H3 reference-video preference, retained for compatibility. Current services select compression automatically; this field no longer selects compression. Leave it unset for new requests.
|
|
592
593
|
|
|
593
|
-
Intermediate keyframes: every H3 workflow except text-to-video accepts `keyframes`,
|
|
594
|
+
Intermediate keyframes: every H3 workflow except text-to-video accepts `keyframes`, 24 IDs in all (`isMinimaxH3KeyframeModel(modelId)`): I2V and FLF2V on every tier (Standard, Balanced, LightX2V Turbo, FastH3 Turbo and FastH3 Two-Stage), the six FastH3 Sound to Video IDs (IA2V, FLFA2V, A2V, one- and two-stage) and the eight R2V IDs. Each request takes up to `MINIMAX_H3_MAX_KEYFRAMES` (8) still images pinned between the first and last frame, alongside the workflow's own uploads. Each entry is `{ image, frameIndex }`: `frameIndex` is the 0-based frame at 24 fps (`Math.round(seconds * 24)`), an integer from 1 to `frames - 2` of the job's frame count, with no frame used twice. Pass `frames` from the H3 grid (124, 141, 158, 175, 192, … 362; `124 + n*17`) so that count is exact. `duration` also works but snaps to the grid (`duration: 6` renders 141 frames, not 144); `calculateVideoFrames(modelId, seconds, 24)` returns the count a duration resolves to. Frame 0 and the last frame are never keyframes: I2V, FLF2V and FLFA2V set them with `referenceImage` / `referenceImageEnd` under the rules above, IA2V sets frame 0 with `referenceImage`, and A2V and R2V cannot pin them. `contextImages` stays R2V-only, and t2v and every non-H3 model reject a non-empty `keyframes`; an empty list is ignored. The SDK uploads `keyframes[i].image` to its own `keyframeImage<i+1>` slot in array order and sends the indices as `keyframeFrameIndices`, so an R2V request carries its references (`referenceImage`, `contextImages`, which keep their slots) and its keyframes together. If no worker serving the model can pin keyframes yet, the job is refused with error code `4100`. MiniMax H3 keyframe pricing: the first two keyframes are included; each extra keyframe adds output time at the job's per-second rate, 0.75 s on FastH3 and 0.3 s on every other tier, FastH3 Reference included (an 8 s FastH3 clip with 8 keyframes: 32 + 18 = 50 Spark). Pass `keyframeCount` (or the job's `keyframes`) to `estimateVideoCost` to quote it.
|
|
594
595
|
|
|
595
596
|
Writing the prompt for keyframes:
|
|
596
597
|
|
|
@@ -761,6 +762,30 @@ const quote = await sogni.projects.estimateVideoCost({
|
|
|
761
762
|
|
|
762
763
|
The SDK rejects prompts, TeaCache, trimming, control nets, reference URLs, other reference media, `generateAudio: false`, and `numberOfMedia` other than 1, and it fixes steps to 1. `detailPreference` (`stable` or `sharper`) and `processingSpeed` (`stable` or `faster`) default to `stable`, and `seed` defaults to 0 (`-1` asks for a random seed); only non-default values need Comfy worker 1.0.212 or newer, and none changes the price. Until a compatible worker is connected, the server refuses FlashVSR requests with "FlashVSR video upscaling is not available yet. Please try again later." Hosted chat and durable workflows expose the same operation as the promptless `upscale_video` tool.
|
|
763
764
|
|
|
765
|
+
### RelayVSR Video Upscaling (promptless, Sogni workers)
|
|
766
|
+
|
|
767
|
+
`RELAYVSR_X2_VIDEO_UPSCALE_MODEL_ID` (`relayvsr_x2_lightx2v_int8_convrot`) and `RELAYVSR_X4_VIDEO_UPSCALE_MODEL_ID` (`relayvsr_x4_int8_convrot`) upscale one finished video to 1080p, 1440p, or 2160p on its short edge. The request is the same as FlashVSR's: one `referenceVideo`, `upscaleResolution`, `numberOfMedia: 1`, and an empty prompt. The output keeps every source frame, the exact frame rate, the full aspect ratio, and the original audio.
|
|
768
|
+
|
|
769
|
+
X2 takes a source up to 1080x1920 pixels (either orientation) and delivers at most twice its size; X4 takes a source up to 768x1344 and delivers at most four times its size. The target must be larger than the source's short edge, and the output's long edge can be at most 3840px, so 2160p needs a source short edge of exactly 1080px on X2 or 540px to 768px on X4. Sources must be 1-60 fps, SDR, and 100 MB or less, and the server enforces the maximum clip length. Variable-frame-rate, rotated and non-square-pixel clips need no re-export for RelayVSR: the server conforms them, and every limit applies to the clip as it plays.
|
|
770
|
+
|
|
771
|
+
```javascript
|
|
772
|
+
import fs from 'node:fs';
|
|
773
|
+
import { RELAYVSR_X2_VIDEO_UPSCALE_MODEL_ID } from '@sogni-ai/sogni-client';
|
|
774
|
+
|
|
775
|
+
const project = await sogni.projects.create({
|
|
776
|
+
type: 'video',
|
|
777
|
+
network: 'fast',
|
|
778
|
+
modelId: RELAYVSR_X2_VIDEO_UPSCALE_MODEL_ID,
|
|
779
|
+
positivePrompt: '',
|
|
780
|
+
numberOfMedia: 1,
|
|
781
|
+
referenceVideo: fs.readFileSync('./clip-1080p.mp4'),
|
|
782
|
+
upscaleResolution: 2160 // 1080 | 1440 | 2160: the output's short edge
|
|
783
|
+
});
|
|
784
|
+
const [upscaledUrl] = await project.waitForCompletion(); // MP4 with the original audio
|
|
785
|
+
```
|
|
786
|
+
|
|
787
|
+
`isRelayVsrModel(modelId)` detects both models, and `isVideoUpscaleModel(modelId)` covers them too. The SDK refuses `detailPreference`, `processingSpeed`, and `seed` for RelayVSR. Quote it the same way as FlashVSR, with the output `width`/`height` and `sourceWidth`/`sourceHeight`; the price follows the source's size and length, not the target. In hosted chat and durable workflows, set `model: 'relayvsr'` on `upscale_video`; the server picks X2 when the target is at most twice the source's short edge and X4 otherwise. FlashVSR stays the tool's default.
|
|
788
|
+
|
|
764
789
|
---
|
|
765
790
|
|
|
766
791
|
## 6. Audio Generation (MiniMax Music 3, ACE-Step 1.5)
|
|
@@ -969,7 +994,7 @@ Canonical hosted creative-tool surface (`SogniTools.all`, 27 tools, executed ser
|
|
|
969
994
|
|
|
970
995
|
- `generate_image`, `edit_image`, `generate_video`, `generate_music`, `generate_speech`, `sound_to_video`, `video_to_video` (generation)
|
|
971
996
|
- `restore_photo`, `apply_style`, `refine_result`, `change_angle` (image-edit adapters)
|
|
972
|
-
- `upscale_image`, `upscale_video` (promptless RTX VSR image and FlashVSR 1080p/1440p video upscaling; `upscale_video` takes one generated or uploaded video by `sourceVideoIndex` plus an optional `targetResolution` of 1080 or 1440, and optional `detailPreference`, `processingSpeed` and `seed`)
|
|
997
|
+
- `upscale_image`, `upscale_video` (promptless RTX VSR image and FlashVSR 1080p/1440p video upscaling; `upscale_video` takes one generated or uploaded video by `sourceVideoIndex` plus an optional `targetResolution` of 1080 or 1440, and optional `detailPreference`, `processingSpeed` and `seed`; optional `model: 'relayvsr'` reaches 2160 and takes none of those three)
|
|
973
998
|
- `animate_photo` (image-to-video with multi-source fan-out via `sourceImageIndices`; composed into one MP4 by default — opt out with `stitched: false`)
|
|
974
999
|
- `stitch_video`, `orbit_video`, `dance_montage` (server-side composition into a single MP4)
|
|
975
1000
|
- `extend_video`, `replace_video_segment` (append or replace bounded windows; replacements can trim source windows with `replacementStartSeconds` / `replacementEndSeconds`)
|
|
@@ -1001,7 +1026,7 @@ Default generation models used by platform tools:
|
|
|
1001
1026
|
| `generate_video` | ltx25-22b-int8_t2v_distilled / ltx25-22b-int8_i2v_distilled / LTX 2.3 rollback / Seedance selectors | Text-to-video or image-to-video |
|
|
1002
1027
|
| `sound_to_video` | ltx25-22b-int8_a2v_distilled / ltx25-22b-int8_ia2v_distilled / LTX 2.3 rollback | Audio-driven video generation |
|
|
1003
1028
|
| `video_to_video` | ltx25-22b-int8_v2v_distilled / ltx25-22b-int8_v2v_dev / LTX 2.3 rollback / Seedance / WAN animate | Video transformation / motion transfer |
|
|
1004
|
-
| `upscale_video` | flashvsr_v1.1_tiny_long_bf16 | Promptless
|
|
1029
|
+
| `upscale_video` | flashvsr_v1.1_tiny_long_bf16; `model: 'relayvsr'`: relayvsr_x2_lightx2v_int8_convrot, relayvsr_x4_int8_convrot | Promptless video upscale preserving frames, frame rate, and audio: 1080p/1440p, or up to 2160p with RelayVSR |
|
|
1005
1030
|
| `generate_music` | minimax_music3 | MiniMax Music 3; ACE-Step 1.5 when named |
|
|
1006
1031
|
|
|
1007
1032
|
---
|
|
@@ -1156,7 +1181,7 @@ and `referenceVideoDurationSeconds` for the assets the job will actually submit.
|
|
|
1156
1181
|
MiniMax H3 keyframe pricing: the first two keyframes are included; each extra keyframe adds output time at the job's per-second rate, 0.75 s on FastH3 and 0.3 s on every other tier, FastH3 Reference included (an 8 s FastH3 clip with 8 keyframes: 32 + 18 = 50 Spark). Pass `keyframeCount` (or the job's `keyframes`) to `estimateVideoCost` to quote it.
|
|
1157
1182
|
MiniMax H3 bills reference-video duration at the full resolution-tier input rate ($0.05/s at 480p or $0.08/s at 544/768p), even with Turbo output
|
|
1158
1183
|
(on the two-stage Reference ids, $0.08/s at every output class, 2K included);
|
|
1159
|
-
unrelated models ignore these fields. Quote MiniMax H3 two-stage output with the `_2stage` model ID and the canvas the job renders (672x384, 960x544 or 1344x768). For a FlashVSR upscale estimate, pass the output `width`/`height`, the
|
|
1184
|
+
unrelated models ignore these fields. Quote MiniMax H3 two-stage output with the `_2stage` model ID and the canvas the job renders (672x384, 960x544 or 1344x768). For a FlashVSR or RelayVSR upscale estimate, pass the output `width`/`height`, the
|
|
1160
1185
|
source's `frames` and `fps`, `steps: 1`, and `sourceWidth`/`sourceHeight`; the job itself is charged from the
|
|
1161
1186
|
verified uploaded source.
|
|
1162
1187
|
|
|
@@ -1185,7 +1210,7 @@ interface VideoProjectParams {
|
|
|
1185
1210
|
referenceImage?: File | Buffer | Blob;
|
|
1186
1211
|
referenceAudio?: File | Buffer | Blob;
|
|
1187
1212
|
referenceVideo?: File | Buffer | Blob;
|
|
1188
|
-
upscaleResolution?: 1080 | 1440; //
|
|
1213
|
+
upscaleResolution?: 1080 | 1440 | 2160; // Video upscale only: output short edge; 2160 is RelayVSR only
|
|
1189
1214
|
// ... see llms-full.txt for complete list
|
|
1190
1215
|
}
|
|
1191
1216
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "5.
|
|
6
|
+
"version": "5.84.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=22"
|
|
9
9
|
},
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"test:pixal3d-artifact": "npm run build && node scripts/check-pixal3d-artifact.cjs",
|
|
87
87
|
"test:birefnet-background-removal": "npm run build && node scripts/check-birefnet-background-removal.cjs",
|
|
88
88
|
"test:flashvsr-video": "npm run build && node scripts/check-flashvsr-video.cjs",
|
|
89
|
+
"test:relayvsr-video": "npm run build && node scripts/check-relayvsr-video.cjs",
|
|
89
90
|
"test:capability-exports": "npm run build && node scripts/check-capability-exports.cjs",
|
|
90
91
|
"test:generation-receipt-transport": "npm run build && node scripts/check-generation-receipt-transport.cjs",
|
|
91
92
|
"test:prompt-expansion": "npm run build && node scripts/check-prompt-expansion-transport.cjs",
|
|
@@ -96,6 +97,7 @@
|
|
|
96
97
|
"test:minimax-h3-two-stage": "npm run build && node scripts/check-minimax-h3-two-stage.cjs",
|
|
97
98
|
"test:minimax-h3-audio": "npm run build && node scripts/check-minimax-h3-audio.cjs",
|
|
98
99
|
"test:minimax-h3-keyframes": "npm run build && node scripts/check-minimax-h3-keyframes.cjs",
|
|
100
|
+
"test:minimax-h3-prism": "npm run build && node scripts/check-minimax-h3-prism.cjs",
|
|
99
101
|
"test:minimax-h3-extend": "npm run build && node scripts/check-minimax-h3-extend.cjs",
|
|
100
102
|
"test:lora-catalog": "npm run build && node scripts/check-lora-catalog.cjs",
|
|
101
103
|
"test:personal-loras": "npm run build && node scripts/check-personal-loras.cjs",
|
|
@@ -156,7 +158,7 @@
|
|
|
156
158
|
"homepage": "https://github.com/Sogni-AI/sogni-client#readme",
|
|
157
159
|
"dependencies": {
|
|
158
160
|
"@simplewebauthn/browser": "14.0.0",
|
|
159
|
-
"@sogni-ai/sogni-protocol": "1.0.0-alpha.
|
|
161
|
+
"@sogni-ai/sogni-protocol": "1.0.0-alpha.62",
|
|
160
162
|
"@types/js-cookie": "^3.0.6",
|
|
161
163
|
"@types/lodash": "^4.17.23",
|
|
162
164
|
"@types/ws": "^8.5.13",
|
|
@@ -806,7 +806,7 @@ export const SOGNI_HOSTED_TOOLS_MANIFEST: unknown = {
|
|
|
806
806
|
"type": "function",
|
|
807
807
|
"function": {
|
|
808
808
|
"name": "upscale_video",
|
|
809
|
-
"description": "Upscale an existing video to 1080p or 1440p with FlashVSR
|
|
809
|
+
"description": "Upscale an existing video to 1080p, 1440p or 2160p (4K) with recommended RelayVSR, or to 1080p or 1440p with FlashVSR. This is promptless, deterministic enhancement, not a generative edit: it keeps every source frame, the exact frame rate, the full aspect ratio, and the original audio, and it never changes content, trims, crops, restyles, or interpolates frames. Use it when the user asks to upscale, enlarge, sharpen, or increase the resolution of an uploaded or previously generated video, or wants an HD, 1080p, 1440p, 2K, or 4K copy of it. Do not use it to create, restyle, extend, or edit a video; when the user explicitly asks a generative model such as Seedance to re-render the clip, use video_to_video. Explicitly set model to relayvsr for new upscales. Use flashvsr when the user requests FlashVSR or specifically wants its detailPreference, processingSpeed or seed controls. Omitted model retains FlashVSR for compatibility. With FlashVSR the output is at most twice the source size, so 1080p needs a source whose short edge is 540-768px and 1440p needs 720-768px, and the source can be at most about 1344x768 pixels (768x1344 in portrait). With RelayVSR the output is at most twice the source size for a source up to 1920x1080 pixels (1080x1920 in portrait), or four times for a source up to 1344x768 (768x1344 in portrait), so 2160p needs a source whose short edge is 540-768px or exactly 1080px, and the output's long edge can be at most 3840px. The source must also be 1-60 fps and at most 100 MB. The server sets the maximum clip length and rejects a source that is too long; never quote a length limit yourself, and if the tool reports that rejection, relay that error to the user. FlashVSR cannot produce 4K or any size above 1440p, so a 4K request always uses relayvsr. Nothing here produces a size above 2160p; when the user asks for one, say so and offer 2160p. Each upscale costs credits based on the source video's size and length. With FlashVSR, optional detailPreference (stable or sharper), processingSpeed (stable or faster), and seed tune the result; omit them unless the user asks, and none of them changes the price. RelayVSR refuses all three.",
|
|
810
810
|
"parameters": {
|
|
811
811
|
"type": "object",
|
|
812
812
|
"properties": {
|
|
@@ -814,13 +814,22 @@ export const SOGNI_HOSTED_TOOLS_MANIFEST: unknown = {
|
|
|
814
814
|
"type": "number",
|
|
815
815
|
"description": "Source video to upscale. Non-negative values select a prior generated video result by 0-based index. Negative values select uploaded videos: -1 is the first uploaded video, -2 the second, and so on. If omitted, use the latest generated video, falling back to the most recent uploaded video."
|
|
816
816
|
},
|
|
817
|
+
"model": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"enum": [
|
|
820
|
+
"flashvsr",
|
|
821
|
+
"relayvsr"
|
|
822
|
+
],
|
|
823
|
+
"description": "Upscaler. Explicitly select relayvsr, recommended for new upscales to 1080p, 1440p or 2160p. Use flashvsr when requested or for its detailPreference, processingSpeed or seed controls; it reaches 1080p or 1440p. RelayVSR takes none of those options. Omitted model retains FlashVSR for compatibility."
|
|
824
|
+
},
|
|
817
825
|
"targetResolution": {
|
|
818
826
|
"type": "number",
|
|
819
827
|
"enum": [
|
|
820
828
|
1080,
|
|
821
|
-
1440
|
|
829
|
+
1440,
|
|
830
|
+
2160
|
|
822
831
|
],
|
|
823
|
-
"description": "Output resolution of the short edge in pixels: 1440 for 1440p/2K or 1080 for 1080p/Full HD. The long edge follows the source aspect ratio, so portrait videos stay portrait. Default: 1440, or 1080 when the source
|
|
832
|
+
"description": "Output resolution of the short edge in pixels: 2160 for 2160p/4K (relayvsr only), 1440 for 1440p/2K, or 1080 for 1080p/Full HD. The long edge follows the source aspect ratio, so portrait videos stay portrait. Default: 1440, or 1080 when the source is too small for 1440p. Set 1080 when the user asks for 1080p or Full HD, and 2160 with model relayvsr when the user asks for 4K or 2160p."
|
|
824
833
|
},
|
|
825
834
|
"detailPreference": {
|
|
826
835
|
"type": "string",
|
|
@@ -828,7 +837,7 @@ export const SOGNI_HOSTED_TOOLS_MANIFEST: unknown = {
|
|
|
828
837
|
"stable",
|
|
829
838
|
"sharper"
|
|
830
839
|
],
|
|
831
|
-
"description": "Detail preference. stable, the default, gives the most temporally stable result. sharper renders crisper fine detail with a little more risk of shimmer between frames. Set sharper only when the user asks for a sharper, crisper, or more detailed upscale; otherwise omit it. It does not change the price."
|
|
840
|
+
"description": "FlashVSR only. Detail preference. stable, the default, gives the most temporally stable result. sharper renders crisper fine detail with a little more risk of shimmer between frames. Set sharper only when the user asks for a sharper, crisper, or more detailed upscale; otherwise omit it. It does not change the price."
|
|
832
841
|
},
|
|
833
842
|
"processingSpeed": {
|
|
834
843
|
"type": "string",
|
|
@@ -836,13 +845,13 @@ export const SOGNI_HOSTED_TOOLS_MANIFEST: unknown = {
|
|
|
836
845
|
"stable",
|
|
837
846
|
"faster"
|
|
838
847
|
],
|
|
839
|
-
"description": "Processing speed. stable, the default, gives the most stable result. faster finishes sooner with slightly less stable detail. Set faster only when the user asks for a quicker upscale; otherwise omit it. It does not change the price."
|
|
848
|
+
"description": "FlashVSR only. Processing speed. stable, the default, gives the most stable result. faster finishes sooner with slightly less stable detail. Set faster only when the user asks for a quicker upscale; otherwise omit it. It does not change the price."
|
|
840
849
|
},
|
|
841
850
|
"seed": {
|
|
842
851
|
"type": "integer",
|
|
843
852
|
"minimum": -1,
|
|
844
853
|
"maximum": 4294967295,
|
|
845
|
-
"description": "Seed for the upscaler's fine texture, 0 through 4294967295; different seeds give slightly different fine detail. Omit it to keep the repeatable default of 0. Use -1 for a random seed. Set it only when the user gives a seed or asks for a different or random variation of an upscale."
|
|
854
|
+
"description": "FlashVSR only. Seed for the upscaler's fine texture, 0 through 4294967295; different seeds give slightly different fine detail. Omit it to keep the repeatable default of 0. Use -1 for a random seed. Set it only when the user gives a seed or asks for a different or random variation of an upscale."
|
|
846
855
|
}
|
|
847
856
|
},
|
|
848
857
|
"required": []
|
|
@@ -444,12 +444,40 @@ export function validateAndNormalizeHostedToolArguments(
|
|
|
444
444
|
warnings: []
|
|
445
445
|
};
|
|
446
446
|
|
|
447
|
+
// upscale_video had no model argument in 5.83.0. A model value other than flashvsr
|
|
448
|
+
// or relayvsr is validated as it was then: kept, or stripped with the same warning.
|
|
449
|
+
let toolSchema = schema;
|
|
450
|
+
if (
|
|
451
|
+
toolName === 'upscale_video' &&
|
|
452
|
+
Object.prototype.hasOwnProperty.call(args, 'model') &&
|
|
453
|
+
args.model !== 'flashvsr' &&
|
|
454
|
+
args.model !== 'relayvsr' &&
|
|
455
|
+
schema.properties?.model
|
|
456
|
+
) {
|
|
457
|
+
const properties = { ...schema.properties };
|
|
458
|
+
delete properties.model;
|
|
459
|
+
toolSchema = { ...schema, properties };
|
|
460
|
+
}
|
|
461
|
+
|
|
447
462
|
const normalizedSchema: HostedToolSchema = {
|
|
448
|
-
...
|
|
449
|
-
type:
|
|
463
|
+
...toolSchema,
|
|
464
|
+
type: toolSchema.type ?? 'object'
|
|
450
465
|
};
|
|
451
466
|
const cleaned = validateValueAgainstSchema('', args, normalizedSchema, context).value;
|
|
452
467
|
|
|
468
|
+
// upscale_video: 2160 is RelayVSR only. FlashVSR (model omitted or anything but
|
|
469
|
+
// relayvsr) keeps the 1080/1440 refusal it had before the enum gained 2160.
|
|
470
|
+
if (toolName === 'upscale_video' && isRecord(cleaned)) {
|
|
471
|
+
const flashVsr2160Error = `Argument "targetResolution" must be one of ${formatEnum([1080, 1440])}`;
|
|
472
|
+
if (
|
|
473
|
+
cleaned.model !== 'relayvsr' &&
|
|
474
|
+
cleaned.targetResolution === 2160 &&
|
|
475
|
+
!context.errors.includes(flashVsr2160Error)
|
|
476
|
+
) {
|
|
477
|
+
context.errors.push(flashVsr2160Error);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
453
481
|
return {
|
|
454
482
|
ok: context.errors.length === 0,
|
|
455
483
|
errors: context.errors,
|
package/src/Chat/tools.ts
CHANGED
|
@@ -84,7 +84,7 @@ export const refineResultTool: ToolDefinition = getHostedTool('refine_result');
|
|
|
84
84
|
export const changeAngleTool: ToolDefinition = getHostedTool('change_angle');
|
|
85
85
|
export const animatePhotoTool: ToolDefinition = getHostedTool('animate_photo');
|
|
86
86
|
|
|
87
|
-
// Promptless upscalers (RTX VSR image enlargement, FlashVSR
|
|
87
|
+
// Promptless upscalers (RTX VSR image enlargement, FlashVSR and RelayVSR video).
|
|
88
88
|
export const upscaleImageTool: ToolDefinition = getHostedTool('upscale_image');
|
|
89
89
|
export const upscaleVideoTool: ToolDefinition = getHostedTool('upscale_video');
|
|
90
90
|
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
getVideoWorkflowType,
|
|
35
35
|
getVideoAssetRequirements,
|
|
36
36
|
isVideoModel,
|
|
37
|
+
isRelayVsrModel,
|
|
37
38
|
isVideoUpscaleModel,
|
|
38
39
|
isVideoSegmentationModel,
|
|
39
40
|
calculateVideoFrames,
|
|
@@ -48,6 +49,7 @@ import {
|
|
|
48
49
|
isMinimaxH3TurboModel,
|
|
49
50
|
isMinimaxH3BalancedModel,
|
|
50
51
|
isMinimaxH3FastH3ReferenceModel,
|
|
52
|
+
isMinimaxH3PrismModel,
|
|
51
53
|
isMinimaxH3ReferenceModel,
|
|
52
54
|
isMinimaxH3AudioGuideModel,
|
|
53
55
|
isMinimaxH3KeyframeModel,
|
|
@@ -700,19 +702,22 @@ function validateMinimaxH3Params(params: VideoProjectParams): void {
|
|
|
700
702
|
invalid('MiniMax H3 fps is fixed at 24. Omit fps or set it to 24.');
|
|
701
703
|
}
|
|
702
704
|
// FastH3 Reference ends in `_turbo` but is distilled to 8 steps, so it is
|
|
703
|
-
// neither a 4-step Turbo id nor a Balanced one.
|
|
705
|
+
// neither a 4-step Turbo id nor a Balanced one. Prism's recipe is 8 steps too.
|
|
704
706
|
const isFastH3Reference = isMinimaxH3FastH3ReferenceModel(params.modelId);
|
|
707
|
+
const isPrism = isMinimaxH3PrismModel(params.modelId);
|
|
705
708
|
const isTurbo = isMinimaxH3TurboModel(params.modelId);
|
|
706
709
|
const isBalanced = isMinimaxH3BalancedModel(params.modelId);
|
|
707
|
-
const expectedSteps = isFastH3Reference ? 8 : isTurbo ? 4 : isBalanced ? 8 : 20;
|
|
710
|
+
const expectedSteps = isFastH3Reference || isPrism ? 8 : isTurbo ? 4 : isBalanced ? 8 : 20;
|
|
708
711
|
if (params.steps !== undefined && params.steps !== expectedSteps) {
|
|
709
712
|
const tier = isFastH3Reference
|
|
710
713
|
? ' FastH3 Reference'
|
|
711
|
-
:
|
|
712
|
-
? '
|
|
713
|
-
:
|
|
714
|
-
? '
|
|
715
|
-
:
|
|
714
|
+
: isPrism
|
|
715
|
+
? ' Prism'
|
|
716
|
+
: isTurbo
|
|
717
|
+
? ' Turbo'
|
|
718
|
+
: isBalanced
|
|
719
|
+
? ' Balanced'
|
|
720
|
+
: '';
|
|
716
721
|
invalid(`MiniMax H3${tier} steps are fixed at ${expectedSteps}.`);
|
|
717
722
|
}
|
|
718
723
|
if (params.guidance !== undefined && params.guidance !== 1) {
|
|
@@ -1688,7 +1693,7 @@ const VIDEO_UPSCALE_TIMING_ERROR =
|
|
|
1688
1693
|
'Omit the source timing, or supply the source video’s exact frame count and frame rate.';
|
|
1689
1694
|
|
|
1690
1695
|
/**
|
|
1691
|
-
*
|
|
1696
|
+
* Upscale source timing is optional. The server probes the uploaded video and
|
|
1692
1697
|
* adopts its exact frame count and frame rate when they are omitted; values a
|
|
1693
1698
|
* caller does send must describe the source and are checked against it.
|
|
1694
1699
|
*
|
|
@@ -1829,27 +1834,48 @@ function applyVideoParams(
|
|
|
1829
1834
|
if (params.sam3VideoPrompt !== undefined)
|
|
1830
1835
|
throw new Error('sam3VideoPrompt requires the SAM 3 video selection model.');
|
|
1831
1836
|
if (isVideoUpscaleModel(params.modelId)) {
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
throw new Error('
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1837
|
+
const relayVsr = isRelayVsrModel(params.modelId);
|
|
1838
|
+
const upscalerName = relayVsr ? 'RelayVSR' : 'FlashVSR';
|
|
1839
|
+
if (relayVsr) {
|
|
1840
|
+
if (params.detailPreference != null) throw new Error('RelayVSR has no detailPreference.');
|
|
1841
|
+
if (params.processingSpeed != null) throw new Error('RelayVSR has no processingSpeed.');
|
|
1842
|
+
if (params.seed != null) throw new Error('RelayVSR has no seed.');
|
|
1843
|
+
} else {
|
|
1844
|
+
if (
|
|
1845
|
+
params.detailPreference != null &&
|
|
1846
|
+
!['stable', 'sharper'].includes(params.detailPreference)
|
|
1847
|
+
) {
|
|
1848
|
+
throw new Error('FlashVSR detailPreference must be stable or sharper.');
|
|
1849
|
+
}
|
|
1850
|
+
if (
|
|
1851
|
+
params.processingSpeed != null &&
|
|
1852
|
+
!['stable', 'faster'].includes(params.processingSpeed)
|
|
1853
|
+
) {
|
|
1854
|
+
throw new Error('FlashVSR processingSpeed must be stable or faster.');
|
|
1855
|
+
}
|
|
1856
|
+
const seed = params.seed ?? 0;
|
|
1857
|
+
if (!Number.isInteger(seed) || seed < -1 || seed > 4294967295) {
|
|
1858
|
+
throw new Error(
|
|
1859
|
+
'FlashVSR seed must be -1 (random) or an integer from 0 through 4294967295.'
|
|
1860
|
+
);
|
|
1861
|
+
}
|
|
1844
1862
|
}
|
|
1845
1863
|
const resolution =
|
|
1846
1864
|
params.upscaleResolution ?? Math.min(Number(params.width), Number(params.height));
|
|
1847
|
-
if (
|
|
1865
|
+
if (relayVsr) {
|
|
1866
|
+
if (![1080, 1440, 2160].includes(resolution))
|
|
1867
|
+
throw new Error('Choose 1080p, 1440p or 2160p for RelayVSR video upscaling.');
|
|
1868
|
+
// The source is unknown here, so only a size the caller sends can be checked.
|
|
1869
|
+
if (Math.max(Number(params.width) || 0, Number(params.height) || 0) > 3840)
|
|
1870
|
+
throw new Error('RelayVSR output can be at most 3840 pixels on its long edge.');
|
|
1871
|
+
} else if (![1080, 1440].includes(resolution)) {
|
|
1848
1872
|
throw new Error('Choose 1080p or 1440p for video upscaling.');
|
|
1849
|
-
|
|
1873
|
+
}
|
|
1874
|
+
if (!params.referenceVideo)
|
|
1875
|
+
throw new Error(`${upscalerName} requires an uploaded referenceVideo.`);
|
|
1850
1876
|
validateVideoUpscaleTiming(params);
|
|
1851
1877
|
if (params.positivePrompt?.trim() || params.negativePrompt?.trim())
|
|
1852
|
-
throw new Error(
|
|
1878
|
+
throw new Error(`${upscalerName} is promptless.`);
|
|
1853
1879
|
if (
|
|
1854
1880
|
params.teacacheThreshold != null ||
|
|
1855
1881
|
params.trimEndFrame ||
|
|
@@ -2016,7 +2042,7 @@ function applyVideoParams(
|
|
|
2016
2042
|
: isSeedanceModel(params.modelId)
|
|
2017
2043
|
? 4
|
|
2018
2044
|
: 1;
|
|
2019
|
-
//
|
|
2045
|
+
// Video upscaling has no client-side maximum: the server's admission check owns
|
|
2020
2046
|
// the longest source it accepts and refuses a longer one itself.
|
|
2021
2047
|
const duration = isVideoUpscaleModel(params.modelId)
|
|
2022
2048
|
? validateNumber(params.duration, { min: minDuration, propertyName: 'Video duration' })
|
|
@@ -2107,8 +2133,10 @@ function applyVideoParams(
|
|
|
2107
2133
|
params.upscaleResolution ?? Math.min(Number(params.width), Number(params.height));
|
|
2108
2134
|
keyFrame.steps = 1;
|
|
2109
2135
|
keyFrame.seed = params.seed ?? 0;
|
|
2110
|
-
|
|
2111
|
-
|
|
2136
|
+
if (!isRelayVsrModel(params.modelId)) {
|
|
2137
|
+
keyFrame.detailPreference = params.detailPreference ?? 'stable';
|
|
2138
|
+
keyFrame.processingSpeed = params.processingSpeed ?? 'stable';
|
|
2139
|
+
}
|
|
2112
2140
|
keyFrame.generateAudio = true;
|
|
2113
2141
|
keyFrame.interpolation = 'none';
|
|
2114
2142
|
}
|