@lumavox/server 0.48.0 → 0.49.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.
@@ -98,10 +98,16 @@ export type SkyboxStylePage = {
98
98
  export type SkyboxStyle = {
99
99
  id: number;
100
100
  name: string;
101
+ /**
102
+ * The longest `prompt` it takes.
103
+ */
101
104
  max_prompt_chars: number | null;
105
+ /**
106
+ * The longest `negative_text` it takes.
107
+ */
102
108
  max_negative_chars: number | null;
103
109
  /**
104
- * Which of the provider's model generations it runs on.
110
+ * The provider's model it runs on: `4`, the only one offered.
105
111
  */
106
112
  model_version: string | null;
107
113
  /**
@@ -422,8 +428,18 @@ export type GenerationInfo = {
422
428
  start_frame: string | null;
423
429
  end_frame: string | null;
424
430
  negative_text: string | null;
431
+ /**
432
+ * The style a skybox ran with: the one asked for, or the default.
433
+ */
425
434
  style_id: number | null;
435
+ /**
436
+ * A skybox's `balance` or `detail`. Null otherwise.
437
+ */
438
+ quality: string | null;
426
439
  init_image: string | null;
440
+ /**
441
+ * A skybox's strength for `init_image`, on one made when it could be set. Null otherwise.
442
+ */
427
443
  init_strength: number | null;
428
444
  voice_id: string | null;
429
445
  /**
@@ -890,30 +906,30 @@ export type ProviderVoiceSettings = {
890
906
  };
891
907
  export type SkyboxRequest = {
892
908
  /**
893
- * The environment to build. Describe the whole surrounding — sky, ground, horizon and light — rather than a subject.
909
+ * 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
910
  */
895
911
  prompt: string;
896
912
  /**
897
- * What to keep out of it.
913
+ * What to keep out of it. At most the style's `max_negative_chars`.
898
914
  */
899
915
  negative_text?: string | null;
900
916
  /**
901
- * One of the provider's styles — fetch the current list from `GET /v1/skybox/styles`. Omit for their default.
917
+ * One of the styles `GET /v1/skybox/styles` lists — fetch it rather than hard-coding ids. Omit for Photorealistic (157).
902
918
  */
903
919
  style_id?: number | null;
920
+ /**
921
+ * `balance`, about a minute, or `detail`, about two, with more detail — and twice the price.
922
+ */
923
+ quality?: 'balance' | 'detail';
904
924
  /**
905
925
  * Reuse a seed to get the same environment again. **Note this starts at 1, not 0** — the provider uses zero for random.
906
926
  */
907
927
  seed?: number | null;
908
928
  enhance_prompt?: boolean;
909
929
  /**
910
- * `ast_…` — an existing **equirectangular** image in your library to build from.
930
+ * `ast_…` — an existing **equirectangular** image in your library to build from: its shapes and depth guide the new one.
911
931
  */
912
932
  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
933
  /**
918
934
  * `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
935
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
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",