layer 1.0.134__tar.gz → 1.0.136__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.
- {layer-1.0.134 → layer-1.0.136}/PKG-INFO +1 -1
- {layer-1.0.134 → layer-1.0.136}/pyproject.toml +1 -1
- {layer-1.0.134 → layer-1.0.136}/pyproject.toml.orig +1 -1
- {layer-1.0.134 → layer-1.0.136}/src/layer/_api/models.py +44 -4
- {layer-1.0.134 → layer-1.0.136}/README.md +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/__init__.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/__main__.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_api/__init__.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_api/client.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/__init__.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/auth_commands.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/base_model_commands.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/context.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/context_commands.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/generate_commands.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/main.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/_cli/output.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/auth.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/catalog.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/config.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/credentials.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/download.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/exit_codes.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/generate.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/oauth.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/params.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/sessions.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/sse.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/uploads.py +0 -0
- {layer-1.0.134 → layer-1.0.136}/src/layer/workspaces.py +0 -0
|
@@ -4332,12 +4332,12 @@ class EstimateInferenceToolPriceInput(BaseModel):
|
|
|
4332
4332
|
)
|
|
4333
4333
|
input: dict[str, Any] | None = Field(
|
|
4334
4334
|
None,
|
|
4335
|
-
description="The fields of the tool's schema on the model (GET .../inference-schema), with files by `file_id`. A field left out takes the model's default from the AI policy in force for the run, else its own default, and the tool sets the values it fixes.",
|
|
4335
|
+
description="The fields of the tool's schema on the model (GET .../inference-schema), with files by `file_id`. A field left out takes the model's default from the AI policy in force for the run, else its own default, and the tool sets the values it fixes. A run needs every field the schema requires; an estimate prices the form as it stands, so it may leave some of them out.",
|
|
4336
4336
|
title="Input",
|
|
4337
4337
|
)
|
|
4338
4338
|
reference_sets: list[InferenceReferenceSetInput] | None = Field(
|
|
4339
4339
|
[],
|
|
4340
|
-
description="Reference sets to apply, up to 25, from GET /v2/workspaces/{workspace_id}/reference-sets. Some models need one: an ElevenLabs voice for a voice change or speech, an animation preset for Tripo's animate. A run on such a model without one is refused with `REFERENCE_SET_REQUIRED
|
|
4340
|
+
description="Reference sets to apply, up to 25, from GET /v2/workspaces/{workspace_id}/reference-sets. Some models need one: an ElevenLabs voice for a voice change or speech, an animation preset for Tripo's animate. A run on such a model without one is refused with `REFERENCE_SET_REQUIRED`; an estimate prices it without one.",
|
|
4341
4341
|
max_length=25,
|
|
4342
4342
|
title="Reference Sets",
|
|
4343
4343
|
validate_default=True,
|
|
@@ -5216,12 +5216,12 @@ class RunInferenceToolInput(BaseModel):
|
|
|
5216
5216
|
)
|
|
5217
5217
|
input: dict[str, Any] | None = Field(
|
|
5218
5218
|
None,
|
|
5219
|
-
description="The fields of the tool's schema on the model (GET .../inference-schema), with files by `file_id`. A field left out takes the model's default from the AI policy in force for the run, else its own default, and the tool sets the values it fixes.",
|
|
5219
|
+
description="The fields of the tool's schema on the model (GET .../inference-schema), with files by `file_id`. A field left out takes the model's default from the AI policy in force for the run, else its own default, and the tool sets the values it fixes. A run needs every field the schema requires; an estimate prices the form as it stands, so it may leave some of them out.",
|
|
5220
5220
|
title="Input",
|
|
5221
5221
|
)
|
|
5222
5222
|
reference_sets: list[InferenceReferenceSetInput] | None = Field(
|
|
5223
5223
|
[],
|
|
5224
|
-
description="Reference sets to apply, up to 25, from GET /v2/workspaces/{workspace_id}/reference-sets. Some models need one: an ElevenLabs voice for a voice change or speech, an animation preset for Tripo's animate. A run on such a model without one is refused with `REFERENCE_SET_REQUIRED
|
|
5224
|
+
description="Reference sets to apply, up to 25, from GET /v2/workspaces/{workspace_id}/reference-sets. Some models need one: an ElevenLabs voice for a voice change or speech, an animation preset for Tripo's animate. A run on such a model without one is refused with `REFERENCE_SET_REQUIRED`; an estimate prices it without one.",
|
|
5225
5225
|
max_length=25,
|
|
5226
5226
|
title="Reference Sets",
|
|
5227
5227
|
validate_default=True,
|
|
@@ -6523,6 +6523,16 @@ class EstimateInferencePriceRequest(BaseModel):
|
|
|
6523
6523
|
None,
|
|
6524
6524
|
description="Adaptive face count in place of a face limit: ULTRA, HIGH, MEDIUM or LOW. Support varies by model.",
|
|
6525
6525
|
)
|
|
6526
|
+
photo_input: bool | None = Field(
|
|
6527
|
+
None,
|
|
6528
|
+
description="The input image is a photograph rather than a render, so the object is cropped looser. Support varies by model.",
|
|
6529
|
+
title="Photo Input",
|
|
6530
|
+
)
|
|
6531
|
+
mesh_resolution: int | None = Field(
|
|
6532
|
+
None,
|
|
6533
|
+
description="Grid the surface is built on along the longest side: 128, 256, 512, 768, 1024 or 1536. Support varies by model.",
|
|
6534
|
+
title="Mesh Resolution",
|
|
6535
|
+
)
|
|
6526
6536
|
preserve_uvs: bool | None = Field(
|
|
6527
6537
|
None,
|
|
6528
6538
|
description="Keep the mesh's own UV layout when retexturing. Support varies by model.",
|
|
@@ -6753,6 +6763,16 @@ class EstimateInferencePriceV2Request(BaseModel):
|
|
|
6753
6763
|
None,
|
|
6754
6764
|
description="Adaptive face count in place of a face limit: ULTRA, HIGH, MEDIUM or LOW. Support varies by model.",
|
|
6755
6765
|
)
|
|
6766
|
+
photo_input: bool | None = Field(
|
|
6767
|
+
None,
|
|
6768
|
+
description="The input image is a photograph rather than a render, so the object is cropped looser. Support varies by model.",
|
|
6769
|
+
title="Photo Input",
|
|
6770
|
+
)
|
|
6771
|
+
mesh_resolution: int | None = Field(
|
|
6772
|
+
None,
|
|
6773
|
+
description="Grid the surface is built on along the longest side: 128, 256, 512, 768, 1024 or 1536. Support varies by model.",
|
|
6774
|
+
title="Mesh Resolution",
|
|
6775
|
+
)
|
|
6756
6776
|
preserve_uvs: bool | None = Field(
|
|
6757
6777
|
None,
|
|
6758
6778
|
description="Keep the mesh's own UV layout when retexturing. Support varies by model.",
|
|
@@ -7186,6 +7206,16 @@ class ExecuteInferenceRequest(BaseModel):
|
|
|
7186
7206
|
None,
|
|
7187
7207
|
description="Adaptive face count in place of a face limit: ULTRA, HIGH, MEDIUM or LOW. Support varies by model.",
|
|
7188
7208
|
)
|
|
7209
|
+
photo_input: bool | None = Field(
|
|
7210
|
+
None,
|
|
7211
|
+
description="The input image is a photograph rather than a render, so the object is cropped looser. Support varies by model.",
|
|
7212
|
+
title="Photo Input",
|
|
7213
|
+
)
|
|
7214
|
+
mesh_resolution: int | None = Field(
|
|
7215
|
+
None,
|
|
7216
|
+
description="Grid the surface is built on along the longest side: 128, 256, 512, 768, 1024 or 1536. Support varies by model.",
|
|
7217
|
+
title="Mesh Resolution",
|
|
7218
|
+
)
|
|
7189
7219
|
preserve_uvs: bool | None = Field(
|
|
7190
7220
|
None,
|
|
7191
7221
|
description="Keep the mesh's own UV layout when retexturing. Support varies by model.",
|
|
@@ -7415,6 +7445,16 @@ class ExecuteInferenceV2Request(BaseModel):
|
|
|
7415
7445
|
None,
|
|
7416
7446
|
description="Adaptive face count in place of a face limit: ULTRA, HIGH, MEDIUM or LOW. Support varies by model.",
|
|
7417
7447
|
)
|
|
7448
|
+
photo_input: bool | None = Field(
|
|
7449
|
+
None,
|
|
7450
|
+
description="The input image is a photograph rather than a render, so the object is cropped looser. Support varies by model.",
|
|
7451
|
+
title="Photo Input",
|
|
7452
|
+
)
|
|
7453
|
+
mesh_resolution: int | None = Field(
|
|
7454
|
+
None,
|
|
7455
|
+
description="Grid the surface is built on along the longest side: 128, 256, 512, 768, 1024 or 1536. Support varies by model.",
|
|
7456
|
+
title="Mesh Resolution",
|
|
7457
|
+
)
|
|
7418
7458
|
preserve_uvs: bool | None = Field(
|
|
7419
7459
|
None,
|
|
7420
7460
|
description="Keep the mesh's own UV layout when retexturing. Support varies by model.",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|