layer 1.0.74__tar.gz → 1.0.76__tar.gz

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.
Files changed (30) hide show
  1. {layer-1.0.74 → layer-1.0.76}/PKG-INFO +1 -1
  2. {layer-1.0.74 → layer-1.0.76}/pyproject.toml +1 -1
  3. {layer-1.0.74 → layer-1.0.76}/pyproject.toml.orig +1 -1
  4. {layer-1.0.74 → layer-1.0.76}/src/layer/_api/models.py +7 -7
  5. {layer-1.0.74 → layer-1.0.76}/README.md +0 -0
  6. {layer-1.0.74 → layer-1.0.76}/src/layer/__init__.py +0 -0
  7. {layer-1.0.74 → layer-1.0.76}/src/layer/__main__.py +0 -0
  8. {layer-1.0.74 → layer-1.0.76}/src/layer/_api/__init__.py +0 -0
  9. {layer-1.0.74 → layer-1.0.76}/src/layer/_api/client.py +0 -0
  10. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/__init__.py +0 -0
  11. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/auth_commands.py +0 -0
  12. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/base_model_commands.py +0 -0
  13. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/context.py +0 -0
  14. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/context_commands.py +0 -0
  15. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/generate_commands.py +0 -0
  16. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/main.py +0 -0
  17. {layer-1.0.74 → layer-1.0.76}/src/layer/_cli/output.py +0 -0
  18. {layer-1.0.74 → layer-1.0.76}/src/layer/auth.py +0 -0
  19. {layer-1.0.74 → layer-1.0.76}/src/layer/catalog.py +0 -0
  20. {layer-1.0.74 → layer-1.0.76}/src/layer/config.py +0 -0
  21. {layer-1.0.74 → layer-1.0.76}/src/layer/credentials.py +0 -0
  22. {layer-1.0.74 → layer-1.0.76}/src/layer/download.py +0 -0
  23. {layer-1.0.74 → layer-1.0.76}/src/layer/exit_codes.py +0 -0
  24. {layer-1.0.74 → layer-1.0.76}/src/layer/generate.py +0 -0
  25. {layer-1.0.74 → layer-1.0.76}/src/layer/oauth.py +0 -0
  26. {layer-1.0.74 → layer-1.0.76}/src/layer/params.py +0 -0
  27. {layer-1.0.74 → layer-1.0.76}/src/layer/sessions.py +0 -0
  28. {layer-1.0.74 → layer-1.0.76}/src/layer/sse.py +0 -0
  29. {layer-1.0.74 → layer-1.0.76}/src/layer/uploads.py +0 -0
  30. {layer-1.0.74 → layer-1.0.76}/src/layer/workspaces.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: layer
3
- Version: 1.0.74
3
+ Version: 1.0.76
4
4
  Summary: Command-line interface for Layer — AI asset generation for game studios.
5
5
  Keywords: layer,ai,generative,game-development,cli
6
6
  Author: Layer
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "layer"
3
- version = "1.0.74"
3
+ version = "1.0.76"
4
4
  description = "Command-line interface for Layer — AI asset generation for game studios."
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "layer"
3
- version = "1.0.74"
3
+ version = "1.0.76"
4
4
  description = "Command-line interface for Layer — AI asset generation for game studios."
5
5
  readme = "README.md"
6
6
  authors = [{ name = "Layer", email = "info@layer.ai" }]
@@ -820,7 +820,7 @@ class ForgeReferenceSetContribution(BaseModel):
820
820
  )
821
821
  palette_applied: bool | None = Field(
822
822
  False,
823
- description="True when the set's color palette was appended to the prompt.",
823
+ description="True when the set's palette went into the run's color palette (up to the model's color limit), or a palette passed with the request stood in for it.",
824
824
  title="Palette Applied",
825
825
  )
826
826
  prompt_fallback_applied: bool | None = Field(
@@ -3136,8 +3136,8 @@ class NineSliceMetadataView(BaseModel):
3136
3136
  """
3137
3137
  The insets a 9-slice draws a UI element by, in the image's own pixels in from each edge.
3138
3138
 
3139
- The corners are drawn at their own size, the edges stretch along their length, and the centre
3140
- stretches both ways.
3139
+ The corners are drawn at their own size, the edges repeat along their length, and the centre
3140
+ repeats both ways.
3141
3141
  """
3142
3142
 
3143
3143
  left: int = Field(..., description="Pixels in from the left edge.", title="Left")
@@ -4404,7 +4404,7 @@ class EstimateInferencePriceV2Request(BaseModel):
4404
4404
  )
4405
4405
  nine_slice: bool | None = Field(
4406
4406
  None,
4407
- description="Deliver the image as a 9-slice UI element (a button, frame or panel that stretches): after everything else the run does, the plain band through its middle is found on each axis, the stretched regions are cleaned so nothing smears, and the insets are recorded as the file's `nineSlice` metadata. An image with no such band is delivered as drawn, without insets. Image outputs only.",
4407
+ description="Deliver the image as a 9-slice UI element (a button, frame or panel that resizes): after everything else the run does, the plain band through its middle is found on each axis, the edges and centre are made to tile (painted texture kept, light evened out), and the insets are recorded as the file's `nineSlice` metadata. An image with no such band is delivered as drawn, without insets. Image outputs only.",
4408
4408
  title="Nine Slice",
4409
4409
  )
4410
4410
  parallax: ParallaxSplit | None = Field(
@@ -4413,7 +4413,7 @@ class EstimateInferencePriceV2Request(BaseModel):
4413
4413
  )
4414
4414
  color_palette: InferenceColorPalette | None = Field(
4415
4415
  None,
4416
- description="Colors the output should use: `colors`, each a `name` and a `#RRGGBB` `hex` (and an optional `role`), and optionally the `reference_set_id` they were picked from. The provider steers toward the hex values. Honored by the models whose capabilities report `max_palette_colors`, which is also the most colors a run takes; others ignore it.",
4416
+ description="Colors the output should use: `colors`, each a `name` and a `#RRGGBB` `hex` (and an optional `role`), and optionally the `reference_set_id` they were picked from. The provider steers toward the hex values on the models whose capabilities report `max_palette_colors`, which is also the most colors a run takes there. Other models whose prompt describes how the output looks get the colors added to a non-empty prompt; models whose prompt is spoken, set into the output as text, a query, or a description of sound or motion, and text and audio models, ignore it.",
4417
4417
  )
4418
4418
  expression: str | None = Field(
4419
4419
  None,
@@ -4995,7 +4995,7 @@ class ExecuteInferenceV2Request(BaseModel):
4995
4995
  )
4996
4996
  nine_slice: bool | None = Field(
4997
4997
  None,
4998
- description="Deliver the image as a 9-slice UI element (a button, frame or panel that stretches): after everything else the run does, the plain band through its middle is found on each axis, the stretched regions are cleaned so nothing smears, and the insets are recorded as the file's `nineSlice` metadata. An image with no such band is delivered as drawn, without insets. Image outputs only.",
4998
+ description="Deliver the image as a 9-slice UI element (a button, frame or panel that resizes): after everything else the run does, the plain band through its middle is found on each axis, the edges and centre are made to tile (painted texture kept, light evened out), and the insets are recorded as the file's `nineSlice` metadata. An image with no such band is delivered as drawn, without insets. Image outputs only.",
4999
4999
  title="Nine Slice",
5000
5000
  )
5001
5001
  parallax: ParallaxSplit | None = Field(
@@ -5004,7 +5004,7 @@ class ExecuteInferenceV2Request(BaseModel):
5004
5004
  )
5005
5005
  color_palette: InferenceColorPalette | None = Field(
5006
5006
  None,
5007
- description="Colors the output should use: `colors`, each a `name` and a `#RRGGBB` `hex` (and an optional `role`), and optionally the `reference_set_id` they were picked from. The provider steers toward the hex values. Honored by the models whose capabilities report `max_palette_colors`, which is also the most colors a run takes; others ignore it.",
5007
+ description="Colors the output should use: `colors`, each a `name` and a `#RRGGBB` `hex` (and an optional `role`), and optionally the `reference_set_id` they were picked from. The provider steers toward the hex values on the models whose capabilities report `max_palette_colors`, which is also the most colors a run takes there. Other models whose prompt describes how the output looks get the colors added to a non-empty prompt; models whose prompt is spoken, set into the output as text, a query, or a description of sound or motion, and text and audio models, ignore it.",
5008
5008
  )
5009
5009
  expression: str | None = Field(
5010
5010
  None,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes