{ "components": { "schemas": { "ActiveDownloadResponse": { "properties": { "cp_ids": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cp Ids", "type": "array" }, "session_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Session Id" } }, "required": [ "session_id", "cp_ids" ], "title": "ActiveDownloadResponse", "type": "object" }, "AppSettingsPatch": { "additionalProperties": false, "properties": { "activeLtxModelId": { "anyOf": [ { "enum": [ "ltx-2.5-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-22b-distilled" ], "type": "string" }, { "type": "null" } ], "title": "Activeltxmodelid" }, "diffusionStageCacheEnabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Diffusionstagecacheenabled" }, "falApiKey": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Falapikey" }, "geminiApiKey": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Geminiapikey" }, "geminiModel": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Geminimodel" }, "lockedSeed": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Lockedseed" }, "ltxApiKey": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ltxapikey" }, "modelsDir": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Modelsdir" }, "promptCacheSize": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Promptcachesize" }, "promptEnhancerEnabledI2V": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Promptenhancerenabledi2V" }, "promptEnhancerEnabledT2V": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Promptenhancerenabledt2V" }, "promptEnhancerProviderPreference": { "anyOf": [ { "enum": [ "local", "api" ], "type": "string" }, { "type": "null" } ], "title": "Promptenhancerproviderpreference" }, "seedLocked": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Seedlocked" }, "useConvVae": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Useconvvae" }, "useLocalTextEncoder": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Uselocaltextencoder" }, "useTorchCompile": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Usetorchcompile" }, "userPrefersFalApiImageGenerations": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Userprefersfalapiimagegenerations" }, "userPrefersLtxApiVideoGenerations": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Userprefersltxapivideogenerations" } }, "title": "AppSettingsPatch", "type": "object" }, "AuthorSpec": { "properties": { "affiliation": { "default": "community", "enum": [ "ltx", "community" ], "title": "Affiliation", "type": "string" }, "name": { "title": "Name", "type": "string" }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Url" } }, "required": [ "name" ], "title": "AuthorSpec", "type": "object" }, "CancelCancellingResponse": { "properties": { "id": { "title": "Id", "type": "string" }, "status": { "const": "cancelling", "title": "Status", "type": "string" } }, "required": [ "status", "id" ], "title": "CancelCancellingResponse", "type": "object" }, "CancelNoActiveGenerationResponse": { "properties": { "status": { "const": "no_active_generation", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "CancelNoActiveGenerationResponse", "type": "object" }, "CatalogDownloadStartResponse": { "properties": { "sessionId": { "title": "Sessionid", "type": "string" }, "status": { "title": "Status", "type": "string" } }, "required": [ "status", "sessionId" ], "title": "CatalogDownloadStartResponse", "type": "object" }, "CheckModelAccessRequest": { "properties": { "cp_ids": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cp Ids", "type": "array", "uniqueItems": true } }, "title": "CheckModelAccessRequest", "type": "object" }, "CheckModelAccessResponse": { "properties": { "access": { "additionalProperties": { "enum": [ "authorized", "not_authorized" ], "type": "string" }, "title": "Access", "type": "object" } }, "required": [ "access" ], "title": "CheckModelAccessResponse", "type": "object" }, "CheckpointDescriptor": { "properties": { "cp_id": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "title": "Cp Id", "type": "string" }, "downloaded": { "title": "Downloaded", "type": "boolean" }, "name": { "title": "Name", "type": "string" }, "role": { "enum": [ "base", "upscaler", "text_encoder", "vae", "image", "support" ], "title": "Role", "type": "string" }, "size_bytes": { "title": "Size Bytes", "type": "integer" } }, "required": [ "cp_id", "name", "role", "size_bytes", "downloaded" ], "title": "CheckpointDescriptor", "type": "object" }, "DescribeCheckpointsRequest": { "properties": { "cp_ids": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cp Ids", "type": "array" } }, "required": [ "cp_ids" ], "title": "DescribeCheckpointsRequest", "type": "object" }, "DescribeCheckpointsResponse": { "properties": { "checkpoints": { "items": { "$ref": "#/components/schemas/CheckpointDescriptor" }, "title": "Checkpoints", "type": "array" } }, "required": [ "checkpoints" ], "title": "DescribeCheckpointsResponse", "type": "object" }, "DownloadProgressCompleteResponse": { "properties": { "status": { "const": "complete", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "DownloadProgressCompleteResponse", "type": "object" }, "DownloadProgressErrorResponse": { "properties": { "error": { "title": "Error", "type": "string" }, "status": { "const": "error", "title": "Status", "type": "string" } }, "required": [ "status", "error" ], "title": "DownloadProgressErrorResponse", "type": "object" }, "DownloadProgressRunningResponse": { "properties": { "all_files": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "All Files", "type": "array", "uniqueItems": true }, "completed_files": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Completed Files", "type": "array", "uniqueItems": true }, "current_downloading_file": { "anyOf": [ { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, { "type": "null" } ], "title": "Current Downloading File" }, "current_file_progress": { "title": "Current File Progress", "type": "number" }, "error": { "title": "Error", "type": "null" }, "expected_total_bytes": { "title": "Expected Total Bytes", "type": "integer" }, "speed_bytes_per_sec": { "title": "Speed Bytes Per Sec", "type": "number" }, "status": { "const": "downloading", "title": "Status", "type": "string" }, "total_downloaded_bytes": { "title": "Total Downloaded Bytes", "type": "integer" }, "total_progress": { "title": "Total Progress", "type": "number" } }, "required": [ "status", "current_downloading_file", "current_file_progress", "total_progress", "total_downloaded_bytes", "expected_total_bytes", "completed_files", "all_files", "speed_bytes_per_sec" ], "title": "DownloadProgressRunningResponse", "type": "object" }, "DownloadSpec": { "description": "HF download location for a catalog item.\n\n``variants`` is always non-empty. The first entry is the default checkpoint\n(preferred for generation / omit-``variant_id`` downloads). See the comment on\n``LoraCatalogHandler`` listing helpers.", "properties": { "repo_id": { "title": "Repo Id", "type": "string" }, "variants": { "items": { "$ref": "#/components/schemas/DownloadVariant" }, "title": "Variants", "type": "array" } }, "required": [ "repo_id", "variants" ], "title": "DownloadSpec", "type": "object" }, "DownloadVariant": { "description": "One downloadable weights file under a catalog item (e.g. strong vs light).", "properties": { "filename": { "title": "Filename", "type": "string" }, "id": { "title": "Id", "type": "string" }, "label": { "title": "Label", "type": "string" }, "size_bytes": { "title": "Size Bytes", "type": "integer" } }, "required": [ "id", "label", "filename", "size_bytes" ], "title": "DownloadVariant", "type": "object" }, "EnhancePromptRequest": { "description": "Regular-LoRA, IC-LoRA, and built-in conditioning-type selection are mutually exclusive UI\nsurfaces — a request never carries more than one of loraCatalogIds/icLoraId/conditioningType.", "properties": { "conditioningType": { "anyOf": [ { "enum": [ "canny", "depth" ], "type": "string" }, { "type": "null" } ], "title": "Conditioningtype" }, "duration": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "integer" }, { "type": "null" } ], "title": "Duration" }, "fps": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "integer" }, { "type": "null" } ], "title": "Fps" }, "icLoraId": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Icloraid" }, "imagePath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Imagepath" }, "keyframes": { "items": { "$ref": "#/components/schemas/KeyframeInput" }, "title": "Keyframes", "type": "array" }, "lastImagePath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Lastimagepath" }, "loraCatalogIds": { "items": { "type": "string" }, "title": "Loracatalogids", "type": "array" }, "mediaType": { "default": "video", "enum": [ "video", "image" ], "title": "Mediatype", "type": "string" }, "prompt": { "title": "Prompt", "type": "string" }, "provider": { "default": "local", "enum": [ "local", "api" ], "title": "Provider", "type": "string" } }, "required": [ "prompt" ], "title": "EnhancePromptRequest", "type": "object" }, "EnhancePromptResponse": { "properties": { "enhancedPrompt": { "title": "Enhancedprompt", "type": "string" } }, "required": [ "enhancedPrompt" ], "title": "EnhancePromptResponse", "type": "object" }, "ExtendRequest": { "properties": { "duration": { "exclusiveMinimum": 0.0, "title": "Duration", "type": "number" }, "mode": { "default": "end", "enum": [ "start", "end" ], "title": "Mode", "type": "string" }, "model": { "const": "pro", "default": "pro", "title": "Model", "type": "string" }, "prompt": { "default": "", "title": "Prompt", "type": "string" }, "resolution": { "anyOf": [ { "$ref": "#/components/schemas/TargetResolution" }, { "type": "null" } ] }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "video_path", "duration" ], "title": "ExtendRequest", "type": "object" }, "GeminiModelOptionPayload": { "properties": { "description": { "default": "", "title": "Description", "type": "string" }, "displayName": { "title": "Displayname", "type": "string" }, "id": { "title": "Id", "type": "string" } }, "required": [ "id", "displayName" ], "title": "GeminiModelOptionPayload", "type": "object" }, "GeminiModelsResponsePayload": { "properties": { "models": { "items": { "$ref": "#/components/schemas/GeminiModelOptionPayload" }, "title": "Models", "type": "array" }, "resolvedModel": { "title": "Resolvedmodel", "type": "string" } }, "required": [ "models", "resolvedModel" ], "title": "GeminiModelsResponsePayload", "type": "object" }, "GenerateImageCancelledResponse": { "properties": { "status": { "const": "cancelled", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "GenerateImageCancelledResponse", "type": "object" }, "GenerateImageCompleteResponse": { "properties": { "image_paths": { "items": { "type": "string" }, "title": "Image Paths", "type": "array" }, "status": { "const": "complete", "title": "Status", "type": "string" } }, "required": [ "status", "image_paths" ], "title": "GenerateImageCompleteResponse", "type": "object" }, "GenerateImageRequest": { "properties": { "height": { "default": 1024, "minimum": 16.0, "title": "Height", "type": "integer" }, "imagePath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Imagepath" }, "numImages": { "default": 1, "minimum": 1.0, "title": "Numimages", "type": "integer" }, "numSteps": { "default": 4, "minimum": 1.0, "title": "Numsteps", "type": "integer" }, "prompt": { "minLength": 1, "title": "Prompt", "type": "string" }, "strength": { "default": 0.6, "maximum": 1.0, "minimum": 0.0, "title": "Strength", "type": "number" }, "width": { "default": 1024, "minimum": 16.0, "title": "Width", "type": "integer" } }, "required": [ "prompt" ], "title": "GenerateImageRequest", "type": "object" }, "GenerateVideoCancelledResponse": { "properties": { "status": { "const": "cancelled", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "GenerateVideoCancelledResponse", "type": "object" }, "GenerateVideoCompleteResponse": { "properties": { "status": { "const": "complete", "title": "Status", "type": "string" }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "status", "video_path" ], "title": "GenerateVideoCompleteResponse", "type": "object" }, "GenerateVideoModelsSpecsResponse": { "properties": { "api_models": { "items": { "$ref": "#/components/schemas/LTXVideoGenerationModelSpecItem" }, "title": "Api Models", "type": "array" }, "local_models": { "items": { "$ref": "#/components/schemas/LTXVideoGenerationModelSpecItem" }, "title": "Local Models", "type": "array" } }, "required": [ "local_models", "api_models" ], "title": "GenerateVideoModelsSpecsResponse", "type": "object" }, "GenerateVideoRequest": { "properties": { "aspectRatio": { "default": "16:9", "enum": [ "16:9", "9:16" ], "title": "Aspectratio", "type": "string" }, "audio": { "default": false, "title": "Audio", "type": "boolean" }, "audioPath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Audiopath" }, "cameraMotion": { "default": "none", "enum": [ "none", "dolly_in", "dolly_out", "dolly_left", "dolly_right", "jib_up", "jib_down", "static", "focus_shift" ], "title": "Cameramotion", "type": "string" }, "duration": { "anyOf": [ { "enum": [ 2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20 ], "type": "integer" }, { "type": "null" } ], "default": 5, "title": "Duration" }, "fps": { "default": 24, "enum": [ 24, 25, 48, 50 ], "title": "Fps", "type": "integer" }, "imagePath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Imagepath" }, "keyframes": { "items": { "$ref": "#/components/schemas/KeyframeInput" }, "title": "Keyframes", "type": "array" }, "lastImagePath": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Lastimagepath" }, "loras": { "items": { "$ref": "#/components/schemas/LoraEntry" }, "title": "Loras", "type": "array" }, "model": { "default": "fast", "enum": [ "fast", "pro", "fast-2.5", "pro-2.5" ], "title": "Model", "type": "string" }, "negativePrompt": { "default": "", "title": "Negativeprompt", "type": "string" }, "prompt": { "minLength": 1, "title": "Prompt", "type": "string" }, "resolution": { "default": "1080p", "enum": [ "540p", "720p", "1080p", "1440p", "2160p" ], "title": "Resolution", "type": "string" }, "seed": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Seed" } }, "required": [ "prompt" ], "title": "GenerateVideoRequest", "type": "object" }, "GenerationProgressResponse": { "properties": { "cancellable": { "title": "Cancellable", "type": "boolean" }, "currentStep": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Currentstep" }, "id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Id" }, "phase": { "title": "Phase", "type": "string" }, "progress": { "title": "Progress", "type": "integer" }, "result": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Result" }, "status": { "enum": [ "idle", "running", "complete", "cancelled", "error" ], "title": "Status", "type": "string" }, "totalSteps": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Totalsteps" } }, "required": [ "status", "phase", "progress", "currentStep", "totalSteps", "cancellable" ], "title": "GenerationProgressResponse", "type": "object" }, "GpuInfoResponse": { "properties": { "cuda_available": { "title": "Cuda Available", "type": "boolean" }, "gpu_available": { "default": false, "title": "Gpu Available", "type": "boolean" }, "gpu_info": { "$ref": "#/components/schemas/GpuTelemetry" }, "gpu_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Gpu Name" }, "mps_available": { "default": false, "title": "Mps Available", "type": "boolean" }, "vram_gb": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Vram Gb" } }, "required": [ "cuda_available", "gpu_name", "vram_gb", "gpu_info" ], "title": "GpuInfoResponse", "type": "object" }, "GpuTelemetry": { "properties": { "name": { "title": "Name", "type": "string" }, "vram": { "title": "Vram", "type": "integer" }, "vramUsed": { "title": "Vramused", "type": "integer" } }, "required": [ "name", "vram", "vramUsed" ], "title": "GpuTelemetry", "type": "object" }, "HTTPErrorResponse": { "properties": { "code": { "title": "Code", "type": "string" }, "message": { "title": "Message", "type": "string" } }, "required": [ "code", "message" ], "title": "HTTPErrorResponse", "type": "object" }, "HealthResponse": { "properties": { "active_model": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Active Model" }, "gpu_info": { "$ref": "#/components/schemas/GpuTelemetry" }, "models_loaded": { "title": "Models Loaded", "type": "boolean" }, "models_status": { "items": { "$ref": "#/components/schemas/ModelStatusItem" }, "title": "Models Status", "type": "array" }, "sage_attention": { "title": "Sage Attention", "type": "boolean" }, "status": { "const": "ok", "title": "Status", "type": "string" } }, "required": [ "status", "models_loaded", "active_model", "gpu_info", "sage_attention", "models_status" ], "title": "HealthResponse", "type": "object" }, "HuggingFaceAuthStatusResponse": { "properties": { "status": { "enum": [ "authenticated", "pending", "not_authenticated" ], "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "HuggingFaceAuthStatusResponse", "type": "object" }, "HuggingFaceLoginResponse": { "properties": { "client_id": { "title": "Client Id", "type": "string" }, "code_challenge": { "title": "Code Challenge", "type": "string" }, "code_challenge_method": { "title": "Code Challenge Method", "type": "string" }, "redirect_uri": { "title": "Redirect Uri", "type": "string" }, "scope": { "title": "Scope", "type": "string" }, "state": { "title": "State", "type": "string" } }, "required": [ "client_id", "redirect_uri", "scope", "state", "code_challenge", "code_challenge_method" ], "title": "HuggingFaceLoginResponse", "type": "object" }, "HuggingFaceLogoutResponse": { "properties": { "status": { "const": "logged_out", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "HuggingFaceLogoutResponse", "type": "object" }, "IcLoraCatalogItem": { "description": "IC-LoRA — base plus IC-specific preprocessing / controls / default settings.\n\nIC-LoRAs always take a driving image/video; `input` is required in practice (the base\nfield is optional for plain LoRAs). Enforced by the validator below, so handlers can rely\non it being present.", "properties": { "allows_empty_prompt": { "default": false, "title": "Allows Empty Prompt", "type": "boolean" }, "allows_reference_image": { "default": false, "title": "Allows Reference Image", "type": "boolean" }, "author": { "anyOf": [ { "$ref": "#/components/schemas/AuthorSpec" }, { "type": "null" } ] }, "base_model": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Base Model" }, "controls": { "items": { "$ref": "#/components/schemas/IcLoraControl" }, "title": "Controls", "type": "array" }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created At" }, "default_settings": { "$ref": "#/components/schemas/IcLoraSettings" }, "description": { "title": "Description", "type": "string" }, "download": { "$ref": "#/components/schemas/DownloadSpec" }, "enhancement_examples": { "items": { "type": "string" }, "title": "Enhancement Examples", "type": "array" }, "id": { "title": "Id", "type": "string" }, "input": { "anyOf": [ { "$ref": "#/components/schemas/InputSpec" }, { "type": "null" } ] }, "instructions": { "items": { "$ref": "#/components/schemas/InstructionSection" }, "title": "Instructions", "type": "array" }, "license": { "anyOf": [ { "$ref": "#/components/schemas/LicenseSpec" }, { "type": "null" } ] }, "media": { "anyOf": [ { "$ref": "#/components/schemas/MediaSpec" }, { "type": "null" } ] }, "name": { "title": "Name", "type": "string" }, "preprocessing": { "items": { "$ref": "#/components/schemas/PreprocessingStep" }, "title": "Preprocessing", "type": "array" }, "prompt_template": { "anyOf": [ { "$ref": "#/components/schemas/PromptTemplateSpec" }, { "type": "null" } ] }, "recommended_strength": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Recommended Strength" }, "requires_hf_login": { "title": "Requires Hf Login", "type": "boolean" }, "supported_models": { "items": { "enum": [ "LTX-2.3", "LTX-2.5" ], "type": "string" }, "title": "Supported Models", "type": "array" }, "tags": { "items": { "type": "string" }, "title": "Tags", "type": "array" }, "trigger": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Trigger" }, "trigger_placement": { "anyOf": [ { "enum": [ "first_token", "anywhere" ], "type": "string" }, { "type": "null" } ], "title": "Trigger Placement" } }, "required": [ "id", "name", "description", "download", "requires_hf_login" ], "title": "IcLoraCatalogItem", "type": "object" }, "IcLoraControl": { "properties": { "default": { "anyOf": [ { "type": "integer" }, { "type": "string" }, { "type": "null" } ], "title": "Default" }, "id": { "title": "Id", "type": "string" }, "kind": { "default": "int", "enum": [ "int", "select", "position_canvas" ], "title": "Kind", "type": "string" }, "label": { "title": "Label", "type": "string" }, "options": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Options" }, "unit": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Unit" }, "value_labels": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "title": "Value Labels" } }, "required": [ "id", "label" ], "title": "IcLoraControl", "type": "object" }, "IcLoraDownloadProgressResponse": { "properties": { "downloaded_bytes": { "default": 0, "title": "Downloaded Bytes", "type": "integer" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "expected_bytes": { "default": 0, "title": "Expected Bytes", "type": "integer" }, "ic_lora_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ic Lora Id" }, "progress": { "default": 0.0, "title": "Progress", "type": "number" }, "speed_bytes_per_sec": { "default": 0.0, "title": "Speed Bytes Per Sec", "type": "number" }, "status": { "enum": [ "downloading", "complete", "error" ], "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "IcLoraDownloadProgressResponse", "type": "object" }, "IcLoraDownloadRequest": { "properties": { "ic_lora_id": { "title": "Ic Lora Id", "type": "string" }, "use_hf_auth": { "default": false, "title": "Use Hf Auth", "type": "boolean" }, "variant_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variant Id" } }, "required": [ "ic_lora_id" ], "title": "IcLoraDownloadRequest", "type": "object" }, "IcLoraExtractRequest": { "properties": { "conditioning_type": { "default": "canny", "enum": [ "canny", "depth" ], "title": "Conditioning Type", "type": "string" }, "frame_time": { "default": 0, "title": "Frame Time", "type": "number" }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "video_path" ], "title": "IcLoraExtractRequest", "type": "object" }, "IcLoraExtractResponse": { "properties": { "conditioning": { "title": "Conditioning", "type": "string" }, "conditioning_type": { "enum": [ "canny", "depth" ], "title": "Conditioning Type", "type": "string" }, "frame_time": { "title": "Frame Time", "type": "number" }, "original": { "title": "Original", "type": "string" } }, "required": [ "conditioning", "original", "conditioning_type", "frame_time" ], "title": "IcLoraExtractResponse", "type": "object" }, "IcLoraGenerateCancelledResponse": { "properties": { "status": { "const": "cancelled", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "IcLoraGenerateCancelledResponse", "type": "object" }, "IcLoraGenerateCompleteResponse": { "properties": { "status": { "const": "complete", "title": "Status", "type": "string" }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "status", "video_path" ], "title": "IcLoraGenerateCompleteResponse", "type": "object" }, "IcLoraGenerateRequest": { "properties": { "audio_mode": { "anyOf": [ { "enum": [ "source", "generated", "off" ], "type": "string" }, { "type": "null" } ], "title": "Audio Mode" }, "cfg_guidance_scale": { "default": 1.0, "title": "Cfg Guidance Scale", "type": "number" }, "conditioning_strength": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Conditioning Strength" }, "conditioning_type": { "enum": [ "canny", "depth", "custom" ], "title": "Conditioning Type", "type": "string" }, "control_values": { "additionalProperties": { "anyOf": [ { "type": "integer" }, { "type": "string" } ] }, "title": "Control Values", "type": "object" }, "control_video_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Control Video Path" }, "custom_lora_ref": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Custom Lora Ref" }, "fps_override": { "anyOf": [ { "exclusiveMinimum": 0.0, "type": "number" }, { "type": "null" } ], "title": "Fps Override" }, "ic_lora_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ic Lora Id" }, "images": { "items": { "$ref": "#/components/schemas/IcLoraImageInput" }, "title": "Images", "type": "array" }, "input_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Input Path" }, "lora_strength": { "anyOf": [ { "maximum": 2.0, "minimum": 0.0, "type": "number" }, { "type": "null" } ], "title": "Lora Strength" }, "negative_prompt": { "default": "", "title": "Negative Prompt", "type": "string" }, "num_inference_steps": { "default": 30, "title": "Num Inference Steps", "type": "integer" }, "outpaint_pads": { "anyOf": [ { "$ref": "#/components/schemas/OutpaintPads" }, { "type": "null" } ] }, "prompt": { "title": "Prompt", "type": "string" }, "resolution": { "anyOf": [ { "$ref": "#/components/schemas/TargetResolution" }, { "type": "null" } ] }, "resolution_factor": { "anyOf": [ { "maximum": 2.0, "minimum": 0.0, "type": "number" }, { "type": "null" } ], "title": "Resolution Factor" }, "skip_stage_2": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Skip Stage 2" }, "use_lora_in_stage_2": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Use Lora In Stage 2" }, "variant_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variant Id" }, "video_path": { "default": "", "title": "Video Path", "type": "string" } }, "required": [ "conditioning_type", "prompt" ], "title": "IcLoraGenerateRequest", "type": "object" }, "IcLoraImageInput": { "properties": { "frame": { "default": 0, "title": "Frame", "type": "integer" }, "path": { "title": "Path", "type": "string" }, "strength": { "default": 1.0, "title": "Strength", "type": "number" } }, "required": [ "path" ], "title": "IcLoraImageInput", "type": "object" }, "IcLoraListItem": { "properties": { "downloaded": { "title": "Downloaded", "type": "boolean" }, "downloaded_variant_ids": { "items": { "type": "string" }, "title": "Downloaded Variant Ids", "type": "array" }, "ic_lora": { "$ref": "#/components/schemas/IcLoraCatalogItem" } }, "required": [ "ic_lora", "downloaded" ], "title": "IcLoraListItem", "type": "object" }, "IcLoraListResponse": { "properties": { "ic_loras": { "items": { "$ref": "#/components/schemas/IcLoraListItem" }, "title": "Ic Loras", "type": "array" } }, "required": [ "ic_loras" ], "title": "IcLoraListResponse", "type": "object" }, "IcLoraSettings": { "properties": { "audio_mode": { "default": "generated", "enum": [ "source", "generated", "off" ], "title": "Audio Mode", "type": "string" }, "conditioning_strength": { "default": 1.0, "title": "Conditioning Strength", "type": "number" }, "lora_strength": { "default": 1.0, "maximum": 2.0, "minimum": 0.0, "title": "Lora Strength", "type": "number" }, "resolution_factor": { "default": 2.0, "maximum": 2.0, "minimum": 0.0, "title": "Resolution Factor", "type": "number" }, "skip_stage_2": { "default": false, "title": "Skip Stage 2", "type": "boolean" }, "use_lora_in_stage_2": { "default": false, "title": "Use Lora In Stage 2", "type": "boolean" } }, "title": "IcLoraSettings", "type": "object" }, "ImageGenRecommendationResponse": { "properties": { "cp_to_download": { "anyOf": [ { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, { "type": "null" } ], "title": "Cp To Download" } }, "required": [ "cp_to_download" ], "title": "ImageGenRecommendationResponse", "type": "object" }, "InputSpec": { "properties": { "kind": { "enum": [ "image", "video" ], "title": "Kind", "type": "string" }, "optional": { "default": false, "title": "Optional", "type": "boolean" } }, "required": [ "kind" ], "title": "InputSpec", "type": "object" }, "InstalledModelResponse": { "properties": { "is_ic_lora": { "title": "Is Ic Lora", "type": "boolean" }, "is_lora": { "title": "Is Lora", "type": "boolean" }, "kind": { "title": "Kind", "type": "string" }, "name": { "title": "Name", "type": "string" }, "path": { "title": "Path", "type": "string" }, "size_bytes": { "title": "Size Bytes", "type": "integer" } }, "required": [ "path", "name", "kind", "size_bytes", "is_lora", "is_ic_lora" ], "title": "InstalledModelResponse", "type": "object" }, "InstalledModelsResponse": { "properties": { "models": { "items": { "$ref": "#/components/schemas/InstalledModelResponse" }, "title": "Models", "type": "array" } }, "required": [ "models" ], "title": "InstalledModelsResponse", "type": "object" }, "InstructionSection": { "properties": { "body": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ], "title": "Body" }, "kind": { "enum": [ "summary", "prompting", "tips", "input" ], "title": "Kind", "type": "string" }, "title": { "enum": [ "What it does", "Input", "Prompt", "Tips", "Notes" ], "title": "Title", "type": "string" } }, "required": [ "kind", "title", "body" ], "title": "InstructionSection", "type": "object" }, "JsonValue": {}, "KeyframeInput": { "description": "CamelCase of LTXV keyframe-edit `{image_uri, frame_index, strength}`.", "properties": { "frameIndex": { "minimum": 0.0, "title": "Frameindex", "type": "integer" }, "imagePath": { "title": "Imagepath", "type": "string" }, "strength": { "default": 1.0, "maximum": 1.0, "minimum": 0.0, "title": "Strength", "type": "number" } }, "required": [ "imagePath", "frameIndex" ], "title": "KeyframeInput", "type": "object" }, "LTXOfferingCapabilitiesSpec": { "description": "Feature flags for one local model or API pipeline. Pixel maps stay backend-only.", "properties": { "a2v": { "title": "A2V", "type": "boolean" }, "auto_duration": { "title": "Auto Duration", "type": "boolean" }, "camera_motion": { "title": "Camera Motion", "type": "boolean" }, "extend": { "title": "Extend", "type": "boolean" }, "i2v": { "title": "I2V", "type": "boolean" }, "ic_lora": { "title": "Ic Lora", "type": "boolean" }, "multi_keyframe": { "title": "Multi Keyframe", "type": "boolean" }, "multi_keyframe_max_count": { "title": "Multi Keyframe Max Count", "type": "integer" }, "retake": { "title": "Retake", "type": "boolean" }, "t2v": { "title": "T2V", "type": "boolean" }, "user_loras": { "title": "User Loras", "type": "boolean" } }, "required": [ "t2v", "i2v", "a2v", "ic_lora", "retake", "extend", "multi_keyframe", "multi_keyframe_max_count", "user_loras", "camera_motion", "auto_duration" ], "title": "LTXOfferingCapabilitiesSpec", "type": "object" }, "LTXVideoGenerationModelSpecItem": { "properties": { "pipeline": { "enum": [ "fast", "pro", "fast-2.5", "pro-2.5" ], "title": "Pipeline", "type": "string" }, "spec": { "$ref": "#/components/schemas/LTXVideoGenerationSpec" } }, "required": [ "pipeline", "spec" ], "title": "LTXVideoGenerationModelSpecItem", "type": "object" }, "LTXVideoGenerationResolutionSpec": { "properties": { "fps_to_durations": { "additionalProperties": { "items": { "enum": [ 2, 3, 4, 5, 6, 8, 10, 12, 14, 16, 18, 20 ], "type": "integer" }, "type": "array" }, "title": "Fps To Durations", "type": "object" } }, "required": [ "fps_to_durations" ], "title": "LTXVideoGenerationResolutionSpec", "type": "object" }, "LTXVideoGenerationSpec": { "properties": { "a2v_supported_resolutions_durations": { "anyOf": [ { "additionalProperties": { "$ref": "#/components/schemas/LTXVideoGenerationResolutionSpec" }, "propertyNames": { "enum": [ "540p", "720p", "1080p", "1440p", "2160p" ] }, "type": "object" }, { "type": "null" } ], "title": "A2V Supported Resolutions Durations" }, "capabilities": { "anyOf": [ { "$ref": "#/components/schemas/LTXOfferingCapabilitiesSpec" }, { "type": "null" } ] }, "display_name": { "title": "Display Name", "type": "string" }, "supported_resolutions_durations": { "additionalProperties": { "$ref": "#/components/schemas/LTXVideoGenerationResolutionSpec" }, "propertyNames": { "enum": [ "540p", "720p", "1080p", "1440p", "2160p" ] }, "title": "Supported Resolutions Durations", "type": "object" } }, "required": [ "display_name", "supported_resolutions_durations" ], "title": "LTXVideoGenerationSpec", "type": "object" }, "LicenseSpec": { "properties": { "name": { "title": "Name", "type": "string" }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Url" } }, "required": [ "name" ], "title": "LicenseSpec", "type": "object" }, "LoraCatalogItem": { "description": "Base catalog entry — used as-is for a plain LoRA.", "properties": { "allows_empty_prompt": { "default": false, "title": "Allows Empty Prompt", "type": "boolean" }, "author": { "anyOf": [ { "$ref": "#/components/schemas/AuthorSpec" }, { "type": "null" } ] }, "base_model": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Base Model" }, "created_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Created At" }, "description": { "title": "Description", "type": "string" }, "download": { "$ref": "#/components/schemas/DownloadSpec" }, "enhancement_examples": { "items": { "type": "string" }, "title": "Enhancement Examples", "type": "array" }, "id": { "title": "Id", "type": "string" }, "input": { "anyOf": [ { "$ref": "#/components/schemas/InputSpec" }, { "type": "null" } ] }, "instructions": { "items": { "$ref": "#/components/schemas/InstructionSection" }, "title": "Instructions", "type": "array" }, "license": { "anyOf": [ { "$ref": "#/components/schemas/LicenseSpec" }, { "type": "null" } ] }, "media": { "anyOf": [ { "$ref": "#/components/schemas/MediaSpec" }, { "type": "null" } ] }, "name": { "title": "Name", "type": "string" }, "prompt_template": { "anyOf": [ { "$ref": "#/components/schemas/PromptTemplateSpec" }, { "type": "null" } ] }, "recommended_strength": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Recommended Strength" }, "requires_hf_login": { "title": "Requires Hf Login", "type": "boolean" }, "supported_models": { "items": { "enum": [ "LTX-2.3", "LTX-2.5" ], "type": "string" }, "title": "Supported Models", "type": "array" }, "tags": { "items": { "type": "string" }, "title": "Tags", "type": "array" }, "trigger": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Trigger" }, "trigger_placement": { "anyOf": [ { "enum": [ "first_token", "anywhere" ], "type": "string" }, { "type": "null" } ], "title": "Trigger Placement" } }, "required": [ "id", "name", "description", "download", "requires_hf_login" ], "title": "LoraCatalogItem", "type": "object" }, "LoraDownloadProgressResponse": { "properties": { "downloaded_bytes": { "default": 0, "title": "Downloaded Bytes", "type": "integer" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "expected_bytes": { "default": 0, "title": "Expected Bytes", "type": "integer" }, "lora_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Lora Id" }, "progress": { "default": 0.0, "title": "Progress", "type": "number" }, "speed_bytes_per_sec": { "default": 0.0, "title": "Speed Bytes Per Sec", "type": "number" }, "status": { "enum": [ "downloading", "complete", "error" ], "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "LoraDownloadProgressResponse", "type": "object" }, "LoraDownloadRequest": { "properties": { "lora_id": { "title": "Lora Id", "type": "string" }, "use_hf_auth": { "default": false, "title": "Use Hf Auth", "type": "boolean" }, "variant_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variant Id" } }, "required": [ "lora_id" ], "title": "LoraDownloadRequest", "type": "object" }, "LoraEntry": { "properties": { "ref": { "title": "Ref", "type": "string" }, "scale": { "default": 1.0, "maximum": 4.0, "minimum": 0.0, "title": "Scale", "type": "number" } }, "required": [ "ref" ], "title": "LoraEntry", "type": "object" }, "LoraListItem": { "properties": { "downloaded": { "title": "Downloaded", "type": "boolean" }, "downloaded_variant_ids": { "items": { "type": "string" }, "title": "Downloaded Variant Ids", "type": "array" }, "lora": { "$ref": "#/components/schemas/LoraCatalogItem" } }, "required": [ "lora", "downloaded" ], "title": "LoraListItem", "type": "object" }, "LoraListResponse": { "properties": { "loras": { "items": { "$ref": "#/components/schemas/LoraListItem" }, "title": "Loras", "type": "array" } }, "required": [ "loras" ], "title": "LoraListResponse", "type": "object" }, "LtxDownloadRecommendationResponse": { "properties": { "cps_to_download": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cps To Download", "type": "array" }, "optional_cp_ids": { "default": [], "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Optional Cp Ids", "type": "array" }, "status": { "const": "download", "title": "Status", "type": "string" } }, "required": [ "status", "cps_to_download" ], "title": "LtxDownloadRecommendationResponse", "type": "object" }, "LtxIcLoraRecommendationResponse": { "properties": { "cps_to_download": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cps To Download", "type": "array" }, "supported": { "default": true, "title": "Supported", "type": "boolean" } }, "required": [ "cps_to_download" ], "title": "LtxIcLoraRecommendationResponse", "type": "object" }, "LtxInsufficientFundsErrorResponse": { "properties": { "code": { "const": "LTX_INSUFFICIENT_FUNDS", "title": "Code", "type": "string" }, "message": { "title": "Message", "type": "string" } }, "required": [ "code", "message" ], "title": "LtxInsufficientFundsErrorResponse", "type": "object" }, "LtxModelVersionItem": { "properties": { "active": { "title": "Active", "type": "boolean" }, "cps_to_download": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cps To Download", "type": "array" }, "installed": { "title": "Installed", "type": "boolean" }, "is_newest": { "title": "Is Newest", "type": "boolean" }, "label": { "title": "Label", "type": "string" }, "model_cp": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "title": "Model Cp", "type": "string" }, "model_id": { "enum": [ "ltx-2.5-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-22b-distilled" ], "title": "Model Id", "type": "string" }, "size_bytes": { "title": "Size Bytes", "type": "integer" } }, "required": [ "model_id", "label", "model_cp", "size_bytes", "installed", "active", "is_newest", "cps_to_download" ], "title": "LtxModelVersionItem", "type": "object" }, "LtxModelVersionsResponse": { "properties": { "versions": { "items": { "$ref": "#/components/schemas/LtxModelVersionItem" }, "title": "Versions", "type": "array" } }, "required": [ "versions" ], "title": "LtxModelVersionsResponse", "type": "object" }, "LtxOkRecommendationResponse": { "properties": { "status": { "const": "ok", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "LtxOkRecommendationResponse", "type": "object" }, "LtxUpgradeRecommendationResponse": { "properties": { "cps_to_delete": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cps To Delete", "type": "array" }, "cps_to_download": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cps To Download", "type": "array" }, "loses_built_in_control": { "default": false, "title": "Loses Built In Control", "type": "boolean" }, "ltx_model_id": { "enum": [ "ltx-2.5-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-22b-distilled" ], "title": "Ltx Model Id", "type": "string" }, "status": { "const": "upgrade", "title": "Status", "type": "string" }, "upgrade_message": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Upgrade Message" } }, "required": [ "status", "ltx_model_id", "cps_to_download", "cps_to_delete" ], "title": "LtxUpgradeRecommendationResponse", "type": "object" }, "MediaSpec": { "properties": { "demo_video": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Demo Video" }, "thumbnail": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Thumbnail" } }, "title": "MediaSpec", "type": "object" }, "ModelDeleteRequest": { "properties": { "cp_ids": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cp Ids", "type": "array", "uniqueItems": true } }, "title": "ModelDeleteRequest", "type": "object" }, "ModelDownloadRequest": { "properties": { "cp_ids": { "items": { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, "title": "Cp Ids", "type": "array", "uniqueItems": true }, "type": { "default": "download", "enum": [ "download", "upgrade" ], "title": "Type", "type": "string" } }, "title": "ModelDownloadRequest", "type": "object" }, "ModelDownloadStartResponse": { "properties": { "message": { "title": "Message", "type": "string" }, "sessionId": { "title": "Sessionid", "type": "string" }, "status": { "const": "started", "title": "Status", "type": "string" } }, "required": [ "status", "message", "sessionId" ], "title": "ModelDownloadStartResponse", "type": "object" }, "ModelStatusItem": { "properties": { "downloaded": { "title": "Downloaded", "type": "boolean" }, "id": { "title": "Id", "type": "string" }, "loaded": { "title": "Loaded", "type": "boolean" }, "name": { "title": "Name", "type": "string" } }, "required": [ "id", "name", "loaded", "downloaded" ], "title": "ModelStatusItem", "type": "object" }, "MpsMemoryResponse": { "description": "Read-only Apple Silicon MPS memory snapshot, MiB. Fields are None off MPS.", "properties": { "allocated_mib": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Allocated Mib" }, "available": { "title": "Available", "type": "boolean" }, "driver_mib": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Driver Mib" }, "recommended_max_mib": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Recommended Max Mib" } }, "required": [ "available" ], "title": "MpsMemoryResponse", "type": "object" }, "OutpaintPads": { "description": "Per-edge pixels to add around the source video (extend-only, so all ≥ 0).\n\nThe +100% cap (each ≤ the source's axis size) needs the source dimensions, so it's enforced\nin `_outpaint_canvas`, not here.", "properties": { "bottom": { "minimum": 0.0, "title": "Bottom", "type": "integer" }, "left": { "minimum": 0.0, "title": "Left", "type": "integer" }, "right": { "minimum": 0.0, "title": "Right", "type": "integer" }, "top": { "minimum": 0.0, "title": "Top", "type": "integer" } }, "required": [ "left", "right", "top", "bottom" ], "title": "OutpaintPads", "type": "object" }, "PreprocessingStep": { "properties": { "params": { "additionalProperties": { "$ref": "#/components/schemas/JsonValue" }, "title": "Params", "type": "object" }, "utility": { "title": "Utility", "type": "string" } }, "required": [ "utility" ], "title": "PreprocessingStep", "type": "object" }, "PromptTemplatePlaceholder": { "properties": { "choices": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Choices" } }, "title": "PromptTemplatePlaceholder", "type": "object" }, "PromptTemplateSpec": { "description": "A fixed prompt structure a LoRA/IC-LoRA requires verbatim (e.g. a two-part\n\"Reference shows X. Edited shows Y.\" restore template, or crossview's enum-constrained\ncamera vocabulary). `template` contains `{name}` placeholders; each must have a matching\nentry in `placeholders`. A degenerate template with no placeholders (e.g. \"upscale\") is a\nfixed, non-generated prompt.", "properties": { "placeholders": { "additionalProperties": { "$ref": "#/components/schemas/PromptTemplatePlaceholder" }, "title": "Placeholders", "type": "object" }, "template": { "title": "Template", "type": "string" } }, "required": [ "template" ], "title": "PromptTemplateSpec", "type": "object" }, "RetakeCancelledResponse": { "properties": { "status": { "const": "cancelled", "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "RetakeCancelledResponse", "type": "object" }, "RetakePayloadResponse": { "properties": { "result": { "additionalProperties": true, "title": "Result", "type": "object" }, "status": { "const": "complete", "title": "Status", "type": "string" } }, "required": [ "status", "result" ], "title": "RetakePayloadResponse", "type": "object" }, "RetakeRequest": { "properties": { "duration": { "title": "Duration", "type": "number" }, "mode": { "default": "replace_audio_and_video", "enum": [ "replace_audio_and_video", "replace_video", "replace_audio" ], "title": "Mode", "type": "string" }, "model": { "const": "pro", "default": "pro", "title": "Model", "type": "string" }, "prompt": { "default": "", "title": "Prompt", "type": "string" }, "resolution": { "anyOf": [ { "$ref": "#/components/schemas/TargetResolution" }, { "type": "null" } ] }, "start_time": { "title": "Start Time", "type": "number" }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "video_path", "start_time", "duration" ], "title": "RetakeRequest", "type": "object" }, "RetakeVideoResponse": { "properties": { "status": { "const": "complete", "title": "Status", "type": "string" }, "video_path": { "title": "Video Path", "type": "string" } }, "required": [ "status", "video_path" ], "title": "RetakeVideoResponse", "type": "object" }, "RuntimePolicyResponse": { "properties": { "force_api_generations": { "title": "Force Api Generations", "type": "boolean" } }, "required": [ "force_api_generations" ], "title": "RuntimePolicyResponse", "type": "object" }, "SetActiveLtxModelRequest": { "properties": { "model_id": { "enum": [ "ltx-2.5-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-22b-distilled" ], "title": "Model Id", "type": "string" } }, "required": [ "model_id" ], "title": "SetActiveLtxModelRequest", "type": "object" }, "SettingsResponse": { "properties": { "activeLtxModelId": { "anyOf": [ { "enum": [ "ltx-2.5-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-22b-distilled" ], "type": "string" }, { "type": "null" } ], "title": "Activeltxmodelid" }, "diffusionStageCacheEnabled": { "default": false, "title": "Diffusionstagecacheenabled", "type": "boolean" }, "geminiModel": { "default": "", "title": "Geminimodel", "type": "string" }, "hasFalApiKey": { "default": false, "title": "Hasfalapikey", "type": "boolean" }, "hasGeminiApiKey": { "default": false, "title": "Hasgeminiapikey", "type": "boolean" }, "hasLtxApiKey": { "default": false, "title": "Hasltxapikey", "type": "boolean" }, "lockedSeed": { "default": 42, "title": "Lockedseed", "type": "integer" }, "modelsDir": { "default": "", "title": "Modelsdir", "type": "string" }, "promptCacheSize": { "default": 100, "title": "Promptcachesize", "type": "integer" }, "promptEnhancerEnabledI2V": { "default": false, "title": "Promptenhancerenabledi2V", "type": "boolean" }, "promptEnhancerEnabledT2V": { "default": true, "title": "Promptenhancerenabledt2V", "type": "boolean" }, "promptEnhancerProviderPreference": { "anyOf": [ { "enum": [ "local", "api" ], "type": "string" }, { "type": "null" } ], "title": "Promptenhancerproviderpreference" }, "seedLocked": { "default": false, "title": "Seedlocked", "type": "boolean" }, "useConvVae": { "default": false, "title": "Useconvvae", "type": "boolean" }, "useLocalTextEncoder": { "default": false, "title": "Uselocaltextencoder", "type": "boolean" }, "useTorchCompile": { "default": false, "title": "Usetorchcompile", "type": "boolean" }, "userPrefersFalApiImageGenerations": { "default": false, "title": "Userprefersfalapiimagegenerations", "type": "boolean" }, "userPrefersLtxApiVideoGenerations": { "default": false, "title": "Userprefersltxapivideogenerations", "type": "boolean" } }, "title": "SettingsResponse", "type": "object" }, "StatusResponse": { "properties": { "status": { "title": "Status", "type": "string" } }, "required": [ "status" ], "title": "StatusResponse", "type": "object" }, "SuggestGapPromptRequest": { "properties": { "afterFrame": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Afterframe" }, "afterPrompt": { "default": "", "title": "Afterprompt", "type": "string" }, "beforeFrame": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Beforeframe" }, "beforePrompt": { "default": "", "title": "Beforeprompt", "type": "string" }, "gapDuration": { "default": 5, "title": "Gapduration", "type": "number" }, "inputImage": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Inputimage" }, "mode": { "default": "text-to-video", "enum": [ "text-to-video", "image-to-video", "text-to-image" ], "title": "Mode", "type": "string" } }, "title": "SuggestGapPromptRequest", "type": "object" }, "SuggestGapPromptResponse": { "properties": { "status": { "const": "success", "default": "success", "title": "Status", "type": "string" }, "suggested_prompt": { "title": "Suggested Prompt", "type": "string" } }, "required": [ "suggested_prompt" ], "title": "SuggestGapPromptResponse", "type": "object" }, "TargetResolution": { "description": "Desired output resolution for a local generation. The backend corrects it to the\nnearest valid size (snapped down to a multiple of 32, never above the source).", "properties": { "height": { "exclusiveMinimum": 0.0, "title": "Height", "type": "integer" }, "width": { "exclusiveMinimum": 0.0, "title": "Width", "type": "integer" } }, "required": [ "width", "height" ], "title": "TargetResolution", "type": "object" }, "TextEncoderRecommendationResponse": { "properties": { "active_local_enhancer_cp": { "anyOf": [ { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, { "type": "null" } ], "title": "Active Local Enhancer Cp" }, "api_encoding_supported": { "title": "Api Encoding Supported", "type": "boolean" }, "cp_to_download": { "anyOf": [ { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, { "type": "null" } ], "title": "Cp To Download" }, "expected_size_bytes": { "title": "Expected Size Bytes", "type": "integer" }, "expected_size_gb": { "title": "Expected Size Gb", "type": "number" }, "local_enhancement_supported": { "title": "Local Enhancement Supported", "type": "boolean" }, "local_enhancer_cp": { "anyOf": [ { "enum": [ "ltx-2.3-22b-distilled", "ltx-2.3-22b-distilled-1.1", "ltx-2.3-spatial-upscaler-x2-1.0", "ltx-2.3-spatial-upscaler-x2-1.1", "ltx-2.3-22b-ic-lora-union-control-ref0.5", "ltx-2.5-22b-distilled", "ltx-2.5-spatial-upscaler-x2-1.0", "ltx-2.5-video-vae", "ltx-2.5-video-vae-conv", "ltx-2.5-audio-vae", "ltx-2.5-duration-head", "dpt-hybrid-midas", "yolox-l-torchscript", "dw-ll-ucoco-384-bs5", "gemma-3-12b-it-qat-q4_0-unquantized", "gemma4-12b-with-proj-ltx-2.5", "gemma-4-e2b-it", "z-image-turbo" ], "type": "string" }, { "type": "null" } ], "title": "Local Enhancer Cp" }, "local_enhancer_expected_size_gb": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Local Enhancer Expected Size Gb" }, "ltx_version_label": { "title": "Ltx Version Label", "type": "string" } }, "required": [ "cp_to_download", "expected_size_bytes", "expected_size_gb", "api_encoding_supported", "ltx_version_label", "local_enhancement_supported", "local_enhancer_cp", "local_enhancer_expected_size_gb", "active_local_enhancer_cp" ], "title": "TextEncoderRecommendationResponse", "type": "object" } } }, "info": { "title": "LTX-2 Video Generation Server", "version": "0.1.0" }, "openapi": "3.1.0", "paths": { "/api/auth/huggingface/callback": { "get": { "operationId": "route_hf_callback_api_auth_huggingface_callback_get", "parameters": [ { "in": "query", "name": "code", "required": false, "schema": { "default": "", "title": "Code", "type": "string" } }, { "in": "query", "name": "state", "required": false, "schema": { "default": "", "title": "State", "type": "string" } }, { "in": "query", "name": "error", "required": false, "schema": { "default": "", "title": "Error", "type": "string" } } ], "responses": { "200": { "content": { "text/html": { "schema": { "type": "string" } } }, "description": "Successful Response" }, "4XX": { "content": { "text/html": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "text/html": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Hf Callback", "tags": [ "hf_auth" ] } }, "/api/auth/huggingface/login": { "post": { "operationId": "route_hf_login_api_auth_huggingface_login_post", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HuggingFaceLoginResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Hf Login", "tags": [ "hf_auth" ] } }, "/api/auth/huggingface/logout": { "post": { "operationId": "route_hf_logout_api_auth_huggingface_logout_post", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HuggingFaceLogoutResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Hf Logout", "tags": [ "hf_auth" ] } }, "/api/auth/huggingface/status": { "get": { "operationId": "route_hf_auth_status_api_auth_huggingface_status_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HuggingFaceAuthStatusResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Hf Auth Status", "tags": [ "hf_auth" ] } }, "/api/enhance-prompt": { "post": { "description": "POST /api/enhance-prompt.", "operationId": "route_enhance_prompt_api_enhance_prompt_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EnhancePromptRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EnhancePromptResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Enhance Prompt", "tags": [ "prompt-enhancement" ] } }, "/api/extend": { "post": { "operationId": "route_extend_api_extend_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExtendRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/RetakeVideoResponse" }, { "$ref": "#/components/schemas/RetakePayloadResponse" }, { "$ref": "#/components/schemas/RetakeCancelledResponse" } ], "title": "Response Route Extend Api Extend Post" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Extend", "tags": [ "extend" ] } }, "/api/generate": { "post": { "description": "POST /api/generate — video generation from JSON body.", "operationId": "route_generate_api_generate_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenerateVideoRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/GenerateVideoCompleteResponse" }, { "$ref": "#/components/schemas/GenerateVideoCancelledResponse" } ], "title": "Response Route Generate Api Generate Post" } } }, "description": "Successful Response" }, "402": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LtxInsufficientFundsErrorResponse" } } }, "description": "LTX API credits are insufficient for the requested generation" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Generate", "tags": [ "generation" ] } }, "/api/generate-image": { "post": { "description": "POST /api/generate-image.", "operationId": "route_generate_image_api_generate_image_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenerateImageRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/GenerateImageCompleteResponse" }, { "$ref": "#/components/schemas/GenerateImageCancelledResponse" } ], "title": "Response Route Generate Image Api Generate Image Post" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Generate Image", "tags": [ "image" ] } }, "/api/generate/cancel": { "post": { "description": "POST /api/generate/cancel.", "operationId": "route_generate_cancel_api_generate_cancel_post", "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/CancelCancellingResponse" }, { "$ref": "#/components/schemas/CancelNoActiveGenerationResponse" } ], "title": "Response Route Generate Cancel Api Generate Cancel Post" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Generate Cancel", "tags": [ "generation" ] } }, "/api/generate/models-specs": { "get": { "description": "GET /api/generate/models-specs.", "operationId": "route_generate_model_specs_api_generate_models_specs_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenerateVideoModelsSpecsResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Generate Model Specs", "tags": [ "generation" ] } }, "/api/generation/progress": { "get": { "description": "GET /api/generation/progress.", "operationId": "route_generation_progress_api_generation_progress_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GenerationProgressResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Generation Progress", "tags": [ "generation" ] } }, "/api/gpu-info": { "get": { "operationId": "route_gpu_info_api_gpu_info_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GpuInfoResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Gpu Info", "tags": [ "health" ] } }, "/api/gpu-info/mps": { "get": { "operationId": "route_mps_memory_api_gpu_info_mps_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MpsMemoryResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Mps Memory", "tags": [ "health" ] } }, "/api/ic-lora/extract-conditioning": { "post": { "operationId": "route_ic_lora_extract_api_ic_lora_extract_conditioning_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IcLoraExtractRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IcLoraExtractResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ic Lora Extract", "tags": [ "ic-lora" ] } }, "/api/ic-lora/generate": { "post": { "operationId": "route_ic_lora_generate_api_ic_lora_generate_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IcLoraGenerateRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/IcLoraGenerateCompleteResponse" }, { "$ref": "#/components/schemas/IcLoraGenerateCancelledResponse" } ], "title": "Response Route Ic Lora Generate Api Ic Lora Generate Post" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ic Lora Generate", "tags": [ "ic-lora" ] } }, "/api/ic-loras": { "get": { "operationId": "route_list_ic_loras_api_ic_loras_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IcLoraListResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route List Ic Loras", "tags": [ "ic-loras" ] } }, "/api/ic-loras/download": { "post": { "operationId": "route_ic_lora_download_api_ic_loras_download_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IcLoraDownloadRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CatalogDownloadStartResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ic Lora Download", "tags": [ "ic-loras" ] } }, "/api/ic-loras/download/progress": { "get": { "operationId": "route_ic_lora_download_progress_api_ic_loras_download_progress_get", "parameters": [ { "in": "query", "name": "sessionId", "required": true, "schema": { "title": "Sessionid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IcLoraDownloadProgressResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ic Lora Download Progress", "tags": [ "ic-loras" ] } }, "/api/loras": { "get": { "operationId": "route_list_loras_api_loras_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoraListResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route List Loras", "tags": [ "loras" ] } }, "/api/loras/download": { "post": { "operationId": "route_lora_download_api_loras_download_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoraDownloadRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CatalogDownloadStartResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Lora Download", "tags": [ "loras" ] } }, "/api/loras/download/progress": { "get": { "operationId": "route_lora_download_progress_api_loras_download_progress_get", "parameters": [ { "in": "query", "name": "sessionId", "required": true, "schema": { "title": "Sessionid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoraDownloadProgressResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Lora Download Progress", "tags": [ "loras" ] } }, "/api/models": { "get": { "description": "Return installed model files. ?type=lora -> regular LoRAs only;\n?type=ic-lora -> IC-LoRAs only; no type -> all installed models.", "operationId": "route_list_models_api_models_get", "parameters": [ { "in": "query", "name": "type", "required": false, "schema": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Type" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InstalledModelsResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route List Models", "tags": [ "models" ] } }, "/api/models/active-ltx-model": { "post": { "operationId": "route_set_active_ltx_model_api_models_active_ltx_model_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetActiveLtxModelRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Set Active Ltx Model", "tags": [ "models" ] } }, "/api/models/check-access": { "post": { "operationId": "route_check_model_access_api_models_check_access_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CheckModelAccessRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CheckModelAccessResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Check Model Access", "tags": [ "models" ] } }, "/api/models/delete": { "delete": { "operationId": "route_model_delete_api_models_delete_delete", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ModelDeleteRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Model Delete", "tags": [ "models" ] } }, "/api/models/describe": { "post": { "operationId": "route_describe_checkpoints_api_models_describe_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DescribeCheckpointsRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DescribeCheckpointsResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Describe Checkpoints", "tags": [ "models" ] } }, "/api/models/download": { "post": { "operationId": "route_model_download_api_models_download_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ModelDownloadRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ModelDownloadStartResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Model Download", "tags": [ "models" ] } }, "/api/models/download/active": { "get": { "operationId": "route_active_download_api_models_download_active_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActiveDownloadResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Active Download", "tags": [ "models" ] } }, "/api/models/download/progress": { "get": { "operationId": "route_download_progress_api_models_download_progress_get", "parameters": [ { "in": "query", "name": "sessionId", "required": true, "schema": { "title": "Sessionid", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/DownloadProgressRunningResponse" }, { "$ref": "#/components/schemas/DownloadProgressCompleteResponse" }, { "$ref": "#/components/schemas/DownloadProgressErrorResponse" } ], "title": "Response Route Download Progress Api Models Download Progress Get" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Download Progress", "tags": [ "models" ] } }, "/api/models/img-gen-recommendation": { "get": { "operationId": "route_img_gen_recommendation_api_models_img_gen_recommendation_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImageGenRecommendationResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Img Gen Recommendation", "tags": [ "models" ] } }, "/api/models/ltx-ic-lora-recommendation": { "get": { "operationId": "route_ltx_ic_lora_recommendation_api_models_ltx_ic_lora_recommendation_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LtxIcLoraRecommendationResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ltx Ic Lora Recommendation", "tags": [ "models" ] } }, "/api/models/ltx-recommendation": { "get": { "operationId": "route_ltx_recommendation_api_models_ltx_recommendation_get", "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/LtxDownloadRecommendationResponse" }, { "$ref": "#/components/schemas/LtxUpgradeRecommendationResponse" }, { "$ref": "#/components/schemas/LtxOkRecommendationResponse" } ], "title": "Response Route Ltx Recommendation Api Models Ltx Recommendation Get" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ltx Recommendation", "tags": [ "models" ] } }, "/api/models/ltx-versions": { "get": { "operationId": "route_ltx_versions_api_models_ltx_versions_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LtxModelVersionsResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Ltx Versions", "tags": [ "models" ] } }, "/api/models/text-encoder-recommendation": { "get": { "operationId": "route_text_encoder_recommendation_api_models_text_encoder_recommendation_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TextEncoderRecommendationResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Text Encoder Recommendation", "tags": [ "models" ] } }, "/api/retake": { "post": { "operationId": "route_retake_api_retake_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RetakeRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "anyOf": [ { "$ref": "#/components/schemas/RetakeVideoResponse" }, { "$ref": "#/components/schemas/RetakePayloadResponse" }, { "$ref": "#/components/schemas/RetakeCancelledResponse" } ], "title": "Response Route Retake Api Retake Post" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Retake", "tags": [ "retake" ] } }, "/api/runtime-policy": { "get": { "operationId": "route_runtime_policy_api_runtime_policy_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RuntimePolicyResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Runtime Policy", "tags": [ "runtime-policy" ] } }, "/api/settings": { "get": { "operationId": "route_get_settings_api_settings_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SettingsResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Get Settings", "tags": [ "settings" ] }, "post": { "operationId": "route_post_settings_api_settings_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppSettingsPatch" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/StatusResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Post Settings", "tags": [ "settings" ] } }, "/api/settings/gemini-models": { "get": { "operationId": "route_list_gemini_models_api_settings_gemini_models_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GeminiModelsResponsePayload" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route List Gemini Models", "tags": [ "settings" ] } }, "/api/suggest-gap-prompt": { "post": { "operationId": "route_suggest_gap_prompt_api_suggest_gap_prompt_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SuggestGapPromptRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SuggestGapPromptResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Suggest Gap Prompt", "tags": [ "prompt" ] } }, "/api/system/shutdown": { "post": { "operationId": "route_shutdown_api_system_shutdown_post", "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "string" }, "title": "Response Route Shutdown Api System Shutdown Post", "type": "object" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Shutdown", "tags": [ "health" ] } }, "/health": { "get": { "operationId": "route_health_health_get", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HealthResponse" } } }, "description": "Successful Response" }, "4XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Client Error" }, "5XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPErrorResponse" } } }, "description": "Server Error" } }, "summary": "Route Health", "tags": [ "health" ] } } } }