@layer_ai/sdk 1.0.74 → 1.0.87
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/README.md +3 -3
- package/dist/generated/types.d.ts +519 -55
- package/dist/resources/base-models.d.ts +2 -2
- package/dist/resources/base-models.js +2 -2
- package/dist/resources/inferences.d.ts +1 -1
- package/dist/resources/inferences.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,10 +81,10 @@ await layer.inferences.generate({
|
|
|
81
81
|
});
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
## Browse the
|
|
84
|
+
## Browse the catalog
|
|
85
85
|
|
|
86
86
|
Which models a workspace can run depends on its plan and its policy, so read the
|
|
87
|
-
|
|
87
|
+
catalog rather than hard-coding ids:
|
|
88
88
|
|
|
89
89
|
```ts
|
|
90
90
|
for await (const model of layer.baseModels.listAll({ modality: "video" })) {
|
|
@@ -139,7 +139,7 @@ so a retried generation is replayed rather than run, and paid for, twice.
|
|
|
139
139
|
| Namespace | What it reaches |
|
|
140
140
|
| ---------------------- | ------------------------------------------------------- |
|
|
141
141
|
| `layer.inferences` | Generation: estimate, create, wait, cancel |
|
|
142
|
-
| `layer.baseModels` | The model
|
|
142
|
+
| `layer.baseModels` | The model catalog, defaults, and per-model schemas |
|
|
143
143
|
| `layer.referenceSets` | Trained subjects, styles, and characters |
|
|
144
144
|
| `layer.trainingRuns` | Training a reference set, and the model it produces |
|
|
145
145
|
| `layer.files` | Uploads and per-file quality scores |
|
|
@@ -11,9 +11,115 @@ export interface AddGroupMemberBody {
|
|
|
11
11
|
user_id?: string | null;
|
|
12
12
|
}
|
|
13
13
|
export interface AddProjectMembersBody {
|
|
14
|
-
/**
|
|
14
|
+
/** IDs of workspace members to add. All must already be active workspace members. */
|
|
15
15
|
user_ids: Array<string>;
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* The AI controls one scope sets. Anything absent is inherited from the less specific scopes.
|
|
19
|
+
*
|
|
20
|
+
* Every control is a setting, or a map of settings keyed by what it controls, so each value is
|
|
21
|
+
* inherited, overridden and locked on its own: a group that turns one model on leaves every other
|
|
22
|
+
* model to the workspace.
|
|
23
|
+
*/
|
|
24
|
+
export interface AiPolicy {
|
|
25
|
+
agent_enabled?: Setting_bool_ | null;
|
|
26
|
+
agents?: Record<string, Setting_bool_>;
|
|
27
|
+
agent_confirm_above_cu?: Setting_Annotated_float__Ge__ | null;
|
|
28
|
+
modalities?: Record<string, Setting_bool_>;
|
|
29
|
+
new_models_enabled?: Setting_bool_ | null;
|
|
30
|
+
models?: Record<string, Setting_bool_>;
|
|
31
|
+
model_defaults?: Record<string, Record<string, Setting_JsonValue_>>;
|
|
32
|
+
guardrails?: Record<string, Setting_bool_>;
|
|
33
|
+
output_scoring?: Record<string, Setting_bool_>;
|
|
34
|
+
nsfw_tolerance?: Setting_Annotated_int__FieldInfo_annotation_NoneType__required_True__metadata__Ge_ge_1___Le_le_6_____ | null;
|
|
35
|
+
reference_set_sharing_enabled?: Setting_bool_ | null;
|
|
36
|
+
workflow_sharing_enabled?: Setting_bool_ | null;
|
|
37
|
+
usage_caps?: Record<string, Setting_Union_UsageCap__NoneType__>;
|
|
38
|
+
}
|
|
39
|
+
export interface AiPolicyOutput {
|
|
40
|
+
/** What the policy is attached to. */
|
|
41
|
+
scope: AiPolicyScope;
|
|
42
|
+
/** What the scope sets itself, each value as {value, locked}. Anything absent is inherited. */
|
|
43
|
+
policy: AiPolicy;
|
|
44
|
+
/** What the scope inherits from the less specific scopes, each value as {value, source}. A value with no source is the platform default. */
|
|
45
|
+
inherited: EffectiveAiPolicy;
|
|
46
|
+
/** When the policy was last written; null if it sets nothing. */
|
|
47
|
+
updated_at: string | null;
|
|
48
|
+
/** Who last wrote the policy, when known. */
|
|
49
|
+
updated_by_id: string | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A change to the AI controls one scope sets, as a JSON merge patch (RFC 7396) of its policy.
|
|
53
|
+
*
|
|
54
|
+
* A control or key the patch names is set; one it names as null is removed, so the scope inherits
|
|
55
|
+
* it again; anything it leaves out stays as it is. A setting is one value: naming it replaces both
|
|
56
|
+
* its value and its lock. Guardrails and output scoring belong to the services that own them, and
|
|
57
|
+
* naming one is refused. Usage caps take workspace billing admin as well.
|
|
58
|
+
*/
|
|
59
|
+
export interface AiPolicyPatch {
|
|
60
|
+
agent_enabled?: Setting_bool_ | null;
|
|
61
|
+
agents?: Record<string, Setting_bool_ | null> | null;
|
|
62
|
+
agent_confirm_above_cu?: Setting_Annotated_float__Ge__ | null;
|
|
63
|
+
modalities?: Record<string, Setting_bool_ | null> | null;
|
|
64
|
+
new_models_enabled?: Setting_bool_ | null;
|
|
65
|
+
models?: Record<string, Setting_bool_ | null> | null;
|
|
66
|
+
model_defaults?: Record<string, Record<string, Setting_JsonValue_ | null> | null> | null;
|
|
67
|
+
nsfw_tolerance?: Setting_Annotated_int__FieldInfo_annotation_NoneType__required_True__metadata__Ge_ge_1___Le_le_6_____ | null;
|
|
68
|
+
reference_set_sharing_enabled?: Setting_bool_ | null;
|
|
69
|
+
workflow_sharing_enabled?: Setting_bool_ | null;
|
|
70
|
+
usage_caps?: Record<string, Setting_Union_UsageCap__NoneType__ | null> | null;
|
|
71
|
+
}
|
|
72
|
+
/** A stored policy: the scope it is attached to, what it sets, and its last write. */
|
|
73
|
+
export interface AiPolicyRecord {
|
|
74
|
+
scope: AiPolicyScope;
|
|
75
|
+
policy: AiPolicy;
|
|
76
|
+
updated_at: string;
|
|
77
|
+
updated_by_id: string | null;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Everything a scope sets itself, replacing what it set before. Leave a control out to inherit it.
|
|
81
|
+
*
|
|
82
|
+
* Guardrails, output scoring and usage caps are not replaced: a copy of them sent back from a read
|
|
83
|
+
* is ignored, and what is stored for them is kept. Set usage caps with the PATCH endpoint or the
|
|
84
|
+
* usage-limit endpoints.
|
|
85
|
+
*/
|
|
86
|
+
export interface AiPolicyReplacement {
|
|
87
|
+
/** The Layer agent as a whole. */
|
|
88
|
+
agent_enabled?: Setting_bool_ | null;
|
|
89
|
+
/** Each subagent on or off, by the principal it acts as. */
|
|
90
|
+
agents?: Record<string, Setting_bool_>;
|
|
91
|
+
/** The Creative Units above which the agent asks before running a job. */
|
|
92
|
+
agent_confirm_above_cu?: Setting_Annotated_float__Ge__ | null;
|
|
93
|
+
/** Each modality on or off. */
|
|
94
|
+
modalities?: Record<string, Setting_bool_>;
|
|
95
|
+
/** Whether a model `models` does not name may run: true makes `models` a deny list, false an allow list. */
|
|
96
|
+
new_models_enabled?: Setting_bool_ | null;
|
|
97
|
+
/** Each base model on or off. */
|
|
98
|
+
models?: Record<string, Setting_bool_>;
|
|
99
|
+
/** Parameter values a generation on the model starts from, by parameter name. */
|
|
100
|
+
model_defaults?: Record<string, Record<string, Setting_JsonValue_>>;
|
|
101
|
+
/** How much NSFW content generations may produce: 1 is the strictest, 6 the most permissive. */
|
|
102
|
+
nsfw_tolerance?: Setting_Annotated_int__FieldInfo_annotation_NoneType__required_True__metadata__Ge_ge_1___Le_le_6_____ | null;
|
|
103
|
+
/** Whether the workspace's reference sets may be shared beyond it. */
|
|
104
|
+
reference_set_sharing_enabled?: Setting_bool_ | null;
|
|
105
|
+
/** Whether the workspace's workflows may be shared beyond it. */
|
|
106
|
+
workflow_sharing_enabled?: Setting_bool_ | null;
|
|
107
|
+
}
|
|
108
|
+
/** Where a policy is attached: a workspace, or a project, group or member inside one. */
|
|
109
|
+
export interface AiPolicyScope {
|
|
110
|
+
kind: AiPolicyScopeKind;
|
|
111
|
+
workspace_id: string;
|
|
112
|
+
project_id?: string | null;
|
|
113
|
+
group_id?: string | null;
|
|
114
|
+
principal_id?: string | null;
|
|
115
|
+
}
|
|
116
|
+
/** What an AI policy is attached to, from least to most specific. */
|
|
117
|
+
export type AiPolicyScopeKind = "workspace" | "project" | "group" | "member";
|
|
118
|
+
/** The policy a resolved value comes from. */
|
|
119
|
+
export interface AiPolicySource {
|
|
120
|
+
scope: AiPolicyScope;
|
|
121
|
+
locked: boolean;
|
|
122
|
+
}
|
|
17
123
|
/** Which boundary of the source clip a section's times are measured from. */
|
|
18
124
|
export type AudioAnchor = "START" | "END";
|
|
19
125
|
/**
|
|
@@ -91,7 +197,7 @@ export interface AutoDeleteRuleIO {
|
|
|
91
197
|
keep_pinned?: boolean;
|
|
92
198
|
}
|
|
93
199
|
export interface AutoDeleteRunOutput {
|
|
94
|
-
/**
|
|
200
|
+
/** ID of the run. */
|
|
95
201
|
run_id: string;
|
|
96
202
|
/** Whether the nightly schedule or a person started it. */
|
|
97
203
|
trigger: AutoDeleteTrigger;
|
|
@@ -195,9 +301,9 @@ export interface BaseModelCapabilitiesREST {
|
|
|
195
301
|
subtitle_presets?: Array<string>;
|
|
196
302
|
/** The `subtitle_presets` that animate word by word; they bill at a higher rate than the rest. */
|
|
197
303
|
subtitle_dynamic_presets?: Array<string>;
|
|
198
|
-
/** Takes the caption text
|
|
304
|
+
/** Takes the caption text color as `subtitle_color`. */
|
|
199
305
|
subtitle_primary_color?: boolean;
|
|
200
|
-
/** Takes the
|
|
306
|
+
/** Takes the color of the words it emphasizes as `subtitle_secondary_color`. */
|
|
201
307
|
subtitle_secondary_color?: boolean;
|
|
202
308
|
/** Takes the captions' vertical position as `subtitle_alignment`. */
|
|
203
309
|
subtitle_alignment?: boolean;
|
|
@@ -244,6 +350,7 @@ export interface BaseModelDetail {
|
|
|
244
350
|
/** Supported inputs, sizes, and generation features. */
|
|
245
351
|
capabilities: BaseModelCapabilitiesREST;
|
|
246
352
|
}
|
|
353
|
+
export type BaseModelId = "gpt-5.2" | "gpt-5.4" | "gpt-5.4-nano" | "gpt-5.4-mini" | "gpt-5.4-pro" | "gpt-5.5" | "gpt-5.5-pro" | "gemini-3-flash-lite" | "gemini-3.5-flash" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-opus-4-7" | "claude-opus-4-7-fast" | "claude-fable-5" | "claude-fable-5-1" | "grok-4.20" | "deepseek-v3" | "deepseek-v4-pro" | "deepseek-v4-flash" | "mistral-medium-3.5" | "llama-4-maverick" | "qwen-3.7-max" | "qwen-3.8-max" | "kimi-k2.6" | "mureka-lyrics" | "kimi-k3" | "gpt-5.6-sol" | "gpt-5.6-terra" | "gpt-5.6-luna" | "gemini-3.6-flash" | "claude-opus-5" | "claude-opus-4-8" | "claude-sonnet-5" | "grok-4.5" | "jev-1.13" | "glm-5.2" | "muse-spark-1.1" | "muse-spark-1.2" | "gemini-3.7-flash" | "gemini-3.8-flash" | "gpt-6-astra" | "gpt-6-astra-pro" | "muse-spark-1.3" | "grok-4.6" | "glm-5.3" | "glm-5.3-flash" | "qwen-3.8-flash" | "deepseek-v4.1-flash" | "gpt-6-sol" | "gpt-6-sol-pro" | "gpt-6-luna" | "gpt-6-luna-pro" | "gpt-6.1-terra" | "gpt-6-luna-decisions" | "claude-opus-5.5" | "grok-4.7" | "glm-5.3-flashx" | "qwen-3.8-omni-flash" | "claude-haiku-5.5" | "sdxl" | "sdxl-turbo" | "sd3" | "fooocus" | "bria21" | "bria22-fast" | "bria23" | "bria-fibo-2" | "flux-schnell" | "flux" | "flux-dev-srpo" | "flux-dev-krea" | "flux-pro" | "flux-1-1-pro" | "flux-1-1-pro-ultra" | "flux-pro-vto" | "flux-kontext-dev" | "flux-kontext-pro" | "flux-kontext-max" | "flux-2-flex" | "flux-2-dev" | "flux-2-pro" | "flux-2-flex-edit" | "flux-2-dev-edit" | "flux-2-pro-edit" | "flux-2-max" | "flux-2-max-edit" | "flux-2-klein-4b" | "flux-2-klein-9b" | "flux-2-klein-4b-edit" | "flux-2-klein-9b-edit" | "flux-2-klein-realtime" | "flux-3-image" | "flux-3-klein-base" | "flux-3-klein-base-edit" | "flux-3-klein" | "z-image-turbo" | "krea-2-turbo" | "krea-2-large" | "krea-3-realtime" | "krea-3" | "hidream-o1-image" | "hidream-o1-image-dev" | "dall-e" | "gpt-image-1" | "gpt-image-1.5" | "gpt-image-2" | "gpt-image-2.5-flare" | "gpt-image-2.5-sunburst" | "imagen-2" | "imagen-3" | "imagen-3-fast" | "imagen-4" | "imagen-4-fast" | "imagen-4-ultra" | "gemini-2.0-flash-preview-image-generation" | "gemini-2.5-flash-image" | "gemini-2.5-flash-image-edit" | "gemini-3-pro-image" | "gemini-3-pro-image-edit" | "gemini-3.1-flash-image" | "gemini-3.1-flash-image-edit" | "gemini-3.1-flash-lite-image" | "gemini-3.1-flash-lite-image-edit" | "nano-banana-2.1" | "google-virtual-try-on" | "qwen-image" | "qwen-image-edit" | "qwen-image-edit-2509" | "qwen-image-layered" | "qwen-image-edit-2511" | "qwen-image-edit-2511-multiple-angles" | "qwen-image-2512" | "qwen-image-2" | "qwen-image-2-pro" | "qwen-image-2-edit" | "qwen-image-2-pro-edit" | "qwen-image-2.1" | "qwen-image-2.1-edit" | "grok-imagine-image" | "grok-imagine-image-edit" | "grok-imagine-image-2.0" | "seedream-4" | "seedream-4.5" | "seedream-5-lite" | "seedream-5-lite-edit" | "seedream-5-pro" | "seedream-5-pro-edit" | "seedream-5-pro-layerize" | "seedream-5-flash" | "seedream-5-flash-layerize" | "patina" | "patina-tileable" | "luma-uni-1" | "luma-uni-1-max" | "recraft-v3" | "recraft-v4" | "recraft-v4-pro" | "recraft-v4-vector" | "recraft-v4-pro-vector" | "ideogram-v4" | "ideogram-v4.5" | "ideogram-vector" | "recraft-v4.1" | "recraft-v4.1-pro" | "recraft-v4.1-pro-vector" | "recraft-v4.1-vector" | "step1x-edit" | "mai-image-2.5" | "mai-image-2.5-pro" | "muse-image" | "reve-2" | "reve-2-remix" | "reve-2.1" | "reve-2.1-remix" | "pruna-p-image" | "clarity-upscaler" | "esrgan-upscaler" | "pruna-p-image-upscale" | "topaz-enhance-upscaler" | "topaz-enhance-generative-upscaler" | "topaz-standard-v2-upscale-image" | "topaz-high-fidelity-v3-upscale-image" | "topaz-low-resolution-v2-upscale-image" | "topaz-cgi-upscale-image" | "topaz-text-refine-upscale-image" | "topaz-wonder-3.5-upscale-image" | "topaz-redefine-upscale-image" | "topaz-recover-3-upscale-image" | "topaz-standard-max-upscale-image" | "topaz-recovery-v2-upscale-image" | "topaz-bloom-2-upscale-image" | "topaz-bloom-realism-upscale-image" | "topaz-transparent-upscale-image" | "seed-vr-upscale-image" | "recraft-upscale-crisp" | "recraft-upscale-creative" | "topaz-normal-denoise-image" | "topaz-strong-denoise-image" | "topaz-extreme-denoise-image" | "topaz-denoise-max-denoise-image" | "topaz-recover-3-restore-image" | "topaz-dust-scratch-v2-restore-image" | "bria-fibo-edit-restore-image" | "telestyle-v2" | "bria-fibo-edit-colorize-image" | "image2pixel-pixelate-image" | "image-apps-v2-expression-change" | "image-editing-expression-change" | "finegrain-erase-image" | "ideogram-erase-image" | "fal-object-removal-erase-image" | "bria-erase-image" | "bria-fibo-edit-rewrite-text" | "image-editing-text-removal" | "ideogram-v3-layerize-text" | "veo-2" | "veo-3" | "veo-3-fast" | "veo-3.1" | "veo-3.1-fast" | "veo-3.1-lite" | "veo-3.1-reference" | "veo-3.1-fast-reference" | "ai-avatar" | "omnihuman" | "omnihuman-v1.5" | "omnihuman-v2" | "veed-lipsync-v2" | "sync-lipsync-v3" | "sync-lipsync-v2-pro" | "latentsync" | "sync-lipsync-v3-image-to-video" | "minimax" | "minimax-live" | "minimax-hailuo-2-standard" | "minimax-hailuo-2-pro" | "minimax-hailuo-2.3-standard" | "minimax-hailuo-2.3-pro" | "minimax-hailuo-2.3-fast" | "minimax-h3" | "minimax-h3-reference" | "minimax-h3-max" | "minimax-h3-max-reference" | "minimax-h3-max-turbo" | "minimax-h3-max-lip-sync" | "minimax-h3-max-recast" | "minimax-h3-max-reframe" | "minimax-h3-max-relight" | "minimax-h3-max-extend" | "minimax-h3-max-insert" | "minimax-h3-max-3d-to-video" | "heygen-video" | "heygen-video-reference" | "hunyuan" | "hunyuan-video-foley" | "hunyuan-video-1.5" | "kling-v15-pro" | "kling-v16-pro" | "kling-v20-master" | "kling-v21-master" | "kling-v21-pro" | "kling-v2.5-turbo-pro" | "kling-v2.6-pro" | "kling-o1" | "kling-o1-reference" | "kling-o1-edit" | "kling-o3-pro" | "kling-o3-pro-edit" | "kling-o3-standard" | "kling-o3-standard-edit" | "kling-v3-pro" | "kling-v3-standard" | "kling-v2.6-pro-motion-control" | "kling-v2.6-standard-motion-control" | "kling-v3-pro-motion-control" | "kling-v3-standard-motion-control" | "kling-v3-4k" | "kling-o3-4k" | "kling-o3-4k-reference" | "kling-v4" | "kling-v4-video-edit" | "kling-v4-flash" | "kling-v4-flash-reference" | "kling-image-o3" | "kling-image-v3" | "wan-21" | "wan-22" | "wan-25" | "wan-2.6" | "wan-3.0" | "wan-3.0-reference" | "wan-2.7-pro" | "wan-2.7-pro-edit" | "happy-horse" | "happy-horse-reference" | "happy-horse-edit" | "happy-horse-1.1" | "gemini-omni-flash" | "gemini-omni-flash-edit" | "gemini-omni-flash-reference" | "gemini-omni-flash-1.1" | "gemini-omni-flash-1.1-edit" | "gemini-omni-flash-1.1-reference" | "sadtalker" | "framepack" | "higgsfield-lite" | "higgsfield-preview" | "higgsfield-turbo" | "higgsfield-soul-2" | "higgsfield-soul-cinema" | "higgsfield-genjutsu-motion-transfer" | "higgsfield-genjutsu-object-swap" | "worldlabs-marble-1.0-draft" | "worldlabs-marble-1.1" | "worldlabs-marble-1.1-plus" | "worldlabs-marble-1.1-draft-complete" | "triposplat" | "pruna-p-video" | "pruna-p-video-2" | "pruna-p-video-2-pro" | "pruna-p-video-avatar" | "pruna-p-video-avatar-tts" | "pruna-p-video-edit" | "pruna-p-video-animate" | "pruna-p-video-replace" | "magi-distilled" | "seedance-v1-lite" | "seedance" | "seedance-v1.5-pro" | "seedance-v2" | "seedance-v2-reference" | "seedance-v2-fast" | "seedance-v2-fast-reference" | "seedance-v2.5" | "seedance-v2.5-reference" | "seedance-v2.5-draft-complete" | "seedance-v2-us" | "seedance-v2.5-us" | "seedance-v2.5-us-draft-complete" | "vidu-q3-pro" | "pixverse-v5" | "pixverse-v5.5" | "pixverse-v5.5-fast" | "pixverse-v6" | "pixverse-vibemv" | "mureka-lyrics-video" | "pika-2.5" | "ray-2" | "ray-2-flash" | "ray-3-2" | "sora-2" | "sora-2-pro" | "ltx-v2-fast" | "ltx-v2-pro" | "ltx-v2.3" | "ltx-v2.3-fast" | "ltx-v2.3-22b" | "ltx-v2.3-quality-outpaint" | "ltx-v2.5-fast" | "ltx-v2.5-pro" | "ltx-v2.5-fast-audio" | "ltx-v2.5-pro-audio" | "kandinsky-6-lite" | "flux-3" | "flux-3-keyframes" | "flux-3-extend" | "flux-3-edit" | "flux-3-draft-enhance" | "flux-3-max" | "flux-3-max-keyframes" | "grok-imagine-video" | "grok-imagine-video-1.5" | "grok-imagine-video-1.5-lite" | "grok-imagine-video-edit" | "grok-imagine-video-extend" | "runway-gen4-turbo" | "runway-gen4.5" | "runway-gen4-aleph" | "runway-aleph2" | "video-upscaler-esrgan" | "video-upscaler-topaz" | "topaz-proteus-upscale-video" | "topaz-proteus-natural-upscale-video" | "topaz-iris-upscale-video" | "topaz-dione-dv-upscale-video" | "topaz-artemis-high-quality-upscale-video" | "topaz-gaia-hq-upscale-video" | "topaz-gaia-cg-upscale-video" | "topaz-gaia-2-upscale-video" | "topaz-rhea-upscale-video" | "topaz-theia-fine-tune-detail-upscale-video" | "topaz-starlight-precise-2.6-upscale-video" | "topaz-starlight-hq-upscale-video" | "topaz-starlight-mini-upscale-video" | "topaz-starlight-sharp-upscale-video" | "topaz-starlight-fast-2-upscale-video" | "topaz-astra-2-upscale-video" | "seed-vr-upscale-video" | "bria-video-increase-resolution" | "flux-video-upscale" | "flux-video-upscale-creative" | "topaz-apollo-interpolate-video" | "topaz-chronos-interpolate-video" | "topaz-aion-interpolate-video" | "topaz-nyx-denoise-video" | "topaz-nyx-fast-denoise-video" | "topaz-nyx-xl-denoise-video" | "topaz-nyx-hf-denoise-video" | "topaz-themis-2-deblur-video" | "topaz-sdr-to-hdr-video" | "ffmpeg-merge-videos" | "ffmpeg-extract-frame" | "auto-subtitle" | "auto-caption" | "veed-subtitles" | "remotion-video-timeline" | "video-as-code-render" | "recraft-vectorize-image" | "ideogram-vectorize" | "star-vector" | "fal-image-to-svg" | "birefnet-v2" | "ideogram-remove-background" | "pixelcut-background-removal" | "bria-video-background-removal" | "bria-video-background-removal-v3" | "bria-video-green-screen" | "void-video-inpainting" | "lightricks-ltx-v2-3-quality-clean-plate" | "elevenlabs-dubbing" | "heygen-translate-precision" | "heygen-translate-speed" | "decart-lucy-restyle" | "decart-lucy-edit-pro" | "id-v2v" | "pixelcut-video-background-removal" | "sam-3-1-image" | "sam-3-1-video" | "tripo-2.0" | "tripo-2.5" | "tripo-3.0" | "tripo-3.1" | "tripo-p1" | "tripo-p2" | "tripo-turbo-1.0" | "tripo-rig" | "tripo-animate" | "tripo-retarget" | "tripo-segment" | "tripo-remesh" | "tripo-retopology-v3" | "tripo-smart-uv" | "tripo-retexture" | "tripo-convert" | "rodin" | "rodin-bang" | "rodin-gen-2" | "rodin-gen-2-5" | "trellis" | "trellis-2" | "hunyuan-3d-v2" | "hunyuan-3d-v2-mini" | "hunyuan-3d-3.0" | "hunyuan-3d-v3.1-pro" | "hunyuan-3d-v3.1-fast" | "hunyuan-3d-v3.1-part" | "hunyuan-3d-v3.1-remesh" | "hunyuan-3d-uv-unwrap" | "shutterstock" | "meshy-v6-preview" | "meshy-v6" | "meshy-v7" | "meshy-v7.1" | "meshy-t2" | "meshy-t2.5" | "meshy-v6-draft-complete" | "meshy-v7.1-draft-complete" | "meshy-t2-draft-complete" | "meshy-t2.5-draft-complete" | "bytedance-seed-3d" | "hi-3d" | "hi-3d-v3" | "hi-3d-texture" | "hi-3d-parts" | "sam-3-3d-objects" | "sam-3-3d-body" | "sam-3-3d-align" | "anything-world-animate" | "anything-world-rig" | "uthana-animate" | "uthana-auto-rig-character" | "meshy-v5-retexture" | "meshy-v6-lite-retexture" | "meshy-v6-retexture" | "meshy-v7-retexture" | "meshy-n1-retexture" | "meshy-v5-remesh" | "meshy-remesh" | "meshy-rigging" | "meshy-uv-unwrap" | "meshy-auto-split" | "stable-audio" | "stable-audio-25" | "stable-audio-3-medium" | "stable-audio-3-small-music" | "stable-audio-3-small-sfx" | "gemini-tts" | "gemini-3.1-flash-tts" | "gemini-3.8-flash-tts" | "gemini-3.8-flash-lite-tts" | "ace-step" | "minimax-music-v2" | "minimax-music-v2.5" | "minimax-music-v2.6" | "minimax-music-3" | "eleven-labs-music" | "cassetteai-music" | "lyria-2" | "lyria-3" | "lyria-3-pro" | "lyria-3-5" | "sonilo-v1-1-text-to-music" | "sonilo-v1-1-video-to-music" | "mureka-song" | "mureka-instrumental" | "mureka-podcast" | "eleven-labs-multilingual-v2" | "eleven-labs-tts-v3" | "eleven-labs-tts-v4" | "eleven-labs-tts-v4-turbo" | "eleven-labs-voice-changer" | "eleven-labs-text-to-dialogue" | "inworld-tts-1.5-max" | "xai-tts-v1" | "heygen-voice" | "heygen-voice-turbo" | "qwen-3-tts" | "seed-audio-1" | "eleven-labs-sound-effects" | "cassetteai-sfx" | "mirelo-sfx" | "mirelo-sfx-2" | "mirelo-sfx-2-video-to-audio" | "sonilo-v1-1-text-to-sound-effects" | "sonilo-v1-1-video-to-sound-effects" | "sam-audio-separate" | "kling-video-to-audio" | "eleven-labs-audio-isolation" | "deepfilternet-3" | "veed-clean-audio" | "sonilo-v1-1-video-to-video-music" | "sonilo-v1-1-video-to-video-sound-effects" | "mirelo-sfx-2-video-to-video" | "playable-v1" | "image-preprocessor" | "comfy-image" | "sd15" | "sd2-base" | "sd2" | "sd21-base" | "sd21" | "getty";
|
|
247
354
|
export interface BaseModelSummary {
|
|
248
355
|
/** Base model identifier, e.g. flux-dev — pass it as `base_model_id`. */
|
|
249
356
|
base_model_id: string;
|
|
@@ -390,23 +497,25 @@ export interface CreateGroupBody {
|
|
|
390
497
|
name: string;
|
|
391
498
|
/** Optional workspace role to grant members. */
|
|
392
499
|
role?: Role | null;
|
|
393
|
-
/**
|
|
500
|
+
/** ID of a custom role to grant instead of a builtin `role`. */
|
|
394
501
|
role_id?: string | null;
|
|
395
502
|
}
|
|
396
503
|
export interface CreateProjectBody {
|
|
397
504
|
/** The project's display name. Must be unique within the workspace. */
|
|
398
505
|
name: string;
|
|
399
506
|
description?: string | null;
|
|
400
|
-
/** Deprecated: attach a skill to the project instead.
|
|
507
|
+
/** Deprecated: attach a skill to the project instead. Honored while it holds text, and read back as null once the project's instructions have been converted into a project-attached skill. */
|
|
401
508
|
instructions?: string | null;
|
|
509
|
+
/** Who can reach the project's sessions and the work made in them. `workspace`: workspace members with project access. `members`: the project's own members only; workspace admins outside the project are refused too. */
|
|
510
|
+
visibility?: ProjectVisibility;
|
|
402
511
|
}
|
|
403
512
|
export interface CreateReferenceSetRequest {
|
|
404
513
|
/** Display name for the reference set. */
|
|
405
514
|
name: string;
|
|
406
515
|
/** Training category: general (overall aesthetic), character (person/creature), object (specific item), scene (environment), or effect (visual effect). */
|
|
407
516
|
category: "general" | "character" | "object" | "scene" | "effect";
|
|
408
|
-
/** Ordered image or
|
|
409
|
-
file_ids
|
|
517
|
+
/** Ordered image, video or audio file IDs to include. Must belong to the workspace. Audio clips are what a voice-clone run trains on; a voice-import run takes no files, so leave this empty. */
|
|
518
|
+
file_ids?: Array<string>;
|
|
410
519
|
/** Optional description. */
|
|
411
520
|
description?: string | null;
|
|
412
521
|
/** Optional ordered image file IDs to show as cover thumbnails. Omit to auto-pick. */
|
|
@@ -440,9 +549,30 @@ export interface DeleteStoredFilesOutput {
|
|
|
440
549
|
deleted_files: number;
|
|
441
550
|
/** Bytes those files held. */
|
|
442
551
|
deleted_bytes: number;
|
|
443
|
-
/** Files left because something depends on them.
|
|
552
|
+
/** Files left because something depends on them. IDs that are not a stored file are left silently. */
|
|
444
553
|
skipped: Array<SkippedFileOutput>;
|
|
445
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
* The AI controls in force for one piece of work: every scope's policy, resolved.
|
|
557
|
+
*
|
|
558
|
+
* The maps hold only what some policy names; anything they leave out takes the platform default
|
|
559
|
+
* the accessors below apply.
|
|
560
|
+
*/
|
|
561
|
+
export interface EffectiveAiPolicy {
|
|
562
|
+
agent_enabled: Resolved_bool_;
|
|
563
|
+
agents: Record<string, Resolved_bool_>;
|
|
564
|
+
agent_confirm_above_cu: Resolved_float_;
|
|
565
|
+
modalities: Record<string, Resolved_bool_>;
|
|
566
|
+
new_models_enabled: Resolved_bool_;
|
|
567
|
+
models: Record<string, Resolved_bool_>;
|
|
568
|
+
model_defaults: Record<string, Record<string, Resolved_JsonValue_>>;
|
|
569
|
+
guardrails: Record<string, Resolved_bool_>;
|
|
570
|
+
output_scoring: Record<string, Resolved_bool_>;
|
|
571
|
+
nsfw_tolerance?: Resolved_int_;
|
|
572
|
+
reference_set_sharing_enabled?: Resolved_bool_;
|
|
573
|
+
workflow_sharing_enabled?: Resolved_bool_;
|
|
574
|
+
usage_caps?: Record<string, Resolved_Union_UsageCap__NoneType__>;
|
|
575
|
+
}
|
|
446
576
|
export interface EffectiveAutoDeletePolicyOutput {
|
|
447
577
|
policy: AutoDeletePolicyIO;
|
|
448
578
|
/** The workspace that set the policy: this one or an ancestor. */
|
|
@@ -466,9 +596,9 @@ export interface EstimateForgePriceOutput {
|
|
|
466
596
|
export interface EstimateInferencePriceRequest {
|
|
467
597
|
/** Caption style, spelled exactly as one of the model's `subtitle_presets`: any other name is quoted at the default style and refused at launch. Its `subtitle_dynamic_presets` animate word by word and bill at a higher rate, so pass the same preset to the estimate. Omit for the model's default style. */
|
|
468
598
|
subtitle_preset?: string | null;
|
|
469
|
-
/** Caption text
|
|
599
|
+
/** Caption text color as hex (`#FFFFFF`), for models whose capabilities report `subtitle_primary_color`. */
|
|
470
600
|
subtitle_color?: string | null;
|
|
471
|
-
/**
|
|
601
|
+
/** Color of the words the model emphasizes, as hex, for models whose capabilities report `subtitle_secondary_color`. */
|
|
472
602
|
subtitle_secondary_color?: string | null;
|
|
473
603
|
/** Where the captions sit vertically, for models whose capabilities report `subtitle_alignment`. */
|
|
474
604
|
subtitle_alignment?: "top" | "center" | "bottom" | null;
|
|
@@ -607,9 +737,9 @@ export interface EstimateInferencePriceV2Output {
|
|
|
607
737
|
export interface EstimateInferencePriceV2Request {
|
|
608
738
|
/** Caption style, spelled exactly as one of the model's `subtitle_presets`: any other name is quoted at the default style and refused at launch. Its `subtitle_dynamic_presets` animate word by word and bill at a higher rate, so pass the same preset to the estimate. Omit for the model's default style. */
|
|
609
739
|
subtitle_preset?: string | null;
|
|
610
|
-
/** Caption text
|
|
740
|
+
/** Caption text color as hex (`#FFFFFF`), for models whose capabilities report `subtitle_primary_color`. */
|
|
611
741
|
subtitle_color?: string | null;
|
|
612
|
-
/**
|
|
742
|
+
/** Color of the words the model emphasizes, as hex, for models whose capabilities report `subtitle_secondary_color`. */
|
|
613
743
|
subtitle_secondary_color?: string | null;
|
|
614
744
|
/** Where the captions sit vertically, for models whose capabilities report `subtitle_alignment`. */
|
|
615
745
|
subtitle_alignment?: "top" | "center" | "bottom" | null;
|
|
@@ -799,11 +929,11 @@ export interface EstimateInferencePriceV2Request {
|
|
|
799
929
|
scene_lighting?: SceneLightingConfig | null;
|
|
800
930
|
/** Draw a game tile onto a grid: its `shape` (`SQUARE` for an isometric diamond, `HEXAGON` for a hex tile) and `orientation` (`POINTY_TOP` or `FLAT_TOP` for a hexagon), the camera `elevation` (30 for 2:1 dimetric; a hexagon takes 60, or 90 from straight above), a `facing` of 0, 90, 180 or 270 for a square, the `footprint_width` x `footprint_depth` in cells (a hexagon covers one), the wall `height` in cell sides (0 for a flat ground tile) and the delivered `tile_width` in pixels (unset keeps the cell as drawn, rounded to a power of two). The run draws over a blockout of the grid; an init image is the tile's subject, redrawn onto the grid with its shape and design kept. The output comes back cut out and fitted onto the grid, its base recorded in the file's `tile` metadata. Honored by the models whose capabilities report `tile_grid`. */
|
|
801
931
|
tile_grid?: TileGrid | null;
|
|
802
|
-
/** Fit the image onto its delivery canvas after everything else the run does: `trim` its transparent margin, keep the drawing's own size (`canvas: CONTENT`) or place it on a `FIXED` `width` x `height` canvas, scaled as `scale` says and aligned on `anchor` (`BASE` stands a game tile's base on the bottom
|
|
932
|
+
/** Fit the image onto its delivery canvas after everything else the run does: `trim` its transparent margin, keep the drawing's own size (`canvas: CONTENT`) or place it on a `FIXED` `width` x `height` canvas, scaled as `scale` says and aligned on `anchor` (`BASE` stands a game tile's base on the bottom center), with `padding` px of transparent margin and `corner_radius` px rounded corners cut to transparent. Image outputs only. */
|
|
803
933
|
output_fit?: OutputFit | null;
|
|
804
|
-
/** 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
|
|
934
|
+
/** 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 center are made to tile (painted texture kept, light evened out), and the insets are recorded on the output as `metadata.nine_slice`. An image with no such band is delivered as drawn, its output carrying no `metadata` or no `nine_slice` in it. Image outputs only. */
|
|
805
935
|
nine_slice?: boolean | null;
|
|
806
|
-
/** Split the init image into parallax layers by depth: `layers` (2 to 6, default 5) cut at `cuts`, ascending nearness values in (0, 1), one fewer than the layers (unset cuts at the gaps in the scene's own depth); `loop` makes every layer repeat left to right, each plate healed across its wrap by GPT Image 2.5 Flare at high quality. The model fills in what each layer hides, so it must be an image eraser or inpainting model (an `ERASE_OBJECT` or `INPAINTING` use case); an inpainting model
|
|
936
|
+
/** Split the init image into parallax layers by depth: `layers` (2 to 6, default 5) cut at `cuts`, ascending nearness values in (0, 1), one fewer than the layers (unset cuts at the gaps in the scene's own depth); `loop` makes every layer repeat left to right, the scene and each plate healed across its wrap by GPT Image 2.5 Flare at high quality. The model fills in what each layer hides, so it must be an image eraser or inpainting model (an `ERASE_OBJECT` or `INPAINTING` use case); an inpainting model is always told to continue the scenery and add nothing in front, and a prompt, if given, describes that scenery. Delivered as a layered PSD, farthest layer at the bottom, with each layer's scroll speed in the file's `parallax` metadata. Billed as one run of the model per layer but the nearest, and a depth estimate per layer between the farthest and the nearest; a loop adds one heal per layer. */
|
|
807
937
|
parallax?: ParallaxSplit | null;
|
|
808
938
|
/** 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. */
|
|
809
939
|
color_palette?: InferenceColorPalette | null;
|
|
@@ -821,14 +951,18 @@ export interface EstimateInferencePriceV2Request {
|
|
|
821
951
|
guidance_files?: Array<ForgeGuidanceFileInput>;
|
|
822
952
|
/** The mask the execute call will pass. Some models bill a masked edit at a different rate. */
|
|
823
953
|
mask?: ForgeMaskInput | null;
|
|
954
|
+
/** The session the execute call will pass, from GET /v2/workspaces/{workspace_id}/sessions. The price and the checks are those of a run in that session's project, which can allow fewer models than the workspace or set other defaults. Without it, they are the workspace's. */
|
|
955
|
+
session_id?: string | null;
|
|
824
956
|
}
|
|
825
957
|
export interface EstimateTrainingPriceRequest {
|
|
826
958
|
/** The reference set to price training for. */
|
|
827
959
|
reference_set_id: string;
|
|
828
960
|
/** Base model to train. Omit to use the reference set's configured or workspace default model. */
|
|
829
961
|
base_model_id?: string | null;
|
|
830
|
-
/** Training framework override. Omit for the server default. */
|
|
831
|
-
training_framework?: "fal" | "ai-toolkit" | null;
|
|
962
|
+
/** Training framework override. Omit for the server default. On the ElevenLabs TTS models, voice-clone clones the set's audio clips, voice-design designs a voice from training_parameters.training_prompt, and voice-import adopts the ElevenLabs voice in training_parameters.voice_id. */
|
|
963
|
+
training_framework?: "fal" | "ai-toolkit" | "voice-clone" | "voice-design" | "voice-import" | null;
|
|
964
|
+
/** Hyperparameters for this run in place of the reference set's saved settings. Each applies only where the run's framework offers it; one the framework does not take is refused. */
|
|
965
|
+
training_parameters?: TrainingOverrides | null;
|
|
832
966
|
}
|
|
833
967
|
export interface EstimateTrainingPriceResponse {
|
|
834
968
|
/** Estimated Creative Units to train this reference set. */
|
|
@@ -884,9 +1018,9 @@ export interface ExecuteForgeOutput {
|
|
|
884
1018
|
export interface ExecuteInferenceRequest {
|
|
885
1019
|
/** Caption style, spelled exactly as one of the model's `subtitle_presets`: any other name is quoted at the default style and refused at launch. Its `subtitle_dynamic_presets` animate word by word and bill at a higher rate, so pass the same preset to the estimate. Omit for the model's default style. */
|
|
886
1020
|
subtitle_preset?: string | null;
|
|
887
|
-
/** Caption text
|
|
1021
|
+
/** Caption text color as hex (`#FFFFFF`), for models whose capabilities report `subtitle_primary_color`. */
|
|
888
1022
|
subtitle_color?: string | null;
|
|
889
|
-
/**
|
|
1023
|
+
/** Color of the words the model emphasizes, as hex, for models whose capabilities report `subtitle_secondary_color`. */
|
|
890
1024
|
subtitle_secondary_color?: string | null;
|
|
891
1025
|
/** Where the captions sit vertically, for models whose capabilities report `subtitle_alignment`. */
|
|
892
1026
|
subtitle_alignment?: "top" | "center" | "bottom" | null;
|
|
@@ -1035,9 +1169,9 @@ export interface ExecuteInferenceV2Output {
|
|
|
1035
1169
|
export interface ExecuteInferenceV2Request {
|
|
1036
1170
|
/** Caption style, spelled exactly as one of the model's `subtitle_presets`: any other name is quoted at the default style and refused at launch. Its `subtitle_dynamic_presets` animate word by word and bill at a higher rate, so pass the same preset to the estimate. Omit for the model's default style. */
|
|
1037
1171
|
subtitle_preset?: string | null;
|
|
1038
|
-
/** Caption text
|
|
1172
|
+
/** Caption text color as hex (`#FFFFFF`), for models whose capabilities report `subtitle_primary_color`. */
|
|
1039
1173
|
subtitle_color?: string | null;
|
|
1040
|
-
/**
|
|
1174
|
+
/** Color of the words the model emphasizes, as hex, for models whose capabilities report `subtitle_secondary_color`. */
|
|
1041
1175
|
subtitle_secondary_color?: string | null;
|
|
1042
1176
|
/** Where the captions sit vertically, for models whose capabilities report `subtitle_alignment`. */
|
|
1043
1177
|
subtitle_alignment?: "top" | "center" | "bottom" | null;
|
|
@@ -1227,11 +1361,11 @@ export interface ExecuteInferenceV2Request {
|
|
|
1227
1361
|
scene_lighting?: SceneLightingConfig | null;
|
|
1228
1362
|
/** Draw a game tile onto a grid: its `shape` (`SQUARE` for an isometric diamond, `HEXAGON` for a hex tile) and `orientation` (`POINTY_TOP` or `FLAT_TOP` for a hexagon), the camera `elevation` (30 for 2:1 dimetric; a hexagon takes 60, or 90 from straight above), a `facing` of 0, 90, 180 or 270 for a square, the `footprint_width` x `footprint_depth` in cells (a hexagon covers one), the wall `height` in cell sides (0 for a flat ground tile) and the delivered `tile_width` in pixels (unset keeps the cell as drawn, rounded to a power of two). The run draws over a blockout of the grid; an init image is the tile's subject, redrawn onto the grid with its shape and design kept. The output comes back cut out and fitted onto the grid, its base recorded in the file's `tile` metadata. Honored by the models whose capabilities report `tile_grid`. */
|
|
1229
1363
|
tile_grid?: TileGrid | null;
|
|
1230
|
-
/** Fit the image onto its delivery canvas after everything else the run does: `trim` its transparent margin, keep the drawing's own size (`canvas: CONTENT`) or place it on a `FIXED` `width` x `height` canvas, scaled as `scale` says and aligned on `anchor` (`BASE` stands a game tile's base on the bottom
|
|
1364
|
+
/** Fit the image onto its delivery canvas after everything else the run does: `trim` its transparent margin, keep the drawing's own size (`canvas: CONTENT`) or place it on a `FIXED` `width` x `height` canvas, scaled as `scale` says and aligned on `anchor` (`BASE` stands a game tile's base on the bottom center), with `padding` px of transparent margin and `corner_radius` px rounded corners cut to transparent. Image outputs only. */
|
|
1231
1365
|
output_fit?: OutputFit | null;
|
|
1232
|
-
/** 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
|
|
1366
|
+
/** 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 center are made to tile (painted texture kept, light evened out), and the insets are recorded on the output as `metadata.nine_slice`. An image with no such band is delivered as drawn, its output carrying no `metadata` or no `nine_slice` in it. Image outputs only. */
|
|
1233
1367
|
nine_slice?: boolean | null;
|
|
1234
|
-
/** Split the init image into parallax layers by depth: `layers` (2 to 6, default 5) cut at `cuts`, ascending nearness values in (0, 1), one fewer than the layers (unset cuts at the gaps in the scene's own depth); `loop` makes every layer repeat left to right, each plate healed across its wrap by GPT Image 2.5 Flare at high quality. The model fills in what each layer hides, so it must be an image eraser or inpainting model (an `ERASE_OBJECT` or `INPAINTING` use case); an inpainting model
|
|
1368
|
+
/** Split the init image into parallax layers by depth: `layers` (2 to 6, default 5) cut at `cuts`, ascending nearness values in (0, 1), one fewer than the layers (unset cuts at the gaps in the scene's own depth); `loop` makes every layer repeat left to right, the scene and each plate healed across its wrap by GPT Image 2.5 Flare at high quality. The model fills in what each layer hides, so it must be an image eraser or inpainting model (an `ERASE_OBJECT` or `INPAINTING` use case); an inpainting model is always told to continue the scenery and add nothing in front, and a prompt, if given, describes that scenery. Delivered as a layered PSD, farthest layer at the bottom, with each layer's scroll speed in the file's `parallax` metadata. Billed as one run of the model per layer but the nearest, and a depth estimate per layer between the farthest and the nearest; a loop adds one heal per layer. */
|
|
1235
1369
|
parallax?: ParallaxSplit | null;
|
|
1236
1370
|
/** 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. */
|
|
1237
1371
|
color_palette?: InferenceColorPalette | null;
|
|
@@ -1255,9 +1389,9 @@ export interface ExecuteInferenceV2Request {
|
|
|
1255
1389
|
session_name?: string | null;
|
|
1256
1390
|
/** Organize this run under this session, from GET /v2/workspaces/{workspace_id}/sessions. Takes precedence over `session_name`, and must belong to this workspace. */
|
|
1257
1391
|
session_id?: string | null;
|
|
1258
|
-
/** Deliver this run's terminal events to a URL instead of polling for them. See the Webhooks section of this document for the payload, headers and retry
|
|
1392
|
+
/** Deliver this run's terminal events to a URL instead of polling for them. See the Webhooks section of this document for the payload, headers and retry behavior. */
|
|
1259
1393
|
webhook?: WebhookInput | null;
|
|
1260
|
-
/** The Layer tool this run is, such as `image.upscale`, so the asset it makes reopens in that tool in the Layer app. The run must be one the tool makes: a `base_model_id` from the tool's models, with every value the tool fixes left as the tool sets it. A run that is not is refused with a 422 naming why (`UNKNOWN_INFERENCE_TOOL`, `INFERENCE_TOOL_MODEL_NOT_IN_POOL`, `INFERENCE_TOOL_PIN_MISMATCH`, `INFERENCE_TOOL_NO_REFRAME` or `INFERENCE_TOOL_UPSCALE_COPIES_SOURCE`). */
|
|
1394
|
+
/** The Layer tool this run is, such as `image.upscale`, so the asset it makes reopens in that tool in the Layer app. The run must be one the tool makes: a `base_model_id` from the tool's models, with every value the tool fixes left as the tool sets it. A run that is not is refused with a 422 naming why (`UNKNOWN_INFERENCE_TOOL`, `INFERENCE_TOOL_MODEL_NOT_IN_POOL`, `INFERENCE_TOOL_PIN_MISMATCH`, `INFERENCE_TOOL_MODEL_TAKES_NO_MASK`, `INFERENCE_TOOL_NO_REFRAME` or `INFERENCE_TOOL_UPSCALE_COPIES_SOURCE`). */
|
|
1261
1395
|
inference_tool_key?: string | null;
|
|
1262
1396
|
}
|
|
1263
1397
|
export interface ExecuteWorkflowOutput {
|
|
@@ -1283,14 +1417,14 @@ export interface ExecuteWorkflowRequest {
|
|
|
1283
1417
|
session_id?: string | null;
|
|
1284
1418
|
/** Session name. Creates a new session if not found in the workspace. Ignored if session_id is set. */
|
|
1285
1419
|
session_name?: string | null;
|
|
1286
|
-
/** Deliver this run's terminal events to a URL instead of polling for them. Only the run's own outcome is delivered — the generations it performs internally are not yours to poll and raise no events of their own. See the Webhooks section of this document for the payload, headers and retry
|
|
1420
|
+
/** Deliver this run's terminal events to a URL instead of polling for them. Only the run's own outcome is delivered — the generations it performs internally are not yours to poll and raise no events of their own. See the Webhooks section of this document for the payload, headers and retry behavior. */
|
|
1287
1421
|
webhook?: WebhookInput | null;
|
|
1288
1422
|
}
|
|
1289
|
-
export type FileContentCategory = "image" | "video" | "mesh" | "audio" | "pose" | "safetensors" | "playable" | "spine" | "font" | "world" | "pbr_materials" | "other";
|
|
1423
|
+
export type FileContentCategory = "image" | "video" | "mesh" | "audio" | "pose" | "safetensors" | "playable" | "spine" | "font" | "world" | "pbr_materials" | "landing_page" | "other";
|
|
1290
1424
|
export interface FileDependencyOutput {
|
|
1291
1425
|
/** What depends on the file: `style`, `reference_set`, `workflow`, `skill`, `template`, `content_policy_rule`, `base_model`, `workspace_share`, `trend`, `ua_creative`, `export` or `scoring_run`. */
|
|
1292
1426
|
kind: string;
|
|
1293
|
-
/**
|
|
1427
|
+
/** ID of the thing that depends on the file. */
|
|
1294
1428
|
owner_id: string;
|
|
1295
1429
|
/** Its name, when it has one. */
|
|
1296
1430
|
owner_name: string | null;
|
|
@@ -1334,7 +1468,7 @@ export interface FileScoresOutput {
|
|
|
1334
1468
|
/** When the stamp was written. */
|
|
1335
1469
|
headline_scored_at?: string | null;
|
|
1336
1470
|
}
|
|
1337
|
-
export type FileSourceType = "pose" | "reference" | "mask" | "composite" | "google_drive" | "miro" | "linear" | "jira" | "transformed_reference" | "skill_resource" | "skill_bundle";
|
|
1471
|
+
export type FileSourceType = "pose" | "reference" | "mask" | "composite" | "google_drive" | "miro" | "linear" | "jira" | "focal" | "transformed_reference" | "skill_resource" | "skill_bundle";
|
|
1338
1472
|
export interface ForgeGuidanceFileInput {
|
|
1339
1473
|
/** File ID of an uploaded file. */
|
|
1340
1474
|
file_id: string;
|
|
@@ -1410,7 +1544,7 @@ export interface ForgeVideoEffectInput {
|
|
|
1410
1544
|
export interface GetForgeRunOutput {
|
|
1411
1545
|
/** Unique identifier for this forge run. */
|
|
1412
1546
|
inference_id: string;
|
|
1413
|
-
/** Current status: in_progress, complete, failed,
|
|
1547
|
+
/** Current status: in_progress, complete, failed, canceled, or deleted. */
|
|
1414
1548
|
status: InferenceStatus;
|
|
1415
1549
|
/** Suggested polling interval in seconds. Present while IN_PROGRESS. */
|
|
1416
1550
|
poll_interval_seconds?: number | null;
|
|
@@ -1428,7 +1562,7 @@ export interface GetForgeRunOutput {
|
|
|
1428
1562
|
export interface GetInferenceRunV2Output {
|
|
1429
1563
|
/** Unique identifier for this inference run. */
|
|
1430
1564
|
inference_id: string;
|
|
1431
|
-
/** Current status: in_progress, complete, failed,
|
|
1565
|
+
/** Current status: in_progress, complete, failed, canceled, or deleted. */
|
|
1432
1566
|
status: InferenceStatus;
|
|
1433
1567
|
/** Suggested polling interval in seconds. Present while IN_PROGRESS. */
|
|
1434
1568
|
poll_interval_seconds?: number | null;
|
|
@@ -1446,6 +1580,8 @@ export interface GetInferenceRunV2Output {
|
|
|
1446
1580
|
refusal?: RunRefusal | null;
|
|
1447
1581
|
/** Base model the run used, resolved or auto-picked. */
|
|
1448
1582
|
base_model_id?: string | null;
|
|
1583
|
+
/** The Layer tool the run was made with, such as `image.upscale`: a key from GET /v2/workspaces/{workspace_id}/inference-tools. Null for a run made without a tool. */
|
|
1584
|
+
inference_tool_key?: string | null;
|
|
1449
1585
|
/** Per-set summary of what each reference set contributed. */
|
|
1450
1586
|
reference_set_contributions?: Array<ForgeReferenceSetContribution>;
|
|
1451
1587
|
/** True when at least one attached reference set did not meaningfully contribute. The run still costs Creative Units. */
|
|
@@ -1517,6 +1653,8 @@ export interface GetTrainingRunResponse {
|
|
|
1517
1653
|
eta_at?: string | null;
|
|
1518
1654
|
started_at?: string | null;
|
|
1519
1655
|
finished_at?: string | null;
|
|
1656
|
+
/** The hyperparameters this run trains with. */
|
|
1657
|
+
training_parameters: TrainingParametersView;
|
|
1520
1658
|
/** Error message. Present only on terminal_failure. */
|
|
1521
1659
|
error?: string | null;
|
|
1522
1660
|
/** Machine-readable error code. Present on terminal_failure. */
|
|
@@ -1524,10 +1662,48 @@ export interface GetTrainingRunResponse {
|
|
|
1524
1662
|
/** The callback attached to this run and how its delivery has gone. Null when the run was submitted without one. */
|
|
1525
1663
|
webhook?: WebhookStatusView | null;
|
|
1526
1664
|
}
|
|
1665
|
+
export interface GetTrendOutput {
|
|
1666
|
+
/** The trend's id; read its full detail with the get-trend call. */
|
|
1667
|
+
trend_id: string;
|
|
1668
|
+
/** `creative` for a pattern distilled from mobile game UA video ads, `top` for a public board entry. */
|
|
1669
|
+
type: TrendType;
|
|
1670
|
+
/** The name of the trend. */
|
|
1671
|
+
title: string;
|
|
1672
|
+
/** What the trend is and why it works; empty while a board trend's research runs. */
|
|
1673
|
+
summary: string;
|
|
1674
|
+
/** Descriptive tags. */
|
|
1675
|
+
tags?: Array<string>;
|
|
1676
|
+
/** Game genres the trend shows up in. */
|
|
1677
|
+
genres?: Array<string>;
|
|
1678
|
+
/** Countries the trend was seen in. */
|
|
1679
|
+
countries?: Array<string>;
|
|
1680
|
+
/** How many distinct ads show a `creative` trend; 0 for a `top` trend. */
|
|
1681
|
+
match_count: number;
|
|
1682
|
+
/** Board slug, such as `tiktok`, for a `top` trend. */
|
|
1683
|
+
source?: string | null;
|
|
1684
|
+
/** Place on the board's latest refresh, for a `top` trend. */
|
|
1685
|
+
rank?: number | null;
|
|
1686
|
+
/** Place on the refresh before; null on a `top` trend means it is newly charted. */
|
|
1687
|
+
previous_rank?: number | null;
|
|
1688
|
+
/** When the board placement was recorded. */
|
|
1689
|
+
ranked_at?: string | null;
|
|
1690
|
+
/** When the trend was first recorded. */
|
|
1691
|
+
created_at: string;
|
|
1692
|
+
/** The ad beat by beat, for a `creative` trend. */
|
|
1693
|
+
scenario?: string;
|
|
1694
|
+
/** Why the pattern works and where it fits. */
|
|
1695
|
+
notes?: string | null;
|
|
1696
|
+
/** Alternative angles on the same pattern, for a `creative` trend. */
|
|
1697
|
+
variants?: Array<TrendVariantOutput>;
|
|
1698
|
+
/** Web research on a `top` trend: summary, remix ideas, grounded findings with sources, YouTube videos with a highlight window, and images. Null while the research runs. */
|
|
1699
|
+
research?: TrendResearchOutput | null;
|
|
1700
|
+
/** Public files that show the trend, in display order: the matched ads for a `creative` trend, the research images for a `top` trend. */
|
|
1701
|
+
reference_files?: Array<TrendReferenceFile>;
|
|
1702
|
+
}
|
|
1527
1703
|
export interface GetWorkflowRunOutput {
|
|
1528
1704
|
/** Unique identifier for this workflow run. */
|
|
1529
1705
|
run_id: string;
|
|
1530
|
-
/** Current status: pending, running, success, failure, or
|
|
1706
|
+
/** Current status: pending, running, success, failure, or canceled. */
|
|
1531
1707
|
status: BlueprintRunStatus;
|
|
1532
1708
|
/** Suggested polling interval in seconds. Present while PENDING or RUNNING. */
|
|
1533
1709
|
poll_interval_seconds?: number | null;
|
|
@@ -1553,7 +1729,7 @@ export interface GetWorkflowRunOutput {
|
|
|
1553
1729
|
export interface GetWorkflowRunStep {
|
|
1554
1730
|
/** The name of the workflow step */
|
|
1555
1731
|
name: string;
|
|
1556
|
-
/** The execution status of the step: pending, running, success, failure, or
|
|
1732
|
+
/** The execution status of the step: pending, running, success, failure, or canceled. */
|
|
1557
1733
|
status: BlueprintRunStatus;
|
|
1558
1734
|
/** The error details if any */
|
|
1559
1735
|
error?: string | null;
|
|
@@ -1580,7 +1756,7 @@ export interface GroupOut {
|
|
|
1580
1756
|
name: string;
|
|
1581
1757
|
/** The workspace role this group grants its members, if any. */
|
|
1582
1758
|
role?: Role | null;
|
|
1583
|
-
/**
|
|
1759
|
+
/** ID of the role actually assigned. A custom role reports its own id here while `role` reports the builtin floor it grants, so read this to tell the two apart. */
|
|
1584
1760
|
role_id?: string | null;
|
|
1585
1761
|
}
|
|
1586
1762
|
/** What kind of guardrail refused it: one of the guardrails Layer ships, or the workspace's own. */
|
|
@@ -1648,6 +1824,8 @@ export type InferenceToolGroup = "generate" | "edit";
|
|
|
1648
1824
|
export interface InferenceToolSource {
|
|
1649
1825
|
/** The type of asset the tool works on. */
|
|
1650
1826
|
modality: Modality;
|
|
1827
|
+
/** Whether the tool can keep its edit to an area a mask marks. The tool's schema on a base model says whether that model can, in `x-source.takes_mask`. */
|
|
1828
|
+
takes_mask: boolean;
|
|
1651
1829
|
}
|
|
1652
1830
|
export interface InferenceToolSummary {
|
|
1653
1831
|
/** The tool's key, such as `image.upscale`. */
|
|
@@ -1696,7 +1874,12 @@ export interface IssuedDeviceCode {
|
|
|
1696
1874
|
expires_in: number;
|
|
1697
1875
|
interval: number;
|
|
1698
1876
|
}
|
|
1877
|
+
export type JsonValue = unknown;
|
|
1699
1878
|
export type LibraryObjectType = "directory" | "file" | "asset" | "style" | "blueprint" | "skill";
|
|
1879
|
+
export interface ListAiPoliciesOutput {
|
|
1880
|
+
policies: Array<AiPolicyRecord>;
|
|
1881
|
+
pagination: PaginationOutput;
|
|
1882
|
+
}
|
|
1700
1883
|
export interface ListBaseModelsOutput {
|
|
1701
1884
|
base_models: Array<BaseModelSummary>;
|
|
1702
1885
|
pagination: PaginationOutput;
|
|
@@ -1745,6 +1928,10 @@ export interface ListTrainingRunsResponse {
|
|
|
1745
1928
|
runs: Array<TrainingRunSummary>;
|
|
1746
1929
|
pagination: PaginationOutput;
|
|
1747
1930
|
}
|
|
1931
|
+
export interface ListTrendsOutput {
|
|
1932
|
+
trends: Array<TrendSummary>;
|
|
1933
|
+
pagination: PaginationOutput;
|
|
1934
|
+
}
|
|
1748
1935
|
export interface ListWorkflowsOutput {
|
|
1749
1936
|
workflows: Array<WorkflowSummary>;
|
|
1750
1937
|
pagination: PaginationOutput;
|
|
@@ -1770,6 +1957,26 @@ export interface MemberOutput {
|
|
|
1770
1957
|
/** Membership status: active or suspended. */
|
|
1771
1958
|
status: WorkspaceMembershipStatus;
|
|
1772
1959
|
}
|
|
1960
|
+
export interface MemberUsageBucket {
|
|
1961
|
+
/** First day of the bucket (UTC): the day itself, or the first of the month. */
|
|
1962
|
+
start_date: string;
|
|
1963
|
+
/** Creative Units the member spent in the bucket, inside the window. */
|
|
1964
|
+
creative_units: number;
|
|
1965
|
+
}
|
|
1966
|
+
export interface MemberUsageOutput {
|
|
1967
|
+
/** The member whose usage this is. */
|
|
1968
|
+
principal_id: string;
|
|
1969
|
+
/** First day of the reported window (UTC), inclusive. */
|
|
1970
|
+
start_date: string;
|
|
1971
|
+
/** Last day of the reported window (UTC), inclusive. */
|
|
1972
|
+
end_date: string;
|
|
1973
|
+
/** The size of each bucket: a UTC day or a UTC calendar month. */
|
|
1974
|
+
granularity: UsageGranularity;
|
|
1975
|
+
/** Creative Units the member spent in the workspace over the window. */
|
|
1976
|
+
total_creative_units: number;
|
|
1977
|
+
/** Creative Units the member spent per bucket, oldest first. A bucket with no spend is left out. By month, the first and last months count only the days inside the window. */
|
|
1978
|
+
buckets: Array<MemberUsageBucket>;
|
|
1979
|
+
}
|
|
1773
1980
|
/**
|
|
1774
1981
|
* How many faces a mesh keeps, as a level the provider sizes adaptively.
|
|
1775
1982
|
*
|
|
@@ -1869,7 +2076,7 @@ export interface MusicSection {
|
|
|
1869
2076
|
/**
|
|
1870
2077
|
* The insets a 9-slice draws a UI element by, in the image's own pixels in from each edge.
|
|
1871
2078
|
*
|
|
1872
|
-
* The corners are drawn at their own size, the edges repeat along their length, and the
|
|
2079
|
+
* The corners are drawn at their own size, the edges repeat along their length, and the center
|
|
1873
2080
|
* repeats both ways.
|
|
1874
2081
|
*/
|
|
1875
2082
|
export interface NineSliceMetadataView {
|
|
@@ -1958,8 +2165,8 @@ export interface OutputFit {
|
|
|
1958
2165
|
/**
|
|
1959
2166
|
* The point of the drawing that lands on the same point of the canvas.
|
|
1960
2167
|
*
|
|
1961
|
-
* ``BASE`` is a game tile's base: its anchor, the bottom
|
|
1962
|
-
* at the bottom
|
|
2168
|
+
* ``BASE`` is a game tile's base: its anchor, the bottom center of the cell it stands on, lands
|
|
2169
|
+
* at the bottom center of the canvas, so tiles of one grid stand on the same point whatever rises above them.
|
|
1963
2170
|
*/
|
|
1964
2171
|
export type OutputFitAnchor = "TOP_LEFT" | "TOP_CENTER" | "TOP_RIGHT" | "CENTER_LEFT" | "CENTER" | "CENTER_RIGHT" | "BOTTOM_LEFT" | "BOTTOM_CENTER" | "BOTTOM_RIGHT" | "BASE";
|
|
1965
2172
|
export type OutputFitCanvas = "CONTENT" | "FIXED";
|
|
@@ -2004,11 +2211,13 @@ export interface ProjectDetail {
|
|
|
2004
2211
|
name: string;
|
|
2005
2212
|
/** Project status: active or archived. */
|
|
2006
2213
|
status: ProjectStatus;
|
|
2214
|
+
/** Who can reach the project's sessions and the work made in them. `workspace`: workspace members with project access. `members`: the project's own members only; workspace admins outside the project are refused too. */
|
|
2215
|
+
visibility: ProjectVisibility;
|
|
2007
2216
|
/** Number of library objects currently linked to this project. */
|
|
2008
2217
|
object_count: number;
|
|
2009
2218
|
/** The project's long-form description, if set. */
|
|
2010
2219
|
description?: string | null;
|
|
2011
|
-
/** Project-specific instructions that guide content created within it, if set. Deprecated: attach a skill to the project instead.
|
|
2220
|
+
/** Project-specific instructions that guide content created within it, if set. Deprecated: attach a skill to the project instead. Honored while it holds text, and read back as null once the project's instructions have been converted into a project-attached skill. */
|
|
2012
2221
|
instructions?: string | null;
|
|
2013
2222
|
}
|
|
2014
2223
|
export interface ProjectMember {
|
|
@@ -2029,9 +2238,19 @@ export interface ProjectSummary {
|
|
|
2029
2238
|
name: string;
|
|
2030
2239
|
/** Project status: active or archived. */
|
|
2031
2240
|
status: ProjectStatus;
|
|
2241
|
+
/** Who can reach the project's sessions and the work made in them. `workspace`: workspace members with project access. `members`: the project's own members only; workspace admins outside the project are refused too. */
|
|
2242
|
+
visibility: ProjectVisibility;
|
|
2032
2243
|
/** Number of library objects currently linked to this project. */
|
|
2033
2244
|
object_count: number;
|
|
2034
2245
|
}
|
|
2246
|
+
/**
|
|
2247
|
+
* Who may reach a project's sessions and the files and inferences made in them.
|
|
2248
|
+
*
|
|
2249
|
+
* ``WORKSPACE`` is every member of the workspace who holds the permission. ``MEMBERS``
|
|
2250
|
+
* is the project's own members only: a workspace admin outside the project is refused
|
|
2251
|
+
* like anyone else, and reads the project's activity through the audit log alone.
|
|
2252
|
+
*/
|
|
2253
|
+
export type ProjectVisibility = "workspace" | "members";
|
|
2035
2254
|
/**
|
|
2036
2255
|
* How much effort the provider spends rewriting the prompt before it generates.
|
|
2037
2256
|
*
|
|
@@ -2101,8 +2320,28 @@ export interface RequestUploadUrlResponse {
|
|
|
2101
2320
|
/** Source type the file was created with, echoed from the request. */
|
|
2102
2321
|
source_type?: FileSourceType | null;
|
|
2103
2322
|
}
|
|
2323
|
+
export interface Resolved_JsonValue_ {
|
|
2324
|
+
value: JsonValue;
|
|
2325
|
+
source?: AiPolicySource | null;
|
|
2326
|
+
}
|
|
2327
|
+
export interface Resolved_Union_UsageCap__NoneType__ {
|
|
2328
|
+
value: UsageCap | null;
|
|
2329
|
+
source?: AiPolicySource | null;
|
|
2330
|
+
}
|
|
2331
|
+
export interface Resolved_bool_ {
|
|
2332
|
+
value: boolean;
|
|
2333
|
+
source?: AiPolicySource | null;
|
|
2334
|
+
}
|
|
2335
|
+
export interface Resolved_float_ {
|
|
2336
|
+
value: number;
|
|
2337
|
+
source?: AiPolicySource | null;
|
|
2338
|
+
}
|
|
2339
|
+
export interface Resolved_int_ {
|
|
2340
|
+
value: number;
|
|
2341
|
+
source?: AiPolicySource | null;
|
|
2342
|
+
}
|
|
2104
2343
|
export interface RestoreDeletedFilesOutput {
|
|
2105
|
-
/** Files restored.
|
|
2344
|
+
/** Files restored. IDs not in the trash are left silently. */
|
|
2106
2345
|
restored_files: number;
|
|
2107
2346
|
/** Bytes those files hold. */
|
|
2108
2347
|
restored_bytes: number;
|
|
@@ -2114,6 +2353,52 @@ export interface RotateWebhookSecretResponse {
|
|
|
2114
2353
|
/** When the previous secret stops signing. Until then both secrets sign every delivery, so a receiver can be updated without dropping anything. */
|
|
2115
2354
|
previous_secret_expires_at: string;
|
|
2116
2355
|
}
|
|
2356
|
+
export interface RunInferenceToolInput {
|
|
2357
|
+
/** The base model to run the tool on, by ID, slug, name or alias: one of the tool's `base_model_ids`. Without it, the run takes the tool's `default_base_model_id` for the caller. */
|
|
2358
|
+
base_model_id?: string | null;
|
|
2359
|
+
/** The file an edit works on, from this workspace or public. Required where the tool's schema has `x-source.required`; a tool that makes something new takes none. */
|
|
2360
|
+
source_file_id?: string | null;
|
|
2361
|
+
/** An image the size of the source, white where the edit may change it and black where the source stays as it is. Only where the tool's schema has `x-source.takes_mask`. */
|
|
2362
|
+
mask_file_id?: string | null;
|
|
2363
|
+
/** How many outputs the run makes (1-16). More than 1 needs a tool and a model that batch. */
|
|
2364
|
+
batch_size?: number;
|
|
2365
|
+
/** The fields of the tool's schema on the model (GET .../inference-schema), with files by `file_id`. A field left out takes its default, and the tool sets the values it fixes. */
|
|
2366
|
+
input?: Record<string, unknown>;
|
|
2367
|
+
/** 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`. */
|
|
2368
|
+
reference_sets?: Array<InferenceReferenceSetInput>;
|
|
2369
|
+
/** Organize this run under the most recent active session with this name, creating one if none matches. Ignored when `session_id` is given. */
|
|
2370
|
+
session_name?: string | null;
|
|
2371
|
+
/** Organize this run under this session, from GET /v2/workspaces/{workspace_id}/sessions. Takes precedence over `session_name`, and must belong to this workspace. */
|
|
2372
|
+
session_id?: string | null;
|
|
2373
|
+
/** Deliver this run's terminal events to a URL instead of polling for them. See the Webhooks section of this document for the payload, headers and retry behavior. */
|
|
2374
|
+
webhook?: WebhookInput | null;
|
|
2375
|
+
}
|
|
2376
|
+
export interface RunInferenceToolOutput {
|
|
2377
|
+
/** Unique identifier for this forge run. */
|
|
2378
|
+
inference_id: string;
|
|
2379
|
+
/** Current status: IN_PROGRESS. */
|
|
2380
|
+
status: InferenceStatus;
|
|
2381
|
+
/** Estimated price in Creative Units. */
|
|
2382
|
+
estimated_price_creative_units?: number | null;
|
|
2383
|
+
/** Suggested polling interval in seconds. */
|
|
2384
|
+
poll_interval_seconds: number;
|
|
2385
|
+
/** Timestamp of when the run was created. */
|
|
2386
|
+
created_at: string;
|
|
2387
|
+
/** Session ID the run was added to, if a session was specified. */
|
|
2388
|
+
session_id?: string | null;
|
|
2389
|
+
/** Actual parameters used after model-specific normalization and defaults. */
|
|
2390
|
+
normalized_parameters?: NormalizedInferenceParameters | null;
|
|
2391
|
+
/** The base model the run takes: the one named, else the tool's default. */
|
|
2392
|
+
base_model_id: string;
|
|
2393
|
+
/** The events this run can deliver, resolved when it was submitted and narrowed by `webhook.events`; empty when no webhook was supplied. Of the outcome events listed (`inference.completed`, `inference.failed`, `inference.cancelled`), only the one that ends the run arrives, and none does when `webhook.events` leaves that one out. The scoring events are listed where this scope has automatic scoring rules, so this is how to tell 'more is coming' from 'that was everything'. Best-effort: a rule turned off mid-run can still remove a listed scoring event, and when the rules cannot be read at submission the scoring events are left out though they may still arrive. */
|
|
2394
|
+
expected_events?: Array<WebhookEventType>;
|
|
2395
|
+
/** Per-set summary of what each reference set contributed. */
|
|
2396
|
+
reference_set_contributions?: Array<ForgeReferenceSetContribution>;
|
|
2397
|
+
/** True when at least one attached reference set did not meaningfully contribute. The run still costs Creative Units. */
|
|
2398
|
+
reference_sets_degraded?: boolean;
|
|
2399
|
+
/** Names each degraded reference set and why, or null when none is degraded. */
|
|
2400
|
+
reference_sets_warning?: string | null;
|
|
2401
|
+
}
|
|
2117
2402
|
export interface RunRefusal {
|
|
2118
2403
|
/** The generation that was refused. */
|
|
2119
2404
|
inference_id: string;
|
|
@@ -2133,13 +2418,13 @@ export interface ScoreFilesBody {
|
|
|
2133
2418
|
project_id?: string | null;
|
|
2134
2419
|
/** Score against these rules only. Empty runs every rule in force for the scope. */
|
|
2135
2420
|
rule_ids?: Array<string>;
|
|
2136
|
-
/** Deliver this run's terminal event to a URL instead of polling for it. See the Webhooks section of this document for the payload, headers and retry
|
|
2421
|
+
/** Deliver this run's terminal event to a URL instead of polling for it. See the Webhooks section of this document for the payload, headers and retry behavior. */
|
|
2137
2422
|
webhook?: WebhookInput | null;
|
|
2138
2423
|
}
|
|
2139
2424
|
export interface ScoreFilesOutput {
|
|
2140
2425
|
/** Handle for this batch. Poll `GET /v1/workspaces/{workspace_id}/scoring-runs/{id}` for its verdicts. Null when no rule was in force, which queues nothing. */
|
|
2141
2426
|
scoring_run_id?: string | null;
|
|
2142
|
-
/** How many (file, rule)
|
|
2427
|
+
/** How many (file, rule) judgments were queued — one model call each. */
|
|
2143
2428
|
requested_pair_count: number;
|
|
2144
2429
|
/** How many files were accepted for scoring. */
|
|
2145
2430
|
file_count: number;
|
|
@@ -2294,13 +2579,33 @@ export interface SetUsageLimitBody {
|
|
|
2294
2579
|
/** Percent of the cap at which members are warned. */
|
|
2295
2580
|
warn_threshold_pct?: number;
|
|
2296
2581
|
}
|
|
2582
|
+
export interface Setting_Annotated_float__Ge__ {
|
|
2583
|
+
value: number;
|
|
2584
|
+
locked?: boolean;
|
|
2585
|
+
}
|
|
2586
|
+
export interface Setting_Annotated_int__FieldInfo_annotation_NoneType__required_True__metadata__Ge_ge_1___Le_le_6_____ {
|
|
2587
|
+
value: number;
|
|
2588
|
+
locked?: boolean;
|
|
2589
|
+
}
|
|
2590
|
+
export interface Setting_JsonValue_ {
|
|
2591
|
+
value: JsonValue;
|
|
2592
|
+
locked?: boolean;
|
|
2593
|
+
}
|
|
2594
|
+
export interface Setting_Union_UsageCap__NoneType__ {
|
|
2595
|
+
value: UsageCap | null;
|
|
2596
|
+
locked?: boolean;
|
|
2597
|
+
}
|
|
2598
|
+
export interface Setting_bool_ {
|
|
2599
|
+
value: boolean;
|
|
2600
|
+
locked?: boolean;
|
|
2601
|
+
}
|
|
2297
2602
|
export interface SkippedFile {
|
|
2298
2603
|
file_id: string;
|
|
2299
2604
|
/** Why this file_id was not added: not_found (no such file), foreign_workspace (belongs to another workspace), already_member (already in the set), or duplicate_in_request (listed more than once in this call). */
|
|
2300
2605
|
reason: "not_found" | "foreign_workspace" | "already_member" | "duplicate_in_request";
|
|
2301
2606
|
}
|
|
2302
2607
|
export interface SkippedFileOutput {
|
|
2303
|
-
/**
|
|
2608
|
+
/** ID of the file left. */
|
|
2304
2609
|
file_id: string;
|
|
2305
2610
|
/** What holds the file, and what to do about it. */
|
|
2306
2611
|
message: string;
|
|
@@ -2329,7 +2634,7 @@ export interface SpriteSheetFrameView {
|
|
|
2329
2634
|
w: number;
|
|
2330
2635
|
/** The frame's height in pixels. */
|
|
2331
2636
|
h: number;
|
|
2332
|
-
/** The point the frame is placed by, in pixels from the frame's top-left corner. Null when the frames were registered by
|
|
2637
|
+
/** The point the frame is placed by, in pixels from the frame's top-left corner. Null when the frames were registered by centering them in their cells. */
|
|
2333
2638
|
anchor?: TilePointView | null;
|
|
2334
2639
|
}
|
|
2335
2640
|
/**
|
|
@@ -2348,7 +2653,7 @@ export interface SpriteSheetMetadataView {
|
|
|
2348
2653
|
cell_height: number;
|
|
2349
2654
|
/** Pixels between the sheet's edges and the outer cells. */
|
|
2350
2655
|
margin: number;
|
|
2351
|
-
/** Pixels between
|
|
2656
|
+
/** Pixels between neighboring cells. */
|
|
2352
2657
|
spacing: number;
|
|
2353
2658
|
/** The frames, in play order: left to right, then top to bottom, unless the list orders them otherwise. */
|
|
2354
2659
|
frames: Array<SpriteSheetFrameView>;
|
|
@@ -2356,13 +2661,15 @@ export interface SpriteSheetMetadataView {
|
|
|
2356
2661
|
animations: Array<SpriteSheetAnimationView>;
|
|
2357
2662
|
}
|
|
2358
2663
|
export interface StartTrainingRequest {
|
|
2359
|
-
/** The reference set (Style) to train a LoRA for. */
|
|
2664
|
+
/** The reference set (Style) to train a LoRA or a voice for. */
|
|
2360
2665
|
reference_set_id: string;
|
|
2361
2666
|
/** Base model to train. Omit to use the reference set's configured or workspace default model. */
|
|
2362
2667
|
base_model_id?: string | null;
|
|
2363
|
-
/** Training framework override. Omit for the server default. */
|
|
2364
|
-
training_framework?: "fal" | "ai-toolkit" | null;
|
|
2365
|
-
/**
|
|
2668
|
+
/** Training framework override. Omit for the server default. On the ElevenLabs TTS models, voice-clone clones the set's audio clips, voice-design designs a voice from training_parameters.training_prompt, and voice-import adopts the ElevenLabs voice in training_parameters.voice_id. */
|
|
2669
|
+
training_framework?: "fal" | "ai-toolkit" | "voice-clone" | "voice-design" | "voice-import" | null;
|
|
2670
|
+
/** Hyperparameters for this run in place of the reference set's saved settings. Each applies only where the run's framework offers it; one the framework does not take is refused. */
|
|
2671
|
+
training_parameters?: TrainingOverrides | null;
|
|
2672
|
+
/** Deliver this run's terminal events to a URL instead of polling for them. See the Webhooks section of this document for the payload, headers and retry behavior. */
|
|
2366
2673
|
webhook?: WebhookInput | null;
|
|
2367
2674
|
}
|
|
2368
2675
|
export interface StartTrainingResponse {
|
|
@@ -2412,7 +2719,7 @@ export interface StorageSliceOutput {
|
|
|
2412
2719
|
/** Whether a file is the output of a generation, or something a person put in the workspace. */
|
|
2413
2720
|
export type StoredFileOrigin = "generated" | "uploaded";
|
|
2414
2721
|
export interface StoredFileOutput {
|
|
2415
|
-
/**
|
|
2722
|
+
/** ID of the file. */
|
|
2416
2723
|
file_id: string;
|
|
2417
2724
|
/** The file's name. */
|
|
2418
2725
|
name: string;
|
|
@@ -2497,9 +2804,9 @@ export interface TileMetadataView {
|
|
|
2497
2804
|
tile_width: number;
|
|
2498
2805
|
/** Height in pixels of one cell's base outline in the sprite. */
|
|
2499
2806
|
tile_height: number;
|
|
2500
|
-
/** The point the tile is placed by: the bottom
|
|
2807
|
+
/** The point the tile is placed by: the bottom center of the cell it stands on (the front cell of a footprint wider than one). */
|
|
2501
2808
|
anchor: TilePointView;
|
|
2502
|
-
/** The
|
|
2809
|
+
/** The center of the anchor's cell. Godot and Unity pin a tile here rather than at the anchor. */
|
|
2503
2810
|
cell_center: TilePointView;
|
|
2504
2811
|
/** The footprint's whole base outline, clockwise on screen from the anchor's vertex or edge. */
|
|
2505
2812
|
base_outline: Array<TilePointView>;
|
|
@@ -2564,6 +2871,49 @@ export interface TrainedModelResponse {
|
|
|
2564
2871
|
/** Whether this finetune is the active one for the run's base model. */
|
|
2565
2872
|
is_active: boolean;
|
|
2566
2873
|
}
|
|
2874
|
+
/**
|
|
2875
|
+
* Settings one training run takes in place of the reference set's saved config.
|
|
2876
|
+
*
|
|
2877
|
+
* Each one applies only where the run's framework offers it (TrainingFrameworkDefaults.supports_parameter);
|
|
2878
|
+
* unset fields keep the saved value.
|
|
2879
|
+
*/
|
|
2880
|
+
export interface TrainingOverrides {
|
|
2881
|
+
/** Number of passes over the training images. */
|
|
2882
|
+
epochs?: number | null;
|
|
2883
|
+
/** Times each image is seen within one epoch, so one epoch is (images x repeats) steps. Offered by the kohya and ai-toolkit frameworks only. */
|
|
2884
|
+
repeats?: number | null;
|
|
2885
|
+
/** Optimizer learning rate. */
|
|
2886
|
+
learning_rate?: number | null;
|
|
2887
|
+
/** LoRA rank (network dimension). */
|
|
2888
|
+
lora_rank?: number | null;
|
|
2889
|
+
/** A description of the voice to design: age, accent, tone, pacing. Offered by the voice-design framework only. */
|
|
2890
|
+
training_prompt?: string | null;
|
|
2891
|
+
/** The ElevenLabs voice ID to import: a voice from the public ElevenLabs voice library, or one made on Layer. A voice private to another ElevenLabs account can't be reached, and a voice ID that can't be used fails the run. Offered by the voice-import framework only. */
|
|
2892
|
+
voice_id?: string | null;
|
|
2893
|
+
/** Loudness of the designed voice. Offered by ElevenLabs voice-design only. */
|
|
2894
|
+
loudness?: number | null;
|
|
2895
|
+
/** How closely the designed voice follows the prompt. Offered by ElevenLabs voice-design only. */
|
|
2896
|
+
guidance_scale?: number | null;
|
|
2897
|
+
/** Weight of the prompt against a reference clip, when the reference set holds one. Offered by ElevenLabs voice-design only. */
|
|
2898
|
+
prompt_strength?: number | null;
|
|
2899
|
+
}
|
|
2900
|
+
/**
|
|
2901
|
+
* The hyperparameters a training run trains with, as the public API reports them.
|
|
2902
|
+
*
|
|
2903
|
+
* The class name is an OpenAPI schema component name and so is public API.
|
|
2904
|
+
*/
|
|
2905
|
+
export interface TrainingParametersView {
|
|
2906
|
+
/** Training framework the run uses (e.g. fal, kohya). */
|
|
2907
|
+
framework?: string | null;
|
|
2908
|
+
/** Number of passes over the training images the run trains, after capping to the framework's step limit. */
|
|
2909
|
+
epochs?: number | null;
|
|
2910
|
+
/** Times each image is seen within one epoch. Null on frameworks that do not take repeats. */
|
|
2911
|
+
repeats?: number | null;
|
|
2912
|
+
/** Optimizer learning rate. */
|
|
2913
|
+
learning_rate?: number | null;
|
|
2914
|
+
/** LoRA rank (network dimension). */
|
|
2915
|
+
lora_rank?: number | null;
|
|
2916
|
+
}
|
|
2567
2917
|
export interface TrainingRunSummary {
|
|
2568
2918
|
training_run_id: string;
|
|
2569
2919
|
reference_set_id: string;
|
|
@@ -2586,10 +2936,115 @@ export interface TrainingWebhookEvent {
|
|
|
2586
2936
|
/** Whatever you sent as webhook.metadata. */
|
|
2587
2937
|
metadata?: Record<string, string>;
|
|
2588
2938
|
}
|
|
2939
|
+
export interface TrendReferenceFile {
|
|
2940
|
+
/** Public file to pass by id as generation guidance, such as a reference video or image. */
|
|
2941
|
+
file_id: string;
|
|
2942
|
+
/** Download URL for the file. */
|
|
2943
|
+
url: string;
|
|
2944
|
+
/** MIME type, e.g. video/mp4 or image/jpeg. */
|
|
2945
|
+
content_type: string;
|
|
2946
|
+
/** Length of a video; null when not probed. */
|
|
2947
|
+
duration_seconds?: number | null;
|
|
2948
|
+
/** Pixel width; null when not probed. */
|
|
2949
|
+
width?: number | null;
|
|
2950
|
+
/** Pixel height; null when not probed. */
|
|
2951
|
+
height?: number | null;
|
|
2952
|
+
}
|
|
2953
|
+
export interface TrendResearchFindingOutput {
|
|
2954
|
+
/** What the finding is about. */
|
|
2955
|
+
topic: string;
|
|
2956
|
+
/** The grounded claim. */
|
|
2957
|
+
finding: string;
|
|
2958
|
+
/** Pages that back the claim. */
|
|
2959
|
+
source_urls?: Array<string>;
|
|
2960
|
+
}
|
|
2961
|
+
export interface TrendResearchImageOutput {
|
|
2962
|
+
/** The image as a public file; it is also among the reference files. */
|
|
2963
|
+
file_id: string;
|
|
2964
|
+
/** Page the image was found on. */
|
|
2965
|
+
source_url: string;
|
|
2966
|
+
/** One line on what the image shows. */
|
|
2967
|
+
shows: string;
|
|
2968
|
+
}
|
|
2969
|
+
export interface TrendResearchOutput {
|
|
2970
|
+
/** What the trend is and which media carries it. */
|
|
2971
|
+
summary: string;
|
|
2972
|
+
/** Angles for adapting the trend to game UA video ads. */
|
|
2973
|
+
remix_ideas: string;
|
|
2974
|
+
/** Grounded claims. */
|
|
2975
|
+
findings?: Array<TrendResearchFindingOutput>;
|
|
2976
|
+
/** Pages consulted. */
|
|
2977
|
+
sources?: Array<TrendResearchSourceOutput>;
|
|
2978
|
+
/** Videos that show the trend. */
|
|
2979
|
+
videos?: Array<TrendResearchVideoOutput>;
|
|
2980
|
+
/** Stills that show the trend. */
|
|
2981
|
+
images?: Array<TrendResearchImageOutput>;
|
|
2982
|
+
/** Gaps the research could not close. */
|
|
2983
|
+
uncertainties?: Array<string>;
|
|
2984
|
+
/** When the research ran. */
|
|
2985
|
+
researched_at: string;
|
|
2986
|
+
}
|
|
2987
|
+
export interface TrendResearchSourceOutput {
|
|
2988
|
+
/** Title of a page the research consulted. */
|
|
2989
|
+
title: string;
|
|
2990
|
+
/** Address of the page. */
|
|
2991
|
+
url: string;
|
|
2992
|
+
}
|
|
2993
|
+
export interface TrendResearchVideoOutput {
|
|
2994
|
+
/** YouTube address of the video; it is not downloaded. */
|
|
2995
|
+
url: string;
|
|
2996
|
+
/** Title of the video. */
|
|
2997
|
+
title: string;
|
|
2998
|
+
/** Channel that published it. */
|
|
2999
|
+
channel: string;
|
|
3000
|
+
/** Length of the video; null when unknown. */
|
|
3001
|
+
duration_seconds?: number | null;
|
|
3002
|
+
/** Start of the part that shows the trend. */
|
|
3003
|
+
start_seconds: number;
|
|
3004
|
+
/** End of the part that shows the trend. */
|
|
3005
|
+
end_seconds: number;
|
|
3006
|
+
/** What that part demonstrates. */
|
|
3007
|
+
why: string;
|
|
3008
|
+
}
|
|
3009
|
+
export interface TrendSummary {
|
|
3010
|
+
/** The trend's id; read its full detail with the get-trend call. */
|
|
3011
|
+
trend_id: string;
|
|
3012
|
+
/** `creative` for a pattern distilled from mobile game UA video ads, `top` for a public board entry. */
|
|
3013
|
+
type: TrendType;
|
|
3014
|
+
/** The name of the trend. */
|
|
3015
|
+
title: string;
|
|
3016
|
+
/** What the trend is and why it works; empty while a board trend's research runs. */
|
|
3017
|
+
summary: string;
|
|
3018
|
+
/** Descriptive tags. */
|
|
3019
|
+
tags?: Array<string>;
|
|
3020
|
+
/** Game genres the trend shows up in. */
|
|
3021
|
+
genres?: Array<string>;
|
|
3022
|
+
/** Countries the trend was seen in. */
|
|
3023
|
+
countries?: Array<string>;
|
|
3024
|
+
/** How many distinct ads show a `creative` trend; 0 for a `top` trend. */
|
|
3025
|
+
match_count: number;
|
|
3026
|
+
/** Board slug, such as `tiktok`, for a `top` trend. */
|
|
3027
|
+
source?: string | null;
|
|
3028
|
+
/** Place on the board's latest refresh, for a `top` trend. */
|
|
3029
|
+
rank?: number | null;
|
|
3030
|
+
/** Place on the refresh before; null on a `top` trend means it is newly charted. */
|
|
3031
|
+
previous_rank?: number | null;
|
|
3032
|
+
/** When the board placement was recorded. */
|
|
3033
|
+
ranked_at?: string | null;
|
|
3034
|
+
/** When the trend was first recorded. */
|
|
3035
|
+
created_at: string;
|
|
3036
|
+
}
|
|
3037
|
+
export type TrendType = "creative" | "top";
|
|
3038
|
+
export interface TrendVariantOutput {
|
|
3039
|
+
/** Short name of the variant. */
|
|
3040
|
+
label: string;
|
|
3041
|
+
/** How this angle differs from the main pattern. */
|
|
3042
|
+
description: string;
|
|
3043
|
+
}
|
|
2589
3044
|
export interface UpdateGroupBody {
|
|
2590
3045
|
/** New builtin role to grant members. Send null with no role_id to clear the group's role. */
|
|
2591
3046
|
role: Role | null;
|
|
2592
|
-
/**
|
|
3047
|
+
/** ID of a custom role to grant instead of a builtin `role`. */
|
|
2593
3048
|
role_id?: string | null;
|
|
2594
3049
|
}
|
|
2595
3050
|
export interface UpdateMemberBody {
|
|
@@ -2601,15 +3056,24 @@ export interface UpdateMemberBody {
|
|
|
2601
3056
|
export interface UpdateProjectBody {
|
|
2602
3057
|
name?: string | null;
|
|
2603
3058
|
description?: string | null;
|
|
2604
|
-
/** Deprecated: attach a skill to the project instead.
|
|
3059
|
+
/** Deprecated: attach a skill to the project instead. Honored while it holds text, and read back as null once the project's instructions have been converted into a project-attached skill. */
|
|
2605
3060
|
instructions?: string | null;
|
|
2606
3061
|
/** Set true to archive, false to unarchive. Omit to leave unchanged. */
|
|
2607
3062
|
archived?: boolean | null;
|
|
3063
|
+
/** Who can reach the project's sessions and the work made in them. `workspace`: workspace members with project access. `members`: the project's own members only; workspace admins outside the project are refused too. Only a member of the project can change it. Omit to leave unchanged. */
|
|
3064
|
+
visibility?: ProjectVisibility | null;
|
|
2608
3065
|
}
|
|
2609
3066
|
export interface UpdateSessionBody {
|
|
2610
3067
|
/** The session's new display name. */
|
|
2611
3068
|
name: string;
|
|
2612
3069
|
}
|
|
3070
|
+
/** A cap on the Creative Units each member may spend in a workspace over one period, as a policy sets it. */
|
|
3071
|
+
export interface UsageCap {
|
|
3072
|
+
cu_limit: number;
|
|
3073
|
+
mode: UsageLimitMode;
|
|
3074
|
+
warn_threshold_pct: number;
|
|
3075
|
+
}
|
|
3076
|
+
export type UsageGranularity = "day" | "month";
|
|
2613
3077
|
/** What a cap does once its member has used all of it. */
|
|
2614
3078
|
export type UsageLimitMode = "warn" | "block";
|
|
2615
3079
|
/** How often a usage cap resets: at midnight UTC, on Monday, or on the 1st of the month. */
|
|
@@ -9,10 +9,10 @@ export interface BaseModelListOptions extends ListOptions {
|
|
|
9
9
|
search?: string;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
|
-
* The model
|
|
12
|
+
* The model catalog, as this workspace may run it.
|
|
13
13
|
*
|
|
14
14
|
* Read it rather than hard-coding ids: which models a workspace can reach depends on its
|
|
15
|
-
* plan and its policy, and the
|
|
15
|
+
* plan and its policy, and the catalog changes without an SDK release.
|
|
16
16
|
*/
|
|
17
17
|
export declare class BaseModels {
|
|
18
18
|
private readonly http;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { walkPages } from "../pagination.js";
|
|
2
2
|
/**
|
|
3
|
-
* The model
|
|
3
|
+
* The model catalog, as this workspace may run it.
|
|
4
4
|
*
|
|
5
5
|
* Read it rather than hard-coding ids: which models a workspace can reach depends on its
|
|
6
|
-
* plan and its policy, and the
|
|
6
|
+
* plan and its policy, and the catalog changes without an SDK release.
|
|
7
7
|
*/
|
|
8
8
|
export class BaseModels {
|
|
9
9
|
http;
|
|
@@ -56,7 +56,7 @@ export declare class Inferences {
|
|
|
56
56
|
/**
|
|
57
57
|
* Poll a run until it finishes, and throw if it finished badly.
|
|
58
58
|
*
|
|
59
|
-
* The server says how often to ask, and that interval is
|
|
59
|
+
* The server says how often to ask, and that interval is honored rather than guessed:
|
|
60
60
|
* it is how a busy deployment tells clients to back off.
|
|
61
61
|
*/
|
|
62
62
|
wait(inferenceId: string, options?: WaitOptions): Promise<GetInferenceRunV2Output>;
|
|
@@ -60,7 +60,7 @@ export class Inferences {
|
|
|
60
60
|
/**
|
|
61
61
|
* Poll a run until it finishes, and throw if it finished badly.
|
|
62
62
|
*
|
|
63
|
-
* The server says how often to ask, and that interval is
|
|
63
|
+
* The server says how often to ask, and that interval is honored rather than guessed:
|
|
64
64
|
* it is how a busy deployment tells clients to back off.
|
|
65
65
|
*/
|
|
66
66
|
async wait(inferenceId, options = {}) {
|
package/dist/types.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export type WorkspaceUsage = WorkspaceUsageOutput;
|
|
|
27
27
|
export type Project = ProjectSummary;
|
|
28
28
|
/** A single project, with everything a list omits. */
|
|
29
29
|
export type ProjectWithDetail = ProjectDetail;
|
|
30
|
-
/** A base model in the
|
|
30
|
+
/** A base model in the catalog. */
|
|
31
31
|
export type BaseModel = BaseModelSummary;
|
|
32
32
|
/** A single base model, with its full capabilities. */
|
|
33
33
|
export type BaseModelWithDetail = BaseModelDetail;
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.87";
|