@sogni-ai/sogni-client 5.82.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 +9 -2
- package/CHANGELOG.md +22 -0
- package/README.md +59 -6
- package/dist/Changelog/index.d.ts +28 -0
- package/dist/Changelog/index.js +81 -0
- package/dist/Changelog/index.js.map +1 -0
- package/dist/Changelog/types.d.ts +83 -0
- package/dist/Changelog/types.js +3 -0
- package/dist/Changelog/types.js.map +1 -0
- 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 +11 -2
- package/dist/index.js +16 -11
- 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/Changelog/index.js +76 -0
- package/dist-esm/Changelog/index.js.map +1 -0
- package/dist-esm/Changelog/types.js +2 -0
- package/dist-esm/Changelog/types.js.map +1 -0
- 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 +4 -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 +74 -11
- package/llms.txt +46 -7
- package/package.json +6 -3
- package/src/Changelog/index.ts +75 -0
- package/src/Changelog/types.ts +96 -0
- 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 +24 -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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AO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAC9E,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAyB,EAAE,OAAqB;IAChF,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IACpC,IAAI,CAAC,CAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,CAAC,MAAM,CAAA,IAAI,CAAC,KAAK,EAAE,CAAC;QACzC,OAAO,IAAI,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
|
@@ -64,7 +64,7 @@ PACKAGE SHAPE:
|
|
|
64
64
|
- ESM: `dist-esm/index.js`
|
|
65
65
|
- TypeScript declarations: `dist/index.d.ts`
|
|
66
66
|
- Public root class: `SogniClient`
|
|
67
|
-
- Public namespaces: `account`, `projects`, `chat`, `workflows`, `replay`, `stats`, `apiClient`
|
|
67
|
+
- Public namespaces: `account`, `projects`, `chat`, `workflows`, `replay`, `stats`, `changelog`, `apiClient`
|
|
68
68
|
- Commonly used methods: `sogni.chat.completions.create()`, `sogni.projects.estimateCost()`, `sogni.projects.estimateVideoCost()`, `sogni.projects.estimateAudioCost()`, `sogni.workflows.start()`
|
|
69
69
|
|
|
70
70
|
================================================================================ 2. QUICK START EXAMPLES
|
|
@@ -198,6 +198,42 @@ reloads. Calling `randomUUID()` every time the process starts creates a new appl
|
|
|
198
198
|
every run. For REST-only usage, pass `disableSocket: true`; `appId` is optional and the client opens
|
|
199
199
|
no artist WebSocket.
|
|
200
200
|
|
|
201
|
+
PLATFORM CHANGELOG (NO SIGN-IN):
|
|
202
|
+
|
|
203
|
+
`sogni.changelog` reads Sogni's public changelog: what changed for artists, developers and worker
|
|
204
|
+
operators. It works on a client that is not signed in.
|
|
205
|
+
|
|
206
|
+
```javascript
|
|
207
|
+
const sogni = await SogniClient.createInstance({ disableSocket: true });
|
|
208
|
+
|
|
209
|
+
// One page, newest first: { entries, nextCursor }.
|
|
210
|
+
const filters = { audience: 'developer', type: ['release', 'deprecated'], since: '2026-11-01' };
|
|
211
|
+
const page = await sogni.changelog.list(filters);
|
|
212
|
+
// The next page takes the same filters plus the cursor; nextCursor is null on the last page.
|
|
213
|
+
const older = page.nextCursor
|
|
214
|
+
? await sogni.changelog.list({ ...filters, cursor: page.nextCursor })
|
|
215
|
+
: null;
|
|
216
|
+
|
|
217
|
+
const entry = await sogni.changelog.get(page.entries[0].id);
|
|
218
|
+
const products = await sogni.changelog.products(); // [{ id, label, audiences }]
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
- `list()` filters: `audience` (`artist` | `developer` | `worker`), `product` (ids from
|
|
222
|
+
`products()`), `type` (`new` | `improved` | `fixed` | `release` | `deprecated` | `removed` |
|
|
223
|
+
`notice`), each one value or an array (an entry matches any of them, and must match every filter
|
|
224
|
+
given); `since` (inclusive) and `until` (exclusive) as an ISO 8601 date (`2026-11-01`, midnight
|
|
225
|
+
UTC) or a date-time with a zone; `actionRequired: true` for only the entries you need to act on;
|
|
226
|
+
`limit` (default 50, at most 100); `cursor`.
|
|
227
|
+
- Entry fields: `id`, `url`, `title`, `summary`, `bodyMarkdown`, `type`, `audiences`, `products`,
|
|
228
|
+
`version`, `links` (`{ label, url }`), `actionRequired`, `effectiveAt`, `publishedAt`,
|
|
229
|
+
`updatedAt`. Times are ISO 8601 UTC strings. For a deprecation or removal, `effectiveAt` is the
|
|
230
|
+
day the old behavior stops working.
|
|
231
|
+
- `get(id)` with an id that has no published entry throws `ApiError` with `status` 404 and
|
|
232
|
+
`payload.errorCode` 204. Invalid filters throw `ApiError` 400 with the API's message.
|
|
233
|
+
- Responses can be up to five minutes old; poll no more often than that.
|
|
234
|
+
- Types: `ChangelogEntry`, `ChangelogEntryType`, `ChangelogAudience`, `ChangelogLink`,
|
|
235
|
+
`ChangelogProduct`, `ListChangelogOptions`, `ListChangelogResult`.
|
|
236
|
+
|
|
201
237
|
API KEY VS USERNAME/PASSWORD:
|
|
202
238
|
|
|
203
239
|
- API key: Pass `apiKey` to `createInstance()`. Auto-authenticates via WebSocket
|
|
@@ -1210,6 +1246,7 @@ from 124 to 362, and a 32px canvas grid capped at 1,032,192 pixels.
|
|
|
1210
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 |
|
|
1211
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 |
|
|
1212
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 |
|
|
1213
1250
|
| minimax-h3-fl2va-fp8_t2v_balanced | Balanced text-to-video | none |
|
|
1214
1251
|
| minimax-h3-fl2va-fp8_i2v_balanced | Balanced endpoint-conditioned image-to-video | first frame, last frame, or both (at least one) |
|
|
1215
1252
|
| minimax-h3-fl2va-fp8_flf2v_balanced | Balanced first-and-last-frame video | both anchor images required |
|
|
@@ -1218,20 +1255,23 @@ from 124 to 362, and a 32px canvas grid capped at 1,032,192 pixels.
|
|
|
1218
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.
|
|
1219
1256
|
Turbo is fixed at 4 steps; standard H3 is fixed at 20 steps.
|
|
1220
1257
|
|
|
1221
|
-
All
|
|
1258
|
+
All 29 current workflow ids are available through the Sogni projects API: four
|
|
1222
1259
|
Standard, four Balanced, four LightX2V Turbo, six FastH3 Turbo (three with
|
|
1223
1260
|
generated audio, three audio-guide), six FastH3 Two-Stage modes, two Ref2VA
|
|
1224
|
-
Two-Stage modes (Standard and Balanced),
|
|
1225
|
-
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.
|
|
1226
1266
|
|
|
1227
1267
|
For direct `projects.create()` calls, both H3 I2V ids accept `referenceImage`,
|
|
1228
1268
|
`referenceImageEnd`, or both, with at least one required. The explicit FLF2V ids
|
|
1229
1269
|
still require both anchors.
|
|
1230
1270
|
|
|
1231
|
-
INTERMEDIATE KEYFRAMES (every H3 workflow except T2V,
|
|
1271
|
+
INTERMEDIATE KEYFRAMES (every H3 workflow except T2V, 24 ids;
|
|
1232
1272
|
`isMinimaxH3KeyframeModel()`): I2V and FLF2V on every tier (Standard, Balanced,
|
|
1233
1273
|
LightX2V Turbo, FastH3 Turbo and FastH3 Two-Stage), the six FastH3 Sound to
|
|
1234
|
-
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.
|
|
1235
1275
|
`keyframes: [{ image, frameIndex }]` pins up to `MINIMAX_H3_MAX_KEYFRAMES` (8)
|
|
1236
1276
|
still images between the first and last frame, alongside the workflow's own
|
|
1237
1277
|
uploads. `frameIndex` is the 0-based frame at 24 fps (`Math.round(seconds *
|
|
@@ -1616,6 +1656,29 @@ optional `targetResolution` 1080 or 1440, and optional `detailPreference`,
|
|
|
1616
1656
|
`processingSpeed` and `seed`); the server reads the source metadata
|
|
1617
1657
|
itself, so the model never supplies frames or fps.
|
|
1618
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
|
+
|
|
1619
1682
|
================================================================================ 8. AUDIO GENERATION - MINIMAX MUSIC 3 AND ACE-STEP 1.5 MODELS
|
|
1620
1683
|
================================================================================
|
|
1621
1684
|
|
|
@@ -2096,7 +2159,7 @@ The full hosted surface executes server-side via `sogni.chat.hosted.create()` /
|
|
|
2096
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.
|
|
2097
2160
|
- `restore_photo`, `apply_style`, `refine_result`, `change_angle` — image-edit adapters backed by the shared image-edit workflow.
|
|
2098
2161
|
- `upscale_image` — promptless RTX VSR image enlargement.
|
|
2099
|
-
- `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.
|
|
2100
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.
|
|
2101
2164
|
- `stitch_video` — concatenate selected video clips (with optional audio overlay via `audioIndex`) into one MP4.
|
|
2102
2165
|
- `orbit_video` — generate orbit clips around a subject and stitch them into one MP4.
|
|
@@ -2399,8 +2462,8 @@ VIDEO-SPECIFIC PARAMETERS:
|
|
|
2399
2462
|
lastFrameStrength?: number; // LTX-2.3 only (0-1)
|
|
2400
2463
|
trimEndFrame?: boolean;
|
|
2401
2464
|
controlNet?: VideoControlNetParams; // LTX-2.3 only
|
|
2402
|
-
upscaleResolution?: 1080 | 1440; //
|
|
2403
|
-
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
|
|
2404
2467
|
outputFormat?: 'mp4';
|
|
2405
2468
|
}
|
|
2406
2469
|
```
|
|
@@ -2662,7 +2725,7 @@ MiniMax H3 keyframe pricing: the first two keyframes are included; each extra ke
|
|
|
2662
2725
|
Quote MiniMax H3 two-stage output with the `_2stage` model id and the canvas
|
|
2663
2726
|
the job renders (672x384 for 720p, 960x544 for 1080p, 1344x768 for 2K).
|
|
2664
2727
|
|
|
2665
|
-
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
|
|
2666
2729
|
`frames` and `fps`, `steps: 1`, `numberOfMedia: 1`, and
|
|
2667
2730
|
`sourceWidth`/`sourceHeight` (see FLASHVSR VIDEO UPSCALING). The project itself
|
|
2668
2731
|
is charged from the verified uploaded source.
|
|
@@ -2851,7 +2914,7 @@ interface VideoProjectParams extends BaseProjectParams {
|
|
|
2851
2914
|
lastFrameStrength?: number;
|
|
2852
2915
|
outputFormat?: 'mp4';
|
|
2853
2916
|
controlNet?: VideoControlNetParams;
|
|
2854
|
-
upscaleResolution?: 1080 | 1440; //
|
|
2917
|
+
upscaleResolution?: 1080 | 1440 | 2160; // Video upscale only; 2160 is RelayVSR only
|
|
2855
2918
|
}
|
|
2856
2919
|
```
|
|
2857
2920
|
|
package/llms.txt
CHANGED
|
@@ -119,12 +119,26 @@ await sogni.account.login(username, password);
|
|
|
119
119
|
- **API key**: Pass `apiKey` to `createInstance()`. Auto-authenticates via WebSocket. No `login()` call needed. Most REST API calls (balance, profile, etc.) available. Sensitive operations (withdrawals, staking, 2FA) not available.
|
|
120
120
|
- **Username/password**: Call `sogni.account.login()` after creating instance. Full REST API access.
|
|
121
121
|
- **Restoring a deleted account at sign-in**: when the account can be restored, `login()` throws an `ApiError` with `payload.errorCode === ACCOUNT_RESTORABLE_ERROR_CODE` (196) and `details.deletedAt` (Unix seconds). After the person confirms, call `login()` again with the same arguments plus the option, e.g. `login(username, password, rememberMe, appSource, { restoreDeletedAccount: true })`, to restore it and sign in.
|
|
122
|
-
- **REST-only**: Pass `disableSocket: true`; `appId` is then optional and no artist WebSocket is opened. Use this for hosted chat, durable workflows, replay, announcements, and account REST APIs.
|
|
122
|
+
- **REST-only**: Pass `disableSocket: true`; `appId` is then optional and no artist WebSocket is opened. Use this for hosted chat, durable workflows, replay, announcements, the platform changelog, and account REST APIs.
|
|
123
123
|
|
|
124
124
|
Generate an `appId` once per application installation and persist it across restarts or page
|
|
125
125
|
reloads. Calling `randomUUID()` each time the process starts creates a different application
|
|
126
126
|
identity on every run.
|
|
127
127
|
|
|
128
|
+
### Platform Changelog (no sign-in)
|
|
129
|
+
|
|
130
|
+
`sogni.changelog` reads the public changelog of what changed for artists, developers and worker operators. It works on a client that is not signed in.
|
|
131
|
+
|
|
132
|
+
```javascript
|
|
133
|
+
const sogni = await SogniClient.createInstance({ disableSocket: true });
|
|
134
|
+
const { entries, nextCursor } = await sogni.changelog.list({ audience: 'developer', limit: 20 });
|
|
135
|
+
// Next page: the same filters plus { cursor: nextCursor }; nextCursor is null on the last page.
|
|
136
|
+
const entry = await sogni.changelog.get(entries[0].id); // unknown id: ApiError, status 404, payload.errorCode 204
|
|
137
|
+
const products = await sogni.changelog.products(); // [{ id, label, audiences }]
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
`list()` filters: `audience` (`artist` | `developer` | `worker`), `product` (ids from `products()`), `type` (`new` | `improved` | `fixed` | `release` | `deprecated` | `removed` | `notice`), each one value or an array; `since` (inclusive) / `until` (exclusive) as ISO 8601 dates or date-times with a zone; `actionRequired: true`; `limit` (default 50, max 100); `cursor`. Entries: `id`, `url`, `title`, `summary`, `bodyMarkdown`, `type`, `audiences`, `products`, `version`, `links`, `actionRequired`, `effectiveAt`, `publishedAt`, `updatedAt` (times are ISO strings). Poll no more often than every five minutes.
|
|
141
|
+
|
|
128
142
|
### Subscription Entitlements
|
|
129
143
|
|
|
130
144
|
Current queue explanations arrive through `sogni.projects.on('queueChanged', ({ projectId, waitingReason, jobWaitingReasons }) => ...)` and the same `Project` getters. Display `waitingReason.message` as plain text. The complete per-result list uses zero-based `jobIndex`, with optional `imgID` assigned later; removed entries clear old reasons. Prefer these current server details to the legacy worker-only `queueStatus` estimate. A partially running batch can still have queued results. Supported servers stream these details automatically; `{ projectQueue: false }` opts out, and a subscription reset disables the stream. Older servers provide no explanation. A waiting Unlimited plan project on Fast can also carry `Project.payAsYouGo` (`{ available: true, costInSpark, coveredByPremiumSpark }` or `null`, also on `queueChanged`); nothing is charged until the owner calls `sogni.projects.switchToPremiumSpark(projectId)`, which resolves `switched` (charged once), `refused` (this request costs nothing: a debit the server had already started is cancelled, and the balance can take a moment to show it, so say "won't be charged" rather than "weren't charged"; `reason` explains) or `unknown` (`timeout`, `not_found`, `session_changed`, `unrecognized_reply`: the payment may have been made). Asking again is safe and never charges twice: it answers `switched` if the earlier request switched, a refusal from the server if it costs nothing, or `unknown` again; while it stays unknown, check the member's Spark history or the creation's result rather than assuming either way. A `not_sent` refusal comes from the SDK itself: that request never left the client and says nothing about the earlier one.
|
|
@@ -563,6 +577,7 @@ MiniMax H3 generates video and 32kHz stereo audio jointly on Sogni's own GPUs. S
|
|
|
563
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 |
|
|
564
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 |
|
|
565
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 |
|
|
566
581
|
| `minimax-h3-fl2va-fp8_t2v_balanced` | Balanced text-to-video | none |
|
|
567
582
|
| `minimax-h3-fl2va-fp8_i2v_balanced` | Balanced endpoint-conditioned image-to-video | first frame, last frame, or both (at least one) |
|
|
568
583
|
| `minimax-h3-fl2va-fp8_flf2v_balanced` | Balanced first-and-last-frame video | both anchor images required |
|
|
@@ -570,13 +585,13 @@ MiniMax H3 generates video and 32kHz stereo audio jointly on Sogni's own GPUs. S
|
|
|
570
585
|
|
|
571
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.
|
|
572
587
|
|
|
573
|
-
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.
|
|
574
589
|
|
|
575
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.
|
|
576
591
|
|
|
577
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.
|
|
578
593
|
|
|
579
|
-
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.
|
|
580
595
|
|
|
581
596
|
Writing the prompt for keyframes:
|
|
582
597
|
|
|
@@ -747,6 +762,30 @@ const quote = await sogni.projects.estimateVideoCost({
|
|
|
747
762
|
|
|
748
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.
|
|
749
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
|
+
|
|
750
789
|
---
|
|
751
790
|
|
|
752
791
|
## 6. Audio Generation (MiniMax Music 3, ACE-Step 1.5)
|
|
@@ -955,7 +994,7 @@ Canonical hosted creative-tool surface (`SogniTools.all`, 27 tools, executed ser
|
|
|
955
994
|
|
|
956
995
|
- `generate_image`, `edit_image`, `generate_video`, `generate_music`, `generate_speech`, `sound_to_video`, `video_to_video` (generation)
|
|
957
996
|
- `restore_photo`, `apply_style`, `refine_result`, `change_angle` (image-edit adapters)
|
|
958
|
-
- `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)
|
|
959
998
|
- `animate_photo` (image-to-video with multi-source fan-out via `sourceImageIndices`; composed into one MP4 by default — opt out with `stitched: false`)
|
|
960
999
|
- `stitch_video`, `orbit_video`, `dance_montage` (server-side composition into a single MP4)
|
|
961
1000
|
- `extend_video`, `replace_video_segment` (append or replace bounded windows; replacements can trim source windows with `replacementStartSeconds` / `replacementEndSeconds`)
|
|
@@ -987,7 +1026,7 @@ Default generation models used by platform tools:
|
|
|
987
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 |
|
|
988
1027
|
| `sound_to_video` | ltx25-22b-int8_a2v_distilled / ltx25-22b-int8_ia2v_distilled / LTX 2.3 rollback | Audio-driven video generation |
|
|
989
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 |
|
|
990
|
-
| `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 |
|
|
991
1030
|
| `generate_music` | minimax_music3 | MiniMax Music 3; ACE-Step 1.5 when named |
|
|
992
1031
|
|
|
993
1032
|
---
|
|
@@ -1142,7 +1181,7 @@ and `referenceVideoDurationSeconds` for the assets the job will actually submit.
|
|
|
1142
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.
|
|
1143
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
|
|
1144
1183
|
(on the two-stage Reference ids, $0.08/s at every output class, 2K included);
|
|
1145
|
-
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
|
|
1146
1185
|
source's `frames` and `fps`, `steps: 1`, and `sourceWidth`/`sourceHeight`; the job itself is charged from the
|
|
1147
1186
|
verified uploaded source.
|
|
1148
1187
|
|
|
@@ -1171,7 +1210,7 @@ interface VideoProjectParams {
|
|
|
1171
1210
|
referenceImage?: File | Buffer | Blob;
|
|
1172
1211
|
referenceAudio?: File | Buffer | Blob;
|
|
1173
1212
|
referenceVideo?: File | Buffer | Blob;
|
|
1174
|
-
upscaleResolution?: 1080 | 1440; //
|
|
1213
|
+
upscaleResolution?: 1080 | 1440 | 2160; // Video upscale only: output short edge; 2160 is RelayVSR only
|
|
1175
1214
|
// ... see llms-full.txt for complete list
|
|
1176
1215
|
}
|
|
1177
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",
|
|
@@ -141,7 +143,8 @@
|
|
|
141
143
|
"test:large-data-uri": "npm run build && node scripts/check-large-data-uri.cjs",
|
|
142
144
|
"test:world-builds": "npm run build && node scripts/check-world-builds.cjs",
|
|
143
145
|
"test:gpt-image-26": "npm run build && node scripts/check-gpt-image-26.cjs",
|
|
144
|
-
"test:two-factor": "npm run build && node scripts/check-two-factor.cjs"
|
|
146
|
+
"test:two-factor": "npm run build && node scripts/check-two-factor.cjs",
|
|
147
|
+
"test:changelog": "npm run build && node scripts/check-changelog-api.cjs"
|
|
145
148
|
},
|
|
146
149
|
"repository": {
|
|
147
150
|
"type": "git",
|
|
@@ -155,7 +158,7 @@
|
|
|
155
158
|
"homepage": "https://github.com/Sogni-AI/sogni-client#readme",
|
|
156
159
|
"dependencies": {
|
|
157
160
|
"@simplewebauthn/browser": "14.0.0",
|
|
158
|
-
"@sogni-ai/sogni-protocol": "1.0.0-alpha.
|
|
161
|
+
"@sogni-ai/sogni-protocol": "1.0.0-alpha.62",
|
|
159
162
|
"@types/js-cookie": "^3.0.6",
|
|
160
163
|
"@types/lodash": "^4.17.23",
|
|
161
164
|
"@types/ws": "^8.5.13",
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import ApiGroup from '../ApiGroup.js';
|
|
2
|
+
import { ApiError, ApiResponse } from '../ApiClient/index.js';
|
|
3
|
+
import type {
|
|
4
|
+
ChangelogEntry,
|
|
5
|
+
ChangelogProduct,
|
|
6
|
+
ListChangelogOptions,
|
|
7
|
+
ListChangelogResult
|
|
8
|
+
} from './types.js';
|
|
9
|
+
|
|
10
|
+
function joined(value: string | string[] | undefined): string | undefined {
|
|
11
|
+
return Array.isArray(value) ? value.join(',') : value;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The public Sogni changelog (`/v1/changelog`): what changed on Sogni for
|
|
16
|
+
* artists, developers and worker operators.
|
|
17
|
+
*
|
|
18
|
+
* These reads need no sign-in, so they work on a client that is not
|
|
19
|
+
* authenticated. Responses may be up to five minutes old; poll no more often
|
|
20
|
+
* than that. A refused request throws `ApiError` with the API's status and
|
|
21
|
+
* message.
|
|
22
|
+
*
|
|
23
|
+
* Full contract: https://docs.sogni.ai/api-reference/changelog/
|
|
24
|
+
*/
|
|
25
|
+
class ChangelogApi extends ApiGroup {
|
|
26
|
+
/**
|
|
27
|
+
* One page of published entries, newest first. Pass the returned
|
|
28
|
+
* `nextCursor` as `cursor`, with the same filters, for the next page.
|
|
29
|
+
*/
|
|
30
|
+
async list(options: ListChangelogOptions = {}): Promise<ListChangelogResult> {
|
|
31
|
+
const res = await this.client.rest.get<ApiResponse<ListChangelogResult>>('/v1/changelog', {
|
|
32
|
+
audience: joined(options.audience),
|
|
33
|
+
product: joined(options.product),
|
|
34
|
+
type: joined(options.type),
|
|
35
|
+
since: options.since,
|
|
36
|
+
until: options.until,
|
|
37
|
+
actionRequired: options.actionRequired ? 'true' : undefined,
|
|
38
|
+
limit: options.limit,
|
|
39
|
+
cursor: options.cursor
|
|
40
|
+
});
|
|
41
|
+
return res.data;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* One published entry by its id. An id with no published entry throws
|
|
46
|
+
* `ApiError` with status `404` and `payload.errorCode` `204`.
|
|
47
|
+
*/
|
|
48
|
+
async get(id: string): Promise<ChangelogEntry> {
|
|
49
|
+
const res = await this.client.rest.get<ApiResponse<{ entry?: ChangelogEntry }>>(
|
|
50
|
+
`/v1/changelog/${encodeURIComponent(id)}`
|
|
51
|
+
);
|
|
52
|
+
const entry = res.data?.entry;
|
|
53
|
+
if (!entry) {
|
|
54
|
+
// An empty id requests the list itself, and `products` or `feed.json` the
|
|
55
|
+
// product list or the feed; none of them is an entry.
|
|
56
|
+
throw new ApiError(404, {
|
|
57
|
+
status: 'error',
|
|
58
|
+
message: 'Changelog entry not found',
|
|
59
|
+
errorCode: 204
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
return entry;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** The products entries can name, in display order. */
|
|
66
|
+
async products(): Promise<ChangelogProduct[]> {
|
|
67
|
+
const res =
|
|
68
|
+
await this.client.rest.get<ApiResponse<{ products: ChangelogProduct[] }>>(
|
|
69
|
+
'/v1/changelog/products'
|
|
70
|
+
);
|
|
71
|
+
return res.data.products;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export default ChangelogApi;
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/** Who a changelog entry is for. */
|
|
2
|
+
export type ChangelogAudience = 'artist' | 'developer' | 'worker';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The kind of change. Every entry has exactly one:
|
|
6
|
+
* - `new`: something you could not do before
|
|
7
|
+
* - `improved`: a change to something that already worked
|
|
8
|
+
* - `fixed`: a fix
|
|
9
|
+
* - `release`: a versioned release, such as a worker or SDK version
|
|
10
|
+
* - `deprecated`: still works, until `effectiveAt`
|
|
11
|
+
* - `removed`: no longer available
|
|
12
|
+
* - `notice`: anything else you should know
|
|
13
|
+
*/
|
|
14
|
+
export type ChangelogEntryType =
|
|
15
|
+
| 'new'
|
|
16
|
+
| 'improved'
|
|
17
|
+
| 'fixed'
|
|
18
|
+
| 'release'
|
|
19
|
+
| 'deprecated'
|
|
20
|
+
| 'removed'
|
|
21
|
+
| 'notice';
|
|
22
|
+
|
|
23
|
+
/** A page related to a changelog entry. */
|
|
24
|
+
export interface ChangelogLink {
|
|
25
|
+
label: string;
|
|
26
|
+
url: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** One published changelog entry. Times are ISO 8601 UTC strings. */
|
|
30
|
+
export interface ChangelogEntry {
|
|
31
|
+
/** Permanent identifier. It does not change once the entry is published. */
|
|
32
|
+
id: string;
|
|
33
|
+
/** The entry's page on sogni.ai. */
|
|
34
|
+
url: string;
|
|
35
|
+
title: string;
|
|
36
|
+
/** Short summary in plain text. */
|
|
37
|
+
summary: string;
|
|
38
|
+
/** The full text in Markdown. */
|
|
39
|
+
bodyMarkdown: string | null;
|
|
40
|
+
type: ChangelogEntryType;
|
|
41
|
+
audiences: ChangelogAudience[];
|
|
42
|
+
/** Product ids, as listed by `changelog.products()`. */
|
|
43
|
+
products: string[];
|
|
44
|
+
/** The product version the change shipped in. */
|
|
45
|
+
version: string | null;
|
|
46
|
+
links: ChangelogLink[];
|
|
47
|
+
/** `true` when you need to change something, such as for a model retirement. */
|
|
48
|
+
actionRequired: boolean;
|
|
49
|
+
/** When the change takes effect. For a deprecation or removal, the day the old behavior stops working. */
|
|
50
|
+
effectiveAt: string | null;
|
|
51
|
+
/** When the entry was published. Lists sort and filter on it. */
|
|
52
|
+
publishedAt: string;
|
|
53
|
+
/** When any public field of the entry last changed. */
|
|
54
|
+
updatedAt: string;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/** A product that changelog entries can name. */
|
|
58
|
+
export interface ChangelogProduct {
|
|
59
|
+
/** The id to use with the `product` filter. */
|
|
60
|
+
id: string;
|
|
61
|
+
/** Display name. */
|
|
62
|
+
label: string;
|
|
63
|
+
audiences: ChangelogAudience[];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Filters and paging for `changelog.list()`. Every field is optional. An entry
|
|
68
|
+
* must match every filter given; a filter given several values matches entries
|
|
69
|
+
* that have any of them (at most 20 values per filter).
|
|
70
|
+
*/
|
|
71
|
+
export interface ListChangelogOptions {
|
|
72
|
+
audience?: ChangelogAudience | ChangelogAudience[];
|
|
73
|
+
/** Product ids from `changelog.products()`. */
|
|
74
|
+
product?: string | string[];
|
|
75
|
+
type?: ChangelogEntryType | ChangelogEntryType[];
|
|
76
|
+
/**
|
|
77
|
+
* Entries published at or after this time: an ISO 8601 date (`'2026-11-01'`,
|
|
78
|
+
* read as midnight UTC) or a date-time with a zone (`'2026-11-01T17:00:00Z'`).
|
|
79
|
+
*/
|
|
80
|
+
since?: string;
|
|
81
|
+
/** Entries published before this time, in the same format as `since`. */
|
|
82
|
+
until?: string;
|
|
83
|
+
/** `true` lists only the entries you need to act on. */
|
|
84
|
+
actionRequired?: boolean;
|
|
85
|
+
/** Entries per page. The API defaults to 50 and returns at most 100. */
|
|
86
|
+
limit?: number;
|
|
87
|
+
/** The previous page's `nextCursor`. Send the same filters with it. */
|
|
88
|
+
cursor?: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** One page of changelog entries, newest first. */
|
|
92
|
+
export interface ListChangelogResult {
|
|
93
|
+
entries: ChangelogEntry[];
|
|
94
|
+
/** Pass as `cursor` to get the next page. `null` on the last page. */
|
|
95
|
+
nextCursor: string | null;
|
|
96
|
+
}
|