@layer_ai/sdk 1.0.82 → 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/dist/generated/types.d.ts +56 -15
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -53,8 +53,8 @@ export interface AiPolicyOutput {
|
|
|
53
53
|
*
|
|
54
54
|
* A control or key the patch names is set; one it names as null is removed, so the scope inherits
|
|
55
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.
|
|
57
|
-
*
|
|
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
58
|
*/
|
|
59
59
|
export interface AiPolicyPatch {
|
|
60
60
|
agent_enabled?: Setting_bool_ | null;
|
|
@@ -67,6 +67,7 @@ export interface AiPolicyPatch {
|
|
|
67
67
|
nsfw_tolerance?: Setting_Annotated_int__FieldInfo_annotation_NoneType__required_True__metadata__Ge_ge_1___Le_le_6_____ | null;
|
|
68
68
|
reference_set_sharing_enabled?: Setting_bool_ | null;
|
|
69
69
|
workflow_sharing_enabled?: Setting_bool_ | null;
|
|
70
|
+
usage_caps?: Record<string, Setting_Union_UsageCap__NoneType__ | null> | null;
|
|
70
71
|
}
|
|
71
72
|
/** A stored policy: the scope it is attached to, what it sets, and its last write. */
|
|
72
73
|
export interface AiPolicyRecord {
|
|
@@ -78,8 +79,9 @@ export interface AiPolicyRecord {
|
|
|
78
79
|
/**
|
|
79
80
|
* Everything a scope sets itself, replacing what it set before. Leave a control out to inherit it.
|
|
80
81
|
*
|
|
81
|
-
* Guardrails, output scoring and usage caps are
|
|
82
|
-
*
|
|
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.
|
|
83
85
|
*/
|
|
84
86
|
export interface AiPolicyReplacement {
|
|
85
87
|
/** The Layer agent as a whole. */
|
|
@@ -348,7 +350,7 @@ export interface BaseModelDetail {
|
|
|
348
350
|
/** Supported inputs, sizes, and generation features. */
|
|
349
351
|
capabilities: BaseModelCapabilitiesREST;
|
|
350
352
|
}
|
|
351
|
-
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-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";
|
|
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";
|
|
352
354
|
export interface BaseModelSummary {
|
|
353
355
|
/** Base model identifier, e.g. flux-dev — pass it as `base_model_id`. */
|
|
354
356
|
base_model_id: string;
|
|
@@ -512,8 +514,8 @@ export interface CreateReferenceSetRequest {
|
|
|
512
514
|
name: string;
|
|
513
515
|
/** Training category: general (overall aesthetic), character (person/creature), object (specific item), scene (environment), or effect (visual effect). */
|
|
514
516
|
category: "general" | "character" | "object" | "scene" | "effect";
|
|
515
|
-
/** Ordered image or
|
|
516
|
-
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>;
|
|
517
519
|
/** Optional description. */
|
|
518
520
|
description?: string | null;
|
|
519
521
|
/** Optional ordered image file IDs to show as cover thumbnails. Omit to auto-pick. */
|
|
@@ -949,14 +951,16 @@ export interface EstimateInferencePriceV2Request {
|
|
|
949
951
|
guidance_files?: Array<ForgeGuidanceFileInput>;
|
|
950
952
|
/** The mask the execute call will pass. Some models bill a masked edit at a different rate. */
|
|
951
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;
|
|
952
956
|
}
|
|
953
957
|
export interface EstimateTrainingPriceRequest {
|
|
954
958
|
/** The reference set to price training for. */
|
|
955
959
|
reference_set_id: string;
|
|
956
960
|
/** Base model to train. Omit to use the reference set's configured or workspace default model. */
|
|
957
961
|
base_model_id?: string | null;
|
|
958
|
-
/** Training framework override. Omit for the server default. */
|
|
959
|
-
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;
|
|
960
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. */
|
|
961
965
|
training_parameters?: TrainingOverrides | null;
|
|
962
966
|
}
|
|
@@ -1416,7 +1420,7 @@ export interface ExecuteWorkflowRequest {
|
|
|
1416
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. */
|
|
1417
1421
|
webhook?: WebhookInput | null;
|
|
1418
1422
|
}
|
|
1419
|
-
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";
|
|
1420
1424
|
export interface FileDependencyOutput {
|
|
1421
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`. */
|
|
1422
1426
|
kind: string;
|
|
@@ -1464,7 +1468,7 @@ export interface FileScoresOutput {
|
|
|
1464
1468
|
/** When the stamp was written. */
|
|
1465
1469
|
headline_scored_at?: string | null;
|
|
1466
1470
|
}
|
|
1467
|
-
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";
|
|
1468
1472
|
export interface ForgeGuidanceFileInput {
|
|
1469
1473
|
/** File ID of an uploaded file. */
|
|
1470
1474
|
file_id: string;
|
|
@@ -1576,6 +1580,8 @@ export interface GetInferenceRunV2Output {
|
|
|
1576
1580
|
refusal?: RunRefusal | null;
|
|
1577
1581
|
/** Base model the run used, resolved or auto-picked. */
|
|
1578
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;
|
|
1579
1585
|
/** Per-set summary of what each reference set contributed. */
|
|
1580
1586
|
reference_set_contributions?: Array<ForgeReferenceSetContribution>;
|
|
1581
1587
|
/** True when at least one attached reference set did not meaningfully contribute. The run still costs Creative Units. */
|
|
@@ -1951,6 +1957,26 @@ export interface MemberOutput {
|
|
|
1951
1957
|
/** Membership status: active or suspended. */
|
|
1952
1958
|
status: WorkspaceMembershipStatus;
|
|
1953
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
|
+
}
|
|
1954
1980
|
/**
|
|
1955
1981
|
* How many faces a mesh keeps, as a level the provider sizes adaptively.
|
|
1956
1982
|
*
|
|
@@ -2344,6 +2370,8 @@ export interface RunInferenceToolInput {
|
|
|
2344
2370
|
session_name?: string | null;
|
|
2345
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. */
|
|
2346
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;
|
|
2347
2375
|
}
|
|
2348
2376
|
export interface RunInferenceToolOutput {
|
|
2349
2377
|
/** Unique identifier for this forge run. */
|
|
@@ -2362,6 +2390,8 @@ export interface RunInferenceToolOutput {
|
|
|
2362
2390
|
normalized_parameters?: NormalizedInferenceParameters | null;
|
|
2363
2391
|
/** The base model the run takes: the one named, else the tool's default. */
|
|
2364
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>;
|
|
2365
2395
|
/** Per-set summary of what each reference set contributed. */
|
|
2366
2396
|
reference_set_contributions?: Array<ForgeReferenceSetContribution>;
|
|
2367
2397
|
/** True when at least one attached reference set did not meaningfully contribute. The run still costs Creative Units. */
|
|
@@ -2631,12 +2661,12 @@ export interface SpriteSheetMetadataView {
|
|
|
2631
2661
|
animations: Array<SpriteSheetAnimationView>;
|
|
2632
2662
|
}
|
|
2633
2663
|
export interface StartTrainingRequest {
|
|
2634
|
-
/** The reference set (Style) to train a LoRA for. */
|
|
2664
|
+
/** The reference set (Style) to train a LoRA or a voice for. */
|
|
2635
2665
|
reference_set_id: string;
|
|
2636
2666
|
/** Base model to train. Omit to use the reference set's configured or workspace default model. */
|
|
2637
2667
|
base_model_id?: string | null;
|
|
2638
|
-
/** Training framework override. Omit for the server default. */
|
|
2639
|
-
training_framework?: "fal" | "ai-toolkit" | null;
|
|
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;
|
|
2640
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. */
|
|
2641
2671
|
training_parameters?: TrainingOverrides | null;
|
|
2642
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. */
|
|
@@ -2842,7 +2872,7 @@ export interface TrainedModelResponse {
|
|
|
2842
2872
|
is_active: boolean;
|
|
2843
2873
|
}
|
|
2844
2874
|
/**
|
|
2845
|
-
*
|
|
2875
|
+
* Settings one training run takes in place of the reference set's saved config.
|
|
2846
2876
|
*
|
|
2847
2877
|
* Each one applies only where the run's framework offers it (TrainingFrameworkDefaults.supports_parameter);
|
|
2848
2878
|
* unset fields keep the saved value.
|
|
@@ -2856,6 +2886,16 @@ export interface TrainingOverrides {
|
|
|
2856
2886
|
learning_rate?: number | null;
|
|
2857
2887
|
/** LoRA rank (network dimension). */
|
|
2858
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;
|
|
2859
2899
|
}
|
|
2860
2900
|
/**
|
|
2861
2901
|
* The hyperparameters a training run trains with, as the public API reports them.
|
|
@@ -3033,6 +3073,7 @@ export interface UsageCap {
|
|
|
3033
3073
|
mode: UsageLimitMode;
|
|
3034
3074
|
warn_threshold_pct: number;
|
|
3035
3075
|
}
|
|
3076
|
+
export type UsageGranularity = "day" | "month";
|
|
3036
3077
|
/** What a cap does once its member has used all of it. */
|
|
3037
3078
|
export type UsageLimitMode = "warn" | "block";
|
|
3038
3079
|
/** How often a usage cap resets: at midnight UTC, on Monday, or on the 1st of the month. */
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.0.
|
|
1
|
+
export const VERSION = "1.0.87";
|