@lumavox/server 0.48.0 → 0.49.1

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.
@@ -97,11 +97,20 @@ export type SkyboxStylePage = {
97
97
  };
98
98
  export type SkyboxStyle = {
99
99
  id: number;
100
+ /**
101
+ * Its name, as offered here.
102
+ */
100
103
  name: string;
104
+ /**
105
+ * The longest `prompt` it takes.
106
+ */
101
107
  max_prompt_chars: number | null;
108
+ /**
109
+ * The longest `negative_text` it takes.
110
+ */
102
111
  max_negative_chars: number | null;
103
112
  /**
104
- * Which of the provider's model generations it runs on.
113
+ * The provider's model it runs on: `4`, the only one offered.
105
114
  */
106
115
  model_version: string | null;
107
116
  /**
@@ -422,8 +431,18 @@ export type GenerationInfo = {
422
431
  start_frame: string | null;
423
432
  end_frame: string | null;
424
433
  negative_text: string | null;
434
+ /**
435
+ * The style a skybox ran with: the one asked for, or the default.
436
+ */
425
437
  style_id: number | null;
438
+ /**
439
+ * A skybox's `balance` or `detail`. Null otherwise.
440
+ */
441
+ quality: string | null;
426
442
  init_image: string | null;
443
+ /**
444
+ * A skybox's strength for `init_image`, on one made when it could be set. Null otherwise.
445
+ */
427
446
  init_strength: number | null;
428
447
  voice_id: string | null;
429
448
  /**
@@ -890,30 +909,30 @@ export type ProviderVoiceSettings = {
890
909
  };
891
910
  export type SkyboxRequest = {
892
911
  /**
893
- * The environment to build. Describe the whole surrounding — sky, ground, horizon and light — rather than a subject.
912
+ * The environment to build. Describe the whole surrounding — sky, ground, horizon and light — rather than a subject. At most the style's `max_prompt_chars`.
894
913
  */
895
914
  prompt: string;
896
915
  /**
897
- * What to keep out of it.
916
+ * What to keep out of it. At most the style's `max_negative_chars`.
898
917
  */
899
918
  negative_text?: string | null;
900
919
  /**
901
- * One of the provider's styles — fetch the current list from `GET /v1/skybox/styles`. Omit for their default.
920
+ * One of the styles `GET /v1/skybox/styles` lists: Sky Dome (156), Photorealistic (157), Digital Painting (158), Open World (155), Anime (154), Toon Cel (159). Omit for Photorealistic (157).
902
921
  */
903
922
  style_id?: number | null;
923
+ /**
924
+ * `balance`, about a minute, or `detail`, about two, with more detail — and twice the price.
925
+ */
926
+ quality?: 'balance' | 'detail';
904
927
  /**
905
928
  * Reuse a seed to get the same environment again. **Note this starts at 1, not 0** — the provider uses zero for random.
906
929
  */
907
930
  seed?: number | null;
908
931
  enhance_prompt?: boolean;
909
932
  /**
910
- * `ast_…` — an existing **equirectangular** image in your library to build from.
933
+ * `ast_…` — an existing **equirectangular** image in your library to build from: its shapes and depth guide the new one.
911
934
  */
912
935
  init_image?: string | null;
913
- /**
914
- * How much the init image influences the result: 0 ignores it, 0.97 is the provider's maximum. Only has an effect alongside `init_image`.
915
- */
916
- init_strength?: number;
917
936
  /**
918
937
  * `fld_…` — the folder in your asset library the finished file is filed under. Omit it for the root. A folder that is not yours is a 400, never a silent fall back to the root.
919
938
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.48.0",
3
+ "version": "0.49.1",
4
4
  "description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
5
5
  "license": "MIT",
6
6
  "type": "module",