mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
* feat: Add Regional Guidance support for Z-Image model Implements regional prompting for Z-Image (S3-DiT Transformer) allowing different prompts to affect different image regions using attention masks. Backend changes: - Add ZImageRegionalPromptingExtension for mask preparation - Add ZImageTextConditioning and ZImageRegionalTextConditioning data classes - Patch transformer forward to inject 4D regional attention masks - Use additive float mask (0.0 attend, -inf block) in bfloat16 for compatibility - Alternate regional/full attention layers for global coherence Frontend changes: - Update buildZImageGraph to support regional conditioning collectors - Update addRegions to create z_image_text_encoder nodes for regions - Update addZImageLoRAs to handle optional negCond when guidance_scale=0 - Add Z-Image validation (no IP adapters, no autoNegative) * @Pfannkuchensack Fix windows path again * ruff check fix * ruff formating * fix(ui): Z-Image CFG guidance_scale check uses > 1 instead of > 0 Changed the guidance_scale check from > 0 to > 1 for Z-Image models. Since Z-Image uses guidance_scale=1.0 as "no CFG" (matching FLUX convention), negative conditioning should only be created when guidance_scale > 1. --------- Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
56457 lines
1.7 MiB
56457 lines
1.7 MiB
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "Invoke - Community Edition",
|
|
"description": "An API for invoking AI image operations",
|
|
"version": "1.0.0"
|
|
},
|
|
"paths": {
|
|
"/api/v1/utilities/dynamicprompts": {
|
|
"post": {
|
|
"tags": ["utilities"],
|
|
"summary": "Parse Dynamicprompts",
|
|
"description": "Creates a batch process",
|
|
"operationId": "parse_dynamicprompts",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_parse_dynamicprompts"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DynamicPromptsResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "List Model Records",
|
|
"description": "Get a list of models.",
|
|
"operationId": "list_model_records",
|
|
"parameters": [
|
|
{
|
|
"name": "base_models",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/BaseModelType"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Base models to include",
|
|
"title": "Base Models"
|
|
},
|
|
"description": "Base models to include"
|
|
},
|
|
{
|
|
"name": "model_type",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The type of model to get",
|
|
"title": "Model Type"
|
|
},
|
|
"description": "The type of model to get"
|
|
},
|
|
{
|
|
"name": "model_name",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Exact match on the name of the model",
|
|
"title": "Model Name"
|
|
},
|
|
"description": "Exact match on the name of the model"
|
|
},
|
|
{
|
|
"name": "model_format",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelFormat"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Exact match on the format of the model (e.g. 'diffusers')",
|
|
"title": "Model Format"
|
|
},
|
|
"description": "Exact match on the format of the model (e.g. 'diffusers')"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelsList"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/get_by_attrs": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Model Records By Attrs",
|
|
"description": "Gets a model by its attributes. The main use of this route is to provide backwards compatibility with the old\nmodel manager, which identified models by a combination of name, base and type.",
|
|
"operationId": "get_model_records_by_attrs",
|
|
"parameters": [
|
|
{
|
|
"name": "name",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of the model",
|
|
"title": "Name"
|
|
},
|
|
"description": "The name of the model"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelType",
|
|
"description": "The type of the model"
|
|
},
|
|
"description": "The type of the model"
|
|
},
|
|
{
|
|
"name": "base",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BaseModelType",
|
|
"description": "The base model of the model"
|
|
},
|
|
"description": "The base model of the model"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Response Get Model Records By Attrs"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/i/{key}": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Model Record",
|
|
"description": "Get a model record",
|
|
"operationId": "get_model_record",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Key of the model record to fetch.",
|
|
"title": "Key"
|
|
},
|
|
"description": "Key of the model record to fetch."
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "The model configuration was retrieved successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Response Get Model Record"
|
|
},
|
|
"example": {
|
|
"path": "string",
|
|
"name": "string",
|
|
"base": "sd-1",
|
|
"type": "main",
|
|
"format": "checkpoint",
|
|
"config_path": "string",
|
|
"key": "string",
|
|
"hash": "string",
|
|
"file_size": 1,
|
|
"description": "string",
|
|
"source": "string",
|
|
"converted_at": 0,
|
|
"variant": "normal",
|
|
"prediction_type": "epsilon",
|
|
"repo_variant": "fp16",
|
|
"upcast_attention": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "The model could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Update Model Record",
|
|
"description": "Update a model's config.",
|
|
"operationId": "update_model_record",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Unique key of model",
|
|
"title": "Key"
|
|
},
|
|
"description": "Unique key of model"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelRecordChanges",
|
|
"description": "Model config",
|
|
"examples": [
|
|
{
|
|
"path": "/path/to/model",
|
|
"name": "model_name",
|
|
"base": "sd-1",
|
|
"type": "main",
|
|
"format": "checkpoint",
|
|
"config_path": "configs/stable-diffusion/v1-inference.yaml",
|
|
"description": "Model description",
|
|
"variant": "normal"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "The model was updated successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Response Update Model Record"
|
|
},
|
|
"example": {
|
|
"path": "string",
|
|
"name": "string",
|
|
"base": "sd-1",
|
|
"type": "main",
|
|
"format": "checkpoint",
|
|
"config_path": "string",
|
|
"key": "string",
|
|
"hash": "string",
|
|
"file_size": 1,
|
|
"description": "string",
|
|
"source": "string",
|
|
"converted_at": 0,
|
|
"variant": "normal",
|
|
"prediction_type": "epsilon",
|
|
"repo_variant": "fp16",
|
|
"upcast_attention": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "The model could not be found"
|
|
},
|
|
"409": {
|
|
"description": "There is already a model corresponding to the new name"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Delete Model",
|
|
"description": "Delete model record from database.\n\nThe configuration record will be removed. The corresponding weights files will be\ndeleted as well if they reside within the InvokeAI \"models\" directory.",
|
|
"operationId": "delete_model",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Unique key of model to remove from model registry.",
|
|
"title": "Key"
|
|
},
|
|
"description": "Unique key of model to remove from model registry."
|
|
}
|
|
],
|
|
"responses": {
|
|
"204": {
|
|
"description": "Model deleted successfully"
|
|
},
|
|
"404": {
|
|
"description": "Model not found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/i/{key}/reidentify": {
|
|
"post": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Reidentify Model",
|
|
"description": "Attempt to reidentify a model by re-probing its weights file.",
|
|
"operationId": "reidentify_model",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Key of the model to reidentify.",
|
|
"title": "Key"
|
|
},
|
|
"description": "Key of the model to reidentify."
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "The model configuration was retrieved successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Response Reidentify Model"
|
|
},
|
|
"example": {
|
|
"path": "string",
|
|
"name": "string",
|
|
"base": "sd-1",
|
|
"type": "main",
|
|
"format": "checkpoint",
|
|
"config_path": "string",
|
|
"key": "string",
|
|
"hash": "string",
|
|
"file_size": 1,
|
|
"description": "string",
|
|
"source": "string",
|
|
"converted_at": 0,
|
|
"variant": "normal",
|
|
"prediction_type": "epsilon",
|
|
"repo_variant": "fp16",
|
|
"upcast_attention": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "The model could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/scan_folder": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Scan For Models",
|
|
"operationId": "scan_for_models",
|
|
"parameters": [
|
|
{
|
|
"name": "scan_path",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Directory path to search for models",
|
|
"title": "Scan Path"
|
|
},
|
|
"description": "Directory path to search for models"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Directory scanned successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/FoundModel"
|
|
},
|
|
"title": "Response Scan For Models"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Invalid directory path"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/hugging_face": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Hugging Face Models",
|
|
"operationId": "get_hugging_face_models",
|
|
"parameters": [
|
|
{
|
|
"name": "hugging_face_repo",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Hugging face repo to search for models",
|
|
"title": "Hugging Face Repo"
|
|
},
|
|
"description": "Hugging face repo to search for models"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Hugging Face repo scanned successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HuggingFaceModels"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Invalid hugging face repo"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/i/{key}/image": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Model Image",
|
|
"description": "Gets an image file that previews the model",
|
|
"operationId": "get_model_image",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of model image file to get",
|
|
"title": "Key"
|
|
},
|
|
"description": "The name of model image file to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "The model image was fetched successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "The model image could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Update Model Image",
|
|
"operationId": "update_model_image",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Unique key of model",
|
|
"title": "Key"
|
|
},
|
|
"description": "Unique key of model"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_update_model_image"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "The model image was updated successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Delete Model Image",
|
|
"operationId": "delete_model_image",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Unique key of model image to remove from model_images directory.",
|
|
"title": "Key"
|
|
},
|
|
"description": "Unique key of model image to remove from model_images directory."
|
|
}
|
|
],
|
|
"responses": {
|
|
"204": {
|
|
"description": "Model image deleted successfully"
|
|
},
|
|
"404": {
|
|
"description": "Model image not found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/install": {
|
|
"post": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Install Model",
|
|
"description": "Install a model using a string identifier.\n\n`source` can be any of the following.\n\n1. A path on the local filesystem ('C:\\users\\fred\\model.safetensors')\n2. A Url pointing to a single downloadable model file\n3. A HuggingFace repo_id with any of the following formats:\n - model/name\n - model/name:fp16:vae\n - model/name::vae -- use default precision\n - model/name:fp16:path/to/model.safetensors\n - model/name::path/to/model.safetensors\n\n`config` is a ModelRecordChanges object. Fields in this object will override\nthe ones that are probed automatically. Pass an empty object to accept\nall the defaults.\n\n`access_token` is an optional access token for use with Urls that require\nauthentication.\n\nModels will be downloaded, probed, configured and installed in a\nseries of background threads. The return object has `status` attribute\nthat can be used to monitor progress.\n\nSee the documentation for `import_model_record` for more information on\ninterpreting the job information returned by this route.",
|
|
"operationId": "install_model",
|
|
"parameters": [
|
|
{
|
|
"name": "source",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Model source to install, can be a local path, repo_id, or remote URL",
|
|
"title": "Source"
|
|
},
|
|
"description": "Model source to install, can be a local path, repo_id, or remote URL"
|
|
},
|
|
{
|
|
"name": "inplace",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether or not to install a local model in place",
|
|
"default": false,
|
|
"title": "Inplace"
|
|
},
|
|
"description": "Whether or not to install a local model in place"
|
|
},
|
|
{
|
|
"name": "access_token",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "access token for the remote resource",
|
|
"title": "Access Token"
|
|
},
|
|
"description": "access token for the remote resource"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelRecordChanges",
|
|
"description": "Object containing fields that override auto-probed values in the model config record, such as name, description and prediction_type ",
|
|
"examples": [
|
|
{
|
|
"name": "string",
|
|
"description": "string"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "The model imported successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelInstallJob"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"415": {
|
|
"description": "Unrecognized file/folder format"
|
|
},
|
|
"424": {
|
|
"description": "The model appeared to import successfully, but could not be found in the model manager"
|
|
},
|
|
"409": {
|
|
"description": "There is already a model corresponding to this path or repo_id"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "List Model Installs",
|
|
"description": "Return the list of model install jobs.\n\nInstall jobs have a numeric `id`, a `status`, and other fields that provide information on\nthe nature of the job and its progress. The `status` is one of:\n\n* \"waiting\" -- Job is waiting in the queue to run\n* \"downloading\" -- Model file(s) are downloading\n* \"running\" -- Model has downloaded and the model probing and registration process is running\n* \"completed\" -- Installation completed successfully\n* \"error\" -- An error occurred. Details will be in the \"error_type\" and \"error\" fields.\n* \"cancelled\" -- Job was cancelled before completion.\n\nOnce completed, information about the model such as its size, base\nmodel and type can be retrieved from the `config_out` field. For multi-file models such as diffusers,\ninformation on individual files can be retrieved from `download_parts`.\n\nSee the example and schema below for more information.",
|
|
"operationId": "list_model_installs",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ModelInstallJob"
|
|
},
|
|
"title": "Response List Model Installs"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Prune Model Install Jobs",
|
|
"description": "Prune all completed and errored jobs from the install job list.",
|
|
"operationId": "prune_model_install_jobs",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"204": {
|
|
"description": "All completed and errored jobs have been pruned"
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/install/huggingface": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Install Hugging Face Model",
|
|
"description": "Install a Hugging Face model using a string identifier.",
|
|
"operationId": "install_hugging_face_model",
|
|
"parameters": [
|
|
{
|
|
"name": "source",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "HuggingFace repo_id to install",
|
|
"title": "Source"
|
|
},
|
|
"description": "HuggingFace repo_id to install"
|
|
}
|
|
],
|
|
"responses": {
|
|
"201": {
|
|
"description": "The model is being installed",
|
|
"content": {
|
|
"text/html": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"409": {
|
|
"description": "There is already a model corresponding to this path or repo_id"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/install/{id}": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Model Install Job",
|
|
"description": "Return model install job corresponding to the given source. See the documentation for 'List Model Install Jobs'\nfor information on the format of the return value.",
|
|
"operationId": "get_model_install_job",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "Model install id",
|
|
"title": "Id"
|
|
},
|
|
"description": "Model install id"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelInstallJob"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "No such job"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Cancel Model Install Job",
|
|
"description": "Cancel the model install job(s) corresponding to the given job ID.",
|
|
"operationId": "cancel_model_install_job",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "Model install job ID",
|
|
"title": "Id"
|
|
},
|
|
"description": "Model install job ID"
|
|
}
|
|
],
|
|
"responses": {
|
|
"201": {
|
|
"description": "The job was cancelled successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"415": {
|
|
"description": "No such job"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/convert/{key}": {
|
|
"put": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Convert Model",
|
|
"description": "Permanently convert a model into diffusers format, replacing the safetensors version.\nNote that during the conversion process the key and model hash will change.\nThe return value is the model configuration for the converted model.",
|
|
"operationId": "convert_model",
|
|
"parameters": [
|
|
{
|
|
"name": "key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Unique key of the safetensors main model to convert to diffusers format.",
|
|
"title": "Key"
|
|
},
|
|
"description": "Unique key of the safetensors main model to convert to diffusers format."
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Model converted successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Response Convert Model"
|
|
},
|
|
"example": {
|
|
"path": "string",
|
|
"name": "string",
|
|
"base": "sd-1",
|
|
"type": "main",
|
|
"format": "checkpoint",
|
|
"config_path": "string",
|
|
"key": "string",
|
|
"hash": "string",
|
|
"file_size": 1,
|
|
"description": "string",
|
|
"source": "string",
|
|
"converted_at": 0,
|
|
"variant": "normal",
|
|
"prediction_type": "epsilon",
|
|
"repo_variant": "fp16",
|
|
"upcast_attention": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "Model not found"
|
|
},
|
|
"409": {
|
|
"description": "There is already a model registered at this location"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/starter_models": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Starter Models",
|
|
"operationId": "get_starter_models",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StarterModelResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/stats": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get model manager RAM cache performance statistics.",
|
|
"description": "Return performance statistics on the model manager's RAM cache. Will return null if no models have been loaded.",
|
|
"operationId": "get_stats",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CacheStats"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Response Get Stats"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/empty_model_cache": {
|
|
"post": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Empty Model Cache",
|
|
"description": "Drop all models from the model cache to free RAM/VRAM. 'Locked' models that are in active use will not be dropped.",
|
|
"operationId": "empty_model_cache",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v2/models/hf_login": {
|
|
"get": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Get Hf Login Status",
|
|
"operationId": "get_hf_login_status",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HFTokenStatus"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Do Hf Login",
|
|
"operationId": "do_hf_login",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_do_hf_login"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HFTokenStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["model_manager"],
|
|
"summary": "Reset Hf Token",
|
|
"operationId": "reset_hf_token",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HFTokenStatus"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/download_queue/": {
|
|
"get": {
|
|
"tags": ["download_queue"],
|
|
"summary": "List Downloads",
|
|
"description": "Get a list of active and inactive jobs.",
|
|
"operationId": "list_downloads",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/DownloadJob"
|
|
},
|
|
"type": "array",
|
|
"title": "Response List Downloads"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["download_queue"],
|
|
"summary": "Prune Downloads",
|
|
"description": "Prune completed and errored jobs.",
|
|
"operationId": "prune_downloads",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"204": {
|
|
"description": "All completed jobs have been pruned"
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/download_queue/i/": {
|
|
"post": {
|
|
"tags": ["download_queue"],
|
|
"summary": "Download",
|
|
"description": "Download the source URL to the file or directory indicted in dest.",
|
|
"operationId": "download",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_download"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DownloadJob"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/download_queue/i/{id}": {
|
|
"get": {
|
|
"tags": ["download_queue"],
|
|
"summary": "Get Download Job",
|
|
"description": "Get a download job using its ID.",
|
|
"operationId": "get_download_job",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "ID of the download job to fetch.",
|
|
"title": "Id"
|
|
},
|
|
"description": "ID of the download job to fetch."
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DownloadJob"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "The requested download JobID could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["download_queue"],
|
|
"summary": "Cancel Download Job",
|
|
"description": "Cancel a download job using its ID.",
|
|
"operationId": "cancel_download_job",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "ID of the download job to cancel.",
|
|
"title": "Id"
|
|
},
|
|
"description": "ID of the download job to cancel."
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"204": {
|
|
"description": "Job has been cancelled"
|
|
},
|
|
"404": {
|
|
"description": "The requested download JobID could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/download_queue/i": {
|
|
"delete": {
|
|
"tags": ["download_queue"],
|
|
"summary": "Cancel All Download Jobs",
|
|
"description": "Cancel all download jobs.",
|
|
"operationId": "cancel_all_download_jobs",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"204": {
|
|
"description": "Download jobs have been cancelled"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/upload": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Upload Image",
|
|
"description": "Uploads an image",
|
|
"operationId": "upload_image",
|
|
"parameters": [
|
|
{
|
|
"name": "image_category",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageCategory",
|
|
"description": "The category of the image"
|
|
},
|
|
"description": "The category of the image"
|
|
},
|
|
{
|
|
"name": "is_intermediate",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Whether this is an intermediate image",
|
|
"title": "Is Intermediate"
|
|
},
|
|
"description": "Whether this is an intermediate image"
|
|
},
|
|
{
|
|
"name": "board_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The board to add this image to, if any",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The board to add this image to, if any"
|
|
},
|
|
{
|
|
"name": "session_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The session ID associated with this upload, if any",
|
|
"title": "Session Id"
|
|
},
|
|
"description": "The session ID associated with this upload, if any"
|
|
},
|
|
{
|
|
"name": "crop_visible",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to crop the image",
|
|
"default": false,
|
|
"title": "Crop Visible"
|
|
},
|
|
"description": "Whether to crop the image"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_upload_image"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "The image was uploaded successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"415": {
|
|
"description": "Image upload failed"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Create Image Upload Entry",
|
|
"description": "Uploads an image from a URL, not implemented",
|
|
"operationId": "create_image_upload_entry",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_create_image_upload_entry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageUploadEntry"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "List Image Dtos",
|
|
"description": "Gets a list of image DTOs",
|
|
"operationId": "list_image_dtos",
|
|
"parameters": [
|
|
{
|
|
"name": "image_origin",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceOrigin"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The origin of images to list.",
|
|
"title": "Image Origin"
|
|
},
|
|
"description": "The origin of images to list."
|
|
},
|
|
{
|
|
"name": "categories",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageCategory"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The categories of image to include.",
|
|
"title": "Categories"
|
|
},
|
|
"description": "The categories of image to include."
|
|
},
|
|
{
|
|
"name": "is_intermediate",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to list intermediate images.",
|
|
"title": "Is Intermediate"
|
|
},
|
|
"description": "Whether to list intermediate images."
|
|
},
|
|
{
|
|
"name": "board_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The board id to filter by. Use 'none' to find images without a board.",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The board id to filter by. Use 'none' to find images without a board."
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "The page offset",
|
|
"default": 0,
|
|
"title": "Offset"
|
|
},
|
|
"description": "The page offset"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "The number of images per page",
|
|
"default": 10,
|
|
"title": "Limit"
|
|
},
|
|
"description": "The number of images per page"
|
|
},
|
|
{
|
|
"name": "order_dir",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SQLiteDirection",
|
|
"description": "The order of sort",
|
|
"default": "DESC"
|
|
},
|
|
"description": "The order of sort"
|
|
},
|
|
{
|
|
"name": "starred_first",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Whether to sort by starred images first",
|
|
"default": true,
|
|
"title": "Starred First"
|
|
},
|
|
"description": "Whether to sort by starred images first"
|
|
},
|
|
{
|
|
"name": "search_term",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The term to search for",
|
|
"title": "Search Term"
|
|
},
|
|
"description": "The term to search for"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OffsetPaginatedResults_ImageDTO_"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/i/{image_name}": {
|
|
"delete": {
|
|
"tags": ["images"],
|
|
"summary": "Delete Image",
|
|
"description": "Deletes an image",
|
|
"operationId": "delete_image",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of the image to delete",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of the image to delete"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeleteImagesResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["images"],
|
|
"summary": "Update Image",
|
|
"description": "Updates an image",
|
|
"operationId": "update_image",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of the image to update",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of the image to update"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageRecordChanges",
|
|
"description": "The changes to apply to the image"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Dto",
|
|
"description": "Gets an image's DTO",
|
|
"operationId": "get_image_dto",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of image to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of image to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/intermediates": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Intermediates Count",
|
|
"description": "Gets the count of intermediate images",
|
|
"operationId": "get_intermediates_count",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Response Get Intermediates Count"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["images"],
|
|
"summary": "Clear Intermediates",
|
|
"description": "Clears all intermediates",
|
|
"operationId": "clear_intermediates",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "integer",
|
|
"title": "Response Clear Intermediates"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/i/{image_name}/metadata": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Metadata",
|
|
"description": "Gets an image's metadata",
|
|
"operationId": "get_image_metadata",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of image to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of image to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Response Get Image Metadata"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/i/{image_name}/workflow": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Workflow",
|
|
"operationId": "get_image_workflow",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of image whose workflow to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of image whose workflow to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowAndGraphResponse"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/i/{image_name}/full": {
|
|
"head": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Full",
|
|
"description": "Gets a full-resolution image file",
|
|
"operationId": "get_image_full_head",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of full-resolution image file to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of full-resolution image file to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Return the full-resolution image",
|
|
"content": {
|
|
"image/png": {}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Image not found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Full",
|
|
"description": "Gets a full-resolution image file",
|
|
"operationId": "get_image_full",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of full-resolution image file to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of full-resolution image file to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Return the full-resolution image",
|
|
"content": {
|
|
"image/png": {}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Image not found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/i/{image_name}/thumbnail": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Thumbnail",
|
|
"description": "Gets a thumbnail image file",
|
|
"operationId": "get_image_thumbnail",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of thumbnail image file to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of thumbnail image file to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Return the image thumbnail",
|
|
"content": {
|
|
"image/webp": {}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Image not found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/i/{image_name}/urls": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Urls",
|
|
"description": "Gets an image and thumbnail URL",
|
|
"operationId": "get_image_urls",
|
|
"parameters": [
|
|
{
|
|
"name": "image_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The name of the image whose URL to get",
|
|
"title": "Image Name"
|
|
},
|
|
"description": "The name of the image whose URL to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageUrlsDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/delete": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Delete Images From List",
|
|
"operationId": "delete_images_from_list",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_delete_images_from_list"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeleteImagesResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/uncategorized": {
|
|
"delete": {
|
|
"tags": ["images"],
|
|
"summary": "Delete Uncategorized Images",
|
|
"description": "Deletes all images that are uncategorized",
|
|
"operationId": "delete_uncategorized_images",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeleteImagesResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/star": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Star Images In List",
|
|
"operationId": "star_images_in_list",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_star_images_in_list"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StarredImagesResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/unstar": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Unstar Images In List",
|
|
"operationId": "unstar_images_in_list",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_unstar_images_in_list"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UnstarredImagesResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/download": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Download Images From List",
|
|
"operationId": "download_images_from_list",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_download_images_from_list"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"202": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImagesDownloaded"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/download/{bulk_download_item_name}": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Bulk Download Item",
|
|
"description": "Gets a bulk download zip file",
|
|
"operationId": "get_bulk_download_item",
|
|
"parameters": [
|
|
{
|
|
"name": "bulk_download_item_name",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The bulk_download_item_name of the bulk download item to get",
|
|
"title": "Bulk Download Item Name"
|
|
},
|
|
"description": "The bulk_download_item_name of the bulk download item to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Return the complete bulk download item",
|
|
"content": {
|
|
"application/zip": {}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Image not found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/names": {
|
|
"get": {
|
|
"tags": ["images"],
|
|
"summary": "Get Image Names",
|
|
"description": "Gets ordered list of image names with metadata for optimistic updates",
|
|
"operationId": "get_image_names",
|
|
"parameters": [
|
|
{
|
|
"name": "image_origin",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceOrigin"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The origin of images to list.",
|
|
"title": "Image Origin"
|
|
},
|
|
"description": "The origin of images to list."
|
|
},
|
|
{
|
|
"name": "categories",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageCategory"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The categories of image to include.",
|
|
"title": "Categories"
|
|
},
|
|
"description": "The categories of image to include."
|
|
},
|
|
{
|
|
"name": "is_intermediate",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to list intermediate images.",
|
|
"title": "Is Intermediate"
|
|
},
|
|
"description": "Whether to list intermediate images."
|
|
},
|
|
{
|
|
"name": "board_id",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The board id to filter by. Use 'none' to find images without a board.",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The board id to filter by. Use 'none' to find images without a board."
|
|
},
|
|
{
|
|
"name": "order_dir",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SQLiteDirection",
|
|
"description": "The order of sort",
|
|
"default": "DESC"
|
|
},
|
|
"description": "The order of sort"
|
|
},
|
|
{
|
|
"name": "starred_first",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Whether to sort by starred images first",
|
|
"default": true,
|
|
"title": "Starred First"
|
|
},
|
|
"description": "Whether to sort by starred images first"
|
|
},
|
|
{
|
|
"name": "search_term",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The term to search for",
|
|
"title": "Search Term"
|
|
},
|
|
"description": "The term to search for"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ImageNamesResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/images/images_by_names": {
|
|
"post": {
|
|
"tags": ["images"],
|
|
"summary": "Get Images By Names",
|
|
"description": "Gets image DTOs for the specified image names. Maintains order of input names.",
|
|
"operationId": "get_images_by_names",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_get_images_by_names"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageDTO"
|
|
},
|
|
"type": "array",
|
|
"title": "Response 200 Get Images By Names"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/boards/": {
|
|
"post": {
|
|
"tags": ["boards"],
|
|
"summary": "Create Board",
|
|
"description": "Creates a board",
|
|
"operationId": "create_board",
|
|
"parameters": [
|
|
{
|
|
"name": "board_name",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"maxLength": 300,
|
|
"description": "The name of the board to create",
|
|
"title": "Board Name"
|
|
},
|
|
"description": "The name of the board to create"
|
|
}
|
|
],
|
|
"responses": {
|
|
"201": {
|
|
"description": "The board was created successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BoardDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["boards"],
|
|
"summary": "List Boards",
|
|
"description": "Gets a list of boards",
|
|
"operationId": "list_boards",
|
|
"parameters": [
|
|
{
|
|
"name": "order_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BoardRecordOrderBy",
|
|
"description": "The attribute to order by",
|
|
"default": "created_at"
|
|
},
|
|
"description": "The attribute to order by"
|
|
},
|
|
{
|
|
"name": "direction",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SQLiteDirection",
|
|
"description": "The direction to order by",
|
|
"default": "DESC"
|
|
},
|
|
"description": "The direction to order by"
|
|
},
|
|
{
|
|
"name": "all",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to list all boards",
|
|
"title": "All"
|
|
},
|
|
"description": "Whether to list all boards"
|
|
},
|
|
{
|
|
"name": "offset",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The page offset",
|
|
"title": "Offset"
|
|
},
|
|
"description": "The page offset"
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The number of boards per page",
|
|
"title": "Limit"
|
|
},
|
|
"description": "The number of boards per page"
|
|
},
|
|
{
|
|
"name": "include_archived",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "Whether or not to include archived boards in list",
|
|
"default": false,
|
|
"title": "Include Archived"
|
|
},
|
|
"description": "Whether or not to include archived boards in list"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/OffsetPaginatedResults_BoardDTO_"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/BoardDTO"
|
|
}
|
|
}
|
|
],
|
|
"title": "Response List Boards"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/boards/{board_id}": {
|
|
"get": {
|
|
"tags": ["boards"],
|
|
"summary": "Get Board",
|
|
"description": "Gets a board",
|
|
"operationId": "get_board",
|
|
"parameters": [
|
|
{
|
|
"name": "board_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of board to get",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The id of board to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BoardDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["boards"],
|
|
"summary": "Update Board",
|
|
"description": "Updates a board",
|
|
"operationId": "update_board",
|
|
"parameters": [
|
|
{
|
|
"name": "board_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of board to update",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The id of board to update"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BoardChanges",
|
|
"description": "The changes to apply to the board"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "The board was updated successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BoardDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["boards"],
|
|
"summary": "Delete Board",
|
|
"description": "Deletes a board",
|
|
"operationId": "delete_board",
|
|
"parameters": [
|
|
{
|
|
"name": "board_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of board to delete",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The id of board to delete"
|
|
},
|
|
{
|
|
"name": "include_images",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Permanently delete all images on the board",
|
|
"default": false,
|
|
"title": "Include Images"
|
|
},
|
|
"description": "Permanently delete all images on the board"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeleteBoardResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/boards/{board_id}/image_names": {
|
|
"get": {
|
|
"tags": ["boards"],
|
|
"summary": "List All Board Image Names",
|
|
"description": "Gets a list of images for a board",
|
|
"operationId": "list_all_board_image_names",
|
|
"parameters": [
|
|
{
|
|
"name": "board_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of the board or 'none' for uncategorized images",
|
|
"title": "Board Id"
|
|
},
|
|
"description": "The id of the board or 'none' for uncategorized images"
|
|
},
|
|
{
|
|
"name": "categories",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageCategory"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The categories of image to include.",
|
|
"title": "Categories"
|
|
},
|
|
"description": "The categories of image to include."
|
|
},
|
|
{
|
|
"name": "is_intermediate",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to list intermediate images.",
|
|
"title": "Is Intermediate"
|
|
},
|
|
"description": "Whether to list intermediate images."
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response List All Board Image Names"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/board_images/": {
|
|
"post": {
|
|
"tags": ["boards"],
|
|
"summary": "Add Image To Board",
|
|
"description": "Creates a board_image",
|
|
"operationId": "add_image_to_board",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_add_image_to_board"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "The image was added to a board successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AddImagesToBoardResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["boards"],
|
|
"summary": "Remove Image From Board",
|
|
"description": "Removes an image from its board, if it had one",
|
|
"operationId": "remove_image_from_board",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_remove_image_from_board"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "The image was removed from the board successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RemoveImagesFromBoardResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/board_images/batch": {
|
|
"post": {
|
|
"tags": ["boards"],
|
|
"summary": "Add Images To Board",
|
|
"description": "Adds a list of images to a board",
|
|
"operationId": "add_images_to_board",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_add_images_to_board"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Images were added to board successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AddImagesToBoardResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/board_images/batch/delete": {
|
|
"post": {
|
|
"tags": ["boards"],
|
|
"summary": "Remove Images From Board",
|
|
"description": "Removes a list of images from their board, if they had one",
|
|
"operationId": "remove_images_from_board",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_remove_images_from_board"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"description": "Images were removed from board successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RemoveImagesFromBoardResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/model_relationships/i/{model_key}": {
|
|
"get": {
|
|
"tags": ["model_relationships"],
|
|
"summary": "Get Related Models",
|
|
"description": "Get a list of model keys related to a given model.",
|
|
"operationId": "get_related_models",
|
|
"parameters": [
|
|
{
|
|
"name": "model_key",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The key of the model to get relationships for",
|
|
"title": "Model Key"
|
|
},
|
|
"description": "The key of the model to get relationships for"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "A list of related model keys was retrieved successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Response Get Related Models"
|
|
},
|
|
"example": [
|
|
"15e9eb28-8cfe-47c9-b610-37907a79fc3c",
|
|
"71272e82-0e5f-46d5-bca9-9a61f4bd8a82",
|
|
"a5d7cd49-1b98-4534-a475-aeee4ccf5fa2"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "The specified model could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation error"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/model_relationships/": {
|
|
"post": {
|
|
"tags": ["model_relationships"],
|
|
"summary": "Add Model Relationship",
|
|
"description": "Creates a **bidirectional** relationship between two models, allowing each to reference the other as related.",
|
|
"operationId": "add_model_relationship_api_v1_model_relationships__post",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelRelationshipCreateRequest",
|
|
"description": "The model keys to relate"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"204": {
|
|
"description": "The relationship was successfully created"
|
|
},
|
|
"400": {
|
|
"description": "Invalid model keys or self-referential relationship"
|
|
},
|
|
"409": {
|
|
"description": "The relationship already exists"
|
|
},
|
|
"422": {
|
|
"description": "Validation error"
|
|
},
|
|
"500": {
|
|
"description": "Internal server error"
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["model_relationships"],
|
|
"summary": "Remove Model Relationship",
|
|
"description": "Removes a **bidirectional** relationship between two models. The relationship must already exist.",
|
|
"operationId": "remove_model_relationship_api_v1_model_relationships__delete",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelRelationshipCreateRequest",
|
|
"description": "The model keys to disconnect"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"204": {
|
|
"description": "The relationship was successfully removed"
|
|
},
|
|
"400": {
|
|
"description": "Invalid model keys or self-referential relationship"
|
|
},
|
|
"404": {
|
|
"description": "The relationship does not exist"
|
|
},
|
|
"422": {
|
|
"description": "Validation error"
|
|
},
|
|
"500": {
|
|
"description": "Internal server error"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/model_relationships/batch": {
|
|
"post": {
|
|
"tags": ["model_relationships"],
|
|
"summary": "Get Related Model Keys (Batch)",
|
|
"description": "Retrieves all **unique related model keys** for a list of given models. This is useful for contextual suggestions or filtering.",
|
|
"operationId": "get_related_models_batch",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ModelRelationshipBatchRequest",
|
|
"description": "Model keys to check for related connections"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Related model keys retrieved successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Response Get Related Models Batch"
|
|
},
|
|
"example": [
|
|
"ca562b14-995e-4a42-90c1-9528f1a5921d",
|
|
"cc0c2b8a-c62e-41d6-878e-cc74dde5ca8f",
|
|
"18ca7649-6a9e-47d5-bc17-41ab1e8cec81",
|
|
"7c12d1b2-0ef9-4bec-ba55-797b2d8f2ee1",
|
|
"c382eaa3-0e28-4ab0-9446-408667699aeb",
|
|
"71272e82-0e5f-46d5-bca9-9a61f4bd8a82",
|
|
"a5d7cd49-1b98-4534-a475-aeee4ccf5fa2"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation error"
|
|
},
|
|
"500": {
|
|
"description": "Internal server error"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/version": {
|
|
"get": {
|
|
"tags": ["app"],
|
|
"summary": "Get Version",
|
|
"operationId": "app_version",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AppVersion"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/app_deps": {
|
|
"get": {
|
|
"tags": ["app"],
|
|
"summary": "Get App Deps",
|
|
"operationId": "get_app_deps",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Response Get App Deps"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/patchmatch_status": {
|
|
"get": {
|
|
"tags": ["app"],
|
|
"summary": "Get Patchmatch Status",
|
|
"operationId": "get_patchmatch_status",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean",
|
|
"title": "Response Get Patchmatch Status"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/runtime_config": {
|
|
"get": {
|
|
"tags": ["app"],
|
|
"summary": "Get Runtime Config",
|
|
"operationId": "get_runtime_config",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InvokeAIAppConfigWithSetFields"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/logging": {
|
|
"get": {
|
|
"tags": ["app"],
|
|
"summary": "Get Log Level",
|
|
"description": "Returns the log level",
|
|
"operationId": "get_log_level",
|
|
"responses": {
|
|
"200": {
|
|
"description": "The operation was successful",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LogLevel"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": ["app"],
|
|
"summary": "Set Log Level",
|
|
"description": "Sets the log verbosity level",
|
|
"operationId": "set_log_level",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LogLevel",
|
|
"description": "New log verbosity level"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "The operation was successful",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LogLevel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/invocation_cache": {
|
|
"delete": {
|
|
"tags": ["app"],
|
|
"summary": "Clear Invocation Cache",
|
|
"description": "Clears the invocation cache",
|
|
"operationId": "clear_invocation_cache",
|
|
"responses": {
|
|
"200": {
|
|
"description": "The operation was successful",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/invocation_cache/enable": {
|
|
"put": {
|
|
"tags": ["app"],
|
|
"summary": "Enable Invocation Cache",
|
|
"description": "Clears the invocation cache",
|
|
"operationId": "enable_invocation_cache",
|
|
"responses": {
|
|
"200": {
|
|
"description": "The operation was successful",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/invocation_cache/disable": {
|
|
"put": {
|
|
"tags": ["app"],
|
|
"summary": "Disable Invocation Cache",
|
|
"description": "Clears the invocation cache",
|
|
"operationId": "disable_invocation_cache",
|
|
"responses": {
|
|
"200": {
|
|
"description": "The operation was successful",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/app/invocation_cache/status": {
|
|
"get": {
|
|
"tags": ["app"],
|
|
"summary": "Get Invocation Cache Status",
|
|
"description": "Clears the invocation cache",
|
|
"operationId": "get_invocation_cache_status",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InvocationCacheStatus"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/enqueue_batch": {
|
|
"post": {
|
|
"tags": ["queue"],
|
|
"summary": "Enqueue Batch",
|
|
"description": "Processes a batch and enqueues the output graphs for execution.",
|
|
"operationId": "enqueue_batch",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_enqueue_batch"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EnqueueBatchResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"201": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EnqueueBatchResult"
|
|
}
|
|
}
|
|
},
|
|
"description": "Created"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/list_all": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "List All Queue Items",
|
|
"description": "Gets all queue items",
|
|
"operationId": "list_all_queue_items",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The destination of queue items to fetch",
|
|
"title": "Destination"
|
|
},
|
|
"description": "The destination of queue items to fetch"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
},
|
|
"title": "Response 200 List All Queue Items"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/item_ids": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Queue Item Ids",
|
|
"description": "Gets all queue item ids that match the given parameters",
|
|
"operationId": "get_queue_item_ids",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "order_dir",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SQLiteDirection",
|
|
"description": "The order of sort",
|
|
"default": "DESC"
|
|
},
|
|
"description": "The order of sort"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ItemIdsResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/items_by_ids": {
|
|
"post": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Queue Items By Item Ids",
|
|
"description": "Gets queue items for the specified queue item ids. Maintains order of item ids.",
|
|
"operationId": "get_queue_items_by_item_ids",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_get_queue_items_by_item_ids"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
},
|
|
"title": "Response 200 Get Queue Items By Item Ids"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/processor/resume": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Resume",
|
|
"description": "Resumes session processor",
|
|
"operationId": "resume",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SessionProcessorStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/processor/pause": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Pause",
|
|
"description": "Pauses session processor",
|
|
"operationId": "pause",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SessionProcessorStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/cancel_all_except_current": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Cancel All Except Current",
|
|
"description": "Immediately cancels all queue items except in-processing items",
|
|
"operationId": "cancel_all_except_current",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CancelAllExceptCurrentResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/delete_all_except_current": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Delete All Except Current",
|
|
"description": "Immediately deletes all queue items except in-processing items",
|
|
"operationId": "delete_all_except_current",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeleteAllExceptCurrentResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/cancel_by_batch_ids": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Cancel By Batch Ids",
|
|
"description": "Immediately cancels all queue items from the given batch ids",
|
|
"operationId": "cancel_by_batch_ids",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_cancel_by_batch_ids"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CancelByBatchIDsResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/cancel_by_destination": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Cancel By Destination",
|
|
"description": "Immediately cancels all queue items with the given origin",
|
|
"operationId": "cancel_by_destination",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The destination to cancel all queue items for",
|
|
"title": "Destination"
|
|
},
|
|
"description": "The destination to cancel all queue items for"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CancelByDestinationResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/retry_items_by_id": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Retry Items By Id",
|
|
"description": "Immediately cancels all queue items with the given origin",
|
|
"operationId": "retry_items_by_id",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"description": "The queue item ids to retry",
|
|
"title": "Item Ids"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RetryItemsResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/clear": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Clear",
|
|
"description": "Clears the queue entirely, immediately canceling the currently-executing session",
|
|
"operationId": "clear",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ClearResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/prune": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Prune",
|
|
"description": "Prunes all completed or errored queue items",
|
|
"operationId": "prune",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PruneResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/current": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Current Queue Item",
|
|
"description": "Gets the currently execution queue item",
|
|
"operationId": "get_current_queue_item",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Response 200 Get Current Queue Item"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/next": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Next Queue Item",
|
|
"description": "Gets the next queue item, without executing it",
|
|
"operationId": "get_next_queue_item",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
},
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Response 200 Get Next Queue Item"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/status": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Queue Status",
|
|
"description": "Gets the status of the session queue",
|
|
"operationId": "get_queue_status",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SessionQueueAndProcessorStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/b/{batch_id}/status": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Batch Status",
|
|
"description": "Gets the status of the session queue",
|
|
"operationId": "get_batch_status",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "batch_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The batch to get the status of",
|
|
"title": "Batch Id"
|
|
},
|
|
"description": "The batch to get the status of"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/BatchStatus"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/i/{item_id}": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Get Queue Item",
|
|
"description": "Gets a queue item",
|
|
"operationId": "get_queue_item",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "item_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "The queue item to get",
|
|
"title": "Item Id"
|
|
},
|
|
"description": "The queue item to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["queue"],
|
|
"summary": "Delete Queue Item",
|
|
"description": "Deletes a queue item",
|
|
"operationId": "delete_queue_item",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "item_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "The queue item to delete",
|
|
"title": "Item Id"
|
|
},
|
|
"description": "The queue item to delete"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/i/{item_id}/cancel": {
|
|
"put": {
|
|
"tags": ["queue"],
|
|
"summary": "Cancel Queue Item",
|
|
"description": "Deletes a queue item",
|
|
"operationId": "cancel_queue_item",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "item_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "The queue item to cancel",
|
|
"title": "Item Id"
|
|
},
|
|
"description": "The queue item to cancel"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SessionQueueItem"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/counts_by_destination": {
|
|
"get": {
|
|
"tags": ["queue"],
|
|
"summary": "Counts By Destination",
|
|
"description": "Gets the counts of queue items by destination",
|
|
"operationId": "counts_by_destination",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to query",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to query"
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The destination to query",
|
|
"title": "Destination"
|
|
},
|
|
"description": "The destination to query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SessionQueueCountsByDestination"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/queue/{queue_id}/d/{destination}": {
|
|
"delete": {
|
|
"tags": ["queue"],
|
|
"summary": "Delete By Destination",
|
|
"description": "Deletes all items with the given destination",
|
|
"operationId": "delete_by_destination",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to query",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to query"
|
|
},
|
|
{
|
|
"name": "destination",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The destination to query",
|
|
"title": "Destination"
|
|
},
|
|
"description": "The destination to query"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeleteByDestinationResult"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/workflows/i/{workflow_id}": {
|
|
"get": {
|
|
"tags": ["workflows"],
|
|
"summary": "Get Workflow",
|
|
"description": "Gets a workflow",
|
|
"operationId": "get_workflow",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The workflow to get",
|
|
"title": "Workflow Id"
|
|
},
|
|
"description": "The workflow to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowRecordWithThumbnailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["workflows"],
|
|
"summary": "Update Workflow",
|
|
"description": "Updates a workflow",
|
|
"operationId": "update_workflow",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_update_workflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowRecordDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["workflows"],
|
|
"summary": "Delete Workflow",
|
|
"description": "Deletes a workflow",
|
|
"operationId": "delete_workflow",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The workflow to delete",
|
|
"title": "Workflow Id"
|
|
},
|
|
"description": "The workflow to delete"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/workflows/": {
|
|
"post": {
|
|
"tags": ["workflows"],
|
|
"summary": "Create Workflow",
|
|
"description": "Creates a workflow",
|
|
"operationId": "create_workflow",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_create_workflow"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowRecordDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["workflows"],
|
|
"summary": "List Workflows",
|
|
"description": "Gets a page of workflows",
|
|
"operationId": "list_workflows",
|
|
"parameters": [
|
|
{
|
|
"name": "page",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "The page to get",
|
|
"default": 0,
|
|
"title": "Page"
|
|
},
|
|
"description": "The page to get"
|
|
},
|
|
{
|
|
"name": "per_page",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The number of workflows per page",
|
|
"title": "Per Page"
|
|
},
|
|
"description": "The number of workflows per page"
|
|
},
|
|
{
|
|
"name": "order_by",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowRecordOrderBy",
|
|
"description": "The attribute to order by",
|
|
"default": "name"
|
|
},
|
|
"description": "The attribute to order by"
|
|
},
|
|
{
|
|
"name": "direction",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SQLiteDirection",
|
|
"description": "The direction to order by",
|
|
"default": "ASC"
|
|
},
|
|
"description": "The direction to order by"
|
|
},
|
|
{
|
|
"name": "categories",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/WorkflowCategory"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The categories of workflow to get",
|
|
"title": "Categories"
|
|
},
|
|
"description": "The categories of workflow to get"
|
|
},
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The tags of workflow to get",
|
|
"title": "Tags"
|
|
},
|
|
"description": "The tags of workflow to get"
|
|
},
|
|
{
|
|
"name": "query",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The text to query by (matches name and description)",
|
|
"title": "Query"
|
|
},
|
|
"description": "The text to query by (matches name and description)"
|
|
},
|
|
{
|
|
"name": "has_been_opened",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to include/exclude recent workflows",
|
|
"title": "Has Been Opened"
|
|
},
|
|
"description": "Whether to include/exclude recent workflows"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PaginatedResults_WorkflowRecordListItemWithThumbnailDTO_"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/workflows/i/{workflow_id}/thumbnail": {
|
|
"put": {
|
|
"tags": ["workflows"],
|
|
"summary": "Set Workflow Thumbnail",
|
|
"description": "Sets a workflow's thumbnail image",
|
|
"operationId": "set_workflow_thumbnail",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The workflow to update",
|
|
"title": "Workflow Id"
|
|
},
|
|
"description": "The workflow to update"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_set_workflow_thumbnail"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowRecordDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["workflows"],
|
|
"summary": "Delete Workflow Thumbnail",
|
|
"description": "Removes a workflow's thumbnail image",
|
|
"operationId": "delete_workflow_thumbnail",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The workflow to update",
|
|
"title": "Workflow Id"
|
|
},
|
|
"description": "The workflow to update"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WorkflowRecordDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": ["workflows"],
|
|
"summary": "Get Workflow Thumbnail",
|
|
"description": "Gets a workflow's thumbnail image",
|
|
"operationId": "get_workflow_thumbnail",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of the workflow thumbnail to get",
|
|
"title": "Workflow Id"
|
|
},
|
|
"description": "The id of the workflow thumbnail to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "The workflow thumbnail was fetched successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "The workflow thumbnail could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/workflows/counts_by_tag": {
|
|
"get": {
|
|
"tags": ["workflows"],
|
|
"summary": "Get Counts By Tag",
|
|
"description": "Counts workflows by tag",
|
|
"operationId": "get_counts_by_tag",
|
|
"parameters": [
|
|
{
|
|
"name": "tags",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The tags to get counts for",
|
|
"title": "Tags"
|
|
},
|
|
"description": "The tags to get counts for"
|
|
},
|
|
{
|
|
"name": "categories",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/WorkflowCategory"
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The categories to include",
|
|
"title": "Categories"
|
|
},
|
|
"description": "The categories to include"
|
|
},
|
|
{
|
|
"name": "has_been_opened",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to include/exclude recent workflows",
|
|
"title": "Has Been Opened"
|
|
},
|
|
"description": "Whether to include/exclude recent workflows"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
},
|
|
"title": "Response Get Counts By Tag"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/workflows/counts_by_category": {
|
|
"get": {
|
|
"tags": ["workflows"],
|
|
"summary": "Counts By Category",
|
|
"description": "Counts workflows by category",
|
|
"operationId": "counts_by_category",
|
|
"parameters": [
|
|
{
|
|
"name": "categories",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/WorkflowCategory"
|
|
},
|
|
"description": "The categories to include",
|
|
"title": "Categories"
|
|
},
|
|
"description": "The categories to include"
|
|
},
|
|
{
|
|
"name": "has_been_opened",
|
|
"in": "query",
|
|
"required": false,
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Whether to include/exclude recent workflows",
|
|
"title": "Has Been Opened"
|
|
},
|
|
"description": "Whether to include/exclude recent workflows"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
},
|
|
"title": "Response Counts By Category"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/workflows/i/{workflow_id}/opened_at": {
|
|
"put": {
|
|
"tags": ["workflows"],
|
|
"summary": "Update Opened At",
|
|
"description": "Updates the opened_at field of a workflow",
|
|
"operationId": "update_opened_at",
|
|
"parameters": [
|
|
{
|
|
"name": "workflow_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The workflow to update",
|
|
"title": "Workflow Id"
|
|
},
|
|
"description": "The workflow to update"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/style_presets/i/{style_preset_id}": {
|
|
"get": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Get Style Preset",
|
|
"description": "Gets a style preset",
|
|
"operationId": "get_style_preset",
|
|
"parameters": [
|
|
{
|
|
"name": "style_preset_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The style preset to get",
|
|
"title": "Style Preset Id"
|
|
},
|
|
"description": "The style preset to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StylePresetRecordWithImage"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Update Style Preset",
|
|
"description": "Updates a style preset",
|
|
"operationId": "update_style_preset",
|
|
"parameters": [
|
|
{
|
|
"name": "style_preset_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of the style preset to update",
|
|
"title": "Style Preset Id"
|
|
},
|
|
"description": "The id of the style preset to update"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_update_style_preset"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StylePresetRecordWithImage"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Delete Style Preset",
|
|
"description": "Deletes a style preset",
|
|
"operationId": "delete_style_preset",
|
|
"parameters": [
|
|
{
|
|
"name": "style_preset_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The style preset to delete",
|
|
"title": "Style Preset Id"
|
|
},
|
|
"description": "The style preset to delete"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/style_presets/": {
|
|
"get": {
|
|
"tags": ["style_presets"],
|
|
"summary": "List Style Presets",
|
|
"description": "Gets a page of style presets",
|
|
"operationId": "list_style_presets",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/StylePresetRecordWithImage"
|
|
},
|
|
"type": "array",
|
|
"title": "Response 200 List Style Presets"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Create Style Preset",
|
|
"description": "Creates a style preset",
|
|
"operationId": "create_style_preset",
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_create_style_preset"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StylePresetRecordWithImage"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/style_presets/i/{style_preset_id}/image": {
|
|
"get": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Get Style Preset Image",
|
|
"description": "Gets an image file that previews the model",
|
|
"operationId": "get_style_preset_image",
|
|
"parameters": [
|
|
{
|
|
"name": "style_preset_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The id of the style preset image to get",
|
|
"title": "Style Preset Id"
|
|
},
|
|
"description": "The id of the style preset image to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "The style preset image was fetched successfully",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad request"
|
|
},
|
|
"404": {
|
|
"description": "The style preset image could not be found"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/style_presets/export": {
|
|
"get": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Export Style Presets",
|
|
"operationId": "export_style_presets",
|
|
"responses": {
|
|
"200": {
|
|
"description": "A CSV file with the requested data.",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
},
|
|
"text/csv": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/style_presets/import": {
|
|
"post": {
|
|
"tags": ["style_presets"],
|
|
"summary": "Import Style Presets",
|
|
"operationId": "import_style_presets",
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Body_import_style_presets"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/client_state/{queue_id}/get_by_key": {
|
|
"get": {
|
|
"tags": ["client_state"],
|
|
"summary": "Get Client State By Key",
|
|
"description": "Gets the client state",
|
|
"operationId": "get_client_state_by_key",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "key",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Key to get",
|
|
"title": "Key"
|
|
},
|
|
"description": "Key to get"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Response Get Client State By Key"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/client_state/{queue_id}/set_by_key": {
|
|
"post": {
|
|
"tags": ["client_state"],
|
|
"summary": "Set Client State",
|
|
"description": "Sets the client state",
|
|
"operationId": "set_client_state",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
},
|
|
{
|
|
"name": "key",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Key to set",
|
|
"title": "Key"
|
|
},
|
|
"description": "Key to set"
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "Stringified value to set",
|
|
"title": "Value"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string",
|
|
"title": "Response Set Client State"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/v1/client_state/{queue_id}/delete": {
|
|
"post": {
|
|
"tags": ["client_state"],
|
|
"summary": "Delete Client State",
|
|
"description": "Deletes the client state",
|
|
"operationId": "delete_client_state",
|
|
"parameters": [
|
|
{
|
|
"name": "queue_id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "The queue id to perform this operation on",
|
|
"title": "Queue Id"
|
|
},
|
|
"description": "The queue id to perform this operation on"
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful Response",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"204": {
|
|
"description": "Client state deleted"
|
|
},
|
|
"422": {
|
|
"description": "Validation Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HTTPValidationError"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"AddImagesToBoardResult": {
|
|
"properties": {
|
|
"affected_boards": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Affected Boards",
|
|
"description": "The ids of boards affected by the delete operation"
|
|
},
|
|
"added_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Added Images",
|
|
"description": "The image names that were added to the board"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["affected_boards", "added_images"],
|
|
"title": "AddImagesToBoardResult"
|
|
},
|
|
"AddInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Adds two numbers",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"a": {
|
|
"default": 0,
|
|
"description": "The first number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "A",
|
|
"type": "integer"
|
|
},
|
|
"b": {
|
|
"default": 0,
|
|
"description": "The second number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "B",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "add",
|
|
"default": "add",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "add"],
|
|
"title": "Add Integers",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"AlphaMaskToTensorInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Convert a mask image to a tensor. Opaque regions are 1 and transparent regions are 0.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask image to convert.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"invert": {
|
|
"default": false,
|
|
"description": "Whether to invert the mask.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "alpha_mask_to_tensor",
|
|
"default": "alpha_mask_to_tensor",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["conditioning"],
|
|
"title": "Alpha Mask to Tensor",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
}
|
|
},
|
|
"AnyModelConfig": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
]
|
|
},
|
|
"AppVersion": {
|
|
"properties": {
|
|
"version": {
|
|
"type": "string",
|
|
"title": "Version",
|
|
"description": "App version"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["version"],
|
|
"title": "AppVersion",
|
|
"description": "App Version Response"
|
|
},
|
|
"ApplyMaskTensorToImageInvocation": {
|
|
"category": "mask",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies a tensor mask to an image.\n\nThe image is converted to RGBA and the mask is applied to the alpha channel.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask tensor to apply.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to apply the mask to.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"invert": {
|
|
"default": false,
|
|
"description": "Whether to invert the mask.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "apply_tensor_mask_to_image",
|
|
"default": "apply_tensor_mask_to_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["mask"],
|
|
"title": "Apply Tensor Mask to Image",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ApplyMaskToImageInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Extracts a region from a generated image using a mask and blends it seamlessly onto a source image.\nThe mask uses black to indicate areas to keep from the generated image and white for areas to discard.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image from which to extract the masked region",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask defining the region (black=keep, white=discard)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"invert_mask": {
|
|
"default": false,
|
|
"description": "Whether to invert the mask before applying it",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert Mask",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "apply_mask_to_image",
|
|
"default": "apply_mask_to_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "blend"],
|
|
"title": "Apply Mask to Image",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"BaseMetadata": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "model's name"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "basemetadata",
|
|
"title": "Type",
|
|
"default": "basemetadata"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["name"],
|
|
"title": "BaseMetadata",
|
|
"description": "Adds typing data for discriminated union."
|
|
},
|
|
"BaseModelType": {
|
|
"type": "string",
|
|
"enum": ["any", "sd-1", "sd-2", "sd-3", "sdxl", "sdxl-refiner", "flux", "cogview4", "z-image", "unknown"],
|
|
"title": "BaseModelType",
|
|
"description": "An enumeration of base model architectures. For example, Stable Diffusion 1.x, Stable Diffusion 2.x, FLUX, etc.\n\nEvery model config must have a base architecture type.\n\nNot all models are associated with a base architecture. For example, CLIP models are their own thing, not related\nto any particular model architecture. To simplify internal APIs and make it easier to work with models, we use a\nfallback/null value `BaseModelType.Any` for these models, instead of making the model base optional."
|
|
},
|
|
"Batch": {
|
|
"properties": {
|
|
"batch_id": {
|
|
"type": "string",
|
|
"title": "Batch Id",
|
|
"description": "The ID of the batch"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Origin",
|
|
"description": "The origin of this queue item. This data is used by the frontend to determine how to handle results."
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Destination",
|
|
"description": "The origin of this queue item. This data is used by the frontend to determine how to handle results"
|
|
},
|
|
"data": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/BatchDatum"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Data",
|
|
"description": "The batch data collection."
|
|
},
|
|
"graph": {
|
|
"$ref": "#/components/schemas/Graph",
|
|
"description": "The graph to initialize the session with"
|
|
},
|
|
"workflow": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/WorkflowWithoutID"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The workflow to initialize the session with"
|
|
},
|
|
"runs": {
|
|
"type": "integer",
|
|
"minimum": 1.0,
|
|
"title": "Runs",
|
|
"description": "Int stating how many times to iterate through all possible batch indices",
|
|
"default": 1
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["graph", "runs"],
|
|
"title": "Batch"
|
|
},
|
|
"BatchDatum": {
|
|
"properties": {
|
|
"node_path": {
|
|
"type": "string",
|
|
"title": "Node Path",
|
|
"description": "The node into which this batch data collection will be substituted."
|
|
},
|
|
"field_name": {
|
|
"type": "string",
|
|
"title": "Field Name",
|
|
"description": "The field into which this batch data collection will be substituted."
|
|
},
|
|
"items": {
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
}
|
|
]
|
|
},
|
|
"type": "array",
|
|
"title": "Items",
|
|
"description": "The list of items to substitute into the node/field."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["node_path", "field_name"],
|
|
"title": "BatchDatum"
|
|
},
|
|
"BatchEnqueuedEvent": {
|
|
"description": "Event model for batch_enqueued",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"batch_id": {
|
|
"description": "The ID of the batch",
|
|
"title": "Batch Id",
|
|
"type": "string"
|
|
},
|
|
"enqueued": {
|
|
"description": "The number of invocations enqueued",
|
|
"title": "Enqueued",
|
|
"type": "integer"
|
|
},
|
|
"requested": {
|
|
"description": "The number of invocations initially requested to be enqueued (may be less than enqueued if queue was full)",
|
|
"title": "Requested",
|
|
"type": "integer"
|
|
},
|
|
"priority": {
|
|
"description": "The priority of the batch",
|
|
"title": "Priority",
|
|
"type": "integer"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The origin of the batch",
|
|
"title": "Origin"
|
|
}
|
|
},
|
|
"required": ["timestamp", "queue_id", "batch_id", "enqueued", "requested", "priority", "origin"],
|
|
"title": "BatchEnqueuedEvent",
|
|
"type": "object"
|
|
},
|
|
"BatchStatus": {
|
|
"properties": {
|
|
"queue_id": {
|
|
"type": "string",
|
|
"title": "Queue Id",
|
|
"description": "The ID of the queue"
|
|
},
|
|
"batch_id": {
|
|
"type": "string",
|
|
"title": "Batch Id",
|
|
"description": "The ID of the batch"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Origin",
|
|
"description": "The origin of the batch"
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Destination",
|
|
"description": "The destination of the batch"
|
|
},
|
|
"pending": {
|
|
"type": "integer",
|
|
"title": "Pending",
|
|
"description": "Number of queue items with status 'pending'"
|
|
},
|
|
"in_progress": {
|
|
"type": "integer",
|
|
"title": "In Progress",
|
|
"description": "Number of queue items with status 'in_progress'"
|
|
},
|
|
"completed": {
|
|
"type": "integer",
|
|
"title": "Completed",
|
|
"description": "Number of queue items with status 'complete'"
|
|
},
|
|
"failed": {
|
|
"type": "integer",
|
|
"title": "Failed",
|
|
"description": "Number of queue items with status 'error'"
|
|
},
|
|
"canceled": {
|
|
"type": "integer",
|
|
"title": "Canceled",
|
|
"description": "Number of queue items with status 'canceled'"
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"title": "Total",
|
|
"description": "Total number of queue items"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"queue_id",
|
|
"batch_id",
|
|
"origin",
|
|
"destination",
|
|
"pending",
|
|
"in_progress",
|
|
"completed",
|
|
"failed",
|
|
"canceled",
|
|
"total"
|
|
],
|
|
"title": "BatchStatus"
|
|
},
|
|
"BlankImageInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates a blank image and forwards it to the pipeline",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"width": {
|
|
"default": 512,
|
|
"description": "The width of the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 512,
|
|
"description": "The height of the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"mode": {
|
|
"default": "RGB",
|
|
"description": "The mode of the image",
|
|
"enum": ["RGB", "RGBA"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "RGB",
|
|
"orig_required": false,
|
|
"title": "Mode",
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"$ref": "#/components/schemas/ColorField",
|
|
"default": {
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"description": "The color of the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": {
|
|
"a": 255,
|
|
"b": 0,
|
|
"g": 0,
|
|
"r": 0
|
|
},
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "blank_image",
|
|
"default": "blank_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image"],
|
|
"title": "Blank Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"BlendLatentsInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Blend two latents using a given alpha. If a mask is provided, the second latents will be masked before blending.\nLatents must have same size. Masking functionality added by @dwringer.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents_a": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"latents_b": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Mask for blending in latents B",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"alpha": {
|
|
"default": 0.5,
|
|
"description": "Blending factor. 0.0 = use input A only, 1.0 = use input B only, 0.5 = 50% mix of input A and input B.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Alpha",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "lblend",
|
|
"default": "lblend",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "blend", "mask"],
|
|
"title": "Blend Latents",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"BoardChanges": {
|
|
"properties": {
|
|
"board_name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"maxLength": 300
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Board Name",
|
|
"description": "The board's new name."
|
|
},
|
|
"cover_image_name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image Name",
|
|
"description": "The name of the board's new cover image."
|
|
},
|
|
"archived": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Archived",
|
|
"description": "Whether or not the board is archived"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "BoardChanges"
|
|
},
|
|
"BoardDTO": {
|
|
"properties": {
|
|
"board_id": {
|
|
"type": "string",
|
|
"title": "Board Id",
|
|
"description": "The unique ID of the board."
|
|
},
|
|
"board_name": {
|
|
"type": "string",
|
|
"title": "Board Name",
|
|
"description": "The name of the board."
|
|
},
|
|
"created_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Created At",
|
|
"description": "The created timestamp of the board."
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Updated At",
|
|
"description": "The updated timestamp of the board."
|
|
},
|
|
"deleted_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Deleted At",
|
|
"description": "The deleted timestamp of the board."
|
|
},
|
|
"cover_image_name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image Name",
|
|
"description": "The name of the board's cover image."
|
|
},
|
|
"archived": {
|
|
"type": "boolean",
|
|
"title": "Archived",
|
|
"description": "Whether or not the board is archived."
|
|
},
|
|
"image_count": {
|
|
"type": "integer",
|
|
"title": "Image Count",
|
|
"description": "The number of images in the board."
|
|
},
|
|
"asset_count": {
|
|
"type": "integer",
|
|
"title": "Asset Count",
|
|
"description": "The number of assets in the board."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"board_id",
|
|
"board_name",
|
|
"created_at",
|
|
"updated_at",
|
|
"cover_image_name",
|
|
"archived",
|
|
"image_count",
|
|
"asset_count"
|
|
],
|
|
"title": "BoardDTO",
|
|
"description": "Deserialized board record with cover image URL and image count."
|
|
},
|
|
"BoardField": {
|
|
"description": "A board primitive field",
|
|
"properties": {
|
|
"board_id": {
|
|
"description": "The id of the board",
|
|
"title": "Board Id",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["board_id"],
|
|
"title": "BoardField",
|
|
"type": "object"
|
|
},
|
|
"BoardRecordOrderBy": {
|
|
"type": "string",
|
|
"enum": ["created_at", "board_name"],
|
|
"title": "BoardRecordOrderBy",
|
|
"description": "The order by options for board records"
|
|
},
|
|
"Body_add_image_to_board": {
|
|
"properties": {
|
|
"board_id": {
|
|
"type": "string",
|
|
"title": "Board Id",
|
|
"description": "The id of the board to add to"
|
|
},
|
|
"image_name": {
|
|
"type": "string",
|
|
"title": "Image Name",
|
|
"description": "The name of the image to add"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["board_id", "image_name"],
|
|
"title": "Body_add_image_to_board"
|
|
},
|
|
"Body_add_images_to_board": {
|
|
"properties": {
|
|
"board_id": {
|
|
"type": "string",
|
|
"title": "Board Id",
|
|
"description": "The id of the board to add to"
|
|
},
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "The names of the images to add"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["board_id", "image_names"],
|
|
"title": "Body_add_images_to_board"
|
|
},
|
|
"Body_cancel_by_batch_ids": {
|
|
"properties": {
|
|
"batch_ids": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Batch Ids",
|
|
"description": "The list of batch_ids to cancel all queue items for"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["batch_ids"],
|
|
"title": "Body_cancel_by_batch_ids"
|
|
},
|
|
"Body_create_image_upload_entry": {
|
|
"properties": {
|
|
"width": {
|
|
"type": "integer",
|
|
"title": "Width",
|
|
"description": "The width of the image"
|
|
},
|
|
"height": {
|
|
"type": "integer",
|
|
"title": "Height",
|
|
"description": "The height of the image"
|
|
},
|
|
"board_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Board Id",
|
|
"description": "The board to add this image to, if any"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["width", "height"],
|
|
"title": "Body_create_image_upload_entry"
|
|
},
|
|
"Body_create_style_preset": {
|
|
"properties": {
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "binary"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Image",
|
|
"description": "The image file to upload"
|
|
},
|
|
"data": {
|
|
"type": "string",
|
|
"title": "Data",
|
|
"description": "The data of the style preset to create"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["data"],
|
|
"title": "Body_create_style_preset"
|
|
},
|
|
"Body_create_workflow": {
|
|
"properties": {
|
|
"workflow": {
|
|
"$ref": "#/components/schemas/WorkflowWithoutID",
|
|
"description": "The workflow to create"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["workflow"],
|
|
"title": "Body_create_workflow"
|
|
},
|
|
"Body_delete_images_from_list": {
|
|
"properties": {
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "The list of names of images to delete"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_names"],
|
|
"title": "Body_delete_images_from_list"
|
|
},
|
|
"Body_do_hf_login": {
|
|
"properties": {
|
|
"token": {
|
|
"type": "string",
|
|
"title": "Token",
|
|
"description": "Hugging Face token to use for login"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["token"],
|
|
"title": "Body_do_hf_login"
|
|
},
|
|
"Body_download": {
|
|
"properties": {
|
|
"source": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"format": "uri",
|
|
"title": "Source",
|
|
"description": "download source"
|
|
},
|
|
"dest": {
|
|
"type": "string",
|
|
"title": "Dest",
|
|
"description": "download destination"
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"title": "Priority",
|
|
"description": "queue priority",
|
|
"default": 10
|
|
},
|
|
"access_token": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Access Token",
|
|
"description": "token for authorization to download"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["source", "dest"],
|
|
"title": "Body_download"
|
|
},
|
|
"Body_download_images_from_list": {
|
|
"properties": {
|
|
"image_names": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Image Names",
|
|
"description": "The list of names of images to download"
|
|
},
|
|
"board_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Board Id",
|
|
"description": "The board from which image should be downloaded"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Body_download_images_from_list"
|
|
},
|
|
"Body_enqueue_batch": {
|
|
"properties": {
|
|
"batch": {
|
|
"$ref": "#/components/schemas/Batch",
|
|
"description": "Batch to process"
|
|
},
|
|
"prepend": {
|
|
"type": "boolean",
|
|
"title": "Prepend",
|
|
"description": "Whether or not to prepend this batch in the queue",
|
|
"default": false
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["batch"],
|
|
"title": "Body_enqueue_batch"
|
|
},
|
|
"Body_get_images_by_names": {
|
|
"properties": {
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "Object containing list of image names to fetch DTOs for"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_names"],
|
|
"title": "Body_get_images_by_names"
|
|
},
|
|
"Body_get_queue_items_by_item_ids": {
|
|
"properties": {
|
|
"item_ids": {
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array",
|
|
"title": "Item Ids",
|
|
"description": "Object containing list of queue item ids to fetch queue items for"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["item_ids"],
|
|
"title": "Body_get_queue_items_by_item_ids"
|
|
},
|
|
"Body_import_style_presets": {
|
|
"properties": {
|
|
"file": {
|
|
"type": "string",
|
|
"format": "binary",
|
|
"title": "File",
|
|
"description": "The file to import"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["file"],
|
|
"title": "Body_import_style_presets"
|
|
},
|
|
"Body_parse_dynamicprompts": {
|
|
"properties": {
|
|
"prompt": {
|
|
"type": "string",
|
|
"title": "Prompt",
|
|
"description": "The prompt to parse with dynamicprompts"
|
|
},
|
|
"max_prompts": {
|
|
"type": "integer",
|
|
"maximum": 10000.0,
|
|
"minimum": 1.0,
|
|
"title": "Max Prompts",
|
|
"description": "The max number of prompts to generate",
|
|
"default": 1000
|
|
},
|
|
"combinatorial": {
|
|
"type": "boolean",
|
|
"title": "Combinatorial",
|
|
"description": "Whether to use the combinatorial generator",
|
|
"default": true
|
|
},
|
|
"seed": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Seed",
|
|
"description": "The seed to use for random generation. Only used if not combinatorial"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["prompt"],
|
|
"title": "Body_parse_dynamicprompts"
|
|
},
|
|
"Body_remove_image_from_board": {
|
|
"properties": {
|
|
"image_name": {
|
|
"type": "string",
|
|
"title": "Image Name",
|
|
"description": "The name of the image to remove"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_name"],
|
|
"title": "Body_remove_image_from_board"
|
|
},
|
|
"Body_remove_images_from_board": {
|
|
"properties": {
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "The names of the images to remove"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_names"],
|
|
"title": "Body_remove_images_from_board"
|
|
},
|
|
"Body_set_workflow_thumbnail": {
|
|
"properties": {
|
|
"image": {
|
|
"type": "string",
|
|
"format": "binary",
|
|
"title": "Image",
|
|
"description": "The image file to upload"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image"],
|
|
"title": "Body_set_workflow_thumbnail"
|
|
},
|
|
"Body_star_images_in_list": {
|
|
"properties": {
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "The list of names of images to star"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_names"],
|
|
"title": "Body_star_images_in_list"
|
|
},
|
|
"Body_unstar_images_in_list": {
|
|
"properties": {
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "The list of names of images to unstar"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_names"],
|
|
"title": "Body_unstar_images_in_list"
|
|
},
|
|
"Body_update_model_image": {
|
|
"properties": {
|
|
"image": {
|
|
"type": "string",
|
|
"format": "binary",
|
|
"title": "Image"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image"],
|
|
"title": "Body_update_model_image"
|
|
},
|
|
"Body_update_style_preset": {
|
|
"properties": {
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "binary"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Image",
|
|
"description": "The image file to upload"
|
|
},
|
|
"data": {
|
|
"type": "string",
|
|
"title": "Data",
|
|
"description": "The data of the style preset to update"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["data"],
|
|
"title": "Body_update_style_preset"
|
|
},
|
|
"Body_update_workflow": {
|
|
"properties": {
|
|
"workflow": {
|
|
"$ref": "#/components/schemas/Workflow",
|
|
"description": "The updated workflow"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["workflow"],
|
|
"title": "Body_update_workflow"
|
|
},
|
|
"Body_upload_image": {
|
|
"properties": {
|
|
"file": {
|
|
"type": "string",
|
|
"format": "binary",
|
|
"title": "File"
|
|
},
|
|
"resize_to": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Resize To",
|
|
"description": "Dimensions to resize the image to, must be stringified tuple of 2 integers. Max total pixel count: 16777216",
|
|
"examples": ["\"[1024,1024]\""]
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Metadata",
|
|
"description": "The metadata to associate with the image, must be a stringified JSON dict"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["file"],
|
|
"title": "Body_upload_image"
|
|
},
|
|
"BooleanCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of boolean primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The collection of boolean values",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {
|
|
"type": "boolean"
|
|
},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"const": "boolean_collection",
|
|
"default": "boolean_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "boolean", "collection"],
|
|
"title": "Boolean Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BooleanCollectionOutput"
|
|
}
|
|
},
|
|
"BooleanCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of booleans",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output boolean collection",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "boolean"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "boolean_collection_output",
|
|
"default": "boolean_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "BooleanCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"BooleanInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A boolean primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"value": {
|
|
"default": false,
|
|
"description": "The boolean value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Value",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "boolean",
|
|
"default": "boolean",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "boolean"],
|
|
"title": "Boolean Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BooleanOutput"
|
|
}
|
|
},
|
|
"BooleanOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single boolean",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The output boolean",
|
|
"field_kind": "output",
|
|
"title": "Value",
|
|
"type": "boolean",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "boolean_output",
|
|
"default": "boolean_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "value", "type", "type"],
|
|
"title": "BooleanOutput",
|
|
"type": "object"
|
|
},
|
|
"BoundingBoxCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of bounding boxes",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output bounding boxes.",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/BoundingBoxField"
|
|
},
|
|
"title": "Bounding Boxes",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "bounding_box_collection_output",
|
|
"default": "bounding_box_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "BoundingBoxCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"BoundingBoxField": {
|
|
"description": "A bounding box primitive value.",
|
|
"properties": {
|
|
"x_min": {
|
|
"description": "The minimum x-coordinate of the bounding box (inclusive).",
|
|
"title": "X Min",
|
|
"type": "integer"
|
|
},
|
|
"x_max": {
|
|
"description": "The maximum x-coordinate of the bounding box (exclusive).",
|
|
"title": "X Max",
|
|
"type": "integer"
|
|
},
|
|
"y_min": {
|
|
"description": "The minimum y-coordinate of the bounding box (inclusive).",
|
|
"title": "Y Min",
|
|
"type": "integer"
|
|
},
|
|
"y_max": {
|
|
"description": "The maximum y-coordinate of the bounding box (exclusive).",
|
|
"title": "Y Max",
|
|
"type": "integer"
|
|
},
|
|
"score": {
|
|
"anyOf": [
|
|
{
|
|
"maximum": 1.0,
|
|
"minimum": 0.0,
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The score associated with the bounding box. In the range [0, 1]. This value is typically set when the bounding box was produced by a detector and has an associated confidence score.",
|
|
"title": "Score"
|
|
}
|
|
},
|
|
"required": ["x_min", "x_max", "y_min", "y_max"],
|
|
"title": "BoundingBoxField",
|
|
"type": "object"
|
|
},
|
|
"BoundingBoxInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Create a bounding box manually by supplying box coordinates",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"x_min": {
|
|
"default": 0,
|
|
"description": "x-coordinate of the bounding box's top left vertex",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "X Min",
|
|
"type": "integer"
|
|
},
|
|
"y_min": {
|
|
"default": 0,
|
|
"description": "y-coordinate of the bounding box's top left vertex",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Y Min",
|
|
"type": "integer"
|
|
},
|
|
"x_max": {
|
|
"default": 0,
|
|
"description": "x-coordinate of the bounding box's bottom right vertex",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "X Max",
|
|
"type": "integer"
|
|
},
|
|
"y_max": {
|
|
"default": 0,
|
|
"description": "y-coordinate of the bounding box's bottom right vertex",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Y Max",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "bounding_box",
|
|
"default": "bounding_box",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "segmentation", "collection", "bounding box"],
|
|
"title": "Bounding Box",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BoundingBoxOutput"
|
|
}
|
|
},
|
|
"BoundingBoxOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single bounding box",
|
|
"properties": {
|
|
"bounding_box": {
|
|
"$ref": "#/components/schemas/BoundingBoxField",
|
|
"description": "The output bounding box.",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "bounding_box_output",
|
|
"default": "bounding_box_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "bounding_box", "type", "type"],
|
|
"title": "BoundingBoxOutput",
|
|
"type": "object"
|
|
},
|
|
"BulkDownloadCompleteEvent": {
|
|
"description": "Event model for bulk_download_complete",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"bulk_download_id": {
|
|
"description": "The ID of the bulk image download",
|
|
"title": "Bulk Download Id",
|
|
"type": "string"
|
|
},
|
|
"bulk_download_item_id": {
|
|
"description": "The ID of the bulk image download item",
|
|
"title": "Bulk Download Item Id",
|
|
"type": "string"
|
|
},
|
|
"bulk_download_item_name": {
|
|
"description": "The name of the bulk image download item",
|
|
"title": "Bulk Download Item Name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "bulk_download_id", "bulk_download_item_id", "bulk_download_item_name"],
|
|
"title": "BulkDownloadCompleteEvent",
|
|
"type": "object"
|
|
},
|
|
"BulkDownloadErrorEvent": {
|
|
"description": "Event model for bulk_download_error",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"bulk_download_id": {
|
|
"description": "The ID of the bulk image download",
|
|
"title": "Bulk Download Id",
|
|
"type": "string"
|
|
},
|
|
"bulk_download_item_id": {
|
|
"description": "The ID of the bulk image download item",
|
|
"title": "Bulk Download Item Id",
|
|
"type": "string"
|
|
},
|
|
"bulk_download_item_name": {
|
|
"description": "The name of the bulk image download item",
|
|
"title": "Bulk Download Item Name",
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"description": "The error message",
|
|
"title": "Error",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "bulk_download_id", "bulk_download_item_id", "bulk_download_item_name", "error"],
|
|
"title": "BulkDownloadErrorEvent",
|
|
"type": "object"
|
|
},
|
|
"BulkDownloadStartedEvent": {
|
|
"description": "Event model for bulk_download_started",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"bulk_download_id": {
|
|
"description": "The ID of the bulk image download",
|
|
"title": "Bulk Download Id",
|
|
"type": "string"
|
|
},
|
|
"bulk_download_item_id": {
|
|
"description": "The ID of the bulk image download item",
|
|
"title": "Bulk Download Item Id",
|
|
"type": "string"
|
|
},
|
|
"bulk_download_item_name": {
|
|
"description": "The name of the bulk image download item",
|
|
"title": "Bulk Download Item Name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "bulk_download_id", "bulk_download_item_id", "bulk_download_item_name"],
|
|
"title": "BulkDownloadStartedEvent",
|
|
"type": "object"
|
|
},
|
|
"CLIPEmbed_Diffusers_G_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "clip_embed",
|
|
"title": "Type",
|
|
"default": "clip_embed"
|
|
},
|
|
"variant": {
|
|
"type": "string",
|
|
"const": "gigantic",
|
|
"title": "Variant",
|
|
"default": "gigantic"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"base",
|
|
"type",
|
|
"variant"
|
|
],
|
|
"title": "CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
"CLIPEmbed_Diffusers_L_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "clip_embed",
|
|
"title": "Type",
|
|
"default": "clip_embed"
|
|
},
|
|
"variant": {
|
|
"type": "string",
|
|
"const": "large",
|
|
"title": "Variant",
|
|
"default": "large"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"base",
|
|
"type",
|
|
"variant"
|
|
],
|
|
"title": "CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
"CLIPField": {
|
|
"properties": {
|
|
"tokenizer": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load tokenizer submodel"
|
|
},
|
|
"text_encoder": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load text_encoder submodel"
|
|
},
|
|
"skipped_layers": {
|
|
"description": "Number of skipped layers in text_encoder",
|
|
"title": "Skipped Layers",
|
|
"type": "integer"
|
|
},
|
|
"loras": {
|
|
"description": "LoRAs to apply on model loading",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"title": "Loras",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["tokenizer", "text_encoder", "skipped_layers", "loras"],
|
|
"title": "CLIPField",
|
|
"type": "object"
|
|
},
|
|
"CLIPOutput": {
|
|
"class": "output",
|
|
"description": "Base class for invocations that output a CLIP field",
|
|
"properties": {
|
|
"clip": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "clip_output",
|
|
"default": "clip_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "clip", "type", "type"],
|
|
"title": "CLIPOutput",
|
|
"type": "object"
|
|
},
|
|
"CLIPSkipInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Skip layers in clip text_encoder model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "CLIP"
|
|
},
|
|
"skipped_layers": {
|
|
"default": 0,
|
|
"description": "Number of layers to skip in text encoder",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Skipped Layers",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "clip_skip",
|
|
"default": "clip_skip",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["clipskip", "clip", "skip"],
|
|
"title": "Apply CLIP Skip - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CLIPSkipInvocationOutput"
|
|
}
|
|
},
|
|
"CLIPSkipInvocationOutput": {
|
|
"class": "output",
|
|
"description": "CLIP skip node output",
|
|
"properties": {
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "clip_skip_output",
|
|
"default": "clip_skip_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "clip", "type", "type"],
|
|
"title": "CLIPSkipInvocationOutput",
|
|
"type": "object"
|
|
},
|
|
"CLIPVision_Diffusers_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "clip_vision",
|
|
"title": "Type",
|
|
"default": "clip_vision"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"base",
|
|
"type"
|
|
],
|
|
"title": "CLIPVision_Diffusers_Config",
|
|
"description": "Model config for CLIPVision."
|
|
},
|
|
"CV2InfillInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Infills transparent areas of an image using OpenCV Inpainting",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "infill_cv2",
|
|
"default": "infill_cv2",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "inpaint"],
|
|
"title": "CV2 Infill",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"CacheStats": {
|
|
"properties": {
|
|
"hits": {
|
|
"type": "integer",
|
|
"title": "Hits",
|
|
"default": 0
|
|
},
|
|
"misses": {
|
|
"type": "integer",
|
|
"title": "Misses",
|
|
"default": 0
|
|
},
|
|
"high_watermark": {
|
|
"type": "integer",
|
|
"title": "High Watermark",
|
|
"default": 0
|
|
},
|
|
"in_cache": {
|
|
"type": "integer",
|
|
"title": "In Cache",
|
|
"default": 0
|
|
},
|
|
"cleared": {
|
|
"type": "integer",
|
|
"title": "Cleared",
|
|
"default": 0
|
|
},
|
|
"cache_size": {
|
|
"type": "integer",
|
|
"title": "Cache Size",
|
|
"default": 0
|
|
},
|
|
"loaded_model_sizes": {
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
},
|
|
"type": "object",
|
|
"title": "Loaded Model Sizes"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "CacheStats"
|
|
},
|
|
"CalculateImageTilesEvenSplitInvocation": {
|
|
"category": "tiles",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Calculate the coordinates and overlaps of tiles that cover a target image shape.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image_width": {
|
|
"default": 1024,
|
|
"description": "The image width, in pixels, to calculate tiles for.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Image Width",
|
|
"type": "integer"
|
|
},
|
|
"image_height": {
|
|
"default": 1024,
|
|
"description": "The image height, in pixels, to calculate tiles for.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Image Height",
|
|
"type": "integer"
|
|
},
|
|
"num_tiles_x": {
|
|
"default": 2,
|
|
"description": "Number of tiles to divide image into on the x axis",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 2,
|
|
"orig_required": false,
|
|
"title": "Num Tiles X",
|
|
"type": "integer"
|
|
},
|
|
"num_tiles_y": {
|
|
"default": 2,
|
|
"description": "Number of tiles to divide image into on the y axis",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 2,
|
|
"orig_required": false,
|
|
"title": "Num Tiles Y",
|
|
"type": "integer"
|
|
},
|
|
"overlap": {
|
|
"default": 128,
|
|
"description": "The overlap, in pixels, between adjacent tiles.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"multipleOf": 8,
|
|
"orig_default": 128,
|
|
"orig_required": false,
|
|
"title": "Overlap",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "calculate_image_tiles_even_split",
|
|
"default": "calculate_image_tiles_even_split",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["tiles"],
|
|
"title": "Calculate Image Tiles Even Split",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
}
|
|
},
|
|
"CalculateImageTilesInvocation": {
|
|
"category": "tiles",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Calculate the coordinates and overlaps of tiles that cover a target image shape.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image_width": {
|
|
"default": 1024,
|
|
"description": "The image width, in pixels, to calculate tiles for.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Image Width",
|
|
"type": "integer"
|
|
},
|
|
"image_height": {
|
|
"default": 1024,
|
|
"description": "The image height, in pixels, to calculate tiles for.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Image Height",
|
|
"type": "integer"
|
|
},
|
|
"tile_width": {
|
|
"default": 576,
|
|
"description": "The tile width, in pixels.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 576,
|
|
"orig_required": false,
|
|
"title": "Tile Width",
|
|
"type": "integer"
|
|
},
|
|
"tile_height": {
|
|
"default": 576,
|
|
"description": "The tile height, in pixels.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 576,
|
|
"orig_required": false,
|
|
"title": "Tile Height",
|
|
"type": "integer"
|
|
},
|
|
"overlap": {
|
|
"default": 128,
|
|
"description": "The target overlap, in pixels, between adjacent tiles. Adjacent tiles will overlap by at least this amount",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 128,
|
|
"orig_required": false,
|
|
"title": "Overlap",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "calculate_image_tiles",
|
|
"default": "calculate_image_tiles",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["tiles"],
|
|
"title": "Calculate Image Tiles",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
}
|
|
},
|
|
"CalculateImageTilesMinimumOverlapInvocation": {
|
|
"category": "tiles",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Calculate the coordinates and overlaps of tiles that cover a target image shape.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image_width": {
|
|
"default": 1024,
|
|
"description": "The image width, in pixels, to calculate tiles for.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Image Width",
|
|
"type": "integer"
|
|
},
|
|
"image_height": {
|
|
"default": 1024,
|
|
"description": "The image height, in pixels, to calculate tiles for.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Image Height",
|
|
"type": "integer"
|
|
},
|
|
"tile_width": {
|
|
"default": 576,
|
|
"description": "The tile width, in pixels.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 576,
|
|
"orig_required": false,
|
|
"title": "Tile Width",
|
|
"type": "integer"
|
|
},
|
|
"tile_height": {
|
|
"default": 576,
|
|
"description": "The tile height, in pixels.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 576,
|
|
"orig_required": false,
|
|
"title": "Tile Height",
|
|
"type": "integer"
|
|
},
|
|
"min_overlap": {
|
|
"default": 128,
|
|
"description": "Minimum overlap between adjacent tiles, in pixels.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 128,
|
|
"orig_required": false,
|
|
"title": "Min Overlap",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "calculate_image_tiles_min_overlap",
|
|
"default": "calculate_image_tiles_min_overlap",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["tiles"],
|
|
"title": "Calculate Image Tiles Minimum Overlap",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
}
|
|
},
|
|
"CalculateImageTilesOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"tiles": {
|
|
"description": "The tiles coordinates that cover a particular image shape.",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Tile"
|
|
},
|
|
"title": "Tiles",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "calculate_image_tiles_output",
|
|
"default": "calculate_image_tiles_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "tiles", "type", "type"],
|
|
"title": "CalculateImageTilesOutput",
|
|
"type": "object"
|
|
},
|
|
"CancelAllExceptCurrentResult": {
|
|
"properties": {
|
|
"canceled": {
|
|
"type": "integer",
|
|
"title": "Canceled",
|
|
"description": "Number of queue items canceled"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["canceled"],
|
|
"title": "CancelAllExceptCurrentResult",
|
|
"description": "Result of canceling all except current"
|
|
},
|
|
"CancelByBatchIDsResult": {
|
|
"properties": {
|
|
"canceled": {
|
|
"type": "integer",
|
|
"title": "Canceled",
|
|
"description": "Number of queue items canceled"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["canceled"],
|
|
"title": "CancelByBatchIDsResult",
|
|
"description": "Result of canceling by list of batch ids"
|
|
},
|
|
"CancelByDestinationResult": {
|
|
"properties": {
|
|
"canceled": {
|
|
"type": "integer",
|
|
"title": "Canceled",
|
|
"description": "Number of queue items canceled"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["canceled"],
|
|
"title": "CancelByDestinationResult",
|
|
"description": "Result of canceling by a destination"
|
|
},
|
|
"CannyEdgeDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Geneartes an edge map using a cv2's Canny algorithm.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"low_threshold": {
|
|
"default": 100,
|
|
"description": "The low threshold of the Canny pixel gradient (0-255)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 100,
|
|
"orig_required": false,
|
|
"title": "Low Threshold",
|
|
"type": "integer"
|
|
},
|
|
"high_threshold": {
|
|
"default": 200,
|
|
"description": "The high threshold of the Canny pixel gradient (0-255)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 200,
|
|
"orig_required": false,
|
|
"title": "High Threshold",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "canny_edge_detection",
|
|
"default": "canny_edge_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "canny"],
|
|
"title": "Canny Edge Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"CanvasPasteBackInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Combines two images by using the mask provided. Intended for use on the Unified Canvas.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"source_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The source image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"target_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The target image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to use when pasting",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask_blur": {
|
|
"default": 0,
|
|
"description": "The amount to blur the mask by",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Mask Blur",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "canvas_paste_back",
|
|
"default": "canvas_paste_back",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "combine"],
|
|
"title": "Canvas Paste Back",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"CanvasV2MaskAndCropInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "deprecated",
|
|
"description": "Handles Canvas V2 image output masking and cropping",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"source_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The source image onto which the masked generated image is pasted. If omitted, the masked generated image is returned with transparency.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"generated_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to apply the mask to",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to apply",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask_blur": {
|
|
"default": 0,
|
|
"description": "The amount to blur the mask by",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Mask Blur",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "canvas_v2_mask_and_crop",
|
|
"default": "canvas_v2_mask_and_crop",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "id"],
|
|
"title": "Canvas V2 Mask and Crop",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"CenterPadCropInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Pad or crop an image's sides from the center by specified pixels. Positive values are outside of the image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to crop",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"left": {
|
|
"default": 0,
|
|
"description": "Number of pixels to pad/crop from the left (negative values crop inwards, positive values pad outwards)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Left",
|
|
"type": "integer"
|
|
},
|
|
"right": {
|
|
"default": 0,
|
|
"description": "Number of pixels to pad/crop from the right (negative values crop inwards, positive values pad outwards)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Right",
|
|
"type": "integer"
|
|
},
|
|
"top": {
|
|
"default": 0,
|
|
"description": "Number of pixels to pad/crop from the top (negative values crop inwards, positive values pad outwards)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Top",
|
|
"type": "integer"
|
|
},
|
|
"bottom": {
|
|
"default": 0,
|
|
"description": "Number of pixels to pad/crop from the bottom (negative values crop inwards, positive values pad outwards)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Bottom",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_pad_crop",
|
|
"default": "img_pad_crop",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "pad", "crop"],
|
|
"title": "Center Pad or Crop Image",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"Classification": {
|
|
"description": "The classification of an Invocation.\n- `Stable`: The invocation, including its inputs/outputs and internal logic, is stable. You may build workflows with it, having confidence that they will not break because of a change in this invocation.\n- `Beta`: The invocation is not yet stable, but is planned to be stable in the future. Workflows built around this invocation may break, but we are committed to supporting this invocation long-term.\n- `Prototype`: The invocation is not yet stable and may be removed from the application at any time. Workflows built around this invocation may break, and we are *not* committed to supporting this invocation.\n- `Deprecated`: The invocation is deprecated and may be removed in a future version.\n- `Internal`: The invocation is not intended for use by end-users. It may be changed or removed at any time, but is exposed for users to play with.\n- `Special`: The invocation is a special case and does not fit into any of the other classifications.",
|
|
"enum": ["stable", "beta", "prototype", "deprecated", "internal", "special"],
|
|
"title": "Classification",
|
|
"type": "string"
|
|
},
|
|
"ClearResult": {
|
|
"properties": {
|
|
"deleted": {
|
|
"type": "integer",
|
|
"title": "Deleted",
|
|
"description": "Number of queue items deleted"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["deleted"],
|
|
"title": "ClearResult",
|
|
"description": "Result of clearing the session queue"
|
|
},
|
|
"ClipVariantType": {
|
|
"type": "string",
|
|
"enum": ["large", "gigantic"],
|
|
"title": "ClipVariantType",
|
|
"description": "Variant type."
|
|
},
|
|
"CogView4ConditioningField": {
|
|
"description": "A conditioning tensor primitive value",
|
|
"properties": {
|
|
"conditioning_name": {
|
|
"description": "The name of conditioning tensor",
|
|
"title": "Conditioning Name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["conditioning_name"],
|
|
"title": "CogView4ConditioningField",
|
|
"type": "object"
|
|
},
|
|
"CogView4ConditioningOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a CogView text conditioning tensor.",
|
|
"properties": {
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/CogView4ConditioningField",
|
|
"description": "Conditioning tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "cogview4_conditioning_output",
|
|
"default": "cogview4_conditioning_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "conditioning", "type", "type"],
|
|
"title": "CogView4ConditioningOutput",
|
|
"type": "object"
|
|
},
|
|
"CogView4DenoiseInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Run the denoising process with a CogView4 model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CogView4 model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Transformer"
|
|
},
|
|
"positive_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"negative_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 3.5,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 3.5,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"width": {
|
|
"default": 1024,
|
|
"description": "Width of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 32,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 1024,
|
|
"description": "Height of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 32,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"steps": {
|
|
"default": 25,
|
|
"description": "Number of steps to run",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 25,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Randomness seed for reproducibility.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "cogview4_denoise",
|
|
"default": "cogview4_denoise",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "cogview4"],
|
|
"title": "Denoise - CogView4",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"CogView4ImageToLatentsInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Generates latents from an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "cogview4_i2l",
|
|
"default": "cogview4_i2l",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "latents", "vae", "i2l", "cogview4"],
|
|
"title": "Image to Latents - CogView4",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"CogView4LatentsToImageInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Generates an image from latents.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "cogview4_l2i",
|
|
"default": "cogview4_l2i",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "l2i", "cogview4"],
|
|
"title": "Latents to Image - CogView4",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"CogView4ModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Loads a CogView4 base model, outputting its submodels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "CogView4 model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"ui_model_base": ["cogview4"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "cogview4_model_loader",
|
|
"default": "cogview4_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["model", "type", "id"],
|
|
"tags": ["model", "cogview4"],
|
|
"title": "Main Model - CogView4",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderOutput"
|
|
}
|
|
},
|
|
"CogView4ModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "CogView4 base model loader output.",
|
|
"properties": {
|
|
"transformer": {
|
|
"$ref": "#/components/schemas/TransformerField",
|
|
"description": "Transformer",
|
|
"field_kind": "output",
|
|
"title": "Transformer",
|
|
"ui_hidden": false
|
|
},
|
|
"glm_encoder": {
|
|
"$ref": "#/components/schemas/GlmEncoderField",
|
|
"description": "GLM (THUDM) tokenizer and text encoder",
|
|
"field_kind": "output",
|
|
"title": "GLM Encoder",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "cogview4_model_loader_output",
|
|
"default": "cogview4_model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "transformer", "glm_encoder", "vae", "type", "type"],
|
|
"title": "CogView4ModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"CogView4TextEncoderInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Encodes and preps a prompt for a cogview4 image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Text prompt to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Prompt",
|
|
"ui_component": "textarea"
|
|
},
|
|
"glm_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GlmEncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "GLM (THUDM) tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "GLM Encoder"
|
|
},
|
|
"type": {
|
|
"const": "cogview4_text_encoder",
|
|
"default": "cogview4_text_encoder",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "conditioning", "cogview4"],
|
|
"title": "Prompt - CogView4",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CogView4ConditioningOutput"
|
|
}
|
|
},
|
|
"CollectInvocation": {
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Collects values into a collection",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"item": {
|
|
"anyOf": [
|
|
{},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The item to collect (all inputs must be of the same type)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Collection Item",
|
|
"ui_type": "CollectionItemField"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The collection, will be provided on execution",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": true
|
|
},
|
|
"type": {
|
|
"const": "collect",
|
|
"default": "collect",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"title": "CollectInvocation",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/CollectInvocationOutput"
|
|
}
|
|
},
|
|
"CollectInvocationOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The collection of input items",
|
|
"field_kind": "output",
|
|
"items": {},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false,
|
|
"ui_type": "CollectionField"
|
|
},
|
|
"type": {
|
|
"const": "collect_output",
|
|
"default": "collect_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "CollectInvocationOutput",
|
|
"type": "object"
|
|
},
|
|
"ColorCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of colors",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output colors",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ColorField"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "color_collection_output",
|
|
"default": "color_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "ColorCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"ColorCorrectInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Matches the color histogram of a base image to a reference image, optionally\nusing a mask to only color-correct certain regions of the base image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"base_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to color-correct",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"color_reference": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Reference image for color-correction",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional mask to limit color correction area",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"colorspace": {
|
|
"default": "RGB",
|
|
"description": "Colorspace in which to apply histogram matching",
|
|
"enum": ["RGB", "YCbCr", "YCbCr-Chroma", "YCbCr-Luma"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "RGB",
|
|
"orig_required": false,
|
|
"title": "Color Space",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "color_correct",
|
|
"default": "color_correct",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "color"],
|
|
"title": "Color Correct",
|
|
"type": "object",
|
|
"version": "2.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ColorField": {
|
|
"description": "A color primitive field",
|
|
"properties": {
|
|
"r": {
|
|
"description": "The red component",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"title": "R",
|
|
"type": "integer"
|
|
},
|
|
"g": {
|
|
"description": "The green component",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"title": "G",
|
|
"type": "integer"
|
|
},
|
|
"b": {
|
|
"description": "The blue component",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"title": "B",
|
|
"type": "integer"
|
|
},
|
|
"a": {
|
|
"description": "The alpha component",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"title": "A",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["r", "g", "b", "a"],
|
|
"title": "ColorField",
|
|
"type": "object"
|
|
},
|
|
"ColorInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A color primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"color": {
|
|
"$ref": "#/components/schemas/ColorField",
|
|
"default": {
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"description": "The color value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": {
|
|
"a": 255,
|
|
"b": 0,
|
|
"g": 0,
|
|
"r": 0
|
|
},
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "color",
|
|
"default": "color",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "color"],
|
|
"title": "Color Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ColorOutput"
|
|
}
|
|
},
|
|
"ColorMapInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates a color map from the provided image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"tile_size": {
|
|
"default": 64,
|
|
"description": "Tile size",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 64,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "color_map",
|
|
"default": "color_map",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet"],
|
|
"title": "Color Map",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ColorOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single color",
|
|
"properties": {
|
|
"color": {
|
|
"$ref": "#/components/schemas/ColorField",
|
|
"description": "The output color",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "color_output",
|
|
"default": "color_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "color", "type", "type"],
|
|
"title": "ColorOutput",
|
|
"type": "object"
|
|
},
|
|
"CompelInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Parse prompt using compel package to conditioning.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"prompt": {
|
|
"default": "",
|
|
"description": "Prompt to be parsed by Compel to create a conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Prompt",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "CLIP"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask defining the region that this conditioning prompt applies to.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "compel",
|
|
"default": "compel",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "compel"],
|
|
"title": "Prompt - SD1.5",
|
|
"type": "object",
|
|
"version": "1.2.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
}
|
|
},
|
|
"ConditioningCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of conditioning tensor primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The collection of conditioning tensors",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"const": "conditioning_collection",
|
|
"default": "conditioning_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "conditioning", "collection"],
|
|
"title": "Conditioning Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ConditioningCollectionOutput"
|
|
}
|
|
},
|
|
"ConditioningCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of conditioning tensors",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output conditioning tensors",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "conditioning_collection_output",
|
|
"default": "conditioning_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "ConditioningCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"ConditioningField": {
|
|
"description": "A conditioning tensor primitive value",
|
|
"properties": {
|
|
"conditioning_name": {
|
|
"description": "The name of conditioning tensor",
|
|
"title": "Conditioning Name",
|
|
"type": "string"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask associated with this conditioning tensor. Excluded regions should be set to False, included regions should be set to True."
|
|
}
|
|
},
|
|
"required": ["conditioning_name"],
|
|
"title": "ConditioningField",
|
|
"type": "object"
|
|
},
|
|
"ConditioningInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A conditioning tensor primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "conditioning",
|
|
"default": "conditioning",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "conditioning"],
|
|
"title": "Conditioning Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
}
|
|
},
|
|
"ConditioningOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single conditioning tensor",
|
|
"properties": {
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/ConditioningField",
|
|
"description": "Conditioning tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "conditioning_output",
|
|
"default": "conditioning_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "conditioning", "type", "type"],
|
|
"title": "ConditioningOutput",
|
|
"type": "object"
|
|
},
|
|
"ContentShuffleInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Shuffles the image, similar to a 'liquify' filter.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"scale_factor": {
|
|
"default": 256,
|
|
"description": "The scale factor used for the shuffle",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 256,
|
|
"orig_required": false,
|
|
"title": "Scale Factor",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "content_shuffle",
|
|
"default": "content_shuffle",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "normal"],
|
|
"title": "Content Shuffle",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ControlAdapterDefaultSettings": {
|
|
"properties": {
|
|
"preprocessor": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Preprocessor"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": ["preprocessor"],
|
|
"title": "ControlAdapterDefaultSettings"
|
|
},
|
|
"ControlField": {
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The control image"
|
|
},
|
|
"control_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The ControlNet model to use"
|
|
},
|
|
"control_weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the ControlNet",
|
|
"title": "Control Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the ControlNet is first applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the ControlNet is last applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"control_mode": {
|
|
"default": "balanced",
|
|
"description": "The control mode to use",
|
|
"enum": ["balanced", "more_prompt", "more_control", "unbalanced"],
|
|
"title": "Control Mode",
|
|
"type": "string"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode to use",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["image", "control_model"],
|
|
"title": "ControlField",
|
|
"type": "object"
|
|
},
|
|
"ControlLoRAField": {
|
|
"properties": {
|
|
"lora": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load lora model"
|
|
},
|
|
"weight": {
|
|
"description": "Weight to apply to lora model",
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"img": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "Image to use in structural conditioning"
|
|
}
|
|
},
|
|
"required": ["lora", "weight", "img"],
|
|
"title": "ControlLoRAField",
|
|
"type": "object"
|
|
},
|
|
"ControlLoRA_LyCORIS_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "control_lora",
|
|
"title": "Type",
|
|
"default": "control_lora"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "lycoris",
|
|
"title": "Format",
|
|
"default": "lycoris"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"default_settings",
|
|
"base",
|
|
"type",
|
|
"format",
|
|
"trigger_phrases"
|
|
],
|
|
"title": "ControlLoRA_LyCORIS_FLUX_Config",
|
|
"description": "Model config for Control LoRA models."
|
|
},
|
|
"ControlNetInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Collects ControlNet info to pass to other nodes",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The control image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"control_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "ControlNet model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_base": ["sd-1", "sd-2", "sdxl"],
|
|
"ui_model_type": ["controlnet"]
|
|
},
|
|
"control_weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1.0,
|
|
"description": "The weight given to the ControlNet",
|
|
"field_kind": "input",
|
|
"ge": -1,
|
|
"input": "any",
|
|
"le": 2,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Control Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the ControlNet is first applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the ControlNet is last applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"control_mode": {
|
|
"default": "balanced",
|
|
"description": "The control mode used",
|
|
"enum": ["balanced", "more_prompt", "more_control", "unbalanced"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "balanced",
|
|
"orig_required": false,
|
|
"title": "Control Mode",
|
|
"type": "string"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode used",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "just_resize",
|
|
"orig_required": false,
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "controlnet",
|
|
"default": "controlnet",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet"],
|
|
"title": "ControlNet - SD1.5, SD2, SDXL",
|
|
"type": "object",
|
|
"version": "1.1.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ControlOutput"
|
|
}
|
|
},
|
|
"ControlNetMetadataField": {
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The control image"
|
|
},
|
|
"processed_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The control image, after processing."
|
|
},
|
|
"control_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The ControlNet model to use"
|
|
},
|
|
"control_weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the ControlNet",
|
|
"title": "Control Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the ControlNet is first applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the ControlNet is last applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"control_mode": {
|
|
"default": "balanced",
|
|
"description": "The control mode to use",
|
|
"enum": ["balanced", "more_prompt", "more_control", "unbalanced"],
|
|
"title": "Control Mode",
|
|
"type": "string"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode to use",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["image", "control_model"],
|
|
"title": "ControlNetMetadataField",
|
|
"type": "object"
|
|
},
|
|
"ControlNet_Checkpoint_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
"ControlNet_Checkpoint_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
"ControlNet_Checkpoint_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
"ControlNet_Checkpoint_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
"ControlNet_Diffusers_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
"ControlNet_Diffusers_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
"ControlNet_Diffusers_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
"ControlNet_Diffusers_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "controlnet",
|
|
"title": "Type",
|
|
"default": "controlnet"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
"ControlOutput": {
|
|
"class": "output",
|
|
"description": "node output for ControlNet info",
|
|
"properties": {
|
|
"control": {
|
|
"$ref": "#/components/schemas/ControlField",
|
|
"description": "ControlNet(s) to apply",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "control_output",
|
|
"default": "control_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "control", "type", "type"],
|
|
"title": "ControlOutput",
|
|
"type": "object"
|
|
},
|
|
"CoreMetadataInvocation": {
|
|
"additionalProperties": true,
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "internal",
|
|
"description": "Used internally by Invoke to collect metadata for generations.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"generation_mode": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"txt2img",
|
|
"img2img",
|
|
"inpaint",
|
|
"outpaint",
|
|
"sdxl_txt2img",
|
|
"sdxl_img2img",
|
|
"sdxl_inpaint",
|
|
"sdxl_outpaint",
|
|
"flux_txt2img",
|
|
"flux_img2img",
|
|
"flux_inpaint",
|
|
"flux_outpaint",
|
|
"sd3_txt2img",
|
|
"sd3_img2img",
|
|
"sd3_inpaint",
|
|
"sd3_outpaint",
|
|
"cogview4_txt2img",
|
|
"cogview4_img2img",
|
|
"cogview4_inpaint",
|
|
"cogview4_outpaint",
|
|
"z_image_txt2img",
|
|
"z_image_img2img",
|
|
"z_image_inpaint",
|
|
"z_image_outpaint"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The generation mode that output this image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Generation Mode"
|
|
},
|
|
"positive_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The positive prompt parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Positive Prompt"
|
|
},
|
|
"negative_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The negative prompt parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Negative Prompt"
|
|
},
|
|
"width": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The width parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Width"
|
|
},
|
|
"height": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The height parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Height"
|
|
},
|
|
"seed": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The seed used for noise generation",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Seed"
|
|
},
|
|
"rand_device": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The device used for random number generation",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Rand Device"
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The classifier-free guidance scale parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Cfg Scale"
|
|
},
|
|
"cfg_rescale_multiplier": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Rescale multiplier for CFG guidance, used for models trained with zero-terminal SNR",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Cfg Rescale Multiplier"
|
|
},
|
|
"steps": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The number of steps used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Steps"
|
|
},
|
|
"scheduler": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The scheduler used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Scheduler"
|
|
},
|
|
"seamless_x": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Whether seamless tiling was used on the X axis",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Seamless X"
|
|
},
|
|
"seamless_y": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Whether seamless tiling was used on the Y axis",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Seamless Y"
|
|
},
|
|
"clip_skip": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The number of skipped CLIP layers",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Clip Skip"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The main model used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"controlnets": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ControlNetMetadataField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The ControlNets used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Controlnets"
|
|
},
|
|
"ipAdapters": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterMetadataField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP Adapters used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Ipadapters"
|
|
},
|
|
"t2iAdapters": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/T2IAdapterMetadataField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP Adapters used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T2Iadapters"
|
|
},
|
|
"loras": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAMetadataField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The LoRAs used for inference",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Loras"
|
|
},
|
|
"strength": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The strength used for latents-to-latents",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Strength"
|
|
},
|
|
"init_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The name of the initial image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Init Image"
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The VAE used for decoding, if the main model's default was not used",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"hrf_enabled": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Whether or not high resolution fix was enabled.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Hrf Enabled"
|
|
},
|
|
"hrf_method": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The high resolution fix upscale method.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Hrf Method"
|
|
},
|
|
"hrf_strength": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The high resolution fix img2img strength used in the upscale pass.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Hrf Strength"
|
|
},
|
|
"positive_style_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The positive style prompt parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Positive Style Prompt"
|
|
},
|
|
"negative_style_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The negative style prompt parameter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Negative Style Prompt"
|
|
},
|
|
"refiner_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The SDXL Refiner model used",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"refiner_cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The classifier-free guidance scale parameter used for the refiner",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Refiner Cfg Scale"
|
|
},
|
|
"refiner_steps": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The number of steps used for the refiner",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Refiner Steps"
|
|
},
|
|
"refiner_scheduler": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The scheduler used for the refiner",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Refiner Scheduler"
|
|
},
|
|
"refiner_positive_aesthetic_score": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The aesthetic score used for the refiner",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Refiner Positive Aesthetic Score"
|
|
},
|
|
"refiner_negative_aesthetic_score": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The aesthetic score used for the refiner",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Refiner Negative Aesthetic Score"
|
|
},
|
|
"refiner_start": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The start value used for refiner denoising",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Refiner Start"
|
|
},
|
|
"type": {
|
|
"const": "core_metadata",
|
|
"default": "core_metadata",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Core Metadata",
|
|
"type": "object",
|
|
"version": "2.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
}
|
|
},
|
|
"CreateDenoiseMaskInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates mask for denoising model run.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"ui_order": 0
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image which will be masked",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 1
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to use when pasting",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_order": 2
|
|
},
|
|
"tiled": {
|
|
"default": false,
|
|
"description": "Processing using overlapping tiles (reduce memory consumption)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Tiled",
|
|
"type": "boolean",
|
|
"ui_order": 3
|
|
},
|
|
"fp32": {
|
|
"default": false,
|
|
"description": "Whether or not to use full float32 precision",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fp32",
|
|
"type": "boolean",
|
|
"ui_order": 4
|
|
},
|
|
"type": {
|
|
"const": "create_denoise_mask",
|
|
"default": "create_denoise_mask",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["mask", "denoise"],
|
|
"title": "Create Denoise Mask",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/DenoiseMaskOutput"
|
|
}
|
|
},
|
|
"CreateGradientMaskInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates mask for denoising.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image which will be masked",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_order": 1
|
|
},
|
|
"edge_radius": {
|
|
"default": 16,
|
|
"description": "How far to expand the edges of the mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 16,
|
|
"orig_required": false,
|
|
"title": "Edge Radius",
|
|
"type": "integer",
|
|
"ui_order": 2
|
|
},
|
|
"coherence_mode": {
|
|
"default": "Gaussian Blur",
|
|
"enum": ["Gaussian Blur", "Box Blur", "Staged"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "Gaussian Blur",
|
|
"orig_required": false,
|
|
"title": "Coherence Mode",
|
|
"type": "string",
|
|
"ui_order": 3
|
|
},
|
|
"minimum_denoise": {
|
|
"default": 0.0,
|
|
"description": "Minimum denoise level for the coherence region",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Minimum Denoise",
|
|
"type": "number",
|
|
"ui_order": 4
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "OPTIONAL: Only connect for specialized Inpainting models, masked_latents will be generated from the image with the VAE",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "[OPTIONAL] Image",
|
|
"ui_order": 6
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "OPTIONAL: If the Unet is a specialized Inpainting model, masked_latents will be generated from the image with the VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "[OPTIONAL] UNet",
|
|
"ui_order": 5
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "OPTIONAL: Only connect for specialized Inpainting models, masked_latents will be generated from the image with the VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "[OPTIONAL] VAE",
|
|
"ui_order": 7
|
|
},
|
|
"tiled": {
|
|
"default": false,
|
|
"description": "Processing using overlapping tiles (reduce memory consumption)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Tiled",
|
|
"type": "boolean",
|
|
"ui_order": 8
|
|
},
|
|
"fp32": {
|
|
"default": false,
|
|
"description": "Whether or not to use full float32 precision",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fp32",
|
|
"type": "boolean",
|
|
"ui_order": 9
|
|
},
|
|
"type": {
|
|
"const": "create_gradient_mask",
|
|
"default": "create_gradient_mask",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["mask", "denoise"],
|
|
"title": "Create Gradient Mask",
|
|
"type": "object",
|
|
"version": "1.3.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/GradientMaskOutput"
|
|
}
|
|
},
|
|
"CropImageToBoundingBoxInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Crop an image to the given bounding box. If the bounding box is omitted, the image is cropped to the non-transparent pixels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to crop",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"bounding_box": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bounding box to crop the image to",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "crop_image_to_bounding_box",
|
|
"default": "crop_image_to_bounding_box",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "crop"],
|
|
"title": "Crop Image to Bounding Box",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"CropLatentsCoreInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Crops a latent-space tensor to a box specified in image-space. The box dimensions and coordinates must be\ndivisible by the latent scale factor of 8.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"x": {
|
|
"anyOf": [
|
|
{
|
|
"minimum": 0,
|
|
"multipleOf": 8,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The left x coordinate (in px) of the crop rectangle in image space. This value will be converted to a dimension in latent space.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "X"
|
|
},
|
|
"y": {
|
|
"anyOf": [
|
|
{
|
|
"minimum": 0,
|
|
"multipleOf": 8,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The top y coordinate (in px) of the crop rectangle in image space. This value will be converted to a dimension in latent space.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Y"
|
|
},
|
|
"width": {
|
|
"anyOf": [
|
|
{
|
|
"minimum": 1,
|
|
"multipleOf": 8,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The width (in px) of the crop rectangle in image space. This value will be converted to a dimension in latent space.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Width"
|
|
},
|
|
"height": {
|
|
"anyOf": [
|
|
{
|
|
"minimum": 1,
|
|
"multipleOf": 8,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The height (in px) of the crop rectangle in image space. This value will be converted to a dimension in latent space.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Height"
|
|
},
|
|
"type": {
|
|
"const": "crop_latents",
|
|
"default": "crop_latents",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "crop"],
|
|
"title": "Crop Latents",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"CvInpaintInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Simple inpaint using opencv.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to inpaint",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to use when inpainting",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "cv_inpaint",
|
|
"default": "cv_inpaint",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["opencv", "inpaint"],
|
|
"title": "OpenCV Inpaint",
|
|
"type": "object",
|
|
"version": "1.3.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"DWOpenposeDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an openpose pose from an image using DWPose",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"draw_body": {
|
|
"default": true,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Draw Body",
|
|
"type": "boolean"
|
|
},
|
|
"draw_face": {
|
|
"default": false,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Draw Face",
|
|
"type": "boolean"
|
|
},
|
|
"draw_hands": {
|
|
"default": false,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Draw Hands",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "dw_openpose_detection",
|
|
"default": "dw_openpose_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "dwpose", "openpose"],
|
|
"title": "DW Openpose Detection",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"DeleteAllExceptCurrentResult": {
|
|
"properties": {
|
|
"deleted": {
|
|
"type": "integer",
|
|
"title": "Deleted",
|
|
"description": "Number of queue items deleted"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["deleted"],
|
|
"title": "DeleteAllExceptCurrentResult",
|
|
"description": "Result of deleting all except current"
|
|
},
|
|
"DeleteBoardResult": {
|
|
"properties": {
|
|
"board_id": {
|
|
"type": "string",
|
|
"title": "Board Id",
|
|
"description": "The id of the board that was deleted."
|
|
},
|
|
"deleted_board_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Deleted Board Images",
|
|
"description": "The image names of the board-images relationships that were deleted."
|
|
},
|
|
"deleted_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Deleted Images",
|
|
"description": "The names of the images that were deleted."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["board_id", "deleted_board_images", "deleted_images"],
|
|
"title": "DeleteBoardResult"
|
|
},
|
|
"DeleteByDestinationResult": {
|
|
"properties": {
|
|
"deleted": {
|
|
"type": "integer",
|
|
"title": "Deleted",
|
|
"description": "Number of queue items deleted"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["deleted"],
|
|
"title": "DeleteByDestinationResult",
|
|
"description": "Result of deleting by a destination"
|
|
},
|
|
"DeleteImagesResult": {
|
|
"properties": {
|
|
"affected_boards": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Affected Boards",
|
|
"description": "The ids of boards affected by the delete operation"
|
|
},
|
|
"deleted_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Deleted Images",
|
|
"description": "The names of the images that were deleted"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["affected_boards", "deleted_images"],
|
|
"title": "DeleteImagesResult"
|
|
},
|
|
"DenoiseLatentsInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Denoises noisy latents to decodable images",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"positive_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Positive Conditioning",
|
|
"ui_order": 0
|
|
},
|
|
"negative_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Negative Conditioning",
|
|
"ui_order": 1
|
|
},
|
|
"noise": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Noise tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 3
|
|
},
|
|
"steps": {
|
|
"default": 10,
|
|
"description": "Number of steps to run",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 10,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 7.5,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 7.5,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"scheduler": {
|
|
"default": "euler",
|
|
"description": "Scheduler to use during inference",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "euler",
|
|
"orig_required": false,
|
|
"title": "Scheduler",
|
|
"type": "string",
|
|
"ui_type": "SchedulerField"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "UNet",
|
|
"ui_order": 2
|
|
},
|
|
"control": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control",
|
|
"ui_order": 5
|
|
},
|
|
"ip_adapter": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "IP-Adapter",
|
|
"ui_order": 6
|
|
},
|
|
"t2i_adapter": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T2I-Adapter(s) to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T2I-Adapter",
|
|
"ui_order": 7
|
|
},
|
|
"cfg_rescale_multiplier": {
|
|
"default": 0,
|
|
"description": "Rescale multiplier for CFG guidance, used for models trained with zero-terminal SNR",
|
|
"exclusiveMaximum": 1,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "CFG Rescale Multiplier",
|
|
"type": "number"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 4
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 8
|
|
},
|
|
"type": {
|
|
"const": "denoise_latents",
|
|
"default": "denoise_latents",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "denoise", "txt2img", "t2i", "t2l", "img2img", "i2i", "l2l"],
|
|
"title": "Denoise - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.5.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"DenoiseLatentsMetaInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"positive_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Positive Conditioning",
|
|
"ui_order": 0
|
|
},
|
|
"negative_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Negative Conditioning",
|
|
"ui_order": 1
|
|
},
|
|
"noise": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Noise tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 3
|
|
},
|
|
"steps": {
|
|
"default": 10,
|
|
"description": "Number of steps to run",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 10,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 7.5,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 7.5,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"scheduler": {
|
|
"default": "euler",
|
|
"description": "Scheduler to use during inference",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "euler",
|
|
"orig_required": false,
|
|
"title": "Scheduler",
|
|
"type": "string",
|
|
"ui_type": "SchedulerField"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "UNet",
|
|
"ui_order": 2
|
|
},
|
|
"control": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control",
|
|
"ui_order": 5
|
|
},
|
|
"ip_adapter": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "IP-Adapter",
|
|
"ui_order": 6
|
|
},
|
|
"t2i_adapter": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T2I-Adapter(s) to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T2I-Adapter",
|
|
"ui_order": 7
|
|
},
|
|
"cfg_rescale_multiplier": {
|
|
"default": 0,
|
|
"description": "Rescale multiplier for CFG guidance, used for models trained with zero-terminal SNR",
|
|
"exclusiveMaximum": 1,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "CFG Rescale Multiplier",
|
|
"type": "number"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 4
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 8
|
|
},
|
|
"type": {
|
|
"const": "denoise_latents_meta",
|
|
"default": "denoise_latents_meta",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "denoise", "txt2img", "t2i", "t2l", "img2img", "i2i", "l2l"],
|
|
"title": "Denoise - SD1.5, SDXL + Metadata",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsMetaOutput"
|
|
}
|
|
},
|
|
"DenoiseMaskField": {
|
|
"description": "An inpaint mask field",
|
|
"properties": {
|
|
"mask_name": {
|
|
"description": "The name of the mask image",
|
|
"title": "Mask Name",
|
|
"type": "string"
|
|
},
|
|
"masked_latents_name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The name of the masked image latents",
|
|
"title": "Masked Latents Name"
|
|
},
|
|
"gradient": {
|
|
"default": false,
|
|
"description": "Used for gradient inpainting",
|
|
"title": "Gradient",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": ["mask_name"],
|
|
"title": "DenoiseMaskField",
|
|
"type": "object"
|
|
},
|
|
"DenoiseMaskOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single image",
|
|
"properties": {
|
|
"denoise_mask": {
|
|
"$ref": "#/components/schemas/DenoiseMaskField",
|
|
"description": "Mask for denoise model run",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "denoise_mask_output",
|
|
"default": "denoise_mask_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "denoise_mask", "type", "type"],
|
|
"title": "DenoiseMaskOutput",
|
|
"type": "object"
|
|
},
|
|
"DepthAnythingDepthEstimationInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates a depth map using a Depth Anything model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"model_size": {
|
|
"default": "small_v2",
|
|
"description": "The size of the depth model to use",
|
|
"enum": ["large", "base", "small", "small_v2"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "small_v2",
|
|
"orig_required": false,
|
|
"title": "Model Size",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "depth_anything_depth_estimation",
|
|
"default": "depth_anything_depth_estimation",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "depth", "depth anything"],
|
|
"title": "Depth Anything Depth Estimation",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"DivideInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Divides two numbers",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"a": {
|
|
"default": 0,
|
|
"description": "The first number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "A",
|
|
"type": "integer"
|
|
},
|
|
"b": {
|
|
"default": 0,
|
|
"description": "The second number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "B",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "div",
|
|
"default": "div",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "divide"],
|
|
"title": "Divide Integers",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"DownloadCancelledEvent": {
|
|
"description": "Event model for download_cancelled",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "The source of the download",
|
|
"title": "Source",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "source"],
|
|
"title": "DownloadCancelledEvent",
|
|
"type": "object"
|
|
},
|
|
"DownloadCompleteEvent": {
|
|
"description": "Event model for download_complete",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "The source of the download",
|
|
"title": "Source",
|
|
"type": "string"
|
|
},
|
|
"download_path": {
|
|
"description": "The local path where the download is saved",
|
|
"title": "Download Path",
|
|
"type": "string"
|
|
},
|
|
"total_bytes": {
|
|
"description": "The total number of bytes downloaded",
|
|
"title": "Total Bytes",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["timestamp", "source", "download_path", "total_bytes"],
|
|
"title": "DownloadCompleteEvent",
|
|
"type": "object"
|
|
},
|
|
"DownloadErrorEvent": {
|
|
"description": "Event model for download_error",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "The source of the download",
|
|
"title": "Source",
|
|
"type": "string"
|
|
},
|
|
"error_type": {
|
|
"description": "The type of error",
|
|
"title": "Error Type",
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"description": "The error message",
|
|
"title": "Error",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "source", "error_type", "error"],
|
|
"title": "DownloadErrorEvent",
|
|
"type": "object"
|
|
},
|
|
"DownloadJob": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"title": "Id",
|
|
"description": "Numeric ID of this job",
|
|
"default": -1
|
|
},
|
|
"dest": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Dest",
|
|
"description": "Initial destination of downloaded model on local disk; a directory or file path"
|
|
},
|
|
"download_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "path"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Download Path",
|
|
"description": "Final location of downloaded file or directory"
|
|
},
|
|
"status": {
|
|
"$ref": "#/components/schemas/DownloadJobStatus",
|
|
"description": "Status of the download",
|
|
"default": "waiting"
|
|
},
|
|
"bytes": {
|
|
"type": "integer",
|
|
"title": "Bytes",
|
|
"description": "Bytes downloaded so far",
|
|
"default": 0
|
|
},
|
|
"total_bytes": {
|
|
"type": "integer",
|
|
"title": "Total Bytes",
|
|
"description": "Total file size (bytes)",
|
|
"default": 0
|
|
},
|
|
"error_type": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Type",
|
|
"description": "Name of exception that caused an error"
|
|
},
|
|
"error": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error",
|
|
"description": "Traceback of the exception that caused an error"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"format": "uri",
|
|
"title": "Source",
|
|
"description": "Where to download from. Specific types specified in child classes."
|
|
},
|
|
"access_token": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Access Token",
|
|
"description": "authorization token for protected resources"
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"title": "Priority",
|
|
"description": "Queue priority; lower values are higher priority",
|
|
"default": 10
|
|
},
|
|
"job_started": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Job Started",
|
|
"description": "Timestamp for when the download job started"
|
|
},
|
|
"job_ended": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Job Ended",
|
|
"description": "Timestamp for when the download job ende1d (completed or errored)"
|
|
},
|
|
"content_type": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Content Type",
|
|
"description": "Content type of downloaded file"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["dest", "source"],
|
|
"title": "DownloadJob",
|
|
"description": "Class to monitor and control a model download request."
|
|
},
|
|
"DownloadJobStatus": {
|
|
"type": "string",
|
|
"enum": ["waiting", "running", "completed", "cancelled", "error"],
|
|
"title": "DownloadJobStatus",
|
|
"description": "State of a download job."
|
|
},
|
|
"DownloadProgressEvent": {
|
|
"description": "Event model for download_progress",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "The source of the download",
|
|
"title": "Source",
|
|
"type": "string"
|
|
},
|
|
"download_path": {
|
|
"description": "The local path where the download is saved",
|
|
"title": "Download Path",
|
|
"type": "string"
|
|
},
|
|
"current_bytes": {
|
|
"description": "The number of bytes downloaded so far",
|
|
"title": "Current Bytes",
|
|
"type": "integer"
|
|
},
|
|
"total_bytes": {
|
|
"description": "The total number of bytes to be downloaded",
|
|
"title": "Total Bytes",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["timestamp", "source", "download_path", "current_bytes", "total_bytes"],
|
|
"title": "DownloadProgressEvent",
|
|
"type": "object"
|
|
},
|
|
"DownloadStartedEvent": {
|
|
"description": "Event model for download_started",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "The source of the download",
|
|
"title": "Source",
|
|
"type": "string"
|
|
},
|
|
"download_path": {
|
|
"description": "The local path where the download is saved",
|
|
"title": "Download Path",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "source", "download_path"],
|
|
"title": "DownloadStartedEvent",
|
|
"type": "object"
|
|
},
|
|
"DynamicPromptInvocation": {
|
|
"category": "prompt",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Parses a prompt using adieyal/dynamicprompts' random or combinatorial generator",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": false,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The prompt to parse with dynamicprompts",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Prompt",
|
|
"ui_component": "textarea"
|
|
},
|
|
"max_prompts": {
|
|
"default": 1,
|
|
"description": "The number of prompts to generate",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Max Prompts",
|
|
"type": "integer"
|
|
},
|
|
"combinatorial": {
|
|
"default": false,
|
|
"description": "Whether to use the combinatorial generator",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Combinatorial",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "dynamic_prompt",
|
|
"default": "dynamic_prompt",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "collection"],
|
|
"title": "Dynamic Prompt",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
}
|
|
},
|
|
"DynamicPromptsResponse": {
|
|
"properties": {
|
|
"prompts": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Prompts"
|
|
},
|
|
"error": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["prompts"],
|
|
"title": "DynamicPromptsResponse"
|
|
},
|
|
"ESRGANInvocation": {
|
|
"category": "esrgan",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Upscales an image using RealESRGAN.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The input image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"model_name": {
|
|
"default": "RealESRGAN_x4plus.pth",
|
|
"description": "The Real-ESRGAN model to use",
|
|
"enum": [
|
|
"RealESRGAN_x4plus.pth",
|
|
"RealESRGAN_x4plus_anime_6B.pth",
|
|
"ESRGAN_SRx4_DF2KOST_official-ff704c30.pth",
|
|
"RealESRGAN_x2plus.pth"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "RealESRGAN_x4plus.pth",
|
|
"orig_required": false,
|
|
"title": "Model Name",
|
|
"type": "string"
|
|
},
|
|
"tile_size": {
|
|
"default": 400,
|
|
"description": "Tile size for tiled ESRGAN upscaling (0=tiling disabled)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 400,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "esrgan",
|
|
"default": "esrgan",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["esrgan", "upscale"],
|
|
"title": "Upscale (RealESRGAN)",
|
|
"type": "object",
|
|
"version": "1.3.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"Edge": {
|
|
"properties": {
|
|
"source": {
|
|
"$ref": "#/components/schemas/EdgeConnection",
|
|
"description": "The connection for the edge's from node and field"
|
|
},
|
|
"destination": {
|
|
"$ref": "#/components/schemas/EdgeConnection",
|
|
"description": "The connection for the edge's to node and field"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["source", "destination"],
|
|
"title": "Edge"
|
|
},
|
|
"EdgeConnection": {
|
|
"properties": {
|
|
"node_id": {
|
|
"type": "string",
|
|
"title": "Node Id",
|
|
"description": "The id of the node for this edge connection"
|
|
},
|
|
"field": {
|
|
"type": "string",
|
|
"title": "Field",
|
|
"description": "The field for this connection"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["node_id", "field"],
|
|
"title": "EdgeConnection"
|
|
},
|
|
"EnqueueBatchResult": {
|
|
"properties": {
|
|
"queue_id": {
|
|
"type": "string",
|
|
"title": "Queue Id",
|
|
"description": "The ID of the queue"
|
|
},
|
|
"enqueued": {
|
|
"type": "integer",
|
|
"title": "Enqueued",
|
|
"description": "The total number of queue items enqueued"
|
|
},
|
|
"requested": {
|
|
"type": "integer",
|
|
"title": "Requested",
|
|
"description": "The total number of queue items requested to be enqueued"
|
|
},
|
|
"batch": {
|
|
"$ref": "#/components/schemas/Batch",
|
|
"description": "The batch that was enqueued"
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"title": "Priority",
|
|
"description": "The priority of the enqueued batch"
|
|
},
|
|
"item_ids": {
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array",
|
|
"title": "Item Ids",
|
|
"description": "The IDs of the queue items that were enqueued"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["queue_id", "enqueued", "requested", "batch", "priority", "item_ids"],
|
|
"title": "EnqueueBatchResult"
|
|
},
|
|
"ExpandMaskWithFadeInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Expands a mask with a fade effect. The mask uses black to indicate areas to keep from the generated image and white for areas to discard.\nThe mask is thresholded to create a binary mask, and then a distance transform is applied to create a fade effect.\nThe fade size is specified in pixels, and the mask is expanded by that amount. The result is a mask with a smooth transition from black to white.\nIf the fade size is 0, the mask is returned as-is.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to expand",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"threshold": {
|
|
"default": 0,
|
|
"description": "The threshold for the binary mask (0-255)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Threshold",
|
|
"type": "integer"
|
|
},
|
|
"fade_size_px": {
|
|
"default": 32,
|
|
"description": "The size of the fade in pixels",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 32,
|
|
"orig_required": false,
|
|
"title": "Fade Size Px",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "expand_mask_with_fade",
|
|
"default": "expand_mask_with_fade",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask"],
|
|
"title": "Expand Mask with Fade",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ExposedField": {
|
|
"properties": {
|
|
"nodeId": {
|
|
"type": "string",
|
|
"title": "Nodeid"
|
|
},
|
|
"fieldName": {
|
|
"type": "string",
|
|
"title": "Fieldname"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["nodeId", "fieldName"],
|
|
"title": "ExposedField"
|
|
},
|
|
"FLUXLoRACollectionLoader": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies a collection of LoRAs to a FLUX transformer.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"loras": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA models and weights. May be a single LoRA or collection.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "LoRAs"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Transformer",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Transformer"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP"
|
|
},
|
|
"t5_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T5EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T5 Encoder"
|
|
},
|
|
"type": {
|
|
"const": "flux_lora_collection_loader",
|
|
"default": "flux_lora_collection_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["lora", "model", "flux"],
|
|
"title": "Apply LoRA Collection - FLUX",
|
|
"type": "object",
|
|
"version": "1.3.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxLoRALoaderOutput"
|
|
}
|
|
},
|
|
"FLUXRedux_Checkpoint_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "flux_redux",
|
|
"title": "Type",
|
|
"default": "flux_redux"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "FLUXRedux_Checkpoint_Config",
|
|
"description": "Model config for FLUX Tools Redux model."
|
|
},
|
|
"FaceIdentifierInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Outputs an image with detected face IDs printed on each face. For use with other FaceTools.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image to face detect",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"minimum_confidence": {
|
|
"default": 0.5,
|
|
"description": "Minimum confidence for face detection (lower if detection is failing)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Minimum Confidence",
|
|
"type": "number"
|
|
},
|
|
"chunk": {
|
|
"default": false,
|
|
"description": "Whether to bypass full image face detection and default to image chunking. Chunking will occur if no faces are found in the full image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Chunk",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "face_identifier",
|
|
"default": "face_identifier",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "face", "identifier"],
|
|
"title": "FaceIdentifier",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"FaceMaskInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Face mask creation using mediapipe face detection",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image to face detect",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"face_ids": {
|
|
"default": "",
|
|
"description": "Comma-separated list of face ids to mask eg '0,2,7'. Numbered from 0. Leave empty to mask all. Find face IDs with FaceIdentifier node.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Face Ids",
|
|
"type": "string"
|
|
},
|
|
"minimum_confidence": {
|
|
"default": 0.5,
|
|
"description": "Minimum confidence for face detection (lower if detection is failing)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Minimum Confidence",
|
|
"type": "number"
|
|
},
|
|
"x_offset": {
|
|
"default": 0.0,
|
|
"description": "Offset for the X-axis of the face mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "X Offset",
|
|
"type": "number"
|
|
},
|
|
"y_offset": {
|
|
"default": 0.0,
|
|
"description": "Offset for the Y-axis of the face mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Y Offset",
|
|
"type": "number"
|
|
},
|
|
"chunk": {
|
|
"default": false,
|
|
"description": "Whether to bypass full image face detection and default to image chunking. Chunking will occur if no faces are found in the full image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Chunk",
|
|
"type": "boolean"
|
|
},
|
|
"invert_mask": {
|
|
"default": false,
|
|
"description": "Toggle to invert the mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert Mask",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "face_mask_detection",
|
|
"default": "face_mask_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "face", "mask"],
|
|
"title": "FaceMask",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FaceMaskOutput"
|
|
}
|
|
},
|
|
"FaceMaskOutput": {
|
|
"class": "output",
|
|
"description": "Base class for FaceMask output",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The output image",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "The width of the image in pixels",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The height of the image in pixels",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "face_mask_output",
|
|
"default": "face_mask_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
},
|
|
"mask": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The output mask",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
}
|
|
},
|
|
"required": ["output_meta", "image", "width", "height", "type", "mask", "type"],
|
|
"title": "FaceMaskOutput",
|
|
"type": "object"
|
|
},
|
|
"FaceOffInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Bound, extract, and mask a face from an image using MediaPipe detection",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image for face detection",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"face_id": {
|
|
"default": 0,
|
|
"description": "The face ID to process, numbered from 0. Multiple faces not supported. Find a face's ID with FaceIdentifier node.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Face Id",
|
|
"type": "integer"
|
|
},
|
|
"minimum_confidence": {
|
|
"default": 0.5,
|
|
"description": "Minimum confidence for face detection (lower if detection is failing)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Minimum Confidence",
|
|
"type": "number"
|
|
},
|
|
"x_offset": {
|
|
"default": 0.0,
|
|
"description": "X-axis offset of the mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "X Offset",
|
|
"type": "number"
|
|
},
|
|
"y_offset": {
|
|
"default": 0.0,
|
|
"description": "Y-axis offset of the mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Y Offset",
|
|
"type": "number"
|
|
},
|
|
"padding": {
|
|
"default": 0,
|
|
"description": "All-axis padding around the mask in pixels",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Padding",
|
|
"type": "integer"
|
|
},
|
|
"chunk": {
|
|
"default": false,
|
|
"description": "Whether to bypass full image face detection and default to image chunking. Chunking will occur if no faces are found in the full image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Chunk",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "face_off",
|
|
"default": "face_off",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "faceoff", "face", "mask"],
|
|
"title": "FaceOff",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FaceOffOutput"
|
|
}
|
|
},
|
|
"FaceOffOutput": {
|
|
"class": "output",
|
|
"description": "Base class for FaceOff Output",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The output image",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "The width of the image in pixels",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The height of the image in pixels",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "face_off_output",
|
|
"default": "face_off_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
},
|
|
"mask": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The output mask",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"x": {
|
|
"description": "The x coordinate of the bounding box's left side",
|
|
"field_kind": "output",
|
|
"title": "X",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"y": {
|
|
"description": "The y coordinate of the bounding box's top side",
|
|
"field_kind": "output",
|
|
"title": "Y",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
}
|
|
},
|
|
"required": ["output_meta", "image", "width", "height", "type", "mask", "x", "y", "type"],
|
|
"title": "FaceOffOutput",
|
|
"type": "object"
|
|
},
|
|
"FieldKind": {
|
|
"description": "The kind of field.\n- `Input`: An input field on a node.\n- `Output`: An output field on a node.\n- `Internal`: A field which is treated as an input, but cannot be used in node definitions. Metadata is\none example. It is provided to nodes via the WithMetadata class, and we want to reserve the field name\n\"metadata\" for this on all nodes. `FieldKind` is used to short-circuit the field name validation logic,\nallowing \"metadata\" for that field.\n- `NodeAttribute`: The field is a node attribute. These are fields which are not inputs or outputs,\nbut which are used to store information about the node. For example, the `id` and `type` fields are node\nattributes.\n\nThe presence of this in `json_schema_extra[\"field_kind\"]` is used when initializing node schemas on app\nstartup, and when generating the OpenAPI schema for the workflow editor.",
|
|
"enum": ["input", "output", "internal", "node_attribute"],
|
|
"title": "FieldKind",
|
|
"type": "string"
|
|
},
|
|
"FloatBatchInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Create a batched generation, where the workflow is executed once for each float in the batch.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"batch_group_id": {
|
|
"default": "None",
|
|
"description": "The ID of this batch node's group. If provided, all batch nodes in with the same ID will be 'zipped' before execution, and all nodes' collections must be of the same size.",
|
|
"enum": ["None", "Group 1", "Group 2", "Group 3", "Group 4", "Group 5"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "None",
|
|
"orig_required": false,
|
|
"title": "Batch Group",
|
|
"type": "string"
|
|
},
|
|
"floats": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The floats to batch over",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Floats"
|
|
},
|
|
"type": {
|
|
"const": "float_batch",
|
|
"default": "float_batch",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "float", "number", "batch", "special"],
|
|
"title": "Float Batch",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
}
|
|
},
|
|
"FloatCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of float primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The collection of float values",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"const": "float_collection",
|
|
"default": "float_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "float", "collection"],
|
|
"title": "Float Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
}
|
|
},
|
|
"FloatCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of floats",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The float collection",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "float_collection_output",
|
|
"default": "float_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "FloatCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"FloatGenerator": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Generated a range of floats for use in a batched generation",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"generator": {
|
|
"$ref": "#/components/schemas/FloatGeneratorField",
|
|
"description": "The float generator.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Generator Type"
|
|
},
|
|
"type": {
|
|
"const": "float_generator",
|
|
"default": "float_generator",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["generator", "type", "id"],
|
|
"tags": ["primitives", "float", "number", "batch", "special"],
|
|
"title": "Float Generator",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatGeneratorOutput"
|
|
}
|
|
},
|
|
"FloatGeneratorField": {
|
|
"properties": {},
|
|
"title": "FloatGeneratorField",
|
|
"type": "object"
|
|
},
|
|
"FloatGeneratorOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of floats",
|
|
"properties": {
|
|
"floats": {
|
|
"description": "The generated floats",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"title": "Floats",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "float_generator_output",
|
|
"default": "float_generator_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "floats", "type", "type"],
|
|
"title": "FloatGeneratorOutput",
|
|
"type": "object"
|
|
},
|
|
"FloatInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A float primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"value": {
|
|
"default": 0.0,
|
|
"description": "The float value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Value",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "float",
|
|
"default": "float",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "float"],
|
|
"title": "Float Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
}
|
|
},
|
|
"FloatLinearRangeInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates a range",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"start": {
|
|
"default": 5,
|
|
"description": "The first value of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 5,
|
|
"orig_required": false,
|
|
"title": "Start",
|
|
"type": "number"
|
|
},
|
|
"stop": {
|
|
"default": 10,
|
|
"description": "The last value of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 10,
|
|
"orig_required": false,
|
|
"title": "Stop",
|
|
"type": "number"
|
|
},
|
|
"steps": {
|
|
"default": 30,
|
|
"description": "number of values to interpolate over (including start and stop)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 30,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "float_range",
|
|
"default": "float_range",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "range"],
|
|
"title": "Float Range",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
}
|
|
},
|
|
"FloatMathInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Performs floating point math.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"operation": {
|
|
"default": "ADD",
|
|
"description": "The operation to perform",
|
|
"enum": ["ADD", "SUB", "MUL", "DIV", "EXP", "ABS", "SQRT", "MIN", "MAX"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "ADD",
|
|
"orig_required": false,
|
|
"title": "Operation",
|
|
"type": "string",
|
|
"ui_choice_labels": {
|
|
"ABS": "Absolute Value of A",
|
|
"ADD": "Add A+B",
|
|
"DIV": "Divide A/B",
|
|
"EXP": "Exponentiate A^B",
|
|
"MAX": "Maximum(A,B)",
|
|
"MIN": "Minimum(A,B)",
|
|
"MUL": "Multiply A*B",
|
|
"SQRT": "Square Root of A",
|
|
"SUB": "Subtract A-B"
|
|
}
|
|
},
|
|
"a": {
|
|
"default": 1,
|
|
"description": "The first number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "A",
|
|
"type": "number"
|
|
},
|
|
"b": {
|
|
"default": 1,
|
|
"description": "The second number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "B",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "float_math",
|
|
"default": "float_math",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": [
|
|
"math",
|
|
"float",
|
|
"add",
|
|
"subtract",
|
|
"multiply",
|
|
"divide",
|
|
"power",
|
|
"root",
|
|
"absolute value",
|
|
"min",
|
|
"max"
|
|
],
|
|
"title": "Float Math",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
}
|
|
},
|
|
"FloatOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single float",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The output float",
|
|
"field_kind": "output",
|
|
"title": "Value",
|
|
"type": "number",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "float_output",
|
|
"default": "float_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "value", "type", "type"],
|
|
"title": "FloatOutput",
|
|
"type": "object"
|
|
},
|
|
"FloatToIntegerInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Rounds a float number to (a multiple of) an integer.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"value": {
|
|
"default": 0,
|
|
"description": "The value to round",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Value",
|
|
"type": "number"
|
|
},
|
|
"multiple": {
|
|
"default": 1,
|
|
"description": "The multiple to round to",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Multiple of",
|
|
"type": "integer"
|
|
},
|
|
"method": {
|
|
"default": "Nearest",
|
|
"description": "The method to use for rounding",
|
|
"enum": ["Nearest", "Floor", "Ceiling", "Truncate"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "Nearest",
|
|
"orig_required": false,
|
|
"title": "Method",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "float_to_int",
|
|
"default": "float_to_int",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "round", "integer", "float", "convert"],
|
|
"title": "Float To Integer",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"FluxConditioningCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of conditioning tensors",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output conditioning tensors",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_conditioning_collection_output",
|
|
"default": "flux_conditioning_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "FluxConditioningCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxConditioningField": {
|
|
"description": "A conditioning tensor primitive value",
|
|
"properties": {
|
|
"conditioning_name": {
|
|
"description": "The name of conditioning tensor",
|
|
"title": "Conditioning Name",
|
|
"type": "string"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask associated with this conditioning tensor. Excluded regions should be set to False, included regions should be set to True."
|
|
}
|
|
},
|
|
"required": ["conditioning_name"],
|
|
"title": "FluxConditioningField",
|
|
"type": "object"
|
|
},
|
|
"FluxConditioningOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single conditioning tensor",
|
|
"properties": {
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/FluxConditioningField",
|
|
"description": "Conditioning tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_conditioning_output",
|
|
"default": "flux_conditioning_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "conditioning", "type", "type"],
|
|
"title": "FluxConditioningOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxControlLoRALoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "LoRA model and Image to use with FLUX transformer generation.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Control LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Control LoRA",
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["control_lora"]
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"weight": {
|
|
"default": 1.0,
|
|
"description": "The weight of the LoRA.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "flux_control_lora_loader",
|
|
"default": "flux_control_lora_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["lora", "model", "flux"],
|
|
"title": "Control LoRA - FLUX",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderOutput"
|
|
}
|
|
},
|
|
"FluxControlLoRALoaderOutput": {
|
|
"class": "output",
|
|
"description": "Flux Control LoRA Loader Output",
|
|
"properties": {
|
|
"control_lora": {
|
|
"$ref": "#/components/schemas/ControlLoRAField",
|
|
"default": null,
|
|
"description": "Control LoRAs to apply on model loading",
|
|
"field_kind": "output",
|
|
"title": "Flux Control LoRA",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_control_lora_loader_output",
|
|
"default": "flux_control_lora_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "control_lora", "type", "type"],
|
|
"title": "FluxControlLoRALoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxControlNetField": {
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The control image"
|
|
},
|
|
"control_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The ControlNet model to use"
|
|
},
|
|
"control_weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the ControlNet",
|
|
"title": "Control Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the ControlNet is first applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the ControlNet is last applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode to use",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
},
|
|
"instantx_control_mode": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": -1,
|
|
"description": "The control mode for InstantX ControlNet union models. Ignored for other ControlNet models. The standard mapping is: canny (0), tile (1), depth (2), blur (3), pose (4), gray (5), low quality (6). Negative values will be treated as 'None'.",
|
|
"title": "Instantx Control Mode"
|
|
}
|
|
},
|
|
"required": ["image", "control_model"],
|
|
"title": "FluxControlNetField",
|
|
"type": "object"
|
|
},
|
|
"FluxControlNetInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Collect FLUX ControlNet info to pass to other nodes.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The control image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"control_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "ControlNet model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["controlnet"]
|
|
},
|
|
"control_weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1.0,
|
|
"description": "The weight given to the ControlNet",
|
|
"field_kind": "input",
|
|
"ge": -1,
|
|
"input": "any",
|
|
"le": 2,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Control Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the ControlNet is first applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the ControlNet is last applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode used",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "just_resize",
|
|
"orig_required": false,
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
},
|
|
"instantx_control_mode": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": -1,
|
|
"description": "The control mode for InstantX ControlNet union models. Ignored for other ControlNet models. The standard mapping is: canny (0), tile (1), depth (2), blur (3), pose (4), gray (5), low quality (6). Negative values will be treated as 'None'.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": -1,
|
|
"orig_required": false,
|
|
"title": "Instantx Control Mode"
|
|
},
|
|
"type": {
|
|
"const": "flux_controlnet",
|
|
"default": "flux_controlnet",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "flux"],
|
|
"title": "FLUX ControlNet",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxControlNetOutput"
|
|
}
|
|
},
|
|
"FluxControlNetOutput": {
|
|
"class": "output",
|
|
"description": "FLUX ControlNet info",
|
|
"properties": {
|
|
"control": {
|
|
"$ref": "#/components/schemas/FluxControlNetField",
|
|
"description": "ControlNet(s) to apply",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_controlnet_output",
|
|
"default": "flux_controlnet_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "control", "type", "type"],
|
|
"title": "FluxControlNetOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxDenoiseInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Run denoising process with a FLUX transformer model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"add_noise": {
|
|
"default": true,
|
|
"description": "Add noise based on denoising start.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Add Noise",
|
|
"type": "boolean"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Flux model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Transformer"
|
|
},
|
|
"control_lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRAField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Control LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control LoRA"
|
|
},
|
|
"positive_text_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Positive Text Conditioning"
|
|
},
|
|
"negative_text_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor. Can be None if cfg_scale is 1.0.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Negative Text Conditioning"
|
|
},
|
|
"redux_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxReduxConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FLUX Redux conditioning tensor.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Redux Conditioning"
|
|
},
|
|
"fill_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FLUX Fill conditioning.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1.0,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"cfg_scale_start_step": {
|
|
"default": 0,
|
|
"description": "Index of the first step to apply cfg_scale. Negative indices count backwards from the the last step (e.g. a value of -1 refers to the final step).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "CFG Scale Start Step",
|
|
"type": "integer"
|
|
},
|
|
"cfg_scale_end_step": {
|
|
"default": -1,
|
|
"description": "Index of the last step to apply cfg_scale. Negative indices count backwards from the last step (e.g. a value of -1 refers to the final step).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": -1,
|
|
"orig_required": false,
|
|
"title": "CFG Scale End Step",
|
|
"type": "integer"
|
|
},
|
|
"width": {
|
|
"default": 1024,
|
|
"description": "Width of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 1024,
|
|
"description": "Height of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"num_steps": {
|
|
"default": 4,
|
|
"description": "Number of diffusion steps. Recommended values are schnell: 4, dev: 50.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 4,
|
|
"orig_required": false,
|
|
"title": "Num Steps",
|
|
"type": "integer"
|
|
},
|
|
"guidance": {
|
|
"default": 4.0,
|
|
"description": "The guidance strength. Higher values adhere more strictly to the prompt, and will produce less diverse images. FLUX dev only, ignored for schnell.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 4.0,
|
|
"orig_required": false,
|
|
"title": "Guidance",
|
|
"type": "number"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Randomness seed for reproducibility.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"control": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxControlNetField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "ControlNet models.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control"
|
|
},
|
|
"controlnet_vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"ip_adapter": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "IP-Adapter"
|
|
},
|
|
"kontext_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxKontextConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FLUX Kontext conditioning (reference image).",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Kontext Conditioning"
|
|
},
|
|
"type": {
|
|
"const": "flux_denoise",
|
|
"default": "flux_denoise",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "flux"],
|
|
"title": "FLUX Denoise",
|
|
"type": "object",
|
|
"version": "4.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"FluxDenoiseLatentsMetaInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Run denoising process with a FLUX transformer model + metadata.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"add_noise": {
|
|
"default": true,
|
|
"description": "Add noise based on denoising start.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Add Noise",
|
|
"type": "boolean"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Flux model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Transformer"
|
|
},
|
|
"control_lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRAField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Control LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control LoRA"
|
|
},
|
|
"positive_text_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Positive Text Conditioning"
|
|
},
|
|
"negative_text_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor. Can be None if cfg_scale is 1.0.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Negative Text Conditioning"
|
|
},
|
|
"redux_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxReduxConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FLUX Redux conditioning tensor.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Redux Conditioning"
|
|
},
|
|
"fill_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FLUX Fill conditioning.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1.0,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"cfg_scale_start_step": {
|
|
"default": 0,
|
|
"description": "Index of the first step to apply cfg_scale. Negative indices count backwards from the the last step (e.g. a value of -1 refers to the final step).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "CFG Scale Start Step",
|
|
"type": "integer"
|
|
},
|
|
"cfg_scale_end_step": {
|
|
"default": -1,
|
|
"description": "Index of the last step to apply cfg_scale. Negative indices count backwards from the last step (e.g. a value of -1 refers to the final step).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": -1,
|
|
"orig_required": false,
|
|
"title": "CFG Scale End Step",
|
|
"type": "integer"
|
|
},
|
|
"width": {
|
|
"default": 1024,
|
|
"description": "Width of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 1024,
|
|
"description": "Height of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"num_steps": {
|
|
"default": 4,
|
|
"description": "Number of diffusion steps. Recommended values are schnell: 4, dev: 50.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 4,
|
|
"orig_required": false,
|
|
"title": "Num Steps",
|
|
"type": "integer"
|
|
},
|
|
"guidance": {
|
|
"default": 4.0,
|
|
"description": "The guidance strength. Higher values adhere more strictly to the prompt, and will produce less diverse images. FLUX dev only, ignored for schnell.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 4.0,
|
|
"orig_required": false,
|
|
"title": "Guidance",
|
|
"type": "number"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Randomness seed for reproducibility.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"control": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxControlNetField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "ControlNet models.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control"
|
|
},
|
|
"controlnet_vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"ip_adapter": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "IP-Adapter"
|
|
},
|
|
"kontext_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/FluxKontextConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FLUX Kontext conditioning (reference image).",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Kontext Conditioning"
|
|
},
|
|
"type": {
|
|
"const": "flux_denoise_meta",
|
|
"default": "flux_denoise_meta",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["flux", "latents", "denoise", "txt2img", "t2i", "t2l", "img2img", "i2i", "l2l"],
|
|
"title": "FLUX Denoise + Metadata",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsMetaOutput"
|
|
}
|
|
},
|
|
"FluxFillConditioningField": {
|
|
"description": "A FLUX Fill conditioning field.",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The FLUX Fill reference image."
|
|
},
|
|
"mask": {
|
|
"$ref": "#/components/schemas/TensorField",
|
|
"description": "The FLUX Fill inpaint mask."
|
|
}
|
|
},
|
|
"required": ["image", "mask"],
|
|
"title": "FluxFillConditioningField",
|
|
"type": "object"
|
|
},
|
|
"FluxFillInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Prepare the FLUX Fill conditioning data.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The FLUX Fill reference image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bool inpainting mask. Excluded regions should be set to False, included regions should be set to True.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "flux_fill",
|
|
"default": "flux_fill",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["inpaint"],
|
|
"title": "FLUX Fill Conditioning",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxFillOutput"
|
|
}
|
|
},
|
|
"FluxFillOutput": {
|
|
"class": "output",
|
|
"description": "The conditioning output of a FLUX Fill invocation.",
|
|
"properties": {
|
|
"fill_cond": {
|
|
"$ref": "#/components/schemas/FluxFillConditioningField",
|
|
"description": "FLUX Redux conditioning tensor",
|
|
"field_kind": "output",
|
|
"title": "Conditioning",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_fill_output",
|
|
"default": "flux_fill_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "fill_cond", "type", "type"],
|
|
"title": "FluxFillOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxIPAdapterInvocation": {
|
|
"category": "ip_adapter",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Collects FLUX IP-Adapter info to pass to other nodes.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP-Adapter image prompt(s).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"ip_adapter_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP-Adapter model.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "IP-Adapter Model",
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["ip_adapter"]
|
|
},
|
|
"clip_vision_model": {
|
|
"const": "ViT-L",
|
|
"default": "ViT-L",
|
|
"description": "CLIP Vision model to use.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "ViT-L",
|
|
"orig_required": false,
|
|
"title": "Clip Vision Model",
|
|
"type": "string"
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the IP-Adapter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the IP-Adapter is first applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the IP-Adapter is last applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "flux_ip_adapter",
|
|
"default": "flux_ip_adapter",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["ip_adapter", "control"],
|
|
"title": "FLUX IP-Adapter",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IPAdapterOutput"
|
|
}
|
|
},
|
|
"FluxKontextConcatenateImagesInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Prepares an image or images for use with FLUX Kontext. The first/single image is resized to the nearest\npreferred Kontext resolution. All other images are concatenated horizontally, maintaining their aspect ratio.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"images": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"maxItems": 10,
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The images to concatenate",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Images"
|
|
},
|
|
"use_preferred_resolution": {
|
|
"default": true,
|
|
"description": "Use FLUX preferred resolutions for the first image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Use Preferred Resolution",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "flux_kontext_image_prep",
|
|
"default": "flux_kontext_image_prep",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "concatenate", "flux", "kontext"],
|
|
"title": "FLUX Kontext Image Prep",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"FluxKontextConditioningField": {
|
|
"description": "A conditioning field for FLUX Kontext (reference image).",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The Kontext reference image."
|
|
}
|
|
},
|
|
"required": ["image"],
|
|
"title": "FluxKontextConditioningField",
|
|
"type": "object"
|
|
},
|
|
"FluxKontextInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Prepares a reference image for FLUX Kontext conditioning.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The Kontext reference image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "flux_kontext",
|
|
"default": "flux_kontext",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["conditioning", "kontext", "flux"],
|
|
"title": "Kontext Conditioning - FLUX",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxKontextOutput"
|
|
}
|
|
},
|
|
"FluxKontextOutput": {
|
|
"class": "output",
|
|
"description": "The conditioning output of a FLUX Kontext invocation.",
|
|
"properties": {
|
|
"kontext_cond": {
|
|
"$ref": "#/components/schemas/FluxKontextConditioningField",
|
|
"description": "FLUX Kontext conditioning (reference image)",
|
|
"field_kind": "output",
|
|
"title": "Kontext Conditioning",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_kontext_output",
|
|
"default": "flux_kontext_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "kontext_cond", "type", "type"],
|
|
"title": "FluxKontextOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxLoRALoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Apply a LoRA model to a FLUX transformer and/or text encoder.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "LoRA",
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["lora"]
|
|
},
|
|
"weight": {
|
|
"default": 0.75,
|
|
"description": "The weight at which the LoRA is applied to each model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.75,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Transformer",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "FLUX Transformer"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP"
|
|
},
|
|
"t5_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T5EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T5 Encoder"
|
|
},
|
|
"type": {
|
|
"const": "flux_lora_loader",
|
|
"default": "flux_lora_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["lora", "model", "flux"],
|
|
"title": "Apply LoRA - FLUX",
|
|
"type": "object",
|
|
"version": "1.2.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxLoRALoaderOutput"
|
|
}
|
|
},
|
|
"FluxLoRALoaderOutput": {
|
|
"class": "output",
|
|
"description": "FLUX LoRA Loader Output",
|
|
"properties": {
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Transformer",
|
|
"field_kind": "output",
|
|
"title": "FLUX Transformer",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"t5_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T5EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "output",
|
|
"title": "T5 Encoder",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_lora_loader_output",
|
|
"default": "flux_lora_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "transformer", "clip", "t5_encoder", "type", "type"],
|
|
"title": "FluxLoRALoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads a flux base model, outputting its submodels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Flux model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"t5_encoder_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "T5 Encoder",
|
|
"ui_model_type": ["t5_encoder"]
|
|
},
|
|
"clip_embed_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "CLIP Embed loader",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "CLIP Embed",
|
|
"ui_model_type": ["clip_embed"]
|
|
},
|
|
"vae_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "VAE",
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["vae"]
|
|
},
|
|
"type": {
|
|
"const": "flux_model_loader",
|
|
"default": "flux_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["model", "t5_encoder_model", "clip_embed_model", "type", "id"],
|
|
"tags": ["model", "flux"],
|
|
"title": "Main Model - FLUX",
|
|
"type": "object",
|
|
"version": "1.0.6",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxModelLoaderOutput"
|
|
}
|
|
},
|
|
"FluxModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "Flux base model loader output",
|
|
"properties": {
|
|
"transformer": {
|
|
"$ref": "#/components/schemas/TransformerField",
|
|
"description": "Transformer",
|
|
"field_kind": "output",
|
|
"title": "Transformer",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"t5_encoder": {
|
|
"$ref": "#/components/schemas/T5EncoderField",
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "output",
|
|
"title": "T5 Encoder",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"max_seq_len": {
|
|
"description": "The max sequence length to used for the T5 encoder. (256 for schnell transformer, 512 for dev transformer)",
|
|
"enum": [256, 512],
|
|
"field_kind": "output",
|
|
"title": "Max Seq Length",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_model_loader_output",
|
|
"default": "flux_model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "transformer", "clip", "t5_encoder", "vae", "max_seq_len", "type", "type"],
|
|
"title": "FluxModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxReduxConditioningField": {
|
|
"description": "A FLUX Redux conditioning tensor primitive value",
|
|
"properties": {
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/TensorField",
|
|
"description": "The Redux image conditioning tensor."
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask associated with this conditioning tensor. Excluded regions should be set to False, included regions should be set to True."
|
|
}
|
|
},
|
|
"required": ["conditioning"],
|
|
"title": "FluxReduxConditioningField",
|
|
"type": "object"
|
|
},
|
|
"FluxReduxInvocation": {
|
|
"category": "ip_adapter",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Runs a FLUX Redux model to generate a conditioning tensor.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The FLUX Redux image prompt.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bool mask associated with this FLUX Redux image prompt. Excluded regions should be set to False, included regions should be set to True.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"redux_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The FLUX Redux model to use.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "FLUX Redux Model",
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["flux_redux"]
|
|
},
|
|
"downsampling_factor": {
|
|
"default": 1,
|
|
"description": "Redux Downsampling Factor (1-9)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 9,
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Downsampling Factor",
|
|
"type": "integer"
|
|
},
|
|
"downsampling_function": {
|
|
"default": "area",
|
|
"description": "Redux Downsampling Function",
|
|
"enum": ["nearest", "bilinear", "bicubic", "area", "nearest-exact"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "area",
|
|
"orig_required": false,
|
|
"title": "Downsampling Function",
|
|
"type": "string"
|
|
},
|
|
"weight": {
|
|
"default": 1.0,
|
|
"description": "Redux weight (0.0-1.0)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "flux_redux",
|
|
"default": "flux_redux",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["ip_adapter", "control"],
|
|
"title": "FLUX Redux",
|
|
"type": "object",
|
|
"version": "2.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxReduxOutput"
|
|
}
|
|
},
|
|
"FluxReduxOutput": {
|
|
"class": "output",
|
|
"description": "The conditioning output of a FLUX Redux invocation.",
|
|
"properties": {
|
|
"redux_cond": {
|
|
"$ref": "#/components/schemas/FluxReduxConditioningField",
|
|
"description": "FLUX Redux conditioning tensor",
|
|
"field_kind": "output",
|
|
"title": "Conditioning",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "flux_redux_output",
|
|
"default": "flux_redux_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "redux_cond", "type", "type"],
|
|
"title": "FluxReduxOutput",
|
|
"type": "object"
|
|
},
|
|
"FluxTextEncoderInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Encodes and preps a prompt for a flux image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "CLIP"
|
|
},
|
|
"t5_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T5EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "T5Encoder"
|
|
},
|
|
"t5_max_seq_len": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [256, 512],
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Max sequence length for the T5 encoder. Expected to be 256 for FLUX schnell models and 512 for FLUX dev models.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "T5 Max Seq Len"
|
|
},
|
|
"prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Text prompt to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Prompt",
|
|
"ui_component": "textarea"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask defining the region that this conditioning prompt applies to.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "flux_text_encoder",
|
|
"default": "flux_text_encoder",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "conditioning", "flux"],
|
|
"title": "Prompt - FLUX",
|
|
"type": "object",
|
|
"version": "1.1.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FluxConditioningOutput"
|
|
}
|
|
},
|
|
"FluxVaeDecodeInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an image from latents.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "flux_vae_decode",
|
|
"default": "flux_vae_decode",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "l2i", "flux"],
|
|
"title": "Latents to Image - FLUX",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"FluxVaeEncodeInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Encodes an image into latents.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "flux_vae_encode",
|
|
"default": "flux_vae_encode",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "i2l", "flux"],
|
|
"title": "Image to Latents - FLUX",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"FluxVariantType": {
|
|
"type": "string",
|
|
"enum": ["schnell", "dev", "dev_fill"],
|
|
"title": "FluxVariantType"
|
|
},
|
|
"FoundModel": {
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model"
|
|
},
|
|
"is_installed": {
|
|
"type": "boolean",
|
|
"title": "Is Installed",
|
|
"description": "Whether or not the model is already installed"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["path", "is_installed"],
|
|
"title": "FoundModel"
|
|
},
|
|
"FreeUConfig": {
|
|
"description": "Configuration for the FreeU hyperparameters.\n- https://huggingface.co/docs/diffusers/main/en/using-diffusers/freeu\n- https://github.com/ChenyangSi/FreeU",
|
|
"properties": {
|
|
"s1": {
|
|
"description": "Scaling factor for stage 1 to attenuate the contributions of the skip features. This is done to mitigate the \"oversmoothing effect\" in the enhanced denoising process.",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"title": "S1",
|
|
"type": "number"
|
|
},
|
|
"s2": {
|
|
"description": "Scaling factor for stage 2 to attenuate the contributions of the skip features. This is done to mitigate the \"oversmoothing effect\" in the enhanced denoising process.",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"title": "S2",
|
|
"type": "number"
|
|
},
|
|
"b1": {
|
|
"description": "Scaling factor for stage 1 to amplify the contributions of backbone features.",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"title": "B1",
|
|
"type": "number"
|
|
},
|
|
"b2": {
|
|
"description": "Scaling factor for stage 2 to amplify the contributions of backbone features.",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"title": "B2",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": ["s1", "s2", "b1", "b2"],
|
|
"title": "FreeUConfig",
|
|
"type": "object"
|
|
},
|
|
"FreeUInvocation": {
|
|
"category": "unet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies FreeU to the UNet. Suggested values (b1/b2/s1/s2):\n\nSD1.5: 1.2/1.4/0.9/0.2,\nSD2: 1.1/1.2/0.9/0.2,\nSDXL: 1.1/1.2/0.6/0.4,",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "UNet"
|
|
},
|
|
"b1": {
|
|
"default": 1.2,
|
|
"description": "Scaling factor for stage 1 to amplify the contributions of backbone features.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"orig_default": 1.2,
|
|
"orig_required": false,
|
|
"title": "B1",
|
|
"type": "number"
|
|
},
|
|
"b2": {
|
|
"default": 1.4,
|
|
"description": "Scaling factor for stage 2 to amplify the contributions of backbone features.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"orig_default": 1.4,
|
|
"orig_required": false,
|
|
"title": "B2",
|
|
"type": "number"
|
|
},
|
|
"s1": {
|
|
"default": 0.9,
|
|
"description": "Scaling factor for stage 1 to attenuate the contributions of the skip features. This is done to mitigate the \"oversmoothing effect\" in the enhanced denoising process.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"orig_default": 0.9,
|
|
"orig_required": false,
|
|
"title": "S1",
|
|
"type": "number"
|
|
},
|
|
"s2": {
|
|
"default": 0.2,
|
|
"description": "Scaling factor for stage 2 to attenuate the contributions of the skip features. This is done to mitigate the \"oversmoothing effect\" in the enhanced denoising process.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 3,
|
|
"minimum": -1,
|
|
"orig_default": 0.2,
|
|
"orig_required": false,
|
|
"title": "S2",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "freeu",
|
|
"default": "freeu",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["freeu"],
|
|
"title": "Apply FreeU - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/UNetOutput"
|
|
}
|
|
},
|
|
"GetMaskBoundingBoxInvocation": {
|
|
"category": "mask",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Gets the bounding box of the given mask image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to crop.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"margin": {
|
|
"default": 0,
|
|
"description": "Margin to add to the bounding box.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Margin",
|
|
"type": "integer"
|
|
},
|
|
"mask_color": {
|
|
"$ref": "#/components/schemas/ColorField",
|
|
"default": {
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"description": "Color of the mask in the image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": {
|
|
"a": 255,
|
|
"b": 255,
|
|
"g": 255,
|
|
"r": 255
|
|
},
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "get_image_mask_bounding_box",
|
|
"default": "get_image_mask_bounding_box",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["mask"],
|
|
"title": "Get Image Mask Bounding Box",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BoundingBoxOutput"
|
|
}
|
|
},
|
|
"GlmEncoderField": {
|
|
"properties": {
|
|
"tokenizer": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load tokenizer submodel"
|
|
},
|
|
"text_encoder": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load text_encoder submodel"
|
|
}
|
|
},
|
|
"required": ["tokenizer", "text_encoder"],
|
|
"title": "GlmEncoderField",
|
|
"type": "object"
|
|
},
|
|
"GradientMaskOutput": {
|
|
"class": "output",
|
|
"description": "Outputs a denoise mask and an image representing the total gradient of the mask.",
|
|
"properties": {
|
|
"denoise_mask": {
|
|
"$ref": "#/components/schemas/DenoiseMaskField",
|
|
"description": "Mask for denoise model run. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"expanded_mask_area": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "Image representing the total gradient area of the mask. For paste-back purposes.",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "gradient_mask_output",
|
|
"default": "gradient_mask_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "denoise_mask", "expanded_mask_area", "type", "type"],
|
|
"title": "GradientMaskOutput",
|
|
"type": "object"
|
|
},
|
|
"Graph": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id",
|
|
"description": "The id of this graph"
|
|
},
|
|
"nodes": {
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AddInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/AlphaMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlankImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlendLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CV2InfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesEvenSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesMinimumOverlapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CannyEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasPasteBackInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasV2MaskAndCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CenterPadCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCorrectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CompelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ContentShuffleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CoreMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateDenoiseMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateGradientMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropImageToBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropLatentsCoreInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CvInpaintInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DWOpenposeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DepthAnythingDepthEstimationInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DivideInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DynamicPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ESRGANInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ExpandMaskWithFadeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatLinearRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxIPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConcatenateImagesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxTextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeDecodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeEncodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FreeUInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GetMaskBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GroundingDinoInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HEDEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HeuristicResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelOffsetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageConvertInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageHueAdjustmentInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInverseLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNSFWBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelLayoutInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePasteInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageScaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageWatermarkInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillPatchMatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillTileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvertTensorMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeAdjustImageHuePlusInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeEquivalentAchromaticLightnessInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageBlendInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageCompositorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageDilateOrErodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageEnhanceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageValueThresholdsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LaMaInfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartAnimeEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevisionVllmInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MLSDDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MainModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskCombineInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskEdgeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromAlphaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromIDInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MediaPipeFaceDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeTilesToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFieldExtractorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFromImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemLinkedInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToControlnetsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIPAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToT2IAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToVAEInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NormalMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PasteImageIntoBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PiDiNetEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PromptsFromFileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomIntInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeOfSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RectangleMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ResizeLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RoundInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SaveImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ScaleLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SegmentAnythingInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ShowImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageAutoscaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinThreeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringReplaceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitNegInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SubtractInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TiledMultiDiffusionDenoiseLatents"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UnsharpMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAELoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageTextEncoderInvocation"
|
|
}
|
|
]
|
|
},
|
|
"type": "object",
|
|
"title": "Nodes",
|
|
"description": "The nodes in this graph"
|
|
},
|
|
"edges": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/Edge"
|
|
},
|
|
"type": "array",
|
|
"title": "Edges",
|
|
"description": "The connections between nodes and their fields in this graph"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "Graph"
|
|
},
|
|
"GraphExecutionState": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id",
|
|
"description": "The id of the execution state"
|
|
},
|
|
"graph": {
|
|
"$ref": "#/components/schemas/Graph",
|
|
"description": "The graph being executed"
|
|
},
|
|
"execution_graph": {
|
|
"$ref": "#/components/schemas/Graph",
|
|
"description": "The expanded graph of activated and executed nodes"
|
|
},
|
|
"executed": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"title": "Executed",
|
|
"description": "The set of node ids that have been executed"
|
|
},
|
|
"executed_history": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Executed History",
|
|
"description": "The list of node ids that have been executed, in order of execution"
|
|
},
|
|
"results": {
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocationOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocationOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GradientMaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelCoordinateOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocationOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsMetaOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MDControlListOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MDIPAdapterListOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MDT2IAdapterListOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/String2Output"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringPosNegOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UNetOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAEOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderOutput"
|
|
}
|
|
]
|
|
},
|
|
"type": "object",
|
|
"title": "Results",
|
|
"description": "The results of node executions"
|
|
},
|
|
"errors": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Errors",
|
|
"description": "Errors raised when executing nodes"
|
|
},
|
|
"prepared_source_mapping": {
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object",
|
|
"title": "Prepared Source Mapping",
|
|
"description": "The map of prepared nodes to original graph nodes"
|
|
},
|
|
"source_prepared_mapping": {
|
|
"additionalProperties": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
"type": "object",
|
|
"title": "Source Prepared Mapping",
|
|
"description": "The map of original graph nodes to prepared nodes"
|
|
},
|
|
"ready_order": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Ready Order"
|
|
},
|
|
"indegree": {
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
},
|
|
"type": "object",
|
|
"title": "Indegree",
|
|
"description": "Remaining unmet input count for exec nodes"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"graph",
|
|
"execution_graph",
|
|
"executed",
|
|
"executed_history",
|
|
"results",
|
|
"errors",
|
|
"prepared_source_mapping",
|
|
"source_prepared_mapping"
|
|
],
|
|
"title": "GraphExecutionState",
|
|
"description": "Tracks the state of a graph execution"
|
|
},
|
|
"GroundingDinoInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Runs a Grounding DINO model. Performs zero-shot bounding-box object detection from a text prompt.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"enum": ["grounding-dino-tiny", "grounding-dino-base"],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The Grounding DINO model to use.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Model"
|
|
},
|
|
"prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The prompt describing the object to segment.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Prompt"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to segment.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"detection_threshold": {
|
|
"default": 0.3,
|
|
"description": "The detection threshold for the Grounding DINO model. All detected bounding boxes with scores above this threshold will be returned.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1.0,
|
|
"minimum": 0.0,
|
|
"orig_default": 0.3,
|
|
"orig_required": false,
|
|
"title": "Detection Threshold",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "grounding_dino",
|
|
"default": "grounding_dino",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "object detection"],
|
|
"title": "Grounding DINO (Text Prompt Object Detection)",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BoundingBoxCollectionOutput"
|
|
}
|
|
},
|
|
"HEDEdgeDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Geneartes an edge map using the HED (softedge) model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"scribble": {
|
|
"default": false,
|
|
"description": "Whether or not to use scribble mode",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Scribble",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "hed_edge_detection",
|
|
"default": "hed_edge_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "hed", "softedge"],
|
|
"title": "HED Edge Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"HFModelSource": {
|
|
"properties": {
|
|
"repo_id": {
|
|
"type": "string",
|
|
"title": "Repo Id"
|
|
},
|
|
"variant": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelRepoVariant"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": "fp16"
|
|
},
|
|
"subfolder": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "path"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Subfolder"
|
|
},
|
|
"access_token": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Access Token"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "hf",
|
|
"title": "Type",
|
|
"default": "hf"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["repo_id"],
|
|
"title": "HFModelSource",
|
|
"description": "A HuggingFace repo_id with optional variant, sub-folder and access token.\nNote that the variant option, if not provided to the constructor, will default to fp16, which is\nwhat people (almost) always want."
|
|
},
|
|
"HFTokenStatus": {
|
|
"type": "string",
|
|
"enum": ["valid", "invalid", "unknown"],
|
|
"title": "HFTokenStatus"
|
|
},
|
|
"HTTPValidationError": {
|
|
"properties": {
|
|
"detail": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ValidationError"
|
|
},
|
|
"type": "array",
|
|
"title": "Detail"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "HTTPValidationError"
|
|
},
|
|
"HeuristicResizeInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Resize an image using a heuristic method. Preserves edge maps.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to resize",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"width": {
|
|
"default": 512,
|
|
"description": "The width to resize to (px)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 512,
|
|
"description": "The height to resize to (px)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "heuristic_resize",
|
|
"default": "heuristic_resize",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image, controlnet"],
|
|
"title": "Heuristic Resize",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"HuggingFaceMetadata": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "model's name"
|
|
},
|
|
"files": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/RemoteModelFile"
|
|
},
|
|
"type": "array",
|
|
"title": "Files",
|
|
"description": "model files and their sizes"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "huggingface",
|
|
"title": "Type",
|
|
"default": "huggingface"
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id",
|
|
"description": "The HF model id"
|
|
},
|
|
"api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Api Response",
|
|
"description": "Response from the HF API as stringified JSON"
|
|
},
|
|
"is_diffusers": {
|
|
"type": "boolean",
|
|
"title": "Is Diffusers",
|
|
"description": "Whether the metadata is for a Diffusers format model",
|
|
"default": false
|
|
},
|
|
"ckpt_urls": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"format": "uri"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Ckpt Urls",
|
|
"description": "URLs for all checkpoint format models in the metadata"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["name", "id"],
|
|
"title": "HuggingFaceMetadata",
|
|
"description": "Extended metadata fields provided by HuggingFace."
|
|
},
|
|
"HuggingFaceModels": {
|
|
"properties": {
|
|
"urls": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"format": "uri"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Urls",
|
|
"description": "URLs for all checkpoint format models in the metadata"
|
|
},
|
|
"is_diffusers": {
|
|
"type": "boolean",
|
|
"title": "Is Diffusers",
|
|
"description": "Whether the metadata is for a Diffusers format model"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["urls", "is_diffusers"],
|
|
"title": "HuggingFaceModels"
|
|
},
|
|
"IPAdapterField": {
|
|
"properties": {
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"description": "The IP-Adapter image prompt(s).",
|
|
"title": "Image"
|
|
},
|
|
"ip_adapter_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The IP-Adapter model to use."
|
|
},
|
|
"image_encoder_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The name of the CLIP image encoder model."
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the IP-Adapter.",
|
|
"title": "Weight"
|
|
},
|
|
"target_blocks": {
|
|
"default": [],
|
|
"description": "The IP Adapter blocks to apply",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Target Blocks",
|
|
"type": "array"
|
|
},
|
|
"method": {
|
|
"default": "full",
|
|
"description": "Weight apply method",
|
|
"title": "Method",
|
|
"type": "string"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the IP-Adapter is first applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the IP-Adapter is last applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bool mask associated with this IP-Adapter. Excluded regions should be set to False, included regions should be set to True."
|
|
}
|
|
},
|
|
"required": ["image", "ip_adapter_model", "image_encoder_model"],
|
|
"title": "IPAdapterField",
|
|
"type": "object"
|
|
},
|
|
"IPAdapterInvocation": {
|
|
"category": "ip_adapter",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Collects IP-Adapter info to pass to other nodes.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP-Adapter image prompt(s).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Image",
|
|
"ui_order": 1
|
|
},
|
|
"ip_adapter_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP-Adapter model.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "IP-Adapter Model",
|
|
"ui_model_base": ["sd-1", "sdxl"],
|
|
"ui_model_type": ["ip_adapter"],
|
|
"ui_order": -1
|
|
},
|
|
"clip_vision_model": {
|
|
"default": "ViT-H",
|
|
"description": "CLIP Vision model to use. Overrides model settings. Mandatory for checkpoint models.",
|
|
"enum": ["ViT-H", "ViT-G", "ViT-L"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "ViT-H",
|
|
"orig_required": false,
|
|
"title": "Clip Vision Model",
|
|
"type": "string",
|
|
"ui_order": 2
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the IP-Adapter",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Weight"
|
|
},
|
|
"method": {
|
|
"default": "full",
|
|
"description": "The method to apply the IP-Adapter",
|
|
"enum": ["full", "style", "composition", "style_strong", "style_precise"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "full",
|
|
"orig_required": false,
|
|
"title": "Method",
|
|
"type": "string"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the IP-Adapter is first applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the IP-Adapter is last applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask defining the region that this IP-Adapter applies to.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "ip_adapter",
|
|
"default": "ip_adapter",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["ip_adapter", "control"],
|
|
"title": "IP-Adapter - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.5.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IPAdapterOutput"
|
|
}
|
|
},
|
|
"IPAdapterMetadataField": {
|
|
"description": "IP Adapter Field, minus the CLIP Vision Encoder model",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The IP-Adapter image prompt."
|
|
},
|
|
"ip_adapter_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The IP-Adapter model."
|
|
},
|
|
"clip_vision_model": {
|
|
"description": "The CLIP Vision model",
|
|
"enum": ["ViT-L", "ViT-H", "ViT-G"],
|
|
"title": "Clip Vision Model",
|
|
"type": "string"
|
|
},
|
|
"method": {
|
|
"description": "Method to apply IP Weights with",
|
|
"enum": ["full", "style", "composition", "style_strong", "style_precise"],
|
|
"title": "Method",
|
|
"type": "string"
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"description": "The weight given to the IP-Adapter",
|
|
"title": "Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"description": "When the IP-Adapter is first applied (% of total steps)",
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"description": "When the IP-Adapter is last applied (% of total steps)",
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"image",
|
|
"ip_adapter_model",
|
|
"clip_vision_model",
|
|
"method",
|
|
"weight",
|
|
"begin_step_percent",
|
|
"end_step_percent"
|
|
],
|
|
"title": "IPAdapterMetadataField",
|
|
"type": "object"
|
|
},
|
|
"IPAdapterOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"ip_adapter": {
|
|
"$ref": "#/components/schemas/IPAdapterField",
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "output",
|
|
"title": "IP-Adapter",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "ip_adapter_output",
|
|
"default": "ip_adapter_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "ip_adapter", "type", "type"],
|
|
"title": "IPAdapterOutput",
|
|
"type": "object"
|
|
},
|
|
"IPAdapter_Checkpoint_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
"IPAdapter_Checkpoint_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
"IPAdapter_Checkpoint_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
"IPAdapter_Checkpoint_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
"IPAdapter_InvokeAI_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "invokeai",
|
|
"title": "Format",
|
|
"default": "invokeai"
|
|
},
|
|
"image_encoder_model_id": {
|
|
"type": "string",
|
|
"title": "Image Encoder Model Id"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"image_encoder_model_id",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
"IPAdapter_InvokeAI_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "invokeai",
|
|
"title": "Format",
|
|
"default": "invokeai"
|
|
},
|
|
"image_encoder_model_id": {
|
|
"type": "string",
|
|
"title": "Image Encoder Model Id"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"image_encoder_model_id",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
"IPAdapter_InvokeAI_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "ip_adapter",
|
|
"title": "Type",
|
|
"default": "ip_adapter"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "invokeai",
|
|
"title": "Format",
|
|
"default": "invokeai"
|
|
},
|
|
"image_encoder_model_id": {
|
|
"type": "string",
|
|
"title": "Image Encoder Model Id"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"image_encoder_model_id",
|
|
"base"
|
|
],
|
|
"title": "IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
"IdealSizeInvocation": {
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Calculates the ideal size for generation to avoid duplication",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"width": {
|
|
"default": 1024,
|
|
"description": "Final image width",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 576,
|
|
"description": "Final image height",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 576,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"multiplier": {
|
|
"default": 1.0,
|
|
"description": "Amount to multiply the model's dimensions by when calculating the ideal size (may result in initial generation artifacts if too large)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Multiplier",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "ideal_size",
|
|
"default": "ideal_size",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "math", "ideal_size"],
|
|
"title": "Ideal Size - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.0.6",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IdealSizeOutput"
|
|
}
|
|
},
|
|
"IdealSizeOutput": {
|
|
"class": "output",
|
|
"description": "Base class for invocations that output an image",
|
|
"properties": {
|
|
"width": {
|
|
"description": "The ideal width of the image (in pixels)",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The ideal height of the image (in pixels)",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "ideal_size_output",
|
|
"default": "ideal_size_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "width", "height", "type", "type"],
|
|
"title": "IdealSizeOutput",
|
|
"type": "object"
|
|
},
|
|
"ImageBatchInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Create a batched generation, where the workflow is executed once for each image in the batch.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"batch_group_id": {
|
|
"default": "None",
|
|
"description": "The ID of this batch node's group. If provided, all batch nodes in with the same ID will be 'zipped' before execution, and all nodes' collections must be of the same size.",
|
|
"enum": ["None", "Group 1", "Group 2", "Group 3", "Group 4", "Group 5"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "None",
|
|
"orig_required": false,
|
|
"title": "Batch Group",
|
|
"type": "string"
|
|
},
|
|
"images": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The images to batch over",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Images"
|
|
},
|
|
"type": {
|
|
"const": "image_batch",
|
|
"default": "image_batch",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "image", "batch", "special"],
|
|
"title": "Image Batch",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageBlurInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Blurs an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to blur",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"radius": {
|
|
"default": 8.0,
|
|
"description": "The blur radius",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 8.0,
|
|
"orig_required": false,
|
|
"title": "Radius",
|
|
"type": "number"
|
|
},
|
|
"blur_type": {
|
|
"default": "gaussian",
|
|
"description": "The type of blur",
|
|
"enum": ["gaussian", "box"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "gaussian",
|
|
"orig_required": false,
|
|
"title": "Blur Type",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "img_blur",
|
|
"default": "img_blur",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "blur"],
|
|
"title": "Blur Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageCategory": {
|
|
"type": "string",
|
|
"enum": ["general", "mask", "control", "user", "other"],
|
|
"title": "ImageCategory",
|
|
"description": "The category of an image.\n\n- GENERAL: The image is an output, init image, or otherwise an image without a specialized purpose.\n- MASK: The image is a mask image.\n- CONTROL: The image is a ControlNet control image.\n- USER: The image is a user-provide image.\n- OTHER: The image is some other type of image with a specialized purpose. To be used by external nodes."
|
|
},
|
|
"ImageChannelInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Gets a channel from an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to get the channel from",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"channel": {
|
|
"default": "A",
|
|
"description": "The channel to get",
|
|
"enum": ["A", "R", "G", "B"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "A",
|
|
"orig_required": false,
|
|
"title": "Channel",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "img_chan",
|
|
"default": "img_chan",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "channel"],
|
|
"title": "Extract Image Channel",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageChannelMultiplyInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Scale a specific color channel of an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to adjust",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"Red (RGBA)",
|
|
"Green (RGBA)",
|
|
"Blue (RGBA)",
|
|
"Alpha (RGBA)",
|
|
"Cyan (CMYK)",
|
|
"Magenta (CMYK)",
|
|
"Yellow (CMYK)",
|
|
"Black (CMYK)",
|
|
"Hue (HSV)",
|
|
"Saturation (HSV)",
|
|
"Value (HSV)",
|
|
"Luminosity (LAB)",
|
|
"A (LAB)",
|
|
"B (LAB)",
|
|
"Y (YCbCr)",
|
|
"Cb (YCbCr)",
|
|
"Cr (YCbCr)"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Which channel to adjust",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Channel"
|
|
},
|
|
"scale": {
|
|
"default": 1.0,
|
|
"description": "The amount to scale the channel by.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0.0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Scale",
|
|
"type": "number"
|
|
},
|
|
"invert_channel": {
|
|
"default": false,
|
|
"description": "Invert the channel after scaling",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert Channel",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "img_channel_multiply",
|
|
"default": "img_channel_multiply",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": [
|
|
"image",
|
|
"invert",
|
|
"scale",
|
|
"multiply",
|
|
"red",
|
|
"green",
|
|
"blue",
|
|
"alpha",
|
|
"cyan",
|
|
"magenta",
|
|
"yellow",
|
|
"black",
|
|
"hue",
|
|
"saturation",
|
|
"luminosity",
|
|
"value"
|
|
],
|
|
"title": "Multiply Image Channel",
|
|
"type": "object",
|
|
"version": "1.2.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageChannelOffsetInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Add or subtract a value from a specific color channel of an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to adjust",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"channel": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"Red (RGBA)",
|
|
"Green (RGBA)",
|
|
"Blue (RGBA)",
|
|
"Alpha (RGBA)",
|
|
"Cyan (CMYK)",
|
|
"Magenta (CMYK)",
|
|
"Yellow (CMYK)",
|
|
"Black (CMYK)",
|
|
"Hue (HSV)",
|
|
"Saturation (HSV)",
|
|
"Value (HSV)",
|
|
"Luminosity (LAB)",
|
|
"A (LAB)",
|
|
"B (LAB)",
|
|
"Y (YCbCr)",
|
|
"Cb (YCbCr)",
|
|
"Cr (YCbCr)"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Which channel to adjust",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Channel"
|
|
},
|
|
"offset": {
|
|
"default": 0,
|
|
"description": "The amount to adjust the channel by",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": -255,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Offset",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_channel_offset",
|
|
"default": "img_channel_offset",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": [
|
|
"image",
|
|
"offset",
|
|
"red",
|
|
"green",
|
|
"blue",
|
|
"alpha",
|
|
"cyan",
|
|
"magenta",
|
|
"yellow",
|
|
"black",
|
|
"hue",
|
|
"saturation",
|
|
"luminosity",
|
|
"value"
|
|
],
|
|
"title": "Offset Image Channel",
|
|
"type": "object",
|
|
"version": "1.2.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of image primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The collection of image values",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Collection"
|
|
},
|
|
"type": {
|
|
"const": "image_collection",
|
|
"default": "image_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "image", "collection"],
|
|
"title": "Image Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageCollectionOutput"
|
|
}
|
|
},
|
|
"ImageCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of images",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output images",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "image_collection_output",
|
|
"default": "image_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "ImageCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"ImageConvertInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Converts an image to a different mode.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to convert",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mode": {
|
|
"default": "L",
|
|
"description": "The mode to convert to",
|
|
"enum": ["L", "RGB", "RGBA", "CMYK", "YCbCr", "LAB", "HSV", "I", "F"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "L",
|
|
"orig_required": false,
|
|
"title": "Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "img_conv",
|
|
"default": "img_conv",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "convert"],
|
|
"title": "Convert Image Mode",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageCropInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Crops an image to a specified box. The box can be outside of the image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to crop",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"x": {
|
|
"default": 0,
|
|
"description": "The left x coordinate of the crop rectangle",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "X",
|
|
"type": "integer"
|
|
},
|
|
"y": {
|
|
"default": 0,
|
|
"description": "The top y coordinate of the crop rectangle",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Y",
|
|
"type": "integer"
|
|
},
|
|
"width": {
|
|
"default": 512,
|
|
"description": "The width of the crop rectangle",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 512,
|
|
"description": "The height of the crop rectangle",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_crop",
|
|
"default": "img_crop",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "crop"],
|
|
"title": "Crop Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageDTO": {
|
|
"properties": {
|
|
"image_name": {
|
|
"type": "string",
|
|
"title": "Image Name",
|
|
"description": "The unique name of the image."
|
|
},
|
|
"image_url": {
|
|
"type": "string",
|
|
"title": "Image Url",
|
|
"description": "The URL of the image."
|
|
},
|
|
"thumbnail_url": {
|
|
"type": "string",
|
|
"title": "Thumbnail Url",
|
|
"description": "The URL of the image's thumbnail."
|
|
},
|
|
"image_origin": {
|
|
"$ref": "#/components/schemas/ResourceOrigin",
|
|
"description": "The type of the image."
|
|
},
|
|
"image_category": {
|
|
"$ref": "#/components/schemas/ImageCategory",
|
|
"description": "The category of the image."
|
|
},
|
|
"width": {
|
|
"type": "integer",
|
|
"title": "Width",
|
|
"description": "The width of the image in px."
|
|
},
|
|
"height": {
|
|
"type": "integer",
|
|
"title": "Height",
|
|
"description": "The height of the image in px."
|
|
},
|
|
"created_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Created At",
|
|
"description": "The created timestamp of the image."
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Updated At",
|
|
"description": "The updated timestamp of the image."
|
|
},
|
|
"deleted_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Deleted At",
|
|
"description": "The deleted timestamp of the image."
|
|
},
|
|
"is_intermediate": {
|
|
"type": "boolean",
|
|
"title": "Is Intermediate",
|
|
"description": "Whether this is an intermediate image."
|
|
},
|
|
"session_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Session Id",
|
|
"description": "The session ID that generated this image, if it is a generated image."
|
|
},
|
|
"node_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Node Id",
|
|
"description": "The node ID that generated this image, if it is a generated image."
|
|
},
|
|
"starred": {
|
|
"type": "boolean",
|
|
"title": "Starred",
|
|
"description": "Whether this image is starred."
|
|
},
|
|
"has_workflow": {
|
|
"type": "boolean",
|
|
"title": "Has Workflow",
|
|
"description": "Whether this image has a workflow."
|
|
},
|
|
"board_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Board Id",
|
|
"description": "The id of the board the image belongs to, if one exists."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"image_name",
|
|
"image_url",
|
|
"thumbnail_url",
|
|
"image_origin",
|
|
"image_category",
|
|
"width",
|
|
"height",
|
|
"created_at",
|
|
"updated_at",
|
|
"is_intermediate",
|
|
"starred",
|
|
"has_workflow"
|
|
],
|
|
"title": "ImageDTO",
|
|
"description": "Deserialized image record, enriched for the frontend."
|
|
},
|
|
"ImageField": {
|
|
"properties": {
|
|
"image_name": {
|
|
"type": "string",
|
|
"title": "Image Name",
|
|
"description": "The name of the image"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_name"],
|
|
"title": "ImageField",
|
|
"description": "An image primitive field"
|
|
},
|
|
"ImageGenerator": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Generated a collection of images for use in a batched generation",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"generator": {
|
|
"$ref": "#/components/schemas/ImageGeneratorField",
|
|
"description": "The image generator.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Generator Type"
|
|
},
|
|
"type": {
|
|
"const": "image_generator",
|
|
"default": "image_generator",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["generator", "type", "id"],
|
|
"tags": ["primitives", "board", "image", "batch", "special"],
|
|
"title": "Image Generator",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageGeneratorOutput"
|
|
}
|
|
},
|
|
"ImageGeneratorField": {
|
|
"properties": {},
|
|
"title": "ImageGeneratorField",
|
|
"type": "object"
|
|
},
|
|
"ImageGeneratorOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of boards",
|
|
"properties": {
|
|
"images": {
|
|
"description": "The generated images",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"title": "Images",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "image_generator_output",
|
|
"default": "image_generator_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "images", "type", "type"],
|
|
"title": "ImageGeneratorOutput",
|
|
"type": "object"
|
|
},
|
|
"ImageHueAdjustmentInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Adjusts the Hue of an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to adjust",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"hue": {
|
|
"default": 0,
|
|
"description": "The degrees by which to rotate the hue, 0-360",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Hue",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_hue_adjust",
|
|
"default": "img_hue_adjust",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "hue"],
|
|
"title": "Adjust Image Hue",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageInverseLerpInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Inverse linear interpolation of all pixels of an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to lerp",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"min": {
|
|
"default": 0,
|
|
"description": "The minimum input value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Min",
|
|
"type": "integer"
|
|
},
|
|
"max": {
|
|
"default": 255,
|
|
"description": "The maximum input value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 255,
|
|
"orig_required": false,
|
|
"title": "Max",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_ilerp",
|
|
"default": "img_ilerp",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "ilerp"],
|
|
"title": "Inverse Lerp Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "An image primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "image",
|
|
"default": "image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "image"],
|
|
"title": "Image Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageLerpInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Linear interpolation of all pixels of an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to lerp",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"min": {
|
|
"default": 0,
|
|
"description": "The minimum output value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Min",
|
|
"type": "integer"
|
|
},
|
|
"max": {
|
|
"default": 255,
|
|
"description": "The maximum output value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 255,
|
|
"orig_required": false,
|
|
"title": "Max",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_lerp",
|
|
"default": "img_lerp",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "lerp"],
|
|
"title": "Lerp Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageMaskToTensorInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Convert a mask image to a tensor. Converts the image to grayscale and uses thresholding at the specified value.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask image to convert.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"cutoff": {
|
|
"default": 128,
|
|
"description": "Cutoff (<)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"orig_default": 128,
|
|
"orig_required": false,
|
|
"title": "Cutoff",
|
|
"type": "integer"
|
|
},
|
|
"invert": {
|
|
"default": false,
|
|
"description": "Whether to invert the mask.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "image_mask_to_tensor",
|
|
"default": "image_mask_to_tensor",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["conditioning"],
|
|
"title": "Image Mask to Tensor",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
}
|
|
},
|
|
"ImageMultiplyInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Multiplies two images together using `PIL.ImageChops.multiply()`.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image1": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The first image to multiply",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"image2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The second image to multiply",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "img_mul",
|
|
"default": "img_mul",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "multiply"],
|
|
"title": "Multiply Images",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageNSFWBlurInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Add blur to NSFW-flagged images",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to check",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "img_nsfw",
|
|
"default": "img_nsfw",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "nsfw"],
|
|
"title": "Blur NSFW Image",
|
|
"type": "object",
|
|
"version": "1.2.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageNamesResult": {
|
|
"properties": {
|
|
"image_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Image Names",
|
|
"description": "Ordered list of image names"
|
|
},
|
|
"starred_count": {
|
|
"type": "integer",
|
|
"title": "Starred Count",
|
|
"description": "Number of starred images (when starred_first=True)"
|
|
},
|
|
"total_count": {
|
|
"type": "integer",
|
|
"title": "Total Count",
|
|
"description": "Total number of images matching the query"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_names", "starred_count", "total_count"],
|
|
"title": "ImageNamesResult",
|
|
"description": "Response containing ordered image names with metadata for optimistic updates."
|
|
},
|
|
"ImageNoiseInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Add noise to an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to add noise to",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional mask determining where to apply noise (black=noise, white=no noise)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Seed for random number generation",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 4294967295,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"noise_type": {
|
|
"default": "gaussian",
|
|
"description": "The type of noise to add",
|
|
"enum": ["gaussian", "salt_and_pepper"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "gaussian",
|
|
"orig_required": false,
|
|
"title": "Noise Type",
|
|
"type": "string"
|
|
},
|
|
"amount": {
|
|
"default": 0.1,
|
|
"description": "The amount of noise to add",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.1,
|
|
"orig_required": false,
|
|
"title": "Amount",
|
|
"type": "number"
|
|
},
|
|
"noise_color": {
|
|
"default": true,
|
|
"description": "Whether to add colored noise",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Noise Color",
|
|
"type": "boolean"
|
|
},
|
|
"size": {
|
|
"default": 1,
|
|
"description": "The size of the noise points",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Size",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "img_noise",
|
|
"default": "img_noise",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "noise"],
|
|
"title": "Add Image Noise",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single image",
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The output image",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "The width of the image in pixels",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The height of the image in pixels",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "image_output",
|
|
"default": "image_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "image", "width", "height", "type", "type"],
|
|
"title": "ImageOutput",
|
|
"type": "object"
|
|
},
|
|
"ImagePanelCoordinateOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"x_left": {
|
|
"description": "The left x-coordinate of the panel.",
|
|
"field_kind": "output",
|
|
"title": "X Left",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"y_top": {
|
|
"description": "The top y-coordinate of the panel.",
|
|
"field_kind": "output",
|
|
"title": "Y Top",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "The width of the panel.",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The height of the panel.",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "image_panel_coordinate_output",
|
|
"default": "image_panel_coordinate_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "x_left", "y_top", "width", "height", "type", "type"],
|
|
"title": "ImagePanelCoordinateOutput",
|
|
"type": "object"
|
|
},
|
|
"ImagePanelLayoutInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Get the coordinates of a single panel in a grid. (If the full image shape cannot be divided evenly into panels,\nthen the grid may not cover the entire image.)",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"width": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The width of the entire grid.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Width"
|
|
},
|
|
"height": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The height of the entire grid.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Height"
|
|
},
|
|
"num_cols": {
|
|
"default": 1,
|
|
"description": "The number of columns in the grid.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Num Cols",
|
|
"type": "integer"
|
|
},
|
|
"num_rows": {
|
|
"default": 1,
|
|
"description": "The number of rows in the grid.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Num Rows",
|
|
"type": "integer"
|
|
},
|
|
"panel_col_idx": {
|
|
"default": 0,
|
|
"description": "The column index of the panel to be processed.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Panel Col Idx",
|
|
"type": "integer"
|
|
},
|
|
"panel_row_idx": {
|
|
"default": 0,
|
|
"description": "The row index of the panel to be processed.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Panel Row Idx",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "image_panel_layout",
|
|
"default": "image_panel_layout",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "panel", "layout"],
|
|
"title": "Image Panel Layout",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImagePanelCoordinateOutput"
|
|
}
|
|
},
|
|
"ImagePasteInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Pastes an image into another image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"base_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The base image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to paste",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask to use when pasting",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"x": {
|
|
"default": 0,
|
|
"description": "The left x coordinate at which to paste the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "X",
|
|
"type": "integer"
|
|
},
|
|
"y": {
|
|
"default": 0,
|
|
"description": "The top y coordinate at which to paste the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Y",
|
|
"type": "integer"
|
|
},
|
|
"crop": {
|
|
"default": false,
|
|
"description": "Crop to base image dimensions",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Crop",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "img_paste",
|
|
"default": "img_paste",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "paste"],
|
|
"title": "Paste Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageRecordChanges": {
|
|
"properties": {
|
|
"image_category": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageCategory"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The image's new category."
|
|
},
|
|
"session_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Session Id",
|
|
"description": "The image's new session ID."
|
|
},
|
|
"is_intermediate": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Is Intermediate",
|
|
"description": "The image's new `is_intermediate` flag."
|
|
},
|
|
"starred": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Starred",
|
|
"description": "The image's new `starred` state"
|
|
}
|
|
},
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "ImageRecordChanges",
|
|
"description": "A set of changes to apply to an image record.\n\nOnly limited changes are valid:\n - `image_category`: change the category of an image\n - `session_id`: change the session associated with an image\n - `is_intermediate`: change the image's `is_intermediate` flag\n - `starred`: change whether the image is starred"
|
|
},
|
|
"ImageResizeInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Resizes an image to specific dimensions",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to resize",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"width": {
|
|
"default": 512,
|
|
"description": "The width to resize to (px)",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 512,
|
|
"description": "The height to resize to (px)",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"resample_mode": {
|
|
"default": "bicubic",
|
|
"description": "The resampling mode",
|
|
"enum": ["nearest", "box", "bilinear", "hamming", "bicubic", "lanczos"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "bicubic",
|
|
"orig_required": false,
|
|
"title": "Resample Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "img_resize",
|
|
"default": "img_resize",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "resize"],
|
|
"title": "Resize Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageScaleInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Scales an image by a factor",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"scale_factor": {
|
|
"default": 2.0,
|
|
"description": "The factor by which to scale the image",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 2.0,
|
|
"orig_required": false,
|
|
"title": "Scale Factor",
|
|
"type": "number"
|
|
},
|
|
"resample_mode": {
|
|
"default": "bicubic",
|
|
"description": "The resampling mode",
|
|
"enum": ["nearest", "box", "bilinear", "hamming", "bicubic", "lanczos"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "bicubic",
|
|
"orig_required": false,
|
|
"title": "Resample Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "img_scale",
|
|
"default": "img_scale",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "scale"],
|
|
"title": "Scale Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImageToLatentsInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Encodes an image into latents.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to encode",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"tiled": {
|
|
"default": false,
|
|
"description": "Processing using overlapping tiles (reduce memory consumption)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Tiled",
|
|
"type": "boolean"
|
|
},
|
|
"tile_size": {
|
|
"default": 0,
|
|
"description": "The tile size for VAE tiling in pixels (image space). If set to 0, the default tile size for the model will be used. Larger tile sizes generally produce better results at the cost of higher memory usage.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"fp32": {
|
|
"default": false,
|
|
"description": "Whether or not to use full float32 precision",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fp32",
|
|
"type": "boolean"
|
|
},
|
|
"color_compensation": {
|
|
"default": "None",
|
|
"description": "Apply VAE scaling compensation when encoding images (reduces color drift).",
|
|
"enum": ["None", "SDXL"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "None",
|
|
"orig_required": false,
|
|
"title": "Color Compensation",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "i2l",
|
|
"default": "i2l",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "i2l"],
|
|
"title": "Image to Latents - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"ImageUploadEntry": {
|
|
"properties": {
|
|
"image_dto": {
|
|
"$ref": "#/components/schemas/ImageDTO",
|
|
"description": "The image DTO"
|
|
},
|
|
"presigned_url": {
|
|
"type": "string",
|
|
"title": "Presigned Url",
|
|
"description": "The URL to get the presigned URL for the image upload"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_dto", "presigned_url"],
|
|
"title": "ImageUploadEntry"
|
|
},
|
|
"ImageUrlsDTO": {
|
|
"properties": {
|
|
"image_name": {
|
|
"type": "string",
|
|
"title": "Image Name",
|
|
"description": "The unique name of the image."
|
|
},
|
|
"image_url": {
|
|
"type": "string",
|
|
"title": "Image Url",
|
|
"description": "The URL of the image."
|
|
},
|
|
"thumbnail_url": {
|
|
"type": "string",
|
|
"title": "Thumbnail Url",
|
|
"description": "The URL of the image's thumbnail."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["image_name", "image_url", "thumbnail_url"],
|
|
"title": "ImageUrlsDTO",
|
|
"description": "The URLs for an image and its thumbnail."
|
|
},
|
|
"ImageWatermarkInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Add an invisible watermark to an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to check",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"text": {
|
|
"default": "InvokeAI",
|
|
"description": "Watermark text",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "InvokeAI",
|
|
"orig_required": false,
|
|
"title": "Text",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "img_watermark",
|
|
"default": "img_watermark",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "watermark"],
|
|
"title": "Add Invisible Watermark",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ImagesDownloaded": {
|
|
"properties": {
|
|
"response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Response",
|
|
"description": "The message to display to the user when images begin downloading"
|
|
},
|
|
"bulk_download_item_name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Bulk Download Item Name",
|
|
"description": "The name of the bulk download item for which events will be emitted"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "ImagesDownloaded"
|
|
},
|
|
"InfillColorInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Infills transparent areas of an image with a solid color",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"color": {
|
|
"$ref": "#/components/schemas/ColorField",
|
|
"default": {
|
|
"r": 127,
|
|
"g": 127,
|
|
"b": 127,
|
|
"a": 255
|
|
},
|
|
"description": "The color to use to infill",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": {
|
|
"a": 255,
|
|
"b": 127,
|
|
"g": 127,
|
|
"r": 127
|
|
},
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "infill_rgba",
|
|
"default": "infill_rgba",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "inpaint"],
|
|
"title": "Solid Color Infill",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InfillPatchMatchInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Infills transparent areas of an image using the PatchMatch algorithm",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"downscale": {
|
|
"default": 2.0,
|
|
"description": "Run patchmatch on downscaled image to speedup infill",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 2.0,
|
|
"orig_required": false,
|
|
"title": "Downscale",
|
|
"type": "number"
|
|
},
|
|
"resample_mode": {
|
|
"default": "bicubic",
|
|
"description": "The resampling mode",
|
|
"enum": ["nearest", "box", "bilinear", "hamming", "bicubic", "lanczos"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "bicubic",
|
|
"orig_required": false,
|
|
"title": "Resample Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "infill_patchmatch",
|
|
"default": "infill_patchmatch",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "inpaint"],
|
|
"title": "PatchMatch Infill",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InfillTileInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Infills transparent areas of an image with tiles of the image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"tile_size": {
|
|
"default": 32,
|
|
"description": "The tile size (px)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 32,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "The seed to use for tile generation (omit for random)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 4294967295,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "infill_tile",
|
|
"default": "infill_tile",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "inpaint"],
|
|
"title": "Tile Infill",
|
|
"type": "object",
|
|
"version": "1.2.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"Input": {
|
|
"description": "The type of input a field accepts.\n- `Input.Direct`: The field must have its value provided directly, when the invocation and field are instantiated.\n- `Input.Connection`: The field must have its value provided by a connection.\n- `Input.Any`: The field may have its value provided either directly or by a connection.",
|
|
"enum": ["connection", "direct", "any"],
|
|
"title": "Input",
|
|
"type": "string"
|
|
},
|
|
"InputFieldJSONSchemaExtra": {
|
|
"description": "Extra attributes to be added to input fields and their OpenAPI schema. Used during graph execution,\nand by the workflow editor during schema parsing and UI rendering.",
|
|
"properties": {
|
|
"input": {
|
|
"$ref": "#/components/schemas/Input"
|
|
},
|
|
"field_kind": {
|
|
"$ref": "#/components/schemas/FieldKind"
|
|
},
|
|
"orig_required": {
|
|
"default": true,
|
|
"title": "Orig Required",
|
|
"type": "boolean"
|
|
},
|
|
"default": {
|
|
"anyOf": [
|
|
{},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Default"
|
|
},
|
|
"orig_default": {
|
|
"anyOf": [
|
|
{},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Orig Default"
|
|
},
|
|
"ui_hidden": {
|
|
"default": false,
|
|
"title": "Ui Hidden",
|
|
"type": "boolean"
|
|
},
|
|
"ui_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UIType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null
|
|
},
|
|
"ui_component": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UIComponent"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null
|
|
},
|
|
"ui_order": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Order"
|
|
},
|
|
"ui_choice_labels": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Choice Labels"
|
|
},
|
|
"ui_model_base": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/BaseModelType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Model Base"
|
|
},
|
|
"ui_model_type": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ModelType"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Model Type"
|
|
},
|
|
"ui_model_variant": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ClipVariantType"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Model Variant"
|
|
},
|
|
"ui_model_format": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ModelFormat"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Model Format"
|
|
}
|
|
},
|
|
"required": [
|
|
"input",
|
|
"field_kind",
|
|
"orig_required",
|
|
"default",
|
|
"orig_default",
|
|
"ui_hidden",
|
|
"ui_type",
|
|
"ui_component",
|
|
"ui_order",
|
|
"ui_choice_labels",
|
|
"ui_model_base",
|
|
"ui_model_type",
|
|
"ui_model_variant",
|
|
"ui_model_format"
|
|
],
|
|
"title": "InputFieldJSONSchemaExtra",
|
|
"type": "object"
|
|
},
|
|
"InstallStatus": {
|
|
"type": "string",
|
|
"enum": ["waiting", "downloading", "downloads_done", "running", "completed", "error", "cancelled"],
|
|
"title": "InstallStatus",
|
|
"description": "State of an install job running in the background."
|
|
},
|
|
"IntegerBatchInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Create a batched generation, where the workflow is executed once for each integer in the batch.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"batch_group_id": {
|
|
"default": "None",
|
|
"description": "The ID of this batch node's group. If provided, all batch nodes in with the same ID will be 'zipped' before execution, and all nodes' collections must be of the same size.",
|
|
"enum": ["None", "Group 1", "Group 2", "Group 3", "Group 4", "Group 5"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "None",
|
|
"orig_required": false,
|
|
"title": "Batch Group",
|
|
"type": "string"
|
|
},
|
|
"integers": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The integers to batch over",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Integers"
|
|
},
|
|
"type": {
|
|
"const": "integer_batch",
|
|
"default": "integer_batch",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "integer", "number", "batch", "special"],
|
|
"title": "Integer Batch",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"IntegerCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of integer primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The collection of integer values",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"const": "integer_collection",
|
|
"default": "integer_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "integer", "collection"],
|
|
"title": "Integer Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
}
|
|
},
|
|
"IntegerCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of integers",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The int collection",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "integer_collection_output",
|
|
"default": "integer_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "IntegerCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"IntegerGenerator": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Generated a range of integers for use in a batched generation",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"generator": {
|
|
"$ref": "#/components/schemas/IntegerGeneratorField",
|
|
"description": "The integer generator.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Generator Type"
|
|
},
|
|
"type": {
|
|
"const": "integer_generator",
|
|
"default": "integer_generator",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["generator", "type", "id"],
|
|
"tags": ["primitives", "int", "number", "batch", "special"],
|
|
"title": "Integer Generator",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerGeneratorOutput"
|
|
}
|
|
},
|
|
"IntegerGeneratorField": {
|
|
"properties": {},
|
|
"title": "IntegerGeneratorField",
|
|
"type": "object"
|
|
},
|
|
"IntegerGeneratorOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"integers": {
|
|
"description": "The generated integers",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"title": "Integers",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "integer_generator_output",
|
|
"default": "integer_generator_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "integers", "type", "type"],
|
|
"title": "IntegerGeneratorOutput",
|
|
"type": "object"
|
|
},
|
|
"IntegerInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "An integer primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"value": {
|
|
"default": 0,
|
|
"description": "The integer value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Value",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "integer",
|
|
"default": "integer",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "integer"],
|
|
"title": "Integer Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"IntegerMathInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Performs integer math.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"operation": {
|
|
"default": "ADD",
|
|
"description": "The operation to perform",
|
|
"enum": ["ADD", "SUB", "MUL", "DIV", "EXP", "MOD", "ABS", "MIN", "MAX"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "ADD",
|
|
"orig_required": false,
|
|
"title": "Operation",
|
|
"type": "string",
|
|
"ui_choice_labels": {
|
|
"ABS": "Absolute Value of A",
|
|
"ADD": "Add A+B",
|
|
"DIV": "Divide A/B",
|
|
"EXP": "Exponentiate A^B",
|
|
"MAX": "Maximum(A,B)",
|
|
"MIN": "Minimum(A,B)",
|
|
"MOD": "Modulus A%B",
|
|
"MUL": "Multiply A*B",
|
|
"SUB": "Subtract A-B"
|
|
}
|
|
},
|
|
"a": {
|
|
"default": 1,
|
|
"description": "The first number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "A",
|
|
"type": "integer"
|
|
},
|
|
"b": {
|
|
"default": 1,
|
|
"description": "The second number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "B",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "integer_math",
|
|
"default": "integer_math",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": [
|
|
"math",
|
|
"integer",
|
|
"add",
|
|
"subtract",
|
|
"multiply",
|
|
"divide",
|
|
"modulus",
|
|
"power",
|
|
"absolute value",
|
|
"min",
|
|
"max"
|
|
],
|
|
"title": "Integer Math",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"IntegerOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single integer",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The output integer",
|
|
"field_kind": "output",
|
|
"title": "Value",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "integer_output",
|
|
"default": "integer_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "value", "type", "type"],
|
|
"title": "IntegerOutput",
|
|
"type": "object"
|
|
},
|
|
"InvertTensorMaskInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Inverts a tensor mask.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The tensor mask to convert.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "invert_tensor_mask",
|
|
"default": "invert_tensor_mask",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["conditioning"],
|
|
"title": "Invert Tensor Mask",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
}
|
|
},
|
|
"InvocationCacheStatus": {
|
|
"properties": {
|
|
"size": {
|
|
"type": "integer",
|
|
"title": "Size",
|
|
"description": "The current size of the invocation cache"
|
|
},
|
|
"hits": {
|
|
"type": "integer",
|
|
"title": "Hits",
|
|
"description": "The number of cache hits"
|
|
},
|
|
"misses": {
|
|
"type": "integer",
|
|
"title": "Misses",
|
|
"description": "The number of cache misses"
|
|
},
|
|
"enabled": {
|
|
"type": "boolean",
|
|
"title": "Enabled",
|
|
"description": "Whether the invocation cache is enabled"
|
|
},
|
|
"max_size": {
|
|
"type": "integer",
|
|
"title": "Max Size",
|
|
"description": "The maximum size of the invocation cache"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["size", "hits", "misses", "enabled", "max_size"],
|
|
"title": "InvocationCacheStatus"
|
|
},
|
|
"InvocationCompleteEvent": {
|
|
"description": "Event model for invocation_complete",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"item_id": {
|
|
"description": "The ID of the queue item",
|
|
"title": "Item Id",
|
|
"type": "integer"
|
|
},
|
|
"batch_id": {
|
|
"description": "The ID of the queue batch",
|
|
"title": "Batch Id",
|
|
"type": "string"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The origin of the queue item",
|
|
"title": "Origin"
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The destination of the queue item",
|
|
"title": "Destination"
|
|
},
|
|
"session_id": {
|
|
"description": "The ID of the session (aka graph execution state)",
|
|
"title": "Session Id",
|
|
"type": "string"
|
|
},
|
|
"invocation": {
|
|
"description": "The ID of the invocation",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AddInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/AlphaMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlankImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlendLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CV2InfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesEvenSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesMinimumOverlapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CannyEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasPasteBackInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasV2MaskAndCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CenterPadCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCorrectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CompelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ContentShuffleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CoreMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateDenoiseMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateGradientMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropImageToBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropLatentsCoreInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CvInpaintInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DWOpenposeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DepthAnythingDepthEstimationInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DivideInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DynamicPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ESRGANInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ExpandMaskWithFadeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatLinearRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxIPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConcatenateImagesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxTextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeDecodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeEncodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FreeUInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GetMaskBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GroundingDinoInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HEDEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HeuristicResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelOffsetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageConvertInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageHueAdjustmentInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInverseLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNSFWBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelLayoutInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePasteInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageScaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageWatermarkInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillPatchMatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillTileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvertTensorMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeAdjustImageHuePlusInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeEquivalentAchromaticLightnessInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageBlendInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageCompositorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageDilateOrErodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageEnhanceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageValueThresholdsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LaMaInfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartAnimeEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevisionVllmInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MLSDDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MainModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskCombineInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskEdgeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromAlphaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromIDInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MediaPipeFaceDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeTilesToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFieldExtractorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFromImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemLinkedInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToControlnetsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIPAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToT2IAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToVAEInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NormalMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PasteImageIntoBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PiDiNetEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PromptsFromFileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomIntInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeOfSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RectangleMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ResizeLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RoundInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SaveImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ScaleLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SegmentAnythingInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ShowImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageAutoscaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinThreeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringReplaceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitNegInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SubtractInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TiledMultiDiffusionDenoiseLatents"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UnsharpMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAELoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageTextEncoderInvocation"
|
|
}
|
|
],
|
|
"title": "Invocation"
|
|
},
|
|
"invocation_source_id": {
|
|
"description": "The ID of the prepared invocation's source node",
|
|
"title": "Invocation Source Id",
|
|
"type": "string"
|
|
},
|
|
"result": {
|
|
"description": "The result of the invocation",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocationOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocationOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GradientMaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelCoordinateOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocationOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsMetaOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MDControlListOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MDIPAdapterListOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MDT2IAdapterListOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/String2Output"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGeneratorOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringPosNegOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UNetOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAEOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageConditioningOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderOutput"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderOutput"
|
|
}
|
|
],
|
|
"title": "Result"
|
|
}
|
|
},
|
|
"required": [
|
|
"timestamp",
|
|
"queue_id",
|
|
"item_id",
|
|
"batch_id",
|
|
"origin",
|
|
"destination",
|
|
"session_id",
|
|
"invocation",
|
|
"invocation_source_id",
|
|
"result"
|
|
],
|
|
"title": "InvocationCompleteEvent",
|
|
"type": "object"
|
|
},
|
|
"InvocationErrorEvent": {
|
|
"description": "Event model for invocation_error",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"item_id": {
|
|
"description": "The ID of the queue item",
|
|
"title": "Item Id",
|
|
"type": "integer"
|
|
},
|
|
"batch_id": {
|
|
"description": "The ID of the queue batch",
|
|
"title": "Batch Id",
|
|
"type": "string"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The origin of the queue item",
|
|
"title": "Origin"
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The destination of the queue item",
|
|
"title": "Destination"
|
|
},
|
|
"session_id": {
|
|
"description": "The ID of the session (aka graph execution state)",
|
|
"title": "Session Id",
|
|
"type": "string"
|
|
},
|
|
"invocation": {
|
|
"description": "The ID of the invocation",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AddInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/AlphaMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlankImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlendLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CV2InfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesEvenSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesMinimumOverlapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CannyEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasPasteBackInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasV2MaskAndCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CenterPadCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCorrectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CompelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ContentShuffleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CoreMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateDenoiseMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateGradientMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropImageToBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropLatentsCoreInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CvInpaintInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DWOpenposeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DepthAnythingDepthEstimationInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DivideInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DynamicPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ESRGANInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ExpandMaskWithFadeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatLinearRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxIPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConcatenateImagesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxTextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeDecodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeEncodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FreeUInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GetMaskBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GroundingDinoInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HEDEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HeuristicResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelOffsetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageConvertInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageHueAdjustmentInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInverseLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNSFWBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelLayoutInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePasteInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageScaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageWatermarkInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillPatchMatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillTileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvertTensorMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeAdjustImageHuePlusInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeEquivalentAchromaticLightnessInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageBlendInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageCompositorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageDilateOrErodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageEnhanceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageValueThresholdsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LaMaInfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartAnimeEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevisionVllmInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MLSDDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MainModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskCombineInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskEdgeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromAlphaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromIDInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MediaPipeFaceDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeTilesToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFieldExtractorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFromImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemLinkedInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToControlnetsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIPAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToT2IAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToVAEInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NormalMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PasteImageIntoBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PiDiNetEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PromptsFromFileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomIntInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeOfSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RectangleMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ResizeLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RoundInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SaveImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ScaleLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SegmentAnythingInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ShowImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageAutoscaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinThreeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringReplaceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitNegInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SubtractInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TiledMultiDiffusionDenoiseLatents"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UnsharpMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAELoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageTextEncoderInvocation"
|
|
}
|
|
],
|
|
"title": "Invocation"
|
|
},
|
|
"invocation_source_id": {
|
|
"description": "The ID of the prepared invocation's source node",
|
|
"title": "Invocation Source Id",
|
|
"type": "string"
|
|
},
|
|
"error_type": {
|
|
"description": "The error type",
|
|
"title": "Error Type",
|
|
"type": "string"
|
|
},
|
|
"error_message": {
|
|
"description": "The error message",
|
|
"title": "Error Message",
|
|
"type": "string"
|
|
},
|
|
"error_traceback": {
|
|
"description": "The error traceback",
|
|
"title": "Error Traceback",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"timestamp",
|
|
"queue_id",
|
|
"item_id",
|
|
"batch_id",
|
|
"origin",
|
|
"destination",
|
|
"session_id",
|
|
"invocation",
|
|
"invocation_source_id",
|
|
"error_type",
|
|
"error_message",
|
|
"error_traceback"
|
|
],
|
|
"title": "InvocationErrorEvent",
|
|
"type": "object"
|
|
},
|
|
"InvocationOutputMap": {
|
|
"type": "object",
|
|
"properties": {
|
|
"add": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"alpha_mask_to_tensor": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
"apply_mask_to_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"apply_tensor_mask_to_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"blank_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"boolean": {
|
|
"$ref": "#/components/schemas/BooleanOutput"
|
|
},
|
|
"boolean_collection": {
|
|
"$ref": "#/components/schemas/BooleanCollectionOutput"
|
|
},
|
|
"bounding_box": {
|
|
"$ref": "#/components/schemas/BoundingBoxOutput"
|
|
},
|
|
"calculate_image_tiles": {
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
},
|
|
"calculate_image_tiles_even_split": {
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
},
|
|
"calculate_image_tiles_min_overlap": {
|
|
"$ref": "#/components/schemas/CalculateImageTilesOutput"
|
|
},
|
|
"canny_edge_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"canvas_paste_back": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"canvas_v2_mask_and_crop": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"clip_skip": {
|
|
"$ref": "#/components/schemas/CLIPSkipInvocationOutput"
|
|
},
|
|
"cogview4_denoise": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"cogview4_i2l": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"cogview4_l2i": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"cogview4_model_loader": {
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderOutput"
|
|
},
|
|
"cogview4_text_encoder": {
|
|
"$ref": "#/components/schemas/CogView4ConditioningOutput"
|
|
},
|
|
"collect": {
|
|
"$ref": "#/components/schemas/CollectInvocationOutput"
|
|
},
|
|
"color": {
|
|
"$ref": "#/components/schemas/ColorOutput"
|
|
},
|
|
"color_correct": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"color_map": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"compel": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
},
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
},
|
|
"conditioning_collection": {
|
|
"$ref": "#/components/schemas/ConditioningCollectionOutput"
|
|
},
|
|
"content_shuffle": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"controlnet": {
|
|
"$ref": "#/components/schemas/ControlOutput"
|
|
},
|
|
"core_metadata": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
"create_denoise_mask": {
|
|
"$ref": "#/components/schemas/DenoiseMaskOutput"
|
|
},
|
|
"create_gradient_mask": {
|
|
"$ref": "#/components/schemas/GradientMaskOutput"
|
|
},
|
|
"crop_image_to_bounding_box": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"crop_latents": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"cv_inpaint": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"denoise_latents": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"denoise_latents_meta": {
|
|
"$ref": "#/components/schemas/LatentsMetaOutput"
|
|
},
|
|
"depth_anything_depth_estimation": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"div": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"dw_openpose_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"dynamic_prompt": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
},
|
|
"esrgan": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"expand_mask_with_fade": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"face_identifier": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"face_mask_detection": {
|
|
"$ref": "#/components/schemas/FaceMaskOutput"
|
|
},
|
|
"face_off": {
|
|
"$ref": "#/components/schemas/FaceOffOutput"
|
|
},
|
|
"float": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
"float_batch": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
"float_collection": {
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
},
|
|
"float_generator": {
|
|
"$ref": "#/components/schemas/FloatGeneratorOutput"
|
|
},
|
|
"float_math": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
"float_range": {
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
},
|
|
"float_to_int": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"flux_control_lora_loader": {
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderOutput"
|
|
},
|
|
"flux_controlnet": {
|
|
"$ref": "#/components/schemas/FluxControlNetOutput"
|
|
},
|
|
"flux_denoise": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"flux_denoise_meta": {
|
|
"$ref": "#/components/schemas/LatentsMetaOutput"
|
|
},
|
|
"flux_fill": {
|
|
"$ref": "#/components/schemas/FluxFillOutput"
|
|
},
|
|
"flux_ip_adapter": {
|
|
"$ref": "#/components/schemas/IPAdapterOutput"
|
|
},
|
|
"flux_kontext": {
|
|
"$ref": "#/components/schemas/FluxKontextOutput"
|
|
},
|
|
"flux_kontext_image_prep": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"flux_lora_collection_loader": {
|
|
"$ref": "#/components/schemas/FluxLoRALoaderOutput"
|
|
},
|
|
"flux_lora_loader": {
|
|
"$ref": "#/components/schemas/FluxLoRALoaderOutput"
|
|
},
|
|
"flux_model_loader": {
|
|
"$ref": "#/components/schemas/FluxModelLoaderOutput"
|
|
},
|
|
"flux_redux": {
|
|
"$ref": "#/components/schemas/FluxReduxOutput"
|
|
},
|
|
"flux_text_encoder": {
|
|
"$ref": "#/components/schemas/FluxConditioningOutput"
|
|
},
|
|
"flux_vae_decode": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"flux_vae_encode": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"freeu": {
|
|
"$ref": "#/components/schemas/UNetOutput"
|
|
},
|
|
"get_image_mask_bounding_box": {
|
|
"$ref": "#/components/schemas/BoundingBoxOutput"
|
|
},
|
|
"grounding_dino": {
|
|
"$ref": "#/components/schemas/BoundingBoxCollectionOutput"
|
|
},
|
|
"hed_edge_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"heuristic_resize": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"i2l": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"ideal_size": {
|
|
"$ref": "#/components/schemas/IdealSizeOutput"
|
|
},
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"image_batch": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"image_collection": {
|
|
"$ref": "#/components/schemas/ImageCollectionOutput"
|
|
},
|
|
"image_generator": {
|
|
"$ref": "#/components/schemas/ImageGeneratorOutput"
|
|
},
|
|
"image_mask_to_tensor": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
"image_panel_layout": {
|
|
"$ref": "#/components/schemas/ImagePanelCoordinateOutput"
|
|
},
|
|
"img_blur": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_chan": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_channel_multiply": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_channel_offset": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_conv": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_crop": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_hue_adjust": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_ilerp": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_lerp": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_mul": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_noise": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_nsfw": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_pad_crop": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_paste": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_resize": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_scale": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"img_watermark": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"infill_cv2": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"infill_lama": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"infill_patchmatch": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"infill_rgba": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"infill_tile": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"integer": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"integer_batch": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"integer_collection": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
"integer_generator": {
|
|
"$ref": "#/components/schemas/IntegerGeneratorOutput"
|
|
},
|
|
"integer_math": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"invert_tensor_mask": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
"invokeai_ealightness": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"invokeai_img_blend": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"invokeai_img_composite": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"invokeai_img_dilate_erode": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"invokeai_img_enhance": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"invokeai_img_hue_adjust_plus": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"invokeai_img_val_thresholds": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"ip_adapter": {
|
|
"$ref": "#/components/schemas/IPAdapterOutput"
|
|
},
|
|
"iterate": {
|
|
"$ref": "#/components/schemas/IterateInvocationOutput"
|
|
},
|
|
"l2i": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"latents": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"latents_collection": {
|
|
"$ref": "#/components/schemas/LatentsCollectionOutput"
|
|
},
|
|
"lblend": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"lineart_anime_edge_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"lineart_edge_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"llava_onevision_vllm": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"lora_collection_loader": {
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
},
|
|
"lora_loader": {
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
},
|
|
"lora_selector": {
|
|
"$ref": "#/components/schemas/LoRASelectorOutput"
|
|
},
|
|
"lresize": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"lscale": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"main_model_loader": {
|
|
"$ref": "#/components/schemas/ModelLoaderOutput"
|
|
},
|
|
"mask_combine": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"mask_edge": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"mask_from_id": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"mediapipe_face_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"merge_metadata": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
"merge_tiles_to_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"metadata": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
"metadata_field_extractor": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"metadata_from_image": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
"metadata_item": {
|
|
"$ref": "#/components/schemas/MetadataItemOutput"
|
|
},
|
|
"metadata_item_linked": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
},
|
|
"metadata_to_bool": {
|
|
"$ref": "#/components/schemas/BooleanOutput"
|
|
},
|
|
"metadata_to_bool_collection": {
|
|
"$ref": "#/components/schemas/BooleanCollectionOutput"
|
|
},
|
|
"metadata_to_controlnets": {
|
|
"$ref": "#/components/schemas/MDControlListOutput"
|
|
},
|
|
"metadata_to_float": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
"metadata_to_float_collection": {
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
},
|
|
"metadata_to_integer": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"metadata_to_integer_collection": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
"metadata_to_ip_adapters": {
|
|
"$ref": "#/components/schemas/MDIPAdapterListOutput"
|
|
},
|
|
"metadata_to_lora_collection": {
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionOutput"
|
|
},
|
|
"metadata_to_loras": {
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
},
|
|
"metadata_to_model": {
|
|
"$ref": "#/components/schemas/MetadataToModelOutput"
|
|
},
|
|
"metadata_to_scheduler": {
|
|
"$ref": "#/components/schemas/SchedulerOutput"
|
|
},
|
|
"metadata_to_sdlx_loras": {
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
},
|
|
"metadata_to_sdxl_model": {
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelOutput"
|
|
},
|
|
"metadata_to_string": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"metadata_to_string_collection": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
},
|
|
"metadata_to_t2i_adapters": {
|
|
"$ref": "#/components/schemas/MDT2IAdapterListOutput"
|
|
},
|
|
"metadata_to_vae": {
|
|
"$ref": "#/components/schemas/VAEOutput"
|
|
},
|
|
"mlsd_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"model_identifier": {
|
|
"$ref": "#/components/schemas/ModelIdentifierOutput"
|
|
},
|
|
"mul": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"noise": {
|
|
"$ref": "#/components/schemas/NoiseOutput"
|
|
},
|
|
"normal_map": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"pair_tile_image": {
|
|
"$ref": "#/components/schemas/PairTileImageOutput"
|
|
},
|
|
"paste_image_into_bounding_box": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"pidi_edge_detection": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"prompt_from_file": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
},
|
|
"rand_float": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
"rand_int": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"random_range": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
"range": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
"range_of_size": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
},
|
|
"rectangle_mask": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
"round_float": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
},
|
|
"save_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"scheduler": {
|
|
"$ref": "#/components/schemas/SchedulerOutput"
|
|
},
|
|
"sd3_denoise": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"sd3_i2l": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"sd3_l2i": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"sd3_model_loader": {
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderOutput"
|
|
},
|
|
"sd3_text_encoder": {
|
|
"$ref": "#/components/schemas/SD3ConditioningOutput"
|
|
},
|
|
"sdxl_compel_prompt": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
},
|
|
"sdxl_lora_collection_loader": {
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
},
|
|
"sdxl_lora_loader": {
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
},
|
|
"sdxl_model_loader": {
|
|
"$ref": "#/components/schemas/SDXLModelLoaderOutput"
|
|
},
|
|
"sdxl_refiner_compel_prompt": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
},
|
|
"sdxl_refiner_model_loader": {
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderOutput"
|
|
},
|
|
"seamless": {
|
|
"$ref": "#/components/schemas/SeamlessModeOutput"
|
|
},
|
|
"segment_anything": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
},
|
|
"show_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"spandrel_image_to_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"spandrel_image_to_image_autoscale": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"string": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"string_batch": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"string_collection": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
},
|
|
"string_generator": {
|
|
"$ref": "#/components/schemas/StringGeneratorOutput"
|
|
},
|
|
"string_join": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"string_join_three": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"string_replace": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
},
|
|
"string_split": {
|
|
"$ref": "#/components/schemas/String2Output"
|
|
},
|
|
"string_split_neg": {
|
|
"$ref": "#/components/schemas/StringPosNegOutput"
|
|
},
|
|
"sub": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
},
|
|
"t2i_adapter": {
|
|
"$ref": "#/components/schemas/T2IAdapterOutput"
|
|
},
|
|
"tensor_mask_to_image": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"tile_to_properties": {
|
|
"$ref": "#/components/schemas/TileToPropertiesOutput"
|
|
},
|
|
"tiled_multi_diffusion_denoise_latents": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"tomask": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"unsharp_mask": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"vae_loader": {
|
|
"$ref": "#/components/schemas/VAEOutput"
|
|
},
|
|
"z_image_denoise": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"z_image_i2l": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
},
|
|
"z_image_l2i": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
},
|
|
"z_image_lora_collection_loader": {
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderOutput"
|
|
},
|
|
"z_image_lora_loader": {
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderOutput"
|
|
},
|
|
"z_image_model_loader": {
|
|
"$ref": "#/components/schemas/ZImageModelLoaderOutput"
|
|
},
|
|
"z_image_text_encoder": {
|
|
"$ref": "#/components/schemas/ZImageConditioningOutput"
|
|
}
|
|
},
|
|
"required": [
|
|
"rand_int",
|
|
"metadata_to_bool_collection",
|
|
"z_image_i2l",
|
|
"lora_loader",
|
|
"img_lerp",
|
|
"lblend",
|
|
"blank_image",
|
|
"integer_collection",
|
|
"z_image_denoise",
|
|
"create_denoise_mask",
|
|
"denoise_latents_meta",
|
|
"img_channel_multiply",
|
|
"sdxl_refiner_compel_prompt",
|
|
"show_image",
|
|
"float_to_int",
|
|
"img_hue_adjust",
|
|
"sdxl_compel_prompt",
|
|
"get_image_mask_bounding_box",
|
|
"metadata_to_lora_collection",
|
|
"denoise_latents",
|
|
"img_channel_offset",
|
|
"string_generator",
|
|
"img_conv",
|
|
"range_of_size",
|
|
"cogview4_denoise",
|
|
"float",
|
|
"metadata_to_integer",
|
|
"t2i_adapter",
|
|
"invokeai_ealightness",
|
|
"float_batch",
|
|
"metadata_item",
|
|
"img_ilerp",
|
|
"face_mask_detection",
|
|
"tile_to_properties",
|
|
"conditioning",
|
|
"freeu",
|
|
"flux_kontext",
|
|
"mlsd_detection",
|
|
"sdxl_lora_collection_loader",
|
|
"invokeai_img_blend",
|
|
"img_blur",
|
|
"ideal_size",
|
|
"range",
|
|
"metadata_to_t2i_adapters",
|
|
"l2i",
|
|
"metadata_to_vae",
|
|
"lora_collection_loader",
|
|
"canvas_paste_back",
|
|
"img_paste",
|
|
"lresize",
|
|
"random_range",
|
|
"metadata_to_integer_collection",
|
|
"tensor_mask_to_image",
|
|
"alpha_mask_to_tensor",
|
|
"invokeai_img_hue_adjust_plus",
|
|
"string_split_neg",
|
|
"flux_fill",
|
|
"sd3_denoise",
|
|
"flux_controlnet",
|
|
"invokeai_img_dilate_erode",
|
|
"canvas_v2_mask_and_crop",
|
|
"lineart_edge_detection",
|
|
"merge_metadata",
|
|
"string_batch",
|
|
"mask_combine",
|
|
"color",
|
|
"float_range",
|
|
"crop_latents",
|
|
"spandrel_image_to_image",
|
|
"metadata_to_float",
|
|
"mul",
|
|
"infill_tile",
|
|
"cv_inpaint",
|
|
"calculate_image_tiles",
|
|
"img_nsfw",
|
|
"image_generator",
|
|
"flux_lora_collection_loader",
|
|
"string_join",
|
|
"seamless",
|
|
"sd3_i2l",
|
|
"flux_control_lora_loader",
|
|
"paste_image_into_bounding_box",
|
|
"clip_skip",
|
|
"conditioning_collection",
|
|
"flux_ip_adapter",
|
|
"metadata_to_ip_adapters",
|
|
"esrgan",
|
|
"invokeai_img_val_thresholds",
|
|
"face_identifier",
|
|
"metadata",
|
|
"cogview4_model_loader",
|
|
"sub",
|
|
"metadata_to_controlnets",
|
|
"z_image_text_encoder",
|
|
"string_join_three",
|
|
"unsharp_mask",
|
|
"grounding_dino",
|
|
"metadata_to_bool",
|
|
"apply_tensor_mask_to_image",
|
|
"flux_denoise_meta",
|
|
"iterate",
|
|
"image_batch",
|
|
"metadata_from_image",
|
|
"integer_math",
|
|
"metadata_to_string_collection",
|
|
"expand_mask_with_fade",
|
|
"integer_generator",
|
|
"sd3_l2i",
|
|
"boolean_collection",
|
|
"round_float",
|
|
"infill_rgba",
|
|
"z_image_l2i",
|
|
"vae_loader",
|
|
"controlnet",
|
|
"tiled_multi_diffusion_denoise_latents",
|
|
"string_split",
|
|
"cogview4_i2l",
|
|
"image_mask_to_tensor",
|
|
"heuristic_resize",
|
|
"img_watermark",
|
|
"scheduler",
|
|
"img_crop",
|
|
"sdxl_refiner_model_loader",
|
|
"segment_anything",
|
|
"color_map",
|
|
"boolean",
|
|
"hed_edge_detection",
|
|
"rectangle_mask",
|
|
"infill_lama",
|
|
"main_model_loader",
|
|
"save_image",
|
|
"calculate_image_tiles_even_split",
|
|
"image",
|
|
"flux_redux",
|
|
"noise",
|
|
"llava_onevision_vllm",
|
|
"invokeai_img_enhance",
|
|
"model_identifier",
|
|
"img_resize",
|
|
"integer_batch",
|
|
"img_noise",
|
|
"cogview4_text_encoder",
|
|
"latents_collection",
|
|
"metadata_to_loras",
|
|
"dynamic_prompt",
|
|
"metadata_item_linked",
|
|
"z_image_lora_loader",
|
|
"merge_tiles_to_image",
|
|
"img_chan",
|
|
"float_generator",
|
|
"compel",
|
|
"string",
|
|
"add",
|
|
"canny_edge_detection",
|
|
"string_collection",
|
|
"flux_denoise",
|
|
"sd3_text_encoder",
|
|
"metadata_to_scheduler",
|
|
"mask_edge",
|
|
"img_scale",
|
|
"flux_vae_decode",
|
|
"latents",
|
|
"flux_lora_loader",
|
|
"float_math",
|
|
"div",
|
|
"pidi_edge_detection",
|
|
"image_panel_layout",
|
|
"lscale",
|
|
"infill_patchmatch",
|
|
"face_off",
|
|
"sdxl_lora_loader",
|
|
"i2l",
|
|
"crop_image_to_bounding_box",
|
|
"core_metadata",
|
|
"calculate_image_tiles_min_overlap",
|
|
"image_collection",
|
|
"metadata_to_model",
|
|
"infill_cv2",
|
|
"z_image_lora_collection_loader",
|
|
"mask_from_id",
|
|
"tomask",
|
|
"cogview4_l2i",
|
|
"metadata_to_sdlx_loras",
|
|
"integer",
|
|
"normal_map",
|
|
"lineart_anime_edge_detection",
|
|
"content_shuffle",
|
|
"string_replace",
|
|
"img_mul",
|
|
"flux_text_encoder",
|
|
"sdxl_model_loader",
|
|
"prompt_from_file",
|
|
"invert_tensor_mask",
|
|
"rand_float",
|
|
"flux_vae_encode",
|
|
"ip_adapter",
|
|
"lora_selector",
|
|
"spandrel_image_to_image_autoscale",
|
|
"sd3_model_loader",
|
|
"bounding_box",
|
|
"metadata_to_string",
|
|
"dw_openpose_detection",
|
|
"collect",
|
|
"create_gradient_mask",
|
|
"flux_kontext_image_prep",
|
|
"apply_mask_to_image",
|
|
"pair_tile_image",
|
|
"z_image_model_loader",
|
|
"flux_model_loader",
|
|
"metadata_to_sdxl_model",
|
|
"metadata_to_float_collection",
|
|
"color_correct",
|
|
"metadata_field_extractor",
|
|
"float_collection",
|
|
"mediapipe_face_detection",
|
|
"depth_anything_depth_estimation",
|
|
"invokeai_img_composite",
|
|
"img_pad_crop"
|
|
]
|
|
},
|
|
"InvocationProgressEvent": {
|
|
"description": "Event model for invocation_progress",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"item_id": {
|
|
"description": "The ID of the queue item",
|
|
"title": "Item Id",
|
|
"type": "integer"
|
|
},
|
|
"batch_id": {
|
|
"description": "The ID of the queue batch",
|
|
"title": "Batch Id",
|
|
"type": "string"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The origin of the queue item",
|
|
"title": "Origin"
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The destination of the queue item",
|
|
"title": "Destination"
|
|
},
|
|
"session_id": {
|
|
"description": "The ID of the session (aka graph execution state)",
|
|
"title": "Session Id",
|
|
"type": "string"
|
|
},
|
|
"invocation": {
|
|
"description": "The ID of the invocation",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AddInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/AlphaMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlankImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlendLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CV2InfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesEvenSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesMinimumOverlapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CannyEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasPasteBackInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasV2MaskAndCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CenterPadCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCorrectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CompelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ContentShuffleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CoreMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateDenoiseMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateGradientMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropImageToBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropLatentsCoreInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CvInpaintInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DWOpenposeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DepthAnythingDepthEstimationInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DivideInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DynamicPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ESRGANInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ExpandMaskWithFadeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatLinearRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxIPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConcatenateImagesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxTextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeDecodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeEncodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FreeUInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GetMaskBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GroundingDinoInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HEDEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HeuristicResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelOffsetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageConvertInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageHueAdjustmentInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInverseLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNSFWBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelLayoutInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePasteInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageScaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageWatermarkInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillPatchMatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillTileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvertTensorMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeAdjustImageHuePlusInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeEquivalentAchromaticLightnessInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageBlendInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageCompositorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageDilateOrErodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageEnhanceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageValueThresholdsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LaMaInfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartAnimeEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevisionVllmInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MLSDDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MainModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskCombineInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskEdgeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromAlphaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromIDInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MediaPipeFaceDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeTilesToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFieldExtractorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFromImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemLinkedInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToControlnetsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIPAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToT2IAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToVAEInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NormalMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PasteImageIntoBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PiDiNetEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PromptsFromFileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomIntInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeOfSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RectangleMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ResizeLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RoundInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SaveImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ScaleLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SegmentAnythingInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ShowImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageAutoscaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinThreeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringReplaceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitNegInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SubtractInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TiledMultiDiffusionDenoiseLatents"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UnsharpMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAELoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageTextEncoderInvocation"
|
|
}
|
|
],
|
|
"title": "Invocation"
|
|
},
|
|
"invocation_source_id": {
|
|
"description": "The ID of the prepared invocation's source node",
|
|
"title": "Invocation Source Id",
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"description": "A message to display",
|
|
"title": "Message",
|
|
"type": "string"
|
|
},
|
|
"percentage": {
|
|
"anyOf": [
|
|
{
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The percentage of the progress (omit to indicate indeterminate progress)",
|
|
"title": "Percentage"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ProgressImage"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "An image representing the current state of the progress"
|
|
}
|
|
},
|
|
"required": [
|
|
"timestamp",
|
|
"queue_id",
|
|
"item_id",
|
|
"batch_id",
|
|
"origin",
|
|
"destination",
|
|
"session_id",
|
|
"invocation",
|
|
"invocation_source_id",
|
|
"message",
|
|
"percentage",
|
|
"image"
|
|
],
|
|
"title": "InvocationProgressEvent",
|
|
"type": "object"
|
|
},
|
|
"InvocationStartedEvent": {
|
|
"description": "Event model for invocation_started",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"item_id": {
|
|
"description": "The ID of the queue item",
|
|
"title": "Item Id",
|
|
"type": "integer"
|
|
},
|
|
"batch_id": {
|
|
"description": "The ID of the queue batch",
|
|
"title": "Batch Id",
|
|
"type": "string"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The origin of the queue item",
|
|
"title": "Origin"
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The destination of the queue item",
|
|
"title": "Destination"
|
|
},
|
|
"session_id": {
|
|
"description": "The ID of the session (aka graph execution state)",
|
|
"title": "Session Id",
|
|
"type": "string"
|
|
},
|
|
"invocation": {
|
|
"description": "The ID of the invocation",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/AddInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/AlphaMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ApplyMaskToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlankImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BlendLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BooleanInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPSkipInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CV2InfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesEvenSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CalculateImageTilesMinimumOverlapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CannyEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasPasteBackInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CanvasV2MaskAndCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CenterPadCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CogView4TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CollectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorCorrectInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ColorMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CompelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ContentShuffleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CoreMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateDenoiseMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CreateGradientMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropImageToBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CropLatentsCoreInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CvInpaintInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DWOpenposeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DepthAnythingDepthEstimationInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DivideInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/DynamicPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ESRGANInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ExpandMaskWithFadeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FaceOffInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatLinearRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FloatToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxControlNetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxDenoiseLatentsMetaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxFillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxIPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextConcatenateImagesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxKontextInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxReduxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxTextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeDecodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVaeEncodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FreeUInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GetMaskBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/GroundingDinoInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HEDEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HeuristicResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IdealSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageChannelOffsetInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageConvertInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageCropInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageHueAdjustmentInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInverseLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageLerpInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMaskToTensorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageMultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNSFWBlurInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageNoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePanelLayoutInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImagePasteInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageResizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageScaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageWatermarkInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillColorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillPatchMatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InfillTileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IntegerMathInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvertTensorMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeAdjustImageHuePlusInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeEquivalentAchromaticLightnessInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageBlendInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageCompositorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageDilateOrErodeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageEnhanceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/InvokeImageValueThresholdsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IterateInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LaMaInfillInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartAnimeEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LineartEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevisionVllmInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRASelectorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MLSDDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MainModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskCombineInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskEdgeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromAlphaInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskFromIDInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MaskTensorToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MediaPipeFaceDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeMetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MergeTilesToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFieldExtractorInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataFromImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemLinkedInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToBoolInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToControlnetsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIPAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToIntegerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLLorasInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToSchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToStringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToT2IAdaptersInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataToVAEInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MultiplyInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/NormalMapInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PairTileImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PasteImageIntoBoundingBoxInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PiDiNetEdgeDetectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/PromptsFromFileInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomFloatInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomIntInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RandomRangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RangeOfSizeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RectangleMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ResizeLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RoundInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3DenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3ImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SD3LatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerCompelPromptInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SaveImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ScaleLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Sd3TextEncoderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SeamlessModeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SegmentAnythingInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ShowImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageAutoscaleInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SpandrelImageToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringBatchInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringCollectionInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringGenerator"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringJoinThreeInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringReplaceInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/StringSplitNegInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SubtractInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TileToPropertiesInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TiledMultiDiffusionDenoiseLatents"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UnsharpMaskInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAELoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageDenoiseInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageImageToLatentsInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLatentsToImageInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRACollectionLoader"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageModelLoaderInvocation"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ZImageTextEncoderInvocation"
|
|
}
|
|
],
|
|
"title": "Invocation"
|
|
},
|
|
"invocation_source_id": {
|
|
"description": "The ID of the prepared invocation's source node",
|
|
"title": "Invocation Source Id",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"timestamp",
|
|
"queue_id",
|
|
"item_id",
|
|
"batch_id",
|
|
"origin",
|
|
"destination",
|
|
"session_id",
|
|
"invocation",
|
|
"invocation_source_id"
|
|
],
|
|
"title": "InvocationStartedEvent",
|
|
"type": "object"
|
|
},
|
|
"InvokeAIAppConfig": {
|
|
"properties": {
|
|
"schema_version": {
|
|
"type": "string",
|
|
"title": "Schema Version",
|
|
"description": "Schema version of the config file. This is not a user-configurable setting.",
|
|
"default": "4.0.2"
|
|
},
|
|
"legacy_models_yaml_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "path"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Legacy Models Yaml Path",
|
|
"description": "Path to the legacy models.yaml file. This is not a user-configurable setting."
|
|
},
|
|
"host": {
|
|
"type": "string",
|
|
"title": "Host",
|
|
"description": "IP address to bind to. Use `0.0.0.0` to serve to your local network.",
|
|
"default": "127.0.0.1"
|
|
},
|
|
"port": {
|
|
"type": "integer",
|
|
"title": "Port",
|
|
"description": "Port to bind to.",
|
|
"default": 9090
|
|
},
|
|
"allow_origins": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Allow Origins",
|
|
"description": "Allowed CORS origins.",
|
|
"default": []
|
|
},
|
|
"allow_credentials": {
|
|
"type": "boolean",
|
|
"title": "Allow Credentials",
|
|
"description": "Allow CORS credentials.",
|
|
"default": true
|
|
},
|
|
"allow_methods": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Allow Methods",
|
|
"description": "Methods allowed for CORS.",
|
|
"default": ["*"]
|
|
},
|
|
"allow_headers": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Allow Headers",
|
|
"description": "Headers allowed for CORS.",
|
|
"default": ["*"]
|
|
},
|
|
"ssl_certfile": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "path"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Ssl Certfile",
|
|
"description": "SSL certificate file for HTTPS. See https://www.uvicorn.org/settings/#https."
|
|
},
|
|
"ssl_keyfile": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "path"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Ssl Keyfile",
|
|
"description": "SSL key file for HTTPS. See https://www.uvicorn.org/settings/#https."
|
|
},
|
|
"log_tokenization": {
|
|
"type": "boolean",
|
|
"title": "Log Tokenization",
|
|
"description": "Enable logging of parsed prompt tokens.",
|
|
"default": false
|
|
},
|
|
"patchmatch": {
|
|
"type": "boolean",
|
|
"title": "Patchmatch",
|
|
"description": "Enable patchmatch inpaint code.",
|
|
"default": true
|
|
},
|
|
"models_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Models Dir",
|
|
"description": "Path to the models directory.",
|
|
"default": "models"
|
|
},
|
|
"convert_cache_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Convert Cache Dir",
|
|
"description": "Path to the converted models cache directory (DEPRECATED, but do not delete because it is needed for migration from previous versions).",
|
|
"default": "models\\.convert_cache"
|
|
},
|
|
"download_cache_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Download Cache Dir",
|
|
"description": "Path to the directory that contains dynamically downloaded models.",
|
|
"default": "models\\.download_cache"
|
|
},
|
|
"legacy_conf_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Legacy Conf Dir",
|
|
"description": "Path to directory of legacy checkpoint config files.",
|
|
"default": "configs"
|
|
},
|
|
"db_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Db Dir",
|
|
"description": "Path to InvokeAI databases directory.",
|
|
"default": "databases"
|
|
},
|
|
"outputs_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Outputs Dir",
|
|
"description": "Path to directory for outputs.",
|
|
"default": "outputs"
|
|
},
|
|
"custom_nodes_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Custom Nodes Dir",
|
|
"description": "Path to directory for custom nodes.",
|
|
"default": "nodes"
|
|
},
|
|
"style_presets_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Style Presets Dir",
|
|
"description": "Path to directory for style presets.",
|
|
"default": "style_presets"
|
|
},
|
|
"workflow_thumbnails_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Workflow Thumbnails Dir",
|
|
"description": "Path to directory for workflow thumbnails.",
|
|
"default": "workflow_thumbnails"
|
|
},
|
|
"log_handlers": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Log Handlers",
|
|
"description": "Log handler. Valid options are \"console\", \"file=<path>\", \"syslog=path|address:host:port\", \"http=<url>\".",
|
|
"default": ["console"]
|
|
},
|
|
"log_format": {
|
|
"type": "string",
|
|
"enum": ["plain", "color", "syslog", "legacy"],
|
|
"title": "Log Format",
|
|
"description": "Log format. Use \"plain\" for text-only, \"color\" for colorized output, \"legacy\" for 2.3-style logging and \"syslog\" for syslog-style.",
|
|
"default": "color"
|
|
},
|
|
"log_level": {
|
|
"type": "string",
|
|
"enum": ["debug", "info", "warning", "error", "critical"],
|
|
"title": "Log Level",
|
|
"description": "Emit logging messages at this level or higher.",
|
|
"default": "info"
|
|
},
|
|
"log_sql": {
|
|
"type": "boolean",
|
|
"title": "Log Sql",
|
|
"description": "Log SQL queries. `log_level` must be `debug` for this to do anything. Extremely verbose.",
|
|
"default": false
|
|
},
|
|
"log_level_network": {
|
|
"type": "string",
|
|
"enum": ["debug", "info", "warning", "error", "critical"],
|
|
"title": "Log Level Network",
|
|
"description": "Log level for network-related messages. 'info' and 'debug' are very verbose.",
|
|
"default": "warning"
|
|
},
|
|
"use_memory_db": {
|
|
"type": "boolean",
|
|
"title": "Use Memory Db",
|
|
"description": "Use in-memory database. Useful for development.",
|
|
"default": false
|
|
},
|
|
"dev_reload": {
|
|
"type": "boolean",
|
|
"title": "Dev Reload",
|
|
"description": "Automatically reload when Python sources are changed. Does not reload node definitions.",
|
|
"default": false
|
|
},
|
|
"profile_graphs": {
|
|
"type": "boolean",
|
|
"title": "Profile Graphs",
|
|
"description": "Enable graph profiling using `cProfile`.",
|
|
"default": false
|
|
},
|
|
"profile_prefix": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Profile Prefix",
|
|
"description": "An optional prefix for profile output files."
|
|
},
|
|
"profiles_dir": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Profiles Dir",
|
|
"description": "Path to profiles output directory.",
|
|
"default": "profiles"
|
|
},
|
|
"max_cache_ram_gb": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"exclusiveMinimum": 0.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Cache Ram Gb",
|
|
"description": "The maximum amount of CPU RAM to use for model caching in GB. If unset, the limit will be configured based on the available RAM. In most cases, it is recommended to leave this unset."
|
|
},
|
|
"max_cache_vram_gb": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"minimum": 0.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Max Cache Vram Gb",
|
|
"description": "The amount of VRAM to use for model caching in GB. If unset, the limit will be configured based on the available VRAM and the device_working_mem_gb. In most cases, it is recommended to leave this unset."
|
|
},
|
|
"log_memory_usage": {
|
|
"type": "boolean",
|
|
"title": "Log Memory Usage",
|
|
"description": "If True, a memory snapshot will be captured before and after every model cache operation, and the result will be logged (at debug level). There is a time cost to capturing the memory snapshots, so it is recommended to only enable this feature if you are actively inspecting the model cache's behaviour.",
|
|
"default": false
|
|
},
|
|
"device_working_mem_gb": {
|
|
"type": "number",
|
|
"title": "Device Working Mem Gb",
|
|
"description": "The amount of working memory to keep available on the compute device (in GB). Has no effect if running on CPU. If you are experiencing OOM errors, try increasing this value.",
|
|
"default": 3
|
|
},
|
|
"enable_partial_loading": {
|
|
"type": "boolean",
|
|
"title": "Enable Partial Loading",
|
|
"description": "Enable partial loading of models. This enables models to run with reduced VRAM requirements (at the cost of slower speed) by streaming the model from RAM to VRAM as its used. In some edge cases, partial loading can cause models to run more slowly if they were previously being fully loaded into VRAM.",
|
|
"default": false
|
|
},
|
|
"keep_ram_copy_of_weights": {
|
|
"type": "boolean",
|
|
"title": "Keep Ram Copy Of Weights",
|
|
"description": "Whether to keep a full RAM copy of a model's weights when the model is loaded in VRAM. Keeping a RAM copy increases average RAM usage, but speeds up model switching and LoRA patching (assuming there is sufficient RAM). Set this to False if RAM pressure is consistently high.",
|
|
"default": true
|
|
},
|
|
"ram": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"exclusiveMinimum": 0.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Ram",
|
|
"description": "DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_ram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable."
|
|
},
|
|
"vram": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"minimum": 0.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Vram",
|
|
"description": "DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_vram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable."
|
|
},
|
|
"lazy_offload": {
|
|
"type": "boolean",
|
|
"title": "Lazy Offload",
|
|
"description": "DEPRECATED: This setting is no longer used. Lazy-offloading is enabled by default. This config setting will be removed once the new model cache behavior is stable.",
|
|
"default": true
|
|
},
|
|
"pytorch_cuda_alloc_conf": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Pytorch Cuda Alloc Conf",
|
|
"description": "Configure the Torch CUDA memory allocator. This will impact peak reserved VRAM usage and performance. Setting to \"backend:cudaMallocAsync\" works well on many systems. The optimal configuration is highly dependent on the system configuration (device type, VRAM, CUDA driver version, etc.), so must be tuned experimentally."
|
|
},
|
|
"device": {
|
|
"type": "string",
|
|
"pattern": "^(auto|cpu|mps|cuda(:\\d+)?)$",
|
|
"title": "Device",
|
|
"description": "Preferred execution device. `auto` will choose the device depending on the hardware platform and the installed torch capabilities.<br>Valid values: `auto`, `cpu`, `cuda`, `mps`, `cuda:N` (where N is a device number)",
|
|
"default": "auto"
|
|
},
|
|
"precision": {
|
|
"type": "string",
|
|
"enum": ["auto", "float16", "bfloat16", "float32"],
|
|
"title": "Precision",
|
|
"description": "Floating point precision. `float16` will consume half the memory of `float32` but produce slightly lower-quality images. The `auto` setting will guess the proper precision based on your video card and operating system.",
|
|
"default": "auto"
|
|
},
|
|
"sequential_guidance": {
|
|
"type": "boolean",
|
|
"title": "Sequential Guidance",
|
|
"description": "Whether to calculate guidance in serial instead of in parallel, lowering memory requirements.",
|
|
"default": false
|
|
},
|
|
"attention_type": {
|
|
"type": "string",
|
|
"enum": ["auto", "normal", "xformers", "sliced", "torch-sdp"],
|
|
"title": "Attention Type",
|
|
"description": "Attention type.",
|
|
"default": "auto"
|
|
},
|
|
"attention_slice_size": {
|
|
"enum": ["auto", "balanced", "max", 1, 2, 3, 4, 5, 6, 7, 8],
|
|
"title": "Attention Slice Size",
|
|
"description": "Slice size, valid when attention_type==\"sliced\".",
|
|
"default": "auto"
|
|
},
|
|
"force_tiled_decode": {
|
|
"type": "boolean",
|
|
"title": "Force Tiled Decode",
|
|
"description": "Whether to enable tiled VAE decode (reduces memory consumption with some performance penalty).",
|
|
"default": false
|
|
},
|
|
"pil_compress_level": {
|
|
"type": "integer",
|
|
"title": "Pil Compress Level",
|
|
"description": "The compress_level setting of PIL.Image.save(), used for PNG encoding. All settings are lossless. 0 = no compression, 1 = fastest with slightly larger filesize, 9 = slowest with smallest filesize. 1 is typically the best setting.",
|
|
"default": 1
|
|
},
|
|
"max_queue_size": {
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0.0,
|
|
"title": "Max Queue Size",
|
|
"description": "Maximum number of items in the session queue.",
|
|
"default": 10000
|
|
},
|
|
"clear_queue_on_startup": {
|
|
"type": "boolean",
|
|
"title": "Clear Queue On Startup",
|
|
"description": "Empties session queue on startup.",
|
|
"default": false
|
|
},
|
|
"allow_nodes": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Allow Nodes",
|
|
"description": "List of nodes to allow. Omit to allow all."
|
|
},
|
|
"deny_nodes": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Deny Nodes",
|
|
"description": "List of nodes to deny. Omit to deny none."
|
|
},
|
|
"node_cache_size": {
|
|
"type": "integer",
|
|
"title": "Node Cache Size",
|
|
"description": "How many cached nodes to keep in memory.",
|
|
"default": 512
|
|
},
|
|
"hashing_algorithm": {
|
|
"type": "string",
|
|
"enum": [
|
|
"blake3_multi",
|
|
"blake3_single",
|
|
"random",
|
|
"md5",
|
|
"sha1",
|
|
"sha224",
|
|
"sha256",
|
|
"sha384",
|
|
"sha512",
|
|
"blake2b",
|
|
"blake2s",
|
|
"sha3_224",
|
|
"sha3_256",
|
|
"sha3_384",
|
|
"sha3_512",
|
|
"shake_128",
|
|
"shake_256"
|
|
],
|
|
"title": "Hashing Algorithm",
|
|
"description": "Model hashing algorthim for model installs. 'blake3_multi' is best for SSDs. 'blake3_single' is best for spinning disk HDDs. 'random' disables hashing, instead assigning a UUID to models. Useful when using a memory db to reduce model installation time, or if you don't care about storing stable hashes for models. Alternatively, any other hashlib algorithm is accepted, though these are not nearly as performant as blake3.",
|
|
"default": "blake3_single"
|
|
},
|
|
"remote_api_tokens": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/URLRegexTokenPair"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Remote Api Tokens",
|
|
"description": "List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token."
|
|
},
|
|
"scan_models_on_startup": {
|
|
"type": "boolean",
|
|
"title": "Scan Models On Startup",
|
|
"description": "Scan the models directory on startup, registering orphaned models. This is typically only used in conjunction with `use_memory_db` for testing purposes.",
|
|
"default": false
|
|
},
|
|
"unsafe_disable_picklescan": {
|
|
"type": "boolean",
|
|
"title": "Unsafe Disable Picklescan",
|
|
"description": "UNSAFE. Disable the picklescan security check during model installation. Recommended only for development and testing purposes. This will allow arbitrary code execution during model installation, so should never be used in production.",
|
|
"default": false
|
|
},
|
|
"allow_unknown_models": {
|
|
"type": "boolean",
|
|
"title": "Allow Unknown Models",
|
|
"description": "Allow installation of models that we are unable to identify. If enabled, models will be marked as `unknown` in the database, and will not have any metadata associated with them. If disabled, unknown models will be rejected during installation.",
|
|
"default": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "InvokeAIAppConfig",
|
|
"description": "Invoke's global app configuration.\n\nTypically, you won't need to interact with this class directly. Instead, use the `get_config` function from `invokeai.app.services.config` to get a singleton config object.\n\nAttributes:\n host: IP address to bind to. Use `0.0.0.0` to serve to your local network.\n port: Port to bind to.\n allow_origins: Allowed CORS origins.\n allow_credentials: Allow CORS credentials.\n allow_methods: Methods allowed for CORS.\n allow_headers: Headers allowed for CORS.\n ssl_certfile: SSL certificate file for HTTPS. See https://www.uvicorn.org/settings/#https.\n ssl_keyfile: SSL key file for HTTPS. See https://www.uvicorn.org/settings/#https.\n log_tokenization: Enable logging of parsed prompt tokens.\n patchmatch: Enable patchmatch inpaint code.\n models_dir: Path to the models directory.\n convert_cache_dir: Path to the converted models cache directory (DEPRECATED, but do not delete because it is needed for migration from previous versions).\n download_cache_dir: Path to the directory that contains dynamically downloaded models.\n legacy_conf_dir: Path to directory of legacy checkpoint config files.\n db_dir: Path to InvokeAI databases directory.\n outputs_dir: Path to directory for outputs.\n custom_nodes_dir: Path to directory for custom nodes.\n style_presets_dir: Path to directory for style presets.\n workflow_thumbnails_dir: Path to directory for workflow thumbnails.\n log_handlers: Log handler. Valid options are \"console\", \"file=<path>\", \"syslog=path|address:host:port\", \"http=<url>\".\n log_format: Log format. Use \"plain\" for text-only, \"color\" for colorized output, \"legacy\" for 2.3-style logging and \"syslog\" for syslog-style.<br>Valid values: `plain`, `color`, `syslog`, `legacy`\n log_level: Emit logging messages at this level or higher.<br>Valid values: `debug`, `info`, `warning`, `error`, `critical`\n log_sql: Log SQL queries. `log_level` must be `debug` for this to do anything. Extremely verbose.\n log_level_network: Log level for network-related messages. 'info' and 'debug' are very verbose.<br>Valid values: `debug`, `info`, `warning`, `error`, `critical`\n use_memory_db: Use in-memory database. Useful for development.\n dev_reload: Automatically reload when Python sources are changed. Does not reload node definitions.\n profile_graphs: Enable graph profiling using `cProfile`.\n profile_prefix: An optional prefix for profile output files.\n profiles_dir: Path to profiles output directory.\n max_cache_ram_gb: The maximum amount of CPU RAM to use for model caching in GB. If unset, the limit will be configured based on the available RAM. In most cases, it is recommended to leave this unset.\n max_cache_vram_gb: The amount of VRAM to use for model caching in GB. If unset, the limit will be configured based on the available VRAM and the device_working_mem_gb. In most cases, it is recommended to leave this unset.\n log_memory_usage: If True, a memory snapshot will be captured before and after every model cache operation, and the result will be logged (at debug level). There is a time cost to capturing the memory snapshots, so it is recommended to only enable this feature if you are actively inspecting the model cache's behaviour.\n device_working_mem_gb: The amount of working memory to keep available on the compute device (in GB). Has no effect if running on CPU. If you are experiencing OOM errors, try increasing this value.\n enable_partial_loading: Enable partial loading of models. This enables models to run with reduced VRAM requirements (at the cost of slower speed) by streaming the model from RAM to VRAM as its used. In some edge cases, partial loading can cause models to run more slowly if they were previously being fully loaded into VRAM.\n keep_ram_copy_of_weights: Whether to keep a full RAM copy of a model's weights when the model is loaded in VRAM. Keeping a RAM copy increases average RAM usage, but speeds up model switching and LoRA patching (assuming there is sufficient RAM). Set this to False if RAM pressure is consistently high.\n ram: DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_ram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.\n vram: DEPRECATED: This setting is no longer used. It has been replaced by `max_cache_vram_gb`, but most users will not need to use this config since automatic cache size limits should work well in most cases. This config setting will be removed once the new model cache behavior is stable.\n lazy_offload: DEPRECATED: This setting is no longer used. Lazy-offloading is enabled by default. This config setting will be removed once the new model cache behavior is stable.\n pytorch_cuda_alloc_conf: Configure the Torch CUDA memory allocator. This will impact peak reserved VRAM usage and performance. Setting to \"backend:cudaMallocAsync\" works well on many systems. The optimal configuration is highly dependent on the system configuration (device type, VRAM, CUDA driver version, etc.), so must be tuned experimentally.\n device: Preferred execution device. `auto` will choose the device depending on the hardware platform and the installed torch capabilities.<br>Valid values: `auto`, `cpu`, `cuda`, `mps`, `cuda:N` (where N is a device number)\n precision: Floating point precision. `float16` will consume half the memory of `float32` but produce slightly lower-quality images. The `auto` setting will guess the proper precision based on your video card and operating system.<br>Valid values: `auto`, `float16`, `bfloat16`, `float32`\n sequential_guidance: Whether to calculate guidance in serial instead of in parallel, lowering memory requirements.\n attention_type: Attention type.<br>Valid values: `auto`, `normal`, `xformers`, `sliced`, `torch-sdp`\n attention_slice_size: Slice size, valid when attention_type==\"sliced\".<br>Valid values: `auto`, `balanced`, `max`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`\n force_tiled_decode: Whether to enable tiled VAE decode (reduces memory consumption with some performance penalty).\n pil_compress_level: The compress_level setting of PIL.Image.save(), used for PNG encoding. All settings are lossless. 0 = no compression, 1 = fastest with slightly larger filesize, 9 = slowest with smallest filesize. 1 is typically the best setting.\n max_queue_size: Maximum number of items in the session queue.\n clear_queue_on_startup: Empties session queue on startup.\n allow_nodes: List of nodes to allow. Omit to allow all.\n deny_nodes: List of nodes to deny. Omit to deny none.\n node_cache_size: How many cached nodes to keep in memory.\n hashing_algorithm: Model hashing algorthim for model installs. 'blake3_multi' is best for SSDs. 'blake3_single' is best for spinning disk HDDs. 'random' disables hashing, instead assigning a UUID to models. Useful when using a memory db to reduce model installation time, or if you don't care about storing stable hashes for models. Alternatively, any other hashlib algorithm is accepted, though these are not nearly as performant as blake3.<br>Valid values: `blake3_multi`, `blake3_single`, `random`, `md5`, `sha1`, `sha224`, `sha256`, `sha384`, `sha512`, `blake2b`, `blake2s`, `sha3_224`, `sha3_256`, `sha3_384`, `sha3_512`, `shake_128`, `shake_256`\n remote_api_tokens: List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token.\n scan_models_on_startup: Scan the models directory on startup, registering orphaned models. This is typically only used in conjunction with `use_memory_db` for testing purposes.\n unsafe_disable_picklescan: UNSAFE. Disable the picklescan security check during model installation. Recommended only for development and testing purposes. This will allow arbitrary code execution during model installation, so should never be used in production.\n allow_unknown_models: Allow installation of models that we are unable to identify. If enabled, models will be marked as `unknown` in the database, and will not have any metadata associated with them. If disabled, unknown models will be rejected during installation."
|
|
},
|
|
"InvokeAIAppConfigWithSetFields": {
|
|
"properties": {
|
|
"set_fields": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"title": "Set Fields",
|
|
"description": "The set fields"
|
|
},
|
|
"config": {
|
|
"$ref": "#/components/schemas/InvokeAIAppConfig",
|
|
"description": "The InvokeAI App Config"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["set_fields", "config"],
|
|
"title": "InvokeAIAppConfigWithSetFields",
|
|
"description": "InvokeAI App Config with model fields set"
|
|
},
|
|
"InvokeAdjustImageHuePlusInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Adjusts the Hue of an image by rotating it in the selected color space. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to adjust",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"space": {
|
|
"default": "HSV / HSL / RGB",
|
|
"description": "Color space in which to rotate hue by polar coords (*: non-invertible)",
|
|
"enum": [
|
|
"HSV / HSL / RGB",
|
|
"Okhsl",
|
|
"Okhsv",
|
|
"*Oklch / Oklab",
|
|
"*LCh / CIELab",
|
|
"*UPLab (w/CIELab_to_UPLab.icc)"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "HSV / HSL / RGB",
|
|
"orig_required": false,
|
|
"title": "Space",
|
|
"type": "string"
|
|
},
|
|
"degrees": {
|
|
"default": 0.0,
|
|
"description": "Degrees by which to rotate image hue",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Degrees",
|
|
"type": "number"
|
|
},
|
|
"preserve_lightness": {
|
|
"default": false,
|
|
"description": "Whether to preserve CIELAB lightness values",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Preserve Lightness",
|
|
"type": "boolean"
|
|
},
|
|
"ok_adaptive_gamut": {
|
|
"default": 0.05,
|
|
"description": "Higher preserves chroma at the expense of lightness (Oklab)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0.05,
|
|
"orig_required": false,
|
|
"title": "Ok Adaptive Gamut",
|
|
"type": "number"
|
|
},
|
|
"ok_high_precision": {
|
|
"default": true,
|
|
"description": "Use more steps in computing gamut (Oklab/Okhsv/Okhsl)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Ok High Precision",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "invokeai_img_hue_adjust_plus",
|
|
"default": "invokeai_img_hue_adjust_plus",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "hue", "oklab", "cielab", "uplab", "lch", "hsv", "hsl", "lab"],
|
|
"title": "Adjust Image Hue Plus",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InvokeEquivalentAchromaticLightnessInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Calculate Equivalent Achromatic Lightness from image. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image from which to get channel",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "invokeai_ealightness",
|
|
"default": "invokeai_ealightness",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "channel", "mask", "cielab", "lab"],
|
|
"title": "Equivalent Achromatic Lightness",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InvokeImageBlendInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Blend two images together, with optional opacity, mask, and blend modes. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"layer_upper": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The top image to blend",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_order": 1
|
|
},
|
|
"blend_mode": {
|
|
"default": "Normal",
|
|
"description": "Available blend modes",
|
|
"enum": [
|
|
"Normal",
|
|
"Lighten Only",
|
|
"Darken Only",
|
|
"Lighten Only (EAL)",
|
|
"Darken Only (EAL)",
|
|
"Hue",
|
|
"Saturation",
|
|
"Color",
|
|
"Luminosity",
|
|
"Linear Dodge (Add)",
|
|
"Subtract",
|
|
"Multiply",
|
|
"Divide",
|
|
"Screen",
|
|
"Overlay",
|
|
"Linear Burn",
|
|
"Difference",
|
|
"Hard Light",
|
|
"Soft Light",
|
|
"Vivid Light",
|
|
"Linear Light",
|
|
"Color Burn",
|
|
"Color Dodge"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "Normal",
|
|
"orig_required": false,
|
|
"title": "Blend Mode",
|
|
"type": "string",
|
|
"ui_order": 2
|
|
},
|
|
"opacity": {
|
|
"default": 1.0,
|
|
"description": "Desired opacity of the upper layer",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Opacity",
|
|
"type": "number",
|
|
"ui_order": 3
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional mask, used to restrict areas from blending",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"ui_order": 4
|
|
},
|
|
"fit_to_width": {
|
|
"default": false,
|
|
"description": "Scale upper layer to fit base width",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fit To Width",
|
|
"type": "boolean",
|
|
"ui_order": 5
|
|
},
|
|
"fit_to_height": {
|
|
"default": true,
|
|
"description": "Scale upper layer to fit base height",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Fit To Height",
|
|
"type": "boolean",
|
|
"ui_order": 6
|
|
},
|
|
"layer_base": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bottom image to blend",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_order": 7
|
|
},
|
|
"color_space": {
|
|
"default": "RGB",
|
|
"description": "Available color spaces for blend computations",
|
|
"enum": ["RGB", "Linear RGB", "HSL (RGB)", "HSV (RGB)", "Okhsl", "Okhsv", "Oklch (Oklab)", "LCh (CIELab)"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "RGB",
|
|
"orig_required": false,
|
|
"title": "Color Space",
|
|
"type": "string",
|
|
"ui_order": 8
|
|
},
|
|
"adaptive_gamut": {
|
|
"default": 0.0,
|
|
"description": "Adaptive gamut clipping (0=off). Higher prioritizes chroma over lightness",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Adaptive Gamut",
|
|
"type": "number",
|
|
"ui_order": 9
|
|
},
|
|
"high_precision": {
|
|
"default": true,
|
|
"description": "Use more steps in computing gamut when possible",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "High Precision",
|
|
"type": "boolean",
|
|
"ui_order": 10
|
|
},
|
|
"type": {
|
|
"const": "invokeai_img_blend",
|
|
"default": "invokeai_img_blend",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "blend", "layer", "alpha", "composite", "dodge", "burn"],
|
|
"title": "Image Layer Blend",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InvokeImageCompositorInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Removes backdrop from subject image then overlays subject on background image. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image_subject": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image of the subject on a plain monochrome background",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"image_background": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image of a background scene",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"chroma_key": {
|
|
"default": "",
|
|
"description": "Can be empty for corner flood select, or CSS-3 color or tuple",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Chroma Key",
|
|
"type": "string"
|
|
},
|
|
"threshold": {
|
|
"default": 50,
|
|
"description": "Subject isolation flood-fill threshold",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 50,
|
|
"orig_required": false,
|
|
"title": "Threshold",
|
|
"type": "integer"
|
|
},
|
|
"fill_x": {
|
|
"default": false,
|
|
"description": "Scale base subject image to fit background width",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fill X",
|
|
"type": "boolean"
|
|
},
|
|
"fill_y": {
|
|
"default": true,
|
|
"description": "Scale base subject image to fit background height",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Fill Y",
|
|
"type": "boolean"
|
|
},
|
|
"x_offset": {
|
|
"default": 0,
|
|
"description": "x-offset for the subject",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "X Offset",
|
|
"type": "integer"
|
|
},
|
|
"y_offset": {
|
|
"default": 0,
|
|
"description": "y-offset for the subject",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Y Offset",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "invokeai_img_composite",
|
|
"default": "invokeai_img_composite",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "compose", "chroma", "key"],
|
|
"title": "Image Compositor",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InvokeImageDilateOrErodeInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Dilate (expand) or erode (contract) an image. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image from which to create a mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"lightness_only": {
|
|
"default": false,
|
|
"description": "If true, only applies to image lightness (CIELa*b*)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Lightness Only",
|
|
"type": "boolean"
|
|
},
|
|
"radius_w": {
|
|
"default": 4,
|
|
"description": "Width (in pixels) by which to dilate(expand) or erode (contract) the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 4,
|
|
"orig_required": false,
|
|
"title": "Radius W",
|
|
"type": "integer"
|
|
},
|
|
"radius_h": {
|
|
"default": 4,
|
|
"description": "Height (in pixels) by which to dilate(expand) or erode (contract) the image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 4,
|
|
"orig_required": false,
|
|
"title": "Radius H",
|
|
"type": "integer"
|
|
},
|
|
"mode": {
|
|
"default": "Dilate",
|
|
"description": "How to operate on the image",
|
|
"enum": ["Dilate", "Erode"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "Dilate",
|
|
"orig_required": false,
|
|
"title": "Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "invokeai_img_dilate_erode",
|
|
"default": "invokeai_img_dilate_erode",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "dilate", "erode", "expand", "contract", "mask"],
|
|
"title": "Image Dilate or Erode",
|
|
"type": "object",
|
|
"version": "1.3.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InvokeImageEnhanceInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies processing from PIL's ImageEnhance module. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image for which to apply processing",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"invert": {
|
|
"default": false,
|
|
"description": "Whether to invert the image colors",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert",
|
|
"type": "boolean"
|
|
},
|
|
"color": {
|
|
"default": 1.0,
|
|
"description": "Color enhancement factor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Color",
|
|
"type": "number"
|
|
},
|
|
"contrast": {
|
|
"default": 1.0,
|
|
"description": "Contrast enhancement factor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Contrast",
|
|
"type": "number"
|
|
},
|
|
"brightness": {
|
|
"default": 1.0,
|
|
"description": "Brightness enhancement factor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Brightness",
|
|
"type": "number"
|
|
},
|
|
"sharpness": {
|
|
"default": 1.0,
|
|
"description": "Sharpness enhancement factor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Sharpness",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "invokeai_img_enhance",
|
|
"default": "invokeai_img_enhance",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["enhance", "image"],
|
|
"title": "Enhance Image",
|
|
"type": "object",
|
|
"version": "1.2.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"InvokeImageValueThresholdsInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Clip image to pure black/white past specified thresholds. Originally created by @dwringer",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image from which to create a mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"invert_output": {
|
|
"default": false,
|
|
"description": "Make light areas dark and vice versa",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert Output",
|
|
"type": "boolean"
|
|
},
|
|
"renormalize_values": {
|
|
"default": false,
|
|
"description": "Rescale remaining values from minimum to maximum",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Renormalize Values",
|
|
"type": "boolean"
|
|
},
|
|
"lightness_only": {
|
|
"default": false,
|
|
"description": "If true, only applies to image lightness (CIELa*b*)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Lightness Only",
|
|
"type": "boolean"
|
|
},
|
|
"threshold_upper": {
|
|
"default": 0.5,
|
|
"description": "Threshold above which will be set to full value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Threshold Upper",
|
|
"type": "number"
|
|
},
|
|
"threshold_lower": {
|
|
"default": 0.5,
|
|
"description": "Threshold below which will be set to minimum value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Threshold Lower",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "invokeai_img_val_thresholds",
|
|
"default": "invokeai_img_val_thresholds",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "value", "threshold"],
|
|
"title": "Image Value Thresholds",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ItemIdsResult": {
|
|
"properties": {
|
|
"item_ids": {
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array",
|
|
"title": "Item Ids",
|
|
"description": "Ordered list of item ids"
|
|
},
|
|
"total_count": {
|
|
"type": "integer",
|
|
"title": "Total Count",
|
|
"description": "Total number of queue items matching the query"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["item_ids", "total_count"],
|
|
"title": "ItemIdsResult",
|
|
"description": "Response containing ordered item ids with metadata for optimistic updates."
|
|
},
|
|
"IterateInvocation": {
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Iterates over a list of items",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The list of items to iterate over",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_type": "CollectionField"
|
|
},
|
|
"index": {
|
|
"default": 0,
|
|
"description": "The index, will be provided on executed iterators",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Index",
|
|
"type": "integer",
|
|
"ui_hidden": true
|
|
},
|
|
"type": {
|
|
"const": "iterate",
|
|
"default": "iterate",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"title": "IterateInvocation",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IterateInvocationOutput"
|
|
}
|
|
},
|
|
"IterateInvocationOutput": {
|
|
"class": "output",
|
|
"description": "Used to connect iteration outputs. Will be expanded to a specific output.",
|
|
"properties": {
|
|
"item": {
|
|
"description": "The item being iterated over",
|
|
"field_kind": "output",
|
|
"title": "Collection Item",
|
|
"ui_hidden": false,
|
|
"ui_type": "CollectionItemField"
|
|
},
|
|
"index": {
|
|
"description": "The index of the item",
|
|
"field_kind": "output",
|
|
"title": "Index",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"total": {
|
|
"description": "The total number of items",
|
|
"field_kind": "output",
|
|
"title": "Total",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "iterate_output",
|
|
"default": "iterate_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "item", "index", "total", "type", "type"],
|
|
"title": "IterateInvocationOutput",
|
|
"type": "object"
|
|
},
|
|
"JsonValue": {},
|
|
"LaMaInfillInvocation": {
|
|
"category": "inpaint",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Infills transparent areas of an image using the LaMa model",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "infill_lama",
|
|
"default": "infill_lama",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "inpaint"],
|
|
"title": "LaMa Infill",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"LatentsCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of latents tensor primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The collection of latents tensors",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Collection"
|
|
},
|
|
"type": {
|
|
"const": "latents_collection",
|
|
"default": "latents_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "latents", "collection"],
|
|
"title": "Latents Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsCollectionOutput"
|
|
}
|
|
},
|
|
"LatentsCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of latents tensors",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "Latents tensor",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "latents_collection_output",
|
|
"default": "latents_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "LatentsCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"LatentsField": {
|
|
"description": "A latents tensor primitive field",
|
|
"properties": {
|
|
"latents_name": {
|
|
"description": "The name of the latents",
|
|
"title": "Latents Name",
|
|
"type": "string"
|
|
},
|
|
"seed": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Seed used to generate this latents",
|
|
"title": "Seed"
|
|
}
|
|
},
|
|
"required": ["latents_name"],
|
|
"title": "LatentsField",
|
|
"type": "object"
|
|
},
|
|
"LatentsInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A latents tensor primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "latents",
|
|
"default": "latents",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "latents"],
|
|
"title": "Latents Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"LatentsMetaOutput": {
|
|
"class": "output",
|
|
"description": "Latents + metadata",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "#/components/schemas/MetadataField",
|
|
"description": "Metadata Dict",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "latents_meta_output",
|
|
"default": "latents_meta_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
},
|
|
"latents": {
|
|
"$ref": "#/components/schemas/LatentsField",
|
|
"description": "Latents tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "Width of output (px)",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "Height of output (px)",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
}
|
|
},
|
|
"required": ["output_meta", "metadata", "type", "latents", "width", "height", "type"],
|
|
"title": "LatentsMetaOutput",
|
|
"type": "object"
|
|
},
|
|
"LatentsOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single latents tensor",
|
|
"properties": {
|
|
"latents": {
|
|
"$ref": "#/components/schemas/LatentsField",
|
|
"description": "Latents tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "Width of output (px)",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "Height of output (px)",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "latents_output",
|
|
"default": "latents_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "latents", "width", "height", "type", "type"],
|
|
"title": "LatentsOutput",
|
|
"type": "object"
|
|
},
|
|
"LatentsToImageInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an image from latents.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"tiled": {
|
|
"default": false,
|
|
"description": "Processing using overlapping tiles (reduce memory consumption)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Tiled",
|
|
"type": "boolean"
|
|
},
|
|
"tile_size": {
|
|
"default": 0,
|
|
"description": "The tile size for VAE tiling in pixels (image space). If set to 0, the default tile size for the model will be used. Larger tile sizes generally produce better results at the cost of higher memory usage.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"fp32": {
|
|
"default": false,
|
|
"description": "Whether or not to use full float32 precision",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fp32",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "l2i",
|
|
"default": "l2i",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "l2i"],
|
|
"title": "Latents to Image - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.3.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"LineartAnimeEdgeDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Geneartes an edge map using the Lineart model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "lineart_anime_edge_detection",
|
|
"default": "lineart_anime_edge_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "lineart"],
|
|
"title": "Lineart Anime Edge Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"LineartEdgeDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an edge map using the Lineart model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"coarse": {
|
|
"default": false,
|
|
"description": "Whether to use coarse mode",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Coarse",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "lineart_edge_detection",
|
|
"default": "lineart_edge_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "lineart"],
|
|
"title": "Lineart Edge Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"LlavaOnevisionVllmInvocation": {
|
|
"category": "vllm",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Run a LLaVA OneVision VLLM model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"images": {
|
|
"anyOf": [
|
|
{
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
}
|
|
],
|
|
"maxLength": 3
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Input image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Images"
|
|
},
|
|
"prompt": {
|
|
"default": "",
|
|
"description": "Input text prompt.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Prompt",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"vllm_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The VLLM model to use",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "LLaVA Model Type",
|
|
"ui_model_type": ["llava_onevision"]
|
|
},
|
|
"type": {
|
|
"const": "llava_onevision_vllm",
|
|
"default": "llava_onevision_vllm",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["vllm"],
|
|
"title": "LLaVA OneVision VLLM",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"LlavaOnevision_Diffusers_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "llava_onevision",
|
|
"title": "Type",
|
|
"default": "llava_onevision"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"base"
|
|
],
|
|
"title": "LlavaOnevision_Diffusers_Config",
|
|
"description": "Model config for Llava Onevision models."
|
|
},
|
|
"LoRACollectionLoader": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies a collection of LoRAs to the provided UNet and CLIP models.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"loras": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA models and weights. May be a single LoRA or collection.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "LoRAs"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP"
|
|
},
|
|
"type": {
|
|
"const": "lora_collection_loader",
|
|
"default": "lora_collection_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model"],
|
|
"title": "Apply LoRA Collection - SD1.5",
|
|
"type": "object",
|
|
"version": "1.1.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
}
|
|
},
|
|
"LoRAField": {
|
|
"properties": {
|
|
"lora": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load lora model"
|
|
},
|
|
"weight": {
|
|
"description": "Weight to apply to lora model",
|
|
"title": "Weight",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": ["lora", "weight"],
|
|
"title": "LoRAField",
|
|
"type": "object"
|
|
},
|
|
"LoRALoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Apply selected lora to unet and text_encoder.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "LoRA",
|
|
"ui_model_base": ["sd-1"],
|
|
"ui_model_type": ["lora"]
|
|
},
|
|
"weight": {
|
|
"default": 0.75,
|
|
"description": "The weight at which the LoRA is applied to each model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.75,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP"
|
|
},
|
|
"type": {
|
|
"const": "lora_loader",
|
|
"default": "lora_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model"],
|
|
"title": "Apply LoRA - SD1.5",
|
|
"type": "object",
|
|
"version": "1.0.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
}
|
|
},
|
|
"LoRALoaderOutput": {
|
|
"class": "output",
|
|
"description": "Model loader output",
|
|
"properties": {
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "lora_loader_output",
|
|
"default": "lora_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "unet", "clip", "type", "type"],
|
|
"title": "LoRALoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"LoRAMetadataField": {
|
|
"description": "LoRA Metadata Field",
|
|
"properties": {
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "LoRA model to load"
|
|
},
|
|
"weight": {
|
|
"description": "The weight at which the LoRA is applied to each model",
|
|
"title": "Weight",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": ["model", "weight"],
|
|
"title": "LoRAMetadataField",
|
|
"type": "object"
|
|
},
|
|
"LoRASelectorInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Selects a LoRA model and weight.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "LoRA",
|
|
"ui_model_type": ["lora"]
|
|
},
|
|
"weight": {
|
|
"default": 0.75,
|
|
"description": "The weight at which the LoRA is applied to each model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.75,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "lora_selector",
|
|
"default": "lora_selector",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model"],
|
|
"title": "Select LoRA",
|
|
"type": "object",
|
|
"version": "1.0.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LoRASelectorOutput"
|
|
}
|
|
},
|
|
"LoRASelectorOutput": {
|
|
"class": "output",
|
|
"description": "Model loader output",
|
|
"properties": {
|
|
"lora": {
|
|
"$ref": "#/components/schemas/LoRAField",
|
|
"description": "LoRA model and weight",
|
|
"field_kind": "output",
|
|
"title": "LoRA",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "lora_selector_output",
|
|
"default": "lora_selector_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "lora", "type", "type"],
|
|
"title": "LoRASelectorOutput",
|
|
"type": "object"
|
|
},
|
|
"LoRA_Diffusers_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
"LoRA_Diffusers_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_Diffusers_SD1_Config"
|
|
},
|
|
"LoRA_Diffusers_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_Diffusers_SD2_Config"
|
|
},
|
|
"LoRA_Diffusers_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
"LoRA_Diffusers_ZImage_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "z-image",
|
|
"title": "Base",
|
|
"default": "z-image"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_Diffusers_ZImage_Config",
|
|
"description": "Model config for Z-Image LoRA models in Diffusers format."
|
|
},
|
|
"LoRA_LyCORIS_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "lycoris",
|
|
"title": "Format",
|
|
"default": "lycoris"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
"LoRA_LyCORIS_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "lycoris",
|
|
"title": "Format",
|
|
"default": "lycoris"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
"LoRA_LyCORIS_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "lycoris",
|
|
"title": "Format",
|
|
"default": "lycoris"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
"LoRA_LyCORIS_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "lycoris",
|
|
"title": "Format",
|
|
"default": "lycoris"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
"LoRA_LyCORIS_ZImage_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "lycoris",
|
|
"title": "Format",
|
|
"default": "lycoris"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "z-image",
|
|
"title": "Base",
|
|
"default": "z-image"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_LyCORIS_ZImage_Config",
|
|
"description": "Model config for Z-Image LoRA models in LyCORIS format."
|
|
},
|
|
"LoRA_OMI_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "omi",
|
|
"title": "Format",
|
|
"default": "omi"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_OMI_FLUX_Config"
|
|
},
|
|
"LoRA_OMI_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "lora",
|
|
"title": "Type",
|
|
"default": "lora"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "omi",
|
|
"title": "Format",
|
|
"default": "omi"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "LoRA_OMI_SDXL_Config"
|
|
},
|
|
"LocalModelSource": {
|
|
"properties": {
|
|
"path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "string",
|
|
"format": "path"
|
|
}
|
|
],
|
|
"title": "Path"
|
|
},
|
|
"inplace": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Inplace",
|
|
"default": false
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "local",
|
|
"title": "Type",
|
|
"default": "local"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["path"],
|
|
"title": "LocalModelSource",
|
|
"description": "A local file or directory path."
|
|
},
|
|
"LogLevel": {
|
|
"type": "integer",
|
|
"enum": [0, 10, 20, 30, 40, 50],
|
|
"title": "LogLevel"
|
|
},
|
|
"LoraModelDefaultSettings": {
|
|
"properties": {
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"maximum": 2.0,
|
|
"minimum": -1.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Weight",
|
|
"description": "Default weight for this model"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "LoraModelDefaultSettings"
|
|
},
|
|
"MDControlListOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"control_list": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "ControlNet(s) to apply",
|
|
"field_kind": "output",
|
|
"title": "ControlNet-List",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "md_control_list_output",
|
|
"default": "md_control_list_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "control_list", "type", "type"],
|
|
"title": "MDControlListOutput",
|
|
"type": "object"
|
|
},
|
|
"MDIPAdapterListOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"ip_adapter_list": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "output",
|
|
"title": "IP-Adapter-List",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "md_ip_adapter_list_output",
|
|
"default": "md_ip_adapter_list_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "ip_adapter_list", "type", "type"],
|
|
"title": "MDIPAdapterListOutput",
|
|
"type": "object"
|
|
},
|
|
"MDT2IAdapterListOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"t2i_adapter_list": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "T2I-Adapter(s) to apply",
|
|
"field_kind": "output",
|
|
"title": "T2I Adapter-List",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "md_ip_adapters_output",
|
|
"default": "md_ip_adapters_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "t2i_adapter_list", "type", "type"],
|
|
"title": "MDT2IAdapterListOutput",
|
|
"type": "object"
|
|
},
|
|
"MLSDDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an line segment map using MLSD.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"score_threshold": {
|
|
"default": 0.1,
|
|
"description": "The threshold used to score points when determining line segments",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0.1,
|
|
"orig_required": false,
|
|
"title": "Score Threshold",
|
|
"type": "number"
|
|
},
|
|
"distance_threshold": {
|
|
"default": 20.0,
|
|
"description": "Threshold for including a line segment - lines shorter than this distance will be discarded",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 20.0,
|
|
"orig_required": false,
|
|
"title": "Distance Threshold",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "mlsd_detection",
|
|
"default": "mlsd_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "mlsd", "edge"],
|
|
"title": "MLSD Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MainModelDefaultSettings": {
|
|
"properties": {
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Vae",
|
|
"description": "Default VAE for this model (model key)"
|
|
},
|
|
"vae_precision": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": ["fp16", "fp32"]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Vae Precision",
|
|
"description": "Default VAE precision for this model"
|
|
},
|
|
"scheduler": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Scheduler",
|
|
"description": "Default scheduler for this model"
|
|
},
|
|
"steps": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Steps",
|
|
"description": "Default number of steps for this model"
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"minimum": 1.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cfg Scale",
|
|
"description": "Default CFG Scale for this model"
|
|
},
|
|
"cfg_rescale_multiplier": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"exclusiveMaximum": 1.0,
|
|
"minimum": 0.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cfg Rescale Multiplier",
|
|
"description": "Default CFG Rescale Multiplier for this model"
|
|
},
|
|
"width": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"multipleOf": 8.0,
|
|
"minimum": 64.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Width",
|
|
"description": "Default width for this model"
|
|
},
|
|
"height": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer",
|
|
"multipleOf": 8.0,
|
|
"minimum": 64.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Height",
|
|
"description": "Default height for this model"
|
|
},
|
|
"guidance": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number",
|
|
"minimum": 1.0
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Guidance",
|
|
"description": "Default Guidance for this model"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"title": "MainModelDefaultSettings"
|
|
},
|
|
"MainModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads a main model, outputting its submodels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Main model (UNet, VAE, CLIP) to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_base": ["sd-1", "sd-2"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "main_model_loader",
|
|
"default": "main_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model"],
|
|
"title": "Main Model - SD1.5, SD2",
|
|
"type": "object",
|
|
"version": "1.0.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ModelLoaderOutput"
|
|
}
|
|
},
|
|
"Main_BnBNF4_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "bnb_quantized_nf4b",
|
|
"title": "Format",
|
|
"default": "bnb_quantized_nf4b"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/FluxVariantType"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"base",
|
|
"format",
|
|
"variant"
|
|
],
|
|
"title": "Main_BnBNF4_FLUX_Config",
|
|
"description": "Model config for main checkpoint models."
|
|
},
|
|
"Main_Checkpoint_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/FluxVariantType"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"format",
|
|
"base",
|
|
"variant"
|
|
],
|
|
"title": "Main_Checkpoint_FLUX_Config",
|
|
"description": "Model config for main checkpoint models."
|
|
},
|
|
"Main_Checkpoint_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"format",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Checkpoint_SD1_Config"
|
|
},
|
|
"Main_Checkpoint_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"format",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Checkpoint_SD2_Config"
|
|
},
|
|
"Main_Checkpoint_SDXLRefiner_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl-refiner",
|
|
"title": "Base",
|
|
"default": "sdxl-refiner"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"format",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
"Main_Checkpoint_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"format",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Checkpoint_SDXL_Config"
|
|
},
|
|
"Main_Diffusers_CogView4_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "cogview4",
|
|
"title": "Base",
|
|
"default": "cogview4"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Diffusers_CogView4_Config"
|
|
},
|
|
"Main_Diffusers_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Diffusers_SD1_Config"
|
|
},
|
|
"Main_Diffusers_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Diffusers_SD2_Config"
|
|
},
|
|
"Main_Diffusers_SD3_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-3",
|
|
"title": "Base",
|
|
"default": "sd-3"
|
|
},
|
|
"submodels": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/SubmodelDefinition"
|
|
},
|
|
"propertyNames": {
|
|
"$ref": "#/components/schemas/SubModelType"
|
|
},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Submodels",
|
|
"description": "Loadable submodels in this model"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"base",
|
|
"submodels"
|
|
],
|
|
"title": "Main_Diffusers_SD3_Config"
|
|
},
|
|
"Main_Diffusers_SDXLRefiner_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl-refiner",
|
|
"title": "Base",
|
|
"default": "sdxl-refiner"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
"Main_Diffusers_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"prediction_type": {
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"prediction_type",
|
|
"variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Diffusers_SDXL_Config"
|
|
},
|
|
"Main_Diffusers_ZImage_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "z-image",
|
|
"title": "Base",
|
|
"default": "z-image"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"format",
|
|
"repo_variant",
|
|
"base"
|
|
],
|
|
"title": "Main_Diffusers_ZImage_Config",
|
|
"description": "Model config for Z-Image diffusers models (Z-Image-Turbo, Z-Image-Base, Z-Image-Edit)."
|
|
},
|
|
"Main_GGUF_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "gguf_quantized",
|
|
"title": "Format",
|
|
"default": "gguf_quantized"
|
|
},
|
|
"variant": {
|
|
"$ref": "#/components/schemas/FluxVariantType"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"base",
|
|
"format",
|
|
"variant"
|
|
],
|
|
"title": "Main_GGUF_FLUX_Config",
|
|
"description": "Model config for main checkpoint models."
|
|
},
|
|
"Main_GGUF_ZImage_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "main",
|
|
"title": "Type",
|
|
"default": "main"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Default settings for this model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "z-image",
|
|
"title": "Base",
|
|
"default": "z-image"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "gguf_quantized",
|
|
"title": "Format",
|
|
"default": "gguf_quantized"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"trigger_phrases",
|
|
"default_settings",
|
|
"config_path",
|
|
"base",
|
|
"format"
|
|
],
|
|
"title": "Main_GGUF_ZImage_Config",
|
|
"description": "Model config for GGUF-quantized Z-Image transformer models."
|
|
},
|
|
"MaskCombineInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Combine two masks together by multiplying them using `PIL.ImageChops.multiply()`.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask1": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The first mask to combine",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"mask2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The second image to combine",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "mask_combine",
|
|
"default": "mask_combine",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "multiply"],
|
|
"title": "Combine Masks",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MaskEdgeInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies an edge mask to an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to apply the mask to",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"edge_size": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The size of the edge",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Edge Size"
|
|
},
|
|
"edge_blur": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The amount of blur on the edge",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Edge Blur"
|
|
},
|
|
"low_threshold": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "First threshold for the hysteresis procedure in Canny edge detection",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Low Threshold"
|
|
},
|
|
"high_threshold": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Second threshold for the hysteresis procedure in Canny edge detection",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "High Threshold"
|
|
},
|
|
"type": {
|
|
"const": "mask_edge",
|
|
"default": "mask_edge",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "inpaint"],
|
|
"title": "Mask Edge",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MaskFromAlphaInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Extracts the alpha channel of an image as a mask.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to create the mask from",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"invert": {
|
|
"default": false,
|
|
"description": "Whether or not to invert the mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "tomask",
|
|
"default": "tomask",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask"],
|
|
"title": "Mask from Alpha",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MaskFromIDInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generate a mask for a particular color in an ID Map",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to create the mask from",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"color": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ColorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "ID color to mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"threshold": {
|
|
"default": 100,
|
|
"description": "Threshold for color detection",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 100,
|
|
"orig_required": false,
|
|
"title": "Threshold",
|
|
"type": "integer"
|
|
},
|
|
"invert": {
|
|
"default": false,
|
|
"description": "Whether or not to invert the mask",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Invert",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "mask_from_id",
|
|
"default": "mask_from_id",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "mask", "id"],
|
|
"title": "Mask from Segmented Image",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MaskOutput": {
|
|
"class": "output",
|
|
"description": "A torch mask tensor.",
|
|
"properties": {
|
|
"mask": {
|
|
"$ref": "#/components/schemas/TensorField",
|
|
"description": "The mask.",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "The width of the mask in pixels.",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The height of the mask in pixels.",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "mask_output",
|
|
"default": "mask_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "mask", "width", "height", "type", "type"],
|
|
"title": "MaskOutput",
|
|
"type": "object"
|
|
},
|
|
"MaskTensorToImageInvocation": {
|
|
"category": "mask",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Convert a mask tensor to an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask tensor to convert.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "tensor_mask_to_image",
|
|
"default": "tensor_mask_to_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["mask"],
|
|
"title": "Tensor Mask to Image",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MediaPipeFaceDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Detects faces using MediaPipe.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"max_faces": {
|
|
"default": 1,
|
|
"description": "Maximum number of faces to detect",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Max Faces",
|
|
"type": "integer"
|
|
},
|
|
"min_confidence": {
|
|
"default": 0.5,
|
|
"description": "Minimum confidence for face detection",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.5,
|
|
"orig_required": false,
|
|
"title": "Min Confidence",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "mediapipe_face_detection",
|
|
"default": "mediapipe_face_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "face"],
|
|
"title": "MediaPipe Face Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MergeMetadataInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Merged a collection of MetadataDict into a single MetadataDict.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Collection of Metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Collection"
|
|
},
|
|
"type": {
|
|
"const": "merge_metadata",
|
|
"default": "merge_metadata",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata Merge",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
}
|
|
},
|
|
"MergeTilesToImageInvocation": {
|
|
"category": "tiles",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Merge multiple tile images into a single image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"tiles_with_images": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/TileWithImage"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A list of tile images with tile properties.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Tiles With Images"
|
|
},
|
|
"blend_mode": {
|
|
"default": "Seam",
|
|
"description": "blending type Linear or Seam",
|
|
"enum": ["Linear", "Seam"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "Seam",
|
|
"orig_required": false,
|
|
"title": "Blend Mode",
|
|
"type": "string"
|
|
},
|
|
"blend_amount": {
|
|
"default": 32,
|
|
"description": "The amount to blend adjacent tiles in pixels. Must be <= the amount of overlap between adjacent tiles.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 32,
|
|
"orig_required": false,
|
|
"title": "Blend Amount",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "merge_tiles_to_image",
|
|
"default": "merge_tiles_to_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["tiles"],
|
|
"title": "Merge Tiles to Image",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"MetadataField": {
|
|
"additionalProperties": true,
|
|
"type": "object",
|
|
"title": "MetadataField",
|
|
"description": "Pydantic model for metadata with custom root of type dict[str, Any].\nMetadata is stored without a strict schema."
|
|
},
|
|
"MetadataFieldExtractorInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "deprecated",
|
|
"description": "Extracts the text value from an image's metadata given a key.\nRaises an error if the image has no metadata or if the value is not a string (nesting not permitted).",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to extract metadata from",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"key": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The key in the image's metadata to extract the value from",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Key"
|
|
},
|
|
"type": {
|
|
"const": "metadata_field_extractor",
|
|
"default": "metadata_field_extractor",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata Field Extractor",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"MetadataFromImageInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Used to create a core metadata item then Add/Update it to the provided metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "metadata_from_image",
|
|
"default": "metadata_from_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata From Image",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
}
|
|
},
|
|
"MetadataInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Takes a MetadataItem or collection of MetadataItems and outputs a MetadataDict.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/MetadataItemField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/MetadataItemField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A single metadata item or collection of metadata items",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Items"
|
|
},
|
|
"type": {
|
|
"const": "metadata",
|
|
"default": "metadata",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
}
|
|
},
|
|
"MetadataItemField": {
|
|
"properties": {
|
|
"label": {
|
|
"description": "Label for this metadata item",
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"description": "The value for this metadata item (may be any type)",
|
|
"title": "Value"
|
|
}
|
|
},
|
|
"required": ["label", "value"],
|
|
"title": "MetadataItemField",
|
|
"type": "object"
|
|
},
|
|
"MetadataItemInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Used to create an arbitrary metadata item. Provide \"label\" and make a connection to \"value\" to store that data as the value.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Label"
|
|
},
|
|
"value": {
|
|
"anyOf": [
|
|
{},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The value for this metadata item (may be any type)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Value",
|
|
"ui_type": "AnyField"
|
|
},
|
|
"type": {
|
|
"const": "metadata_item",
|
|
"default": "metadata_item",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata Item",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataItemOutput"
|
|
}
|
|
},
|
|
"MetadataItemLinkedInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Used to Create/Add/Update a value into a metadata label",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": [
|
|
"* CUSTOM LABEL *",
|
|
"positive_prompt",
|
|
"positive_style_prompt",
|
|
"negative_prompt",
|
|
"negative_style_prompt",
|
|
"width",
|
|
"height",
|
|
"seed",
|
|
"cfg_scale",
|
|
"cfg_rescale_multiplier",
|
|
"steps",
|
|
"scheduler",
|
|
"clip_skip",
|
|
"model",
|
|
"vae",
|
|
"seamless_x",
|
|
"seamless_y",
|
|
"guidance",
|
|
"cfg_scale_start_step",
|
|
"cfg_scale_end_step"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"value": {
|
|
"anyOf": [
|
|
{},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The value for this metadata item (may be any type)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Value",
|
|
"ui_type": "AnyField"
|
|
},
|
|
"type": {
|
|
"const": "metadata_item_linked",
|
|
"default": "metadata_item_linked",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata Item Linked",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataOutput"
|
|
}
|
|
},
|
|
"MetadataItemOutput": {
|
|
"class": "output",
|
|
"description": "Metadata Item Output",
|
|
"properties": {
|
|
"item": {
|
|
"$ref": "#/components/schemas/MetadataItemField",
|
|
"description": "Metadata Item",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "metadata_item_output",
|
|
"default": "metadata_item_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "item", "type", "type"],
|
|
"title": "MetadataItemOutput",
|
|
"type": "object"
|
|
},
|
|
"MetadataOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"metadata": {
|
|
"$ref": "#/components/schemas/MetadataField",
|
|
"description": "Metadata Dict",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "metadata_output",
|
|
"default": "metadata_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "metadata", "type", "type"],
|
|
"title": "MetadataOutput",
|
|
"type": "object"
|
|
},
|
|
"MetadataToBoolCollectionInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Boolean value Collection of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "seamless_x", "seamless_y"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "boolean"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default bool to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_bool_collection",
|
|
"default": "metadata_to_bool_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Bool Collection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BooleanCollectionOutput"
|
|
}
|
|
},
|
|
"MetadataToBoolInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Boolean value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "seamless_x", "seamless_y"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default bool to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_bool",
|
|
"default": "metadata_to_bool",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Bool",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/BooleanOutput"
|
|
}
|
|
},
|
|
"MetadataToControlnetsInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Controlnets value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"control_list": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "ControlNet-List"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_controlnets",
|
|
"default": "metadata_to_controlnets",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To ControlNets",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MDControlListOutput"
|
|
}
|
|
},
|
|
"MetadataToFloatCollectionInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Float value Collection of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "cfg_scale", "cfg_rescale_multiplier", "guidance"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default float to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_float_collection",
|
|
"default": "metadata_to_float_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Float Collection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatCollectionOutput"
|
|
}
|
|
},
|
|
"MetadataToFloatInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Float value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "cfg_scale", "cfg_rescale_multiplier", "guidance"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default float to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_float",
|
|
"default": "metadata_to_float",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Float",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
}
|
|
},
|
|
"MetadataToIPAdaptersInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a IP-Adapters value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"ip_adapter_list": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/IPAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "IP-Adapter-List"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_ip_adapters",
|
|
"default": "metadata_to_ip_adapters",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To IP-Adapters",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MDIPAdapterListOutput"
|
|
}
|
|
},
|
|
"MetadataToIntegerCollectionInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts an integer value Collection of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": [
|
|
"* CUSTOM LABEL *",
|
|
"width",
|
|
"height",
|
|
"seed",
|
|
"steps",
|
|
"clip_skip",
|
|
"cfg_scale_start_step",
|
|
"cfg_scale_end_step"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default integer to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_integer_collection",
|
|
"default": "metadata_to_integer_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Integer Collection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
}
|
|
},
|
|
"MetadataToIntegerInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts an integer value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": [
|
|
"* CUSTOM LABEL *",
|
|
"width",
|
|
"height",
|
|
"seed",
|
|
"steps",
|
|
"clip_skip",
|
|
"cfg_scale_start_step",
|
|
"cfg_scale_end_step"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default integer to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_integer",
|
|
"default": "metadata_to_integer",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Integer",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"MetadataToLorasCollectionInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts Lora(s) from metadata into a collection",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"custom_label": {
|
|
"default": "loras",
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "loras",
|
|
"orig_required": false,
|
|
"title": "Custom Label",
|
|
"type": "string"
|
|
},
|
|
"loras": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": [],
|
|
"description": "LoRA models and weights. May be a single LoRA or collection.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "LoRAs"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_lora_collection",
|
|
"default": "metadata_to_lora_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To LoRA Collection",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataToLorasCollectionOutput"
|
|
}
|
|
},
|
|
"MetadataToLorasCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Model loader output",
|
|
"properties": {
|
|
"lora": {
|
|
"description": "Collection of LoRA model and weights",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"title": "LoRAs",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_lora_collection_output",
|
|
"default": "metadata_to_lora_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "lora", "type", "type"],
|
|
"title": "MetadataToLorasCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"MetadataToLorasInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Loras value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_loras",
|
|
"default": "metadata_to_loras",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To LoRAs",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LoRALoaderOutput"
|
|
}
|
|
},
|
|
"MetadataToModelInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Model value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "model",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "model"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "model",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default model to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_model",
|
|
"default": "metadata_to_model",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Model",
|
|
"type": "object",
|
|
"version": "1.3.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataToModelOutput"
|
|
}
|
|
},
|
|
"MetadataToModelOutput": {
|
|
"class": "output",
|
|
"description": "String to main model output",
|
|
"properties": {
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Main model (UNet, VAE, CLIP) to load",
|
|
"field_kind": "output",
|
|
"title": "Model",
|
|
"ui_hidden": false
|
|
},
|
|
"name": {
|
|
"description": "Model Name",
|
|
"field_kind": "output",
|
|
"title": "Name",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"unet": {
|
|
"$ref": "#/components/schemas/UNetField",
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_model_output",
|
|
"default": "metadata_to_model_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "model", "name", "unet", "vae", "clip", "type", "type"],
|
|
"title": "MetadataToModelOutput",
|
|
"type": "object"
|
|
},
|
|
"MetadataToSDXLLorasInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a SDXL Loras value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP 1"
|
|
},
|
|
"clip2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP 2"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_sdlx_loras",
|
|
"default": "metadata_to_sdlx_loras",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To SDXL LoRAs",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
}
|
|
},
|
|
"MetadataToSDXLModelInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a SDXL Model value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "model",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "model"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "model",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default SDXL Model to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_base": ["sdxl"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_sdxl_model",
|
|
"default": "metadata_to_sdxl_model",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To SDXL Model",
|
|
"type": "object",
|
|
"version": "1.3.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MetadataToSDXLModelOutput"
|
|
}
|
|
},
|
|
"MetadataToSDXLModelOutput": {
|
|
"class": "output",
|
|
"description": "String to SDXL main model output",
|
|
"properties": {
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Main model (UNet, VAE, CLIP) to load",
|
|
"field_kind": "output",
|
|
"title": "Model",
|
|
"ui_hidden": false
|
|
},
|
|
"name": {
|
|
"description": "Model Name",
|
|
"field_kind": "output",
|
|
"title": "Name",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"unet": {
|
|
"$ref": "#/components/schemas/UNetField",
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 1",
|
|
"ui_hidden": false
|
|
},
|
|
"clip2": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 2",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_sdxl_model_output",
|
|
"default": "metadata_to_sdxl_model_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "model", "name", "unet", "clip", "clip2", "vae", "type", "type"],
|
|
"title": "MetadataToSDXLModelOutput",
|
|
"type": "object"
|
|
},
|
|
"MetadataToSchedulerInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a Scheduler value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "scheduler",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "scheduler"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "scheduler",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"default": "euler",
|
|
"description": "The default scheduler to use if not found in the metadata",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "euler",
|
|
"orig_required": false,
|
|
"title": "Default Value",
|
|
"type": "string",
|
|
"ui_type": "SchedulerField"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_scheduler",
|
|
"default": "metadata_to_scheduler",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To Scheduler",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SchedulerOutput"
|
|
}
|
|
},
|
|
"MetadataToStringCollectionInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a string collection value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": [
|
|
"* CUSTOM LABEL *",
|
|
"positive_prompt",
|
|
"positive_style_prompt",
|
|
"negative_prompt",
|
|
"negative_style_prompt"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default string collection to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_string_collection",
|
|
"default": "metadata_to_string_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To String Collection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
}
|
|
},
|
|
"MetadataToStringInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a string value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "* CUSTOM LABEL *",
|
|
"description": "Label for this metadata item",
|
|
"enum": [
|
|
"* CUSTOM LABEL *",
|
|
"positive_prompt",
|
|
"positive_style_prompt",
|
|
"negative_prompt",
|
|
"negative_style_prompt"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "* CUSTOM LABEL *",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default string to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Default Value"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_string",
|
|
"default": "metadata_to_string",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To String",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"MetadataToT2IAdaptersInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a T2I-Adapters value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"t2i_adapter_list": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/T2IAdapterField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "IP-Adapter to apply",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T2I-Adapter"
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_t2i_adapters",
|
|
"default": "metadata_to_t2i_adapters",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To T2I-Adapters",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MDT2IAdapterListOutput"
|
|
}
|
|
},
|
|
"MetadataToVAEInvocation": {
|
|
"category": "metadata",
|
|
"class": "invocation",
|
|
"classification": "beta",
|
|
"description": "Extracts a VAE value of a label from metadata",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"label": {
|
|
"default": "vae",
|
|
"description": "Label for this metadata item",
|
|
"enum": ["* CUSTOM LABEL *", "vae"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "vae",
|
|
"orig_required": false,
|
|
"title": "Label",
|
|
"type": "string"
|
|
},
|
|
"custom_label": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Label for this metadata item",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Custom Label"
|
|
},
|
|
"default_value": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The default VAE to use if not found in the metadata",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "metadata_to_vae",
|
|
"default": "metadata_to_vae",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["metadata"],
|
|
"title": "Metadata To VAE",
|
|
"type": "object",
|
|
"version": "1.2.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/VAEOutput"
|
|
}
|
|
},
|
|
"ModelFormat": {
|
|
"type": "string",
|
|
"enum": [
|
|
"omi",
|
|
"diffusers",
|
|
"checkpoint",
|
|
"lycoris",
|
|
"onnx",
|
|
"olive",
|
|
"embedding_file",
|
|
"embedding_folder",
|
|
"invokeai",
|
|
"t5_encoder",
|
|
"qwen3_encoder",
|
|
"bnb_quantized_int8b",
|
|
"bnb_quantized_nf4b",
|
|
"gguf_quantized",
|
|
"unknown"
|
|
],
|
|
"title": "ModelFormat",
|
|
"description": "Storage format of model."
|
|
},
|
|
"ModelIdentifierField": {
|
|
"properties": {
|
|
"key": {
|
|
"description": "The model's unique key",
|
|
"title": "Key",
|
|
"type": "string"
|
|
},
|
|
"hash": {
|
|
"description": "The model's BLAKE3 hash",
|
|
"title": "Hash",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The model's name",
|
|
"title": "Name",
|
|
"type": "string"
|
|
},
|
|
"base": {
|
|
"$ref": "#/components/schemas/BaseModelType",
|
|
"description": "The model's base model type"
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/ModelType",
|
|
"description": "The model's type"
|
|
},
|
|
"submodel_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SubModelType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The submodel to load, if this is a main model"
|
|
}
|
|
},
|
|
"required": ["key", "hash", "name", "base", "type"],
|
|
"title": "ModelIdentifierField",
|
|
"type": "object"
|
|
},
|
|
"ModelIdentifierInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Selects any model, outputting it its identifier. Be careful with this one! The identifier will be accepted as\ninput for any model, even if the model types don't match. If you connect this to a mismatched input, you'll get an\nerror.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The model to select",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Model"
|
|
},
|
|
"type": {
|
|
"const": "model_identifier",
|
|
"default": "model_identifier",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model"],
|
|
"title": "Any Model",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ModelIdentifierOutput"
|
|
}
|
|
},
|
|
"ModelIdentifierOutput": {
|
|
"class": "output",
|
|
"description": "Model identifier output",
|
|
"properties": {
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Model identifier",
|
|
"field_kind": "output",
|
|
"title": "Model",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "model_identifier_output",
|
|
"default": "model_identifier_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "model", "type", "type"],
|
|
"title": "ModelIdentifierOutput",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallCancelledEvent": {
|
|
"description": "Event model for model_install_cancelled",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source"],
|
|
"title": "ModelInstallCancelledEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallCompleteEvent": {
|
|
"description": "Event model for model_install_complete",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
},
|
|
"key": {
|
|
"description": "Model config record key",
|
|
"title": "Key",
|
|
"type": "string"
|
|
},
|
|
"total_bytes": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Size of the model (may be None for installation of a local path)",
|
|
"title": "Total Bytes"
|
|
},
|
|
"config": {
|
|
"description": "The installed model's config",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Config"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source", "key", "total_bytes", "config"],
|
|
"title": "ModelInstallCompleteEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallDownloadProgressEvent": {
|
|
"description": "Event model for model_install_download_progress",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
},
|
|
"local_path": {
|
|
"description": "Where model is downloading to",
|
|
"title": "Local Path",
|
|
"type": "string"
|
|
},
|
|
"bytes": {
|
|
"description": "Number of bytes downloaded so far",
|
|
"title": "Bytes",
|
|
"type": "integer"
|
|
},
|
|
"total_bytes": {
|
|
"description": "Total size of download, including all files",
|
|
"title": "Total Bytes",
|
|
"type": "integer"
|
|
},
|
|
"parts": {
|
|
"description": "Progress of downloading URLs that comprise the model, if any",
|
|
"items": {
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"type": "object"
|
|
},
|
|
"title": "Parts",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source", "local_path", "bytes", "total_bytes", "parts"],
|
|
"title": "ModelInstallDownloadProgressEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallDownloadStartedEvent": {
|
|
"description": "Event model for model_install_download_started",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
},
|
|
"local_path": {
|
|
"description": "Where model is downloading to",
|
|
"title": "Local Path",
|
|
"type": "string"
|
|
},
|
|
"bytes": {
|
|
"description": "Number of bytes downloaded so far",
|
|
"title": "Bytes",
|
|
"type": "integer"
|
|
},
|
|
"total_bytes": {
|
|
"description": "Total size of download, including all files",
|
|
"title": "Total Bytes",
|
|
"type": "integer"
|
|
},
|
|
"parts": {
|
|
"description": "Progress of downloading URLs that comprise the model, if any",
|
|
"items": {
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
},
|
|
"type": "object"
|
|
},
|
|
"title": "Parts",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source", "local_path", "bytes", "total_bytes", "parts"],
|
|
"title": "ModelInstallDownloadStartedEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallDownloadsCompleteEvent": {
|
|
"description": "Emitted once when an install job becomes active.",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source"],
|
|
"title": "ModelInstallDownloadsCompleteEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallErrorEvent": {
|
|
"description": "Event model for model_install_error",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
},
|
|
"error_type": {
|
|
"description": "The name of the exception",
|
|
"title": "Error Type",
|
|
"type": "string"
|
|
},
|
|
"error": {
|
|
"description": "A text description of the exception",
|
|
"title": "Error",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source", "error_type", "error"],
|
|
"title": "ModelInstallErrorEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelInstallJob": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"title": "Id",
|
|
"description": "Unique ID for this job"
|
|
},
|
|
"status": {
|
|
"$ref": "#/components/schemas/InstallStatus",
|
|
"description": "Current status of install process",
|
|
"default": "waiting"
|
|
},
|
|
"error_reason": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Reason",
|
|
"description": "Information about why the job failed"
|
|
},
|
|
"config_in": {
|
|
"$ref": "#/components/schemas/ModelRecordChanges",
|
|
"description": "Configuration information (e.g. 'description') to apply to model."
|
|
},
|
|
"config_out": {
|
|
"anyOf": [
|
|
{
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Out",
|
|
"description": "After successful installation, this will hold the configuration object."
|
|
},
|
|
"inplace": {
|
|
"type": "boolean",
|
|
"title": "Inplace",
|
|
"description": "Leave model in its current location; otherwise install under models directory",
|
|
"default": false
|
|
},
|
|
"source": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source",
|
|
"description": "Source (URL, repo_id, or local path) of model",
|
|
"discriminator": {
|
|
"propertyName": "type",
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
}
|
|
}
|
|
},
|
|
"local_path": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Local Path",
|
|
"description": "Path to locally-downloaded model; may be the same as the source"
|
|
},
|
|
"bytes": {
|
|
"type": "integer",
|
|
"title": "Bytes",
|
|
"description": "For a remote model, the number of bytes downloaded so far (may not be available)",
|
|
"default": 0
|
|
},
|
|
"total_bytes": {
|
|
"type": "integer",
|
|
"title": "Total Bytes",
|
|
"description": "Total size of the model to be installed",
|
|
"default": 0
|
|
},
|
|
"source_metadata": {
|
|
"anyOf": [
|
|
{
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BaseMetadata"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HuggingFaceMetadata"
|
|
}
|
|
],
|
|
"discriminator": {
|
|
"propertyName": "type",
|
|
"mapping": {
|
|
"basemetadata": "#/components/schemas/BaseMetadata",
|
|
"huggingface": "#/components/schemas/HuggingFaceMetadata"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Metadata",
|
|
"description": "Metadata provided by the model source"
|
|
},
|
|
"download_parts": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/DownloadJob"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"title": "Download Parts",
|
|
"description": "Download jobs contributing to this install"
|
|
},
|
|
"error": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error",
|
|
"description": "On an error condition, this field will contain the text of the exception"
|
|
},
|
|
"error_traceback": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Traceback",
|
|
"description": "On an error condition, this field will contain the exception traceback"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["id", "source", "local_path"],
|
|
"title": "ModelInstallJob",
|
|
"description": "Object that tracks the current status of an install request."
|
|
},
|
|
"ModelInstallStartedEvent": {
|
|
"description": "Event model for model_install_started",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"id": {
|
|
"description": "The ID of the install job",
|
|
"title": "Id",
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"description": "Source of the model; local path, repo_id or url",
|
|
"discriminator": {
|
|
"mapping": {
|
|
"hf": "#/components/schemas/HFModelSource",
|
|
"local": "#/components/schemas/LocalModelSource",
|
|
"url": "#/components/schemas/URLModelSource"
|
|
},
|
|
"propertyName": "type"
|
|
},
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LocalModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/HFModelSource"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/URLModelSource"
|
|
}
|
|
],
|
|
"title": "Source"
|
|
}
|
|
},
|
|
"required": ["timestamp", "id", "source"],
|
|
"title": "ModelInstallStartedEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelLoadCompleteEvent": {
|
|
"description": "Event model for model_load_complete",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"config": {
|
|
"description": "The model's config",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Config"
|
|
},
|
|
"submodel_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SubModelType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The submodel type, if any"
|
|
}
|
|
},
|
|
"required": ["timestamp", "config", "submodel_type"],
|
|
"title": "ModelLoadCompleteEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelLoadStartedEvent": {
|
|
"description": "Event model for model_load_started",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"config": {
|
|
"description": "The model's config",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
],
|
|
"title": "Config"
|
|
},
|
|
"submodel_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SubModelType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The submodel type, if any"
|
|
}
|
|
},
|
|
"required": ["timestamp", "config", "submodel_type"],
|
|
"title": "ModelLoadStartedEvent",
|
|
"type": "object"
|
|
},
|
|
"ModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "Model loader output",
|
|
"properties": {
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "model_loader_output",
|
|
"default": "model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
},
|
|
"clip": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP",
|
|
"ui_hidden": false
|
|
},
|
|
"unet": {
|
|
"$ref": "#/components/schemas/UNetField",
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
}
|
|
},
|
|
"required": ["output_meta", "vae", "type", "clip", "unet", "type"],
|
|
"title": "ModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"ModelRecordChanges": {
|
|
"properties": {
|
|
"source": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source",
|
|
"description": "original source of the model"
|
|
},
|
|
"source_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelSourceType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "type of model source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "metadata from remote source"
|
|
},
|
|
"name": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Path",
|
|
"description": "Path to the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"base": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BaseModelType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The base model."
|
|
},
|
|
"type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "Type of model"
|
|
},
|
|
"key": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Key",
|
|
"description": "Database ID for this model"
|
|
},
|
|
"hash": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Hash",
|
|
"description": "hash of model file"
|
|
},
|
|
"file_size": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "File Size",
|
|
"description": "Size of model file"
|
|
},
|
|
"format": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Format",
|
|
"description": "format of model file"
|
|
},
|
|
"trigger_phrases": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Trigger Phrases",
|
|
"description": "Set of trigger phrases for this model"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MainModelDefaultSettings"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoraModelDefaultSettings"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Default Settings",
|
|
"description": "Default settings for this model"
|
|
},
|
|
"variant": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ClipVariantType"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVariantType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Variant",
|
|
"description": "The variant of the model."
|
|
},
|
|
"prediction_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SchedulerPredictionType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The prediction type of the model."
|
|
},
|
|
"upcast_attention": {
|
|
"anyOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Upcast Attention",
|
|
"description": "Whether to upcast attention."
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to config file for model"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"title": "ModelRecordChanges",
|
|
"description": "A set of changes to apply to a model."
|
|
},
|
|
"ModelRelationshipBatchRequest": {
|
|
"properties": {
|
|
"model_keys": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Model Keys",
|
|
"description": "List of model keys to fetch related models for",
|
|
"examples": [
|
|
["aa3b247f-90c9-4416-bfcd-aeaa57a5339e", "ac32b914-10ab-496e-a24a-3068724b9c35"],
|
|
[
|
|
"b1c2d3e4-f5a6-7890-abcd-ef1234567890",
|
|
"12345678-90ab-cdef-1234-567890abcdef",
|
|
"fedcba98-7654-3210-fedc-ba9876543210"
|
|
],
|
|
["3bb7c0eb-b6c8-469c-ad8c-4d69c06075e4"]
|
|
]
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["model_keys"],
|
|
"title": "ModelRelationshipBatchRequest"
|
|
},
|
|
"ModelRelationshipCreateRequest": {
|
|
"properties": {
|
|
"model_key_1": {
|
|
"type": "string",
|
|
"title": "Model Key 1",
|
|
"description": "The key of the first model in the relationship",
|
|
"examples": [
|
|
"aa3b247f-90c9-4416-bfcd-aeaa57a5339e",
|
|
"ac32b914-10ab-496e-a24a-3068724b9c35",
|
|
"d944abfd-c7c3-42e2-a4ff-da640b29b8b4",
|
|
"b1c2d3e4-f5a6-7890-abcd-ef1234567890",
|
|
"12345678-90ab-cdef-1234-567890abcdef",
|
|
"fedcba98-7654-3210-fedc-ba9876543210"
|
|
]
|
|
},
|
|
"model_key_2": {
|
|
"type": "string",
|
|
"title": "Model Key 2",
|
|
"description": "The key of the second model in the relationship",
|
|
"examples": [
|
|
"3bb7c0eb-b6c8-469c-ad8c-4d69c06075e4",
|
|
"f0c3da4e-d9ff-42b5-a45c-23be75c887c9",
|
|
"38170dd8-f1e5-431e-866c-2c81f1277fcc",
|
|
"c57fea2d-7646-424c-b9ad-c0ba60fc68be",
|
|
"10f7807b-ab54-46a9-ab03-600e88c630a1",
|
|
"f6c1d267-cf87-4ee0-bee0-37e791eacab7"
|
|
]
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["model_key_1", "model_key_2"],
|
|
"title": "ModelRelationshipCreateRequest"
|
|
},
|
|
"ModelRepoVariant": {
|
|
"type": "string",
|
|
"enum": ["", "fp16", "fp32", "onnx", "openvino", "flax"],
|
|
"title": "ModelRepoVariant",
|
|
"description": "Various hugging face variants on the diffusers format."
|
|
},
|
|
"ModelSourceType": {
|
|
"type": "string",
|
|
"enum": ["path", "url", "hf_repo_id"],
|
|
"title": "ModelSourceType",
|
|
"description": "Model source type."
|
|
},
|
|
"ModelType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"onnx",
|
|
"main",
|
|
"vae",
|
|
"lora",
|
|
"control_lora",
|
|
"controlnet",
|
|
"embedding",
|
|
"ip_adapter",
|
|
"clip_vision",
|
|
"clip_embed",
|
|
"t2i_adapter",
|
|
"t5_encoder",
|
|
"qwen3_encoder",
|
|
"spandrel_image_to_image",
|
|
"siglip",
|
|
"flux_redux",
|
|
"llava_onevision",
|
|
"unknown"
|
|
],
|
|
"title": "ModelType",
|
|
"description": "Model type."
|
|
},
|
|
"ModelVariantType": {
|
|
"type": "string",
|
|
"enum": ["normal", "inpaint", "depth"],
|
|
"title": "ModelVariantType",
|
|
"description": "Variant type."
|
|
},
|
|
"ModelsList": {
|
|
"properties": {
|
|
"models": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_SD3_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_CogView4_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_SDXLRefiner_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_BnBNF4_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Main_GGUF_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/VAE_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlNet_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_LyCORIS_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_OMI_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LoRA_Diffusers_ZImage_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ControlLoRA_LyCORIS_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_T5Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T5Encoder_BnBLLMint8_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3Encoder_Qwen3Encoder_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_File_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/TI_Folder_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_InvokeAI_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SD2_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/IPAdapter_Checkpoint_FLUX_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Spandrel_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_G_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPEmbed_Diffusers_L_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/CLIPVision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/SigLIP_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FLUXRedux_Checkpoint_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/LlavaOnevision_Diffusers_Config"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/Unknown_Config"
|
|
}
|
|
]
|
|
},
|
|
"type": "array",
|
|
"title": "Models"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["models"],
|
|
"title": "ModelsList",
|
|
"description": "Return list of configs."
|
|
},
|
|
"MultiplyInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Multiplies two numbers",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"a": {
|
|
"default": 0,
|
|
"description": "The first number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "A",
|
|
"type": "integer"
|
|
},
|
|
"b": {
|
|
"default": 0,
|
|
"description": "The second number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "B",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "mul",
|
|
"default": "mul",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "multiply"],
|
|
"title": "Multiply Integers",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"NodeFieldValue": {
|
|
"properties": {
|
|
"node_path": {
|
|
"type": "string",
|
|
"title": "Node Path",
|
|
"description": "The node into which this batch data item will be substituted."
|
|
},
|
|
"field_name": {
|
|
"type": "string",
|
|
"title": "Field Name",
|
|
"description": "The field into which this batch data item will be substituted."
|
|
},
|
|
"value": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
}
|
|
],
|
|
"title": "Value",
|
|
"description": "The value to substitute into the node/field."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["node_path", "field_name", "value"],
|
|
"title": "NodeFieldValue"
|
|
},
|
|
"NoiseInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates latent noise.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Seed for random number generation",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 4294967295,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"width": {
|
|
"default": 512,
|
|
"description": "Width of output (px)",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 512,
|
|
"description": "Height of output (px)",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"use_cpu": {
|
|
"default": true,
|
|
"description": "Use CPU for noise generation (for reproducible results across platforms)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Use Cpu",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "noise",
|
|
"default": "noise",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "noise"],
|
|
"title": "Create Latent Noise",
|
|
"type": "object",
|
|
"version": "1.0.3",
|
|
"output": {
|
|
"$ref": "#/components/schemas/NoiseOutput"
|
|
}
|
|
},
|
|
"NoiseOutput": {
|
|
"class": "output",
|
|
"description": "Invocation noise output",
|
|
"properties": {
|
|
"noise": {
|
|
"$ref": "#/components/schemas/LatentsField",
|
|
"description": "Noise tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "Width of output (px)",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "Height of output (px)",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "noise_output",
|
|
"default": "noise_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "noise", "width", "height", "type", "type"],
|
|
"title": "NoiseOutput",
|
|
"type": "object"
|
|
},
|
|
"NormalMapInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates a normal map.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "normal_map",
|
|
"default": "normal_map",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "normal"],
|
|
"title": "Normal Map",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"OffsetPaginatedResults_BoardDTO_": {
|
|
"properties": {
|
|
"limit": {
|
|
"type": "integer",
|
|
"title": "Limit",
|
|
"description": "Limit of items to get"
|
|
},
|
|
"offset": {
|
|
"type": "integer",
|
|
"title": "Offset",
|
|
"description": "Offset from which to retrieve items"
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"title": "Total",
|
|
"description": "Total number of items in result"
|
|
},
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/BoardDTO"
|
|
},
|
|
"type": "array",
|
|
"title": "Items",
|
|
"description": "Items"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["limit", "offset", "total", "items"],
|
|
"title": "OffsetPaginatedResults[BoardDTO]"
|
|
},
|
|
"OffsetPaginatedResults_ImageDTO_": {
|
|
"properties": {
|
|
"limit": {
|
|
"type": "integer",
|
|
"title": "Limit",
|
|
"description": "Limit of items to get"
|
|
},
|
|
"offset": {
|
|
"type": "integer",
|
|
"title": "Offset",
|
|
"description": "Offset from which to retrieve items"
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"title": "Total",
|
|
"description": "Total number of items in result"
|
|
},
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ImageDTO"
|
|
},
|
|
"type": "array",
|
|
"title": "Items",
|
|
"description": "Items"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["limit", "offset", "total", "items"],
|
|
"title": "OffsetPaginatedResults[ImageDTO]"
|
|
},
|
|
"OutputFieldJSONSchemaExtra": {
|
|
"description": "Extra attributes to be added to input fields and their OpenAPI schema. Used by the workflow editor\nduring schema parsing and UI rendering.",
|
|
"properties": {
|
|
"field_kind": {
|
|
"$ref": "#/components/schemas/FieldKind"
|
|
},
|
|
"ui_hidden": {
|
|
"default": false,
|
|
"title": "Ui Hidden",
|
|
"type": "boolean"
|
|
},
|
|
"ui_order": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"title": "Ui Order"
|
|
},
|
|
"ui_type": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UIType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null
|
|
}
|
|
},
|
|
"required": ["field_kind", "ui_hidden", "ui_order", "ui_type"],
|
|
"title": "OutputFieldJSONSchemaExtra",
|
|
"type": "object"
|
|
},
|
|
"PaginatedResults_WorkflowRecordListItemWithThumbnailDTO_": {
|
|
"properties": {
|
|
"page": {
|
|
"type": "integer",
|
|
"title": "Page",
|
|
"description": "Current Page"
|
|
},
|
|
"pages": {
|
|
"type": "integer",
|
|
"title": "Pages",
|
|
"description": "Total number of pages"
|
|
},
|
|
"per_page": {
|
|
"type": "integer",
|
|
"title": "Per Page",
|
|
"description": "Number of items per page"
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"title": "Total",
|
|
"description": "Total number of items in result"
|
|
},
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/WorkflowRecordListItemWithThumbnailDTO"
|
|
},
|
|
"type": "array",
|
|
"title": "Items",
|
|
"description": "Items"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["page", "pages", "per_page", "total", "items"],
|
|
"title": "PaginatedResults[WorkflowRecordListItemWithThumbnailDTO]"
|
|
},
|
|
"PairTileImageInvocation": {
|
|
"category": "tiles",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Pair an image with its tile properties.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The tile image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"tile": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Tile"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The tile properties.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "pair_tile_image",
|
|
"default": "pair_tile_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["tiles"],
|
|
"title": "Pair Tile with Image",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/PairTileImageOutput"
|
|
}
|
|
},
|
|
"PairTileImageOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"tile_with_image": {
|
|
"$ref": "#/components/schemas/TileWithImage",
|
|
"description": "A tile description with its corresponding image.",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "pair_tile_image_output",
|
|
"default": "pair_tile_image_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "tile_with_image", "type", "type"],
|
|
"title": "PairTileImageOutput",
|
|
"type": "object"
|
|
},
|
|
"PasteImageIntoBoundingBoxInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Paste the source image into the target image at the given bounding box.\n\nThe source image must be the same size as the bounding box, and the bounding box must fit within the target image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"source_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to paste",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"target_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to paste into",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"bounding_box": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoundingBoxField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bounding box to paste the image into",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "paste_image_into_bounding_box",
|
|
"default": "paste_image_into_bounding_box",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "crop"],
|
|
"title": "Paste Image into Bounding Box",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"PiDiNetEdgeDetectionInvocation": {
|
|
"category": "controlnet",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an edge map using PiDiNet.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"quantize_edges": {
|
|
"default": false,
|
|
"description": "Whether or not to use safe mode",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Quantize Edges",
|
|
"type": "boolean"
|
|
},
|
|
"scribble": {
|
|
"default": false,
|
|
"description": "Whether or not to use scribble mode",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Scribble",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "pidi_edge_detection",
|
|
"default": "pidi_edge_detection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["controlnet", "edge"],
|
|
"title": "PiDiNet Edge Detection",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"PresetData": {
|
|
"properties": {
|
|
"positive_prompt": {
|
|
"type": "string",
|
|
"title": "Positive Prompt",
|
|
"description": "Positive prompt"
|
|
},
|
|
"negative_prompt": {
|
|
"type": "string",
|
|
"title": "Negative Prompt",
|
|
"description": "Negative prompt"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"type": "object",
|
|
"required": ["positive_prompt", "negative_prompt"],
|
|
"title": "PresetData"
|
|
},
|
|
"PresetType": {
|
|
"type": "string",
|
|
"enum": ["user", "default"],
|
|
"title": "PresetType"
|
|
},
|
|
"ProgressImage": {
|
|
"description": "The progress image sent intermittently during processing",
|
|
"properties": {
|
|
"width": {
|
|
"description": "The effective width of the image in pixels",
|
|
"minimum": 1,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"description": "The effective height of the image in pixels",
|
|
"minimum": 1,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"dataURL": {
|
|
"description": "The image data as a b64 data URL",
|
|
"title": "Dataurl",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["width", "height", "dataURL"],
|
|
"title": "ProgressImage",
|
|
"type": "object"
|
|
},
|
|
"PromptsFromFileInvocation": {
|
|
"category": "prompt",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads prompts from a text file",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"file_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Path to prompt text file",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "File Path"
|
|
},
|
|
"pre_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "String to prepend to each prompt",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Pre Prompt",
|
|
"ui_component": "textarea"
|
|
},
|
|
"post_prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "String to append to each prompt",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Post Prompt",
|
|
"ui_component": "textarea"
|
|
},
|
|
"start_line": {
|
|
"default": 1,
|
|
"description": "Line in the file to start start from",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 1,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Start Line",
|
|
"type": "integer"
|
|
},
|
|
"max_prompts": {
|
|
"default": 1,
|
|
"description": "Max lines to read from file (0=all)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Max Prompts",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "prompt_from_file",
|
|
"default": "prompt_from_file",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "file"],
|
|
"title": "Prompts from File",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
}
|
|
},
|
|
"PruneResult": {
|
|
"properties": {
|
|
"deleted": {
|
|
"type": "integer",
|
|
"title": "Deleted",
|
|
"description": "Number of queue items deleted"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["deleted"],
|
|
"title": "PruneResult",
|
|
"description": "Result of pruning the session queue"
|
|
},
|
|
"QueueClearedEvent": {
|
|
"description": "Event model for queue_cleared",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["timestamp", "queue_id"],
|
|
"title": "QueueClearedEvent",
|
|
"type": "object"
|
|
},
|
|
"QueueItemStatusChangedEvent": {
|
|
"description": "Event model for queue_item_status_changed",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"item_id": {
|
|
"description": "The ID of the queue item",
|
|
"title": "Item Id",
|
|
"type": "integer"
|
|
},
|
|
"batch_id": {
|
|
"description": "The ID of the queue batch",
|
|
"title": "Batch Id",
|
|
"type": "string"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The origin of the queue item",
|
|
"title": "Origin"
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The destination of the queue item",
|
|
"title": "Destination"
|
|
},
|
|
"status": {
|
|
"description": "The new status of the queue item",
|
|
"enum": ["pending", "in_progress", "completed", "failed", "canceled"],
|
|
"title": "Status",
|
|
"type": "string"
|
|
},
|
|
"error_type": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The error type, if any",
|
|
"title": "Error Type"
|
|
},
|
|
"error_message": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The error message, if any",
|
|
"title": "Error Message"
|
|
},
|
|
"error_traceback": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The error traceback, if any",
|
|
"title": "Error Traceback"
|
|
},
|
|
"created_at": {
|
|
"description": "The timestamp when the queue item was created",
|
|
"title": "Created At",
|
|
"type": "string"
|
|
},
|
|
"updated_at": {
|
|
"description": "The timestamp when the queue item was last updated",
|
|
"title": "Updated At",
|
|
"type": "string"
|
|
},
|
|
"started_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The timestamp when the queue item was started",
|
|
"title": "Started At"
|
|
},
|
|
"completed_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The timestamp when the queue item was completed",
|
|
"title": "Completed At"
|
|
},
|
|
"batch_status": {
|
|
"$ref": "#/components/schemas/BatchStatus",
|
|
"description": "The status of the batch"
|
|
},
|
|
"queue_status": {
|
|
"$ref": "#/components/schemas/SessionQueueStatus",
|
|
"description": "The status of the queue"
|
|
},
|
|
"session_id": {
|
|
"description": "The ID of the session (aka graph execution state)",
|
|
"title": "Session Id",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"timestamp",
|
|
"queue_id",
|
|
"item_id",
|
|
"batch_id",
|
|
"origin",
|
|
"destination",
|
|
"status",
|
|
"error_type",
|
|
"error_message",
|
|
"error_traceback",
|
|
"created_at",
|
|
"updated_at",
|
|
"started_at",
|
|
"completed_at",
|
|
"batch_status",
|
|
"queue_status",
|
|
"session_id"
|
|
],
|
|
"title": "QueueItemStatusChangedEvent",
|
|
"type": "object"
|
|
},
|
|
"QueueItemsRetriedEvent": {
|
|
"description": "Event model for queue_items_retried",
|
|
"properties": {
|
|
"timestamp": {
|
|
"description": "The timestamp of the event",
|
|
"title": "Timestamp",
|
|
"type": "integer"
|
|
},
|
|
"queue_id": {
|
|
"description": "The ID of the queue",
|
|
"title": "Queue Id",
|
|
"type": "string"
|
|
},
|
|
"retried_item_ids": {
|
|
"description": "The IDs of the queue items that were retried",
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"title": "Retried Item Ids",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["timestamp", "queue_id", "retried_item_ids"],
|
|
"title": "QueueItemsRetriedEvent",
|
|
"type": "object"
|
|
},
|
|
"Qwen3EncoderField": {
|
|
"description": "Field for Qwen3 text encoder used by Z-Image models.",
|
|
"properties": {
|
|
"tokenizer": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load tokenizer submodel"
|
|
},
|
|
"text_encoder": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load text_encoder submodel"
|
|
},
|
|
"loras": {
|
|
"description": "LoRAs to apply on model loading",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"title": "Loras",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["tokenizer", "text_encoder"],
|
|
"title": "Qwen3EncoderField",
|
|
"type": "object"
|
|
},
|
|
"Qwen3Encoder_Qwen3Encoder_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "qwen3_encoder",
|
|
"title": "Type",
|
|
"default": "qwen3_encoder"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "qwen3_encoder",
|
|
"title": "Format",
|
|
"default": "qwen3_encoder"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"base",
|
|
"type",
|
|
"format"
|
|
],
|
|
"title": "Qwen3Encoder_Qwen3Encoder_Config",
|
|
"description": "Configuration for Qwen3 Encoder models in a diffusers-like format.\n\nThe model weights are expected to be in a folder called text_encoder inside the model directory,\ncompatible with Qwen2VLForConditionalGeneration or similar architectures used by Z-Image."
|
|
},
|
|
"RandomFloatInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Outputs a single random float",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": false,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"low": {
|
|
"default": 0.0,
|
|
"description": "The inclusive low value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Low",
|
|
"type": "number"
|
|
},
|
|
"high": {
|
|
"default": 1.0,
|
|
"description": "The exclusive high value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "High",
|
|
"type": "number"
|
|
},
|
|
"decimals": {
|
|
"default": 2,
|
|
"description": "The number of decimal places to round to",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 2,
|
|
"orig_required": false,
|
|
"title": "Decimals",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "rand_float",
|
|
"default": "rand_float",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "float", "random"],
|
|
"title": "Random Float",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
}
|
|
},
|
|
"RandomIntInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Outputs a single random integer.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": false,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"low": {
|
|
"default": 0,
|
|
"description": "The inclusive low value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Low",
|
|
"type": "integer"
|
|
},
|
|
"high": {
|
|
"default": 2147483647,
|
|
"description": "The exclusive high value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 2147483647,
|
|
"orig_required": false,
|
|
"title": "High",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "rand_int",
|
|
"default": "rand_int",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "random"],
|
|
"title": "Random Integer",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"RandomRangeInvocation": {
|
|
"category": "collections",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates a collection of random numbers",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": false,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"low": {
|
|
"default": 0,
|
|
"description": "The inclusive low value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Low",
|
|
"type": "integer"
|
|
},
|
|
"high": {
|
|
"default": 2147483647,
|
|
"description": "The exclusive high value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 2147483647,
|
|
"orig_required": false,
|
|
"title": "High",
|
|
"type": "integer"
|
|
},
|
|
"size": {
|
|
"default": 1,
|
|
"description": "The number of values to generate",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Size",
|
|
"type": "integer"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "The seed for the RNG (omit for random)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 4294967295,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "random_range",
|
|
"default": "random_range",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["range", "integer", "random", "collection"],
|
|
"title": "Random Range",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
}
|
|
},
|
|
"RangeInvocation": {
|
|
"category": "collections",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates a range of numbers from start to stop with step",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"start": {
|
|
"default": 0,
|
|
"description": "The start of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Start",
|
|
"type": "integer"
|
|
},
|
|
"stop": {
|
|
"default": 10,
|
|
"description": "The stop of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 10,
|
|
"orig_required": false,
|
|
"title": "Stop",
|
|
"type": "integer"
|
|
},
|
|
"step": {
|
|
"default": 1,
|
|
"description": "The step of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Step",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "range",
|
|
"default": "range",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["collection", "integer", "range"],
|
|
"title": "Integer Range",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
}
|
|
},
|
|
"RangeOfSizeInvocation": {
|
|
"category": "collections",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Creates a range from start to start + (size * step) incremented by step",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"start": {
|
|
"default": 0,
|
|
"description": "The start of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Start",
|
|
"type": "integer"
|
|
},
|
|
"size": {
|
|
"default": 1,
|
|
"description": "The number of values",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Size",
|
|
"type": "integer"
|
|
},
|
|
"step": {
|
|
"default": 1,
|
|
"description": "The step of the range",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Step",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "range_of_size",
|
|
"default": "range_of_size",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["collection", "integer", "size", "range"],
|
|
"title": "Integer Range of Size",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerCollectionOutput"
|
|
}
|
|
},
|
|
"RectangleMaskInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Create a rectangular mask.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"width": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The width of the entire mask.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Width"
|
|
},
|
|
"height": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The height of the entire mask.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Height"
|
|
},
|
|
"x_left": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The left x-coordinate of the rectangular masked region (inclusive).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "X Left"
|
|
},
|
|
"y_top": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The top y-coordinate of the rectangular masked region (inclusive).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Y Top"
|
|
},
|
|
"rectangle_width": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The width of the rectangular masked region.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Rectangle Width"
|
|
},
|
|
"rectangle_height": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The height of the rectangular masked region.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Rectangle Height"
|
|
},
|
|
"type": {
|
|
"const": "rectangle_mask",
|
|
"default": "rectangle_mask",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["conditioning"],
|
|
"title": "Create Rectangle Mask",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
}
|
|
},
|
|
"RemoteModelFile": {
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"format": "uri",
|
|
"title": "Url",
|
|
"description": "The url to download this model file"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"title": "Path",
|
|
"description": "The path to the file, relative to the model root"
|
|
},
|
|
"size": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Size",
|
|
"description": "The size of this file, in bytes",
|
|
"default": 0
|
|
},
|
|
"sha256": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Sha256",
|
|
"description": "SHA256 hash of this model (not always available)"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["url", "path"],
|
|
"title": "RemoteModelFile",
|
|
"description": "Information about a downloadable file that forms part of a model."
|
|
},
|
|
"RemoveImagesFromBoardResult": {
|
|
"properties": {
|
|
"affected_boards": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Affected Boards",
|
|
"description": "The ids of boards affected by the delete operation"
|
|
},
|
|
"removed_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Removed Images",
|
|
"description": "The image names that were removed from their board"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["affected_boards", "removed_images"],
|
|
"title": "RemoveImagesFromBoardResult"
|
|
},
|
|
"ResizeLatentsInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Resizes latents to explicit width/height (in pixels). Provided dimensions are floor-divided by 8.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"width": {
|
|
"anyOf": [
|
|
{
|
|
"minimum": 64,
|
|
"multipleOf": 8,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Width of output (px)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Width"
|
|
},
|
|
"height": {
|
|
"anyOf": [
|
|
{
|
|
"minimum": 64,
|
|
"multipleOf": 8,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Width of output (px)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Height"
|
|
},
|
|
"mode": {
|
|
"default": "bilinear",
|
|
"description": "Interpolation mode",
|
|
"enum": ["nearest", "linear", "bilinear", "bicubic", "trilinear", "area", "nearest-exact"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "bilinear",
|
|
"orig_required": false,
|
|
"title": "Mode",
|
|
"type": "string"
|
|
},
|
|
"antialias": {
|
|
"default": false,
|
|
"description": "Whether or not to apply antialiasing (bilinear or bicubic only)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Antialias",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "lresize",
|
|
"default": "lresize",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "resize"],
|
|
"title": "Resize Latents",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"ResourceOrigin": {
|
|
"type": "string",
|
|
"enum": ["internal", "external"],
|
|
"title": "ResourceOrigin",
|
|
"description": "The origin of a resource (eg image).\n\n- INTERNAL: The resource was created by the application.\n- EXTERNAL: The resource was not created by the application.\nThis may be a user-initiated upload, or an internal application upload (eg Canvas init image)."
|
|
},
|
|
"RetryItemsResult": {
|
|
"properties": {
|
|
"queue_id": {
|
|
"type": "string",
|
|
"title": "Queue Id",
|
|
"description": "The ID of the queue"
|
|
},
|
|
"retried_item_ids": {
|
|
"items": {
|
|
"type": "integer"
|
|
},
|
|
"type": "array",
|
|
"title": "Retried Item Ids",
|
|
"description": "The IDs of the queue items that were retried"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["queue_id", "retried_item_ids"],
|
|
"title": "RetryItemsResult"
|
|
},
|
|
"RoundInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Rounds a float to a specified number of decimal places.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"value": {
|
|
"default": 0,
|
|
"description": "The float value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Value",
|
|
"type": "number"
|
|
},
|
|
"decimals": {
|
|
"default": 0,
|
|
"description": "The number of decimal places",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Decimals",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "round_float",
|
|
"default": "round_float",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "round"],
|
|
"title": "Round Float",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/FloatOutput"
|
|
}
|
|
},
|
|
"SAMPoint": {
|
|
"properties": {
|
|
"x": {
|
|
"description": "The x-coordinate of the point",
|
|
"title": "X",
|
|
"type": "integer"
|
|
},
|
|
"y": {
|
|
"description": "The y-coordinate of the point",
|
|
"title": "Y",
|
|
"type": "integer"
|
|
},
|
|
"label": {
|
|
"$ref": "#/components/schemas/SAMPointLabel",
|
|
"description": "The label of the point"
|
|
}
|
|
},
|
|
"required": ["x", "y", "label"],
|
|
"title": "SAMPoint",
|
|
"type": "object"
|
|
},
|
|
"SAMPointLabel": {
|
|
"enum": [-1, 0, 1],
|
|
"title": "SAMPointLabel",
|
|
"type": "integer"
|
|
},
|
|
"SAMPointsField": {
|
|
"properties": {
|
|
"points": {
|
|
"description": "The points of the object",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SAMPoint"
|
|
},
|
|
"minItems": 1,
|
|
"title": "Points",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["points"],
|
|
"title": "SAMPointsField",
|
|
"type": "object"
|
|
},
|
|
"SD3ConditioningField": {
|
|
"description": "A conditioning tensor primitive value",
|
|
"properties": {
|
|
"conditioning_name": {
|
|
"description": "The name of conditioning tensor",
|
|
"title": "Conditioning Name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["conditioning_name"],
|
|
"title": "SD3ConditioningField",
|
|
"type": "object"
|
|
},
|
|
"SD3ConditioningOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single SD3 conditioning tensor",
|
|
"properties": {
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/SD3ConditioningField",
|
|
"description": "Conditioning tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "sd3_conditioning_output",
|
|
"default": "sd3_conditioning_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "conditioning", "type", "type"],
|
|
"title": "SD3ConditioningOutput",
|
|
"type": "object"
|
|
},
|
|
"SD3DenoiseInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Run denoising process with a SD3 model.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "SD3 model (MMDiTX) to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Transformer"
|
|
},
|
|
"positive_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SD3ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"negative_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SD3ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 3.5,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 3.5,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"width": {
|
|
"default": 1024,
|
|
"description": "Width of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 1024,
|
|
"description": "Height of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"steps": {
|
|
"default": 10,
|
|
"description": "Number of steps to run",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 10,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Randomness seed for reproducibility.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "sd3_denoise",
|
|
"default": "sd3_denoise",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "sd3"],
|
|
"title": "Denoise - SD3",
|
|
"type": "object",
|
|
"version": "1.1.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"SD3ImageToLatentsInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates latents from an image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to encode",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "sd3_i2l",
|
|
"default": "sd3_i2l",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "latents", "vae", "i2l", "sd3"],
|
|
"title": "Image to Latents - SD3",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"SD3LatentsToImageInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Generates an image from latents.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "sd3_l2i",
|
|
"default": "sd3_l2i",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "l2i", "sd3"],
|
|
"title": "Latents to Image - SD3",
|
|
"type": "object",
|
|
"version": "1.3.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"SDXLCompelPromptInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Parse prompt using compel package to conditioning.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"prompt": {
|
|
"default": "",
|
|
"description": "Prompt to be parsed by Compel to create a conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Prompt",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"style": {
|
|
"default": "",
|
|
"description": "Prompt to be parsed by Compel to create a conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Style",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"original_width": {
|
|
"default": 1024,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Original Width",
|
|
"type": "integer"
|
|
},
|
|
"original_height": {
|
|
"default": 1024,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Original Height",
|
|
"type": "integer"
|
|
},
|
|
"crop_top": {
|
|
"default": 0,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Crop Top",
|
|
"type": "integer"
|
|
},
|
|
"crop_left": {
|
|
"default": 0,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Crop Left",
|
|
"type": "integer"
|
|
},
|
|
"target_width": {
|
|
"default": 1024,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Target Width",
|
|
"type": "integer"
|
|
},
|
|
"target_height": {
|
|
"default": 1024,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Target Height",
|
|
"type": "integer"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "CLIP 1"
|
|
},
|
|
"clip2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "CLIP 2"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask defining the region that this conditioning prompt applies to.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "sdxl_compel_prompt",
|
|
"default": "sdxl_compel_prompt",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["sdxl", "compel", "prompt"],
|
|
"title": "Prompt - SDXL",
|
|
"type": "object",
|
|
"version": "1.2.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
}
|
|
},
|
|
"SDXLLoRACollectionLoader": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies a collection of SDXL LoRAs to the provided UNet and CLIP models.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"loras": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA models and weights. May be a single LoRA or collection.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "LoRAs"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP"
|
|
},
|
|
"clip2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP 2"
|
|
},
|
|
"type": {
|
|
"const": "sdxl_lora_collection_loader",
|
|
"default": "sdxl_lora_collection_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model"],
|
|
"title": "Apply LoRA Collection - SDXL",
|
|
"type": "object",
|
|
"version": "1.1.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
}
|
|
},
|
|
"SDXLLoRALoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Apply selected lora to unet and text_encoder.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "LoRA",
|
|
"ui_model_base": ["sdxl"],
|
|
"ui_model_type": ["lora"]
|
|
},
|
|
"weight": {
|
|
"default": 0.75,
|
|
"description": "The weight at which the LoRA is applied to each model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.75,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP 1"
|
|
},
|
|
"clip2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP 2"
|
|
},
|
|
"type": {
|
|
"const": "sdxl_lora_loader",
|
|
"default": "sdxl_lora_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["lora", "model"],
|
|
"title": "Apply LoRA - SDXL",
|
|
"type": "object",
|
|
"version": "1.0.5",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SDXLLoRALoaderOutput"
|
|
}
|
|
},
|
|
"SDXLLoRALoaderOutput": {
|
|
"class": "output",
|
|
"description": "SDXL LoRA Loader Output",
|
|
"properties": {
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 1",
|
|
"ui_hidden": false
|
|
},
|
|
"clip2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 2",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "sdxl_lora_loader_output",
|
|
"default": "sdxl_lora_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "unet", "clip", "clip2", "type", "type"],
|
|
"title": "SDXLLoRALoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"SDXLModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads an sdxl base model, outputting its submodels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "SDXL Main model (UNet, VAE, CLIP1, CLIP2) to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_base": ["sdxl"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "sdxl_model_loader",
|
|
"default": "sdxl_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model", "sdxl"],
|
|
"title": "Main Model - SDXL",
|
|
"type": "object",
|
|
"version": "1.0.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SDXLModelLoaderOutput"
|
|
}
|
|
},
|
|
"SDXLModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "SDXL base model loader output",
|
|
"properties": {
|
|
"unet": {
|
|
"$ref": "#/components/schemas/UNetField",
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"clip": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 1",
|
|
"ui_hidden": false
|
|
},
|
|
"clip2": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 2",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "sdxl_model_loader_output",
|
|
"default": "sdxl_model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "unet", "clip", "clip2", "vae", "type", "type"],
|
|
"title": "SDXLModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"SDXLRefinerCompelPromptInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Parse prompt using compel package to conditioning.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"style": {
|
|
"default": "",
|
|
"description": "Prompt to be parsed by Compel to create a conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Style",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"original_width": {
|
|
"default": 1024,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Original Width",
|
|
"type": "integer"
|
|
},
|
|
"original_height": {
|
|
"default": 1024,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Original Height",
|
|
"type": "integer"
|
|
},
|
|
"crop_top": {
|
|
"default": 0,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Crop Top",
|
|
"type": "integer"
|
|
},
|
|
"crop_left": {
|
|
"default": 0,
|
|
"description": "",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Crop Left",
|
|
"type": "integer"
|
|
},
|
|
"aesthetic_score": {
|
|
"default": 6.0,
|
|
"description": "The aesthetic score to apply to the conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 6.0,
|
|
"orig_required": false,
|
|
"title": "Aesthetic Score",
|
|
"type": "number"
|
|
},
|
|
"clip2": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "sdxl_refiner_compel_prompt",
|
|
"default": "sdxl_refiner_compel_prompt",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["sdxl", "compel", "prompt"],
|
|
"title": "Prompt - SDXL Refiner",
|
|
"type": "object",
|
|
"version": "1.1.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ConditioningOutput"
|
|
}
|
|
},
|
|
"SDXLRefinerModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads an sdxl refiner model, outputting its submodels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "SDXL Refiner Main Modde (UNet, VAE, CLIP2) to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"ui_model_base": ["sdxl-refiner"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "sdxl_refiner_model_loader",
|
|
"default": "sdxl_refiner_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["model", "sdxl", "refiner"],
|
|
"title": "Refiner Model - SDXL",
|
|
"type": "object",
|
|
"version": "1.0.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SDXLRefinerModelLoaderOutput"
|
|
}
|
|
},
|
|
"SDXLRefinerModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "SDXL refiner model loader output",
|
|
"properties": {
|
|
"unet": {
|
|
"$ref": "#/components/schemas/UNetField",
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"clip2": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP 2",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "sdxl_refiner_model_loader_output",
|
|
"default": "sdxl_refiner_model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "unet", "clip2", "vae", "type", "type"],
|
|
"title": "SDXLRefinerModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"SQLiteDirection": {
|
|
"type": "string",
|
|
"enum": ["ASC", "DESC"],
|
|
"title": "SQLiteDirection"
|
|
},
|
|
"SaveImageInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Saves an image. Unlike an image primitive, this invocation stores a copy of the image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": false,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to process",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "save_image",
|
|
"default": "save_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "image"],
|
|
"title": "Save Image",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ScaleLatentsInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Scales latents by a given factor.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"scale_factor": {
|
|
"anyOf": [
|
|
{
|
|
"exclusiveMinimum": 0,
|
|
"type": "number"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The factor by which to scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Scale Factor"
|
|
},
|
|
"mode": {
|
|
"default": "bilinear",
|
|
"description": "Interpolation mode",
|
|
"enum": ["nearest", "linear", "bilinear", "bicubic", "trilinear", "area", "nearest-exact"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "bilinear",
|
|
"orig_required": false,
|
|
"title": "Mode",
|
|
"type": "string"
|
|
},
|
|
"antialias": {
|
|
"default": false,
|
|
"description": "Whether or not to apply antialiasing (bilinear or bicubic only)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Antialias",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "lscale",
|
|
"default": "lscale",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "resize"],
|
|
"title": "Scale Latents",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"SchedulerInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Selects a scheduler.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"scheduler": {
|
|
"default": "euler",
|
|
"description": "Scheduler to use during inference",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "euler",
|
|
"orig_required": false,
|
|
"title": "Scheduler",
|
|
"type": "string",
|
|
"ui_type": "SchedulerField"
|
|
},
|
|
"type": {
|
|
"const": "scheduler",
|
|
"default": "scheduler",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["scheduler"],
|
|
"title": "Scheduler",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SchedulerOutput"
|
|
}
|
|
},
|
|
"SchedulerOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"scheduler": {
|
|
"description": "Scheduler to use during inference",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
],
|
|
"field_kind": "output",
|
|
"title": "Scheduler",
|
|
"type": "string",
|
|
"ui_hidden": false,
|
|
"ui_type": "SchedulerField"
|
|
},
|
|
"type": {
|
|
"const": "scheduler_output",
|
|
"default": "scheduler_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "scheduler", "type", "type"],
|
|
"title": "SchedulerOutput",
|
|
"type": "object"
|
|
},
|
|
"SchedulerPredictionType": {
|
|
"type": "string",
|
|
"enum": ["epsilon", "v_prediction", "sample"],
|
|
"title": "SchedulerPredictionType",
|
|
"description": "Scheduler prediction type."
|
|
},
|
|
"Sd3ModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads a SD3 base model, outputting its submodels.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "SD3 model (MMDiTX) to load",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"ui_model_base": ["sd-3"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"t5_encoder_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T5 Encoder",
|
|
"ui_model_type": ["t5_encoder"]
|
|
},
|
|
"clip_l_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP Embed loader",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP L Encoder",
|
|
"ui_model_type": ["clip_embed"],
|
|
"ui_model_variant": ["large"]
|
|
},
|
|
"clip_g_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP-G Embed loader",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "CLIP G Encoder",
|
|
"ui_model_type": ["clip_embed"],
|
|
"ui_model_variant": ["gigantic"]
|
|
},
|
|
"vae_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "VAE",
|
|
"ui_model_base": ["sd-3"],
|
|
"ui_model_type": ["vae"]
|
|
},
|
|
"type": {
|
|
"const": "sd3_model_loader",
|
|
"default": "sd3_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["model", "type", "id"],
|
|
"tags": ["model", "sd3"],
|
|
"title": "Main Model - SD3",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/Sd3ModelLoaderOutput"
|
|
}
|
|
},
|
|
"Sd3ModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "SD3 base model loader output.",
|
|
"properties": {
|
|
"transformer": {
|
|
"$ref": "#/components/schemas/TransformerField",
|
|
"description": "Transformer",
|
|
"field_kind": "output",
|
|
"title": "Transformer",
|
|
"ui_hidden": false
|
|
},
|
|
"clip_l": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP L",
|
|
"ui_hidden": false
|
|
},
|
|
"clip_g": {
|
|
"$ref": "#/components/schemas/CLIPField",
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "output",
|
|
"title": "CLIP G",
|
|
"ui_hidden": false
|
|
},
|
|
"t5_encoder": {
|
|
"$ref": "#/components/schemas/T5EncoderField",
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "output",
|
|
"title": "T5 Encoder",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "sd3_model_loader_output",
|
|
"default": "sd3_model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "transformer", "clip_l", "clip_g", "t5_encoder", "vae", "type", "type"],
|
|
"title": "Sd3ModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"Sd3TextEncoderInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Encodes and preps a prompt for a SD3 image.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"clip_l": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "CLIP L"
|
|
},
|
|
"clip_g": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CLIPField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "CLIP (tokenizer, text encoder, LoRAs) and skipped layer count",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "CLIP G"
|
|
},
|
|
"t5_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/T5EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "T5 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "T5Encoder"
|
|
},
|
|
"prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Text prompt to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Prompt"
|
|
},
|
|
"type": {
|
|
"const": "sd3_text_encoder",
|
|
"default": "sd3_text_encoder",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "conditioning", "sd3"],
|
|
"title": "Prompt - SD3",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SD3ConditioningOutput"
|
|
}
|
|
},
|
|
"SeamlessModeInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies the seamless transformation to the Model UNet and VAE.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "UNet"
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE model to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "VAE"
|
|
},
|
|
"seamless_y": {
|
|
"default": true,
|
|
"description": "Specify whether Y axis is seamless",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Seamless Y",
|
|
"type": "boolean"
|
|
},
|
|
"seamless_x": {
|
|
"default": true,
|
|
"description": "Specify whether X axis is seamless",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Seamless X",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "seamless",
|
|
"default": "seamless",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["seamless", "model"],
|
|
"title": "Apply Seamless - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/SeamlessModeOutput"
|
|
}
|
|
},
|
|
"SeamlessModeOutput": {
|
|
"class": "output",
|
|
"description": "Modified Seamless Model output",
|
|
"properties": {
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "seamless_output",
|
|
"default": "seamless_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "unet", "vae", "type", "type"],
|
|
"title": "SeamlessModeOutput",
|
|
"type": "object"
|
|
},
|
|
"SegmentAnythingInvocation": {
|
|
"category": "segmentation",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Runs a Segment Anything Model (SAM or SAM2).",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"anyOf": [
|
|
{
|
|
"enum": [
|
|
"segment-anything-base",
|
|
"segment-anything-large",
|
|
"segment-anything-huge",
|
|
"segment-anything-2-tiny",
|
|
"segment-anything-2-small",
|
|
"segment-anything-2-base",
|
|
"segment-anything-2-large"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The Segment Anything model to use (SAM or SAM2).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Model"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to segment.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"bounding_boxes": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/BoundingBoxField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The bounding boxes to prompt the model with.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Bounding Boxes"
|
|
},
|
|
"point_lists": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/SAMPointsField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The list of point lists to prompt the model with. Each list of points represents a single object.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Point Lists"
|
|
},
|
|
"apply_polygon_refinement": {
|
|
"default": true,
|
|
"description": "Whether to apply polygon refinement to the masks. This will smooth the edges of the masks slightly and ensure that each mask consists of a single closed polygon (before merging).",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": true,
|
|
"orig_required": false,
|
|
"title": "Apply Polygon Refinement",
|
|
"type": "boolean"
|
|
},
|
|
"mask_filter": {
|
|
"default": "all",
|
|
"description": "The filtering to apply to the detected masks before merging them into a final output.",
|
|
"enum": ["all", "largest", "highest_box_score"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "all",
|
|
"orig_required": false,
|
|
"title": "Mask Filter",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "segment_anything",
|
|
"default": "segment_anything",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "segmentation", "sam", "sam2"],
|
|
"title": "Segment Anything",
|
|
"type": "object",
|
|
"version": "1.3.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/MaskOutput"
|
|
}
|
|
},
|
|
"SessionProcessorStatus": {
|
|
"properties": {
|
|
"is_started": {
|
|
"type": "boolean",
|
|
"title": "Is Started",
|
|
"description": "Whether the session processor is started"
|
|
},
|
|
"is_processing": {
|
|
"type": "boolean",
|
|
"title": "Is Processing",
|
|
"description": "Whether a session is being processed"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["is_started", "is_processing"],
|
|
"title": "SessionProcessorStatus"
|
|
},
|
|
"SessionQueueAndProcessorStatus": {
|
|
"properties": {
|
|
"queue": {
|
|
"$ref": "#/components/schemas/SessionQueueStatus"
|
|
},
|
|
"processor": {
|
|
"$ref": "#/components/schemas/SessionProcessorStatus"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["queue", "processor"],
|
|
"title": "SessionQueueAndProcessorStatus",
|
|
"description": "The overall status of session queue and processor"
|
|
},
|
|
"SessionQueueCountsByDestination": {
|
|
"properties": {
|
|
"queue_id": {
|
|
"type": "string",
|
|
"title": "Queue Id",
|
|
"description": "The ID of the queue"
|
|
},
|
|
"destination": {
|
|
"type": "string",
|
|
"title": "Destination",
|
|
"description": "The destination of queue items included in this status"
|
|
},
|
|
"pending": {
|
|
"type": "integer",
|
|
"title": "Pending",
|
|
"description": "Number of queue items with status 'pending' for the destination"
|
|
},
|
|
"in_progress": {
|
|
"type": "integer",
|
|
"title": "In Progress",
|
|
"description": "Number of queue items with status 'in_progress' for the destination"
|
|
},
|
|
"completed": {
|
|
"type": "integer",
|
|
"title": "Completed",
|
|
"description": "Number of queue items with status 'complete' for the destination"
|
|
},
|
|
"failed": {
|
|
"type": "integer",
|
|
"title": "Failed",
|
|
"description": "Number of queue items with status 'error' for the destination"
|
|
},
|
|
"canceled": {
|
|
"type": "integer",
|
|
"title": "Canceled",
|
|
"description": "Number of queue items with status 'canceled' for the destination"
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"title": "Total",
|
|
"description": "Total number of queue items for the destination"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["queue_id", "destination", "pending", "in_progress", "completed", "failed", "canceled", "total"],
|
|
"title": "SessionQueueCountsByDestination"
|
|
},
|
|
"SessionQueueItem": {
|
|
"properties": {
|
|
"item_id": {
|
|
"type": "integer",
|
|
"title": "Item Id",
|
|
"description": "The identifier of the session queue item"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": ["pending", "in_progress", "completed", "failed", "canceled"],
|
|
"title": "Status",
|
|
"description": "The status of this queue item",
|
|
"default": "pending"
|
|
},
|
|
"priority": {
|
|
"type": "integer",
|
|
"title": "Priority",
|
|
"description": "The priority of this queue item",
|
|
"default": 0
|
|
},
|
|
"batch_id": {
|
|
"type": "string",
|
|
"title": "Batch Id",
|
|
"description": "The ID of the batch associated with this queue item"
|
|
},
|
|
"origin": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Origin",
|
|
"description": "The origin of this queue item. This data is used by the frontend to determine how to handle results."
|
|
},
|
|
"destination": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Destination",
|
|
"description": "The origin of this queue item. This data is used by the frontend to determine how to handle results"
|
|
},
|
|
"session_id": {
|
|
"type": "string",
|
|
"title": "Session Id",
|
|
"description": "The ID of the session associated with this queue item. The session doesn't exist in graph_executions until the queue item is executed."
|
|
},
|
|
"error_type": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Type",
|
|
"description": "The error type if this queue item errored"
|
|
},
|
|
"error_message": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Message",
|
|
"description": "The error message if this queue item errored"
|
|
},
|
|
"error_traceback": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Error Traceback",
|
|
"description": "The error traceback if this queue item errored"
|
|
},
|
|
"created_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Created At",
|
|
"description": "When this queue item was created"
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Updated At",
|
|
"description": "When this queue item was updated"
|
|
},
|
|
"started_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Started At",
|
|
"description": "When this queue item was started"
|
|
},
|
|
"completed_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Completed At",
|
|
"description": "When this queue item was completed"
|
|
},
|
|
"queue_id": {
|
|
"type": "string",
|
|
"title": "Queue Id",
|
|
"description": "The id of the queue with which this item is associated"
|
|
},
|
|
"field_values": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/NodeFieldValue"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Field Values",
|
|
"description": "The field values that were used for this queue item"
|
|
},
|
|
"retried_from_item_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Retried From Item Id",
|
|
"description": "The item_id of the queue item that this item was retried from"
|
|
},
|
|
"session": {
|
|
"$ref": "#/components/schemas/GraphExecutionState",
|
|
"description": "The fully-populated session to be executed"
|
|
},
|
|
"workflow": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/WorkflowWithoutID"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"description": "The workflow associated with this queue item"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"item_id",
|
|
"status",
|
|
"batch_id",
|
|
"queue_id",
|
|
"session_id",
|
|
"session",
|
|
"priority",
|
|
"session_id",
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"title": "SessionQueueItem",
|
|
"description": "Session queue item without the full graph. Used for serialization."
|
|
},
|
|
"SessionQueueStatus": {
|
|
"properties": {
|
|
"queue_id": {
|
|
"type": "string",
|
|
"title": "Queue Id",
|
|
"description": "The ID of the queue"
|
|
},
|
|
"item_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Item Id",
|
|
"description": "The current queue item id"
|
|
},
|
|
"batch_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Batch Id",
|
|
"description": "The current queue item's batch id"
|
|
},
|
|
"session_id": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Session Id",
|
|
"description": "The current queue item's session id"
|
|
},
|
|
"pending": {
|
|
"type": "integer",
|
|
"title": "Pending",
|
|
"description": "Number of queue items with status 'pending'"
|
|
},
|
|
"in_progress": {
|
|
"type": "integer",
|
|
"title": "In Progress",
|
|
"description": "Number of queue items with status 'in_progress'"
|
|
},
|
|
"completed": {
|
|
"type": "integer",
|
|
"title": "Completed",
|
|
"description": "Number of queue items with status 'complete'"
|
|
},
|
|
"failed": {
|
|
"type": "integer",
|
|
"title": "Failed",
|
|
"description": "Number of queue items with status 'error'"
|
|
},
|
|
"canceled": {
|
|
"type": "integer",
|
|
"title": "Canceled",
|
|
"description": "Number of queue items with status 'canceled'"
|
|
},
|
|
"total": {
|
|
"type": "integer",
|
|
"title": "Total",
|
|
"description": "Total number of queue items"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"queue_id",
|
|
"item_id",
|
|
"batch_id",
|
|
"session_id",
|
|
"pending",
|
|
"in_progress",
|
|
"completed",
|
|
"failed",
|
|
"canceled",
|
|
"total"
|
|
],
|
|
"title": "SessionQueueStatus"
|
|
},
|
|
"ShowImageInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Displays a provided image using the OS image viewer, and passes it forward in the pipeline.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to show",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "show_image",
|
|
"default": "show_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image"],
|
|
"title": "Show Image",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"SigLIP_Diffusers_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "siglip",
|
|
"title": "Type",
|
|
"default": "siglip"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"base"
|
|
],
|
|
"title": "SigLIP_Diffusers_Config",
|
|
"description": "Model config for SigLIP."
|
|
},
|
|
"SpandrelImageToImageAutoscaleInvocation": {
|
|
"category": "upscale",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Run any spandrel image-to-image model (https://github.com/chaiNNer-org/spandrel) until the target scale is reached.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The input image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"image_to_image_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image-to-Image model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Image-to-Image Model",
|
|
"ui_model_type": ["spandrel_image_to_image"]
|
|
},
|
|
"tile_size": {
|
|
"default": 512,
|
|
"description": "The tile size for tiled image-to-image. Set to 0 to disable tiling.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "spandrel_image_to_image_autoscale",
|
|
"default": "spandrel_image_to_image_autoscale",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
},
|
|
"scale": {
|
|
"default": 4.0,
|
|
"description": "The final scale of the output image. If the model does not upscale the image, this will be ignored.",
|
|
"exclusiveMinimum": 0.0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 16.0,
|
|
"orig_default": 4.0,
|
|
"orig_required": false,
|
|
"title": "Scale",
|
|
"type": "number"
|
|
},
|
|
"fit_to_multiple_of_8": {
|
|
"default": false,
|
|
"description": "If true, the output image will be resized to the nearest multiple of 8 in both dimensions.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Fit To Multiple Of 8",
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["upscale"],
|
|
"title": "Image-to-Image (Autoscale)",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"SpandrelImageToImageInvocation": {
|
|
"category": "upscale",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Run any spandrel image-to-image model (https://github.com/chaiNNer-org/spandrel).",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The input image",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"image_to_image_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Image-to-Image model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Image-to-Image Model",
|
|
"ui_model_type": ["spandrel_image_to_image"]
|
|
},
|
|
"tile_size": {
|
|
"default": 512,
|
|
"description": "The tile size for tiled image-to-image. Set to 0 to disable tiling.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 512,
|
|
"orig_required": false,
|
|
"title": "Tile Size",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "spandrel_image_to_image",
|
|
"default": "spandrel_image_to_image",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["upscale"],
|
|
"title": "Image-to-Image",
|
|
"type": "object",
|
|
"version": "1.3.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"Spandrel_Checkpoint_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "spandrel_image_to_image",
|
|
"title": "Type",
|
|
"default": "spandrel_image_to_image"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"base",
|
|
"type",
|
|
"format"
|
|
],
|
|
"title": "Spandrel_Checkpoint_Config",
|
|
"description": "Model config for Spandrel Image to Image models."
|
|
},
|
|
"StarredImagesResult": {
|
|
"properties": {
|
|
"affected_boards": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Affected Boards",
|
|
"description": "The ids of boards affected by the delete operation"
|
|
},
|
|
"starred_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Starred Images",
|
|
"description": "The names of the images that were starred"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["affected_boards", "starred_images"],
|
|
"title": "StarredImagesResult"
|
|
},
|
|
"StarterModel": {
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
},
|
|
"base": {
|
|
"$ref": "#/components/schemas/BaseModelType"
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/ModelType"
|
|
},
|
|
"format": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelFormat"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_installed": {
|
|
"type": "boolean",
|
|
"title": "Is Installed",
|
|
"default": false
|
|
},
|
|
"previous_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Previous Names",
|
|
"default": []
|
|
},
|
|
"dependencies": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/StarterModelWithoutDependencies"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Dependencies"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["description", "source", "name", "base", "type"],
|
|
"title": "StarterModel"
|
|
},
|
|
"StarterModelBundle": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
},
|
|
"models": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/StarterModel"
|
|
},
|
|
"type": "array",
|
|
"title": "Models"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["name", "models"],
|
|
"title": "StarterModelBundle"
|
|
},
|
|
"StarterModelResponse": {
|
|
"properties": {
|
|
"starter_models": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/StarterModel"
|
|
},
|
|
"type": "array",
|
|
"title": "Starter Models"
|
|
},
|
|
"starter_bundles": {
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/StarterModelBundle"
|
|
},
|
|
"type": "object",
|
|
"title": "Starter Bundles"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["starter_models", "starter_bundles"],
|
|
"title": "StarterModelResponse"
|
|
},
|
|
"StarterModelWithoutDependencies": {
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name"
|
|
},
|
|
"base": {
|
|
"$ref": "#/components/schemas/BaseModelType"
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/ModelType"
|
|
},
|
|
"format": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelFormat"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"is_installed": {
|
|
"type": "boolean",
|
|
"title": "Is Installed",
|
|
"default": false
|
|
},
|
|
"previous_names": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Previous Names",
|
|
"default": []
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["description", "source", "name", "base", "type"],
|
|
"title": "StarterModelWithoutDependencies"
|
|
},
|
|
"String2Output": {
|
|
"class": "output",
|
|
"description": "Base class for invocations that output two strings",
|
|
"properties": {
|
|
"string_1": {
|
|
"description": "string 1",
|
|
"field_kind": "output",
|
|
"title": "String 1",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"string_2": {
|
|
"description": "string 2",
|
|
"field_kind": "output",
|
|
"title": "String 2",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "string_2_output",
|
|
"default": "string_2_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "string_1", "string_2", "type", "type"],
|
|
"title": "String2Output",
|
|
"type": "object"
|
|
},
|
|
"StringBatchInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Create a batched generation, where the workflow is executed once for each string in the batch.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"batch_group_id": {
|
|
"default": "None",
|
|
"description": "The ID of this batch node's group. If provided, all batch nodes in with the same ID will be 'zipped' before execution, and all nodes' collections must be of the same size.",
|
|
"enum": ["None", "Group 1", "Group 2", "Group 3", "Group 4", "Group 5"],
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": "None",
|
|
"orig_required": false,
|
|
"title": "Batch Group",
|
|
"type": "string"
|
|
},
|
|
"strings": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"minItems": 1,
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The strings to batch over",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Strings"
|
|
},
|
|
"type": {
|
|
"const": "string_batch",
|
|
"default": "string_batch",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "string", "batch", "special"],
|
|
"title": "String Batch",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"StringCollectionInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A collection of string primitive values",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"collection": {
|
|
"default": [],
|
|
"description": "The collection of string values",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"orig_default": [],
|
|
"orig_required": false,
|
|
"title": "Collection",
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"const": "string_collection",
|
|
"default": "string_collection",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "string", "collection"],
|
|
"title": "String Collection Primitive",
|
|
"type": "object",
|
|
"version": "1.0.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringCollectionOutput"
|
|
}
|
|
},
|
|
"StringCollectionOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of strings",
|
|
"properties": {
|
|
"collection": {
|
|
"description": "The output strings",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Collection",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "string_collection_output",
|
|
"default": "string_collection_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "collection", "type", "type"],
|
|
"title": "StringCollectionOutput",
|
|
"type": "object"
|
|
},
|
|
"StringGenerator": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "special",
|
|
"description": "Generated a range of strings for use in a batched generation",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"generator": {
|
|
"$ref": "#/components/schemas/StringGeneratorField",
|
|
"description": "The string generator.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Generator Type"
|
|
},
|
|
"type": {
|
|
"const": "string_generator",
|
|
"default": "string_generator",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["generator", "type", "id"],
|
|
"tags": ["primitives", "string", "number", "batch", "special"],
|
|
"title": "String Generator",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringGeneratorOutput"
|
|
}
|
|
},
|
|
"StringGeneratorField": {
|
|
"properties": {},
|
|
"title": "StringGeneratorField",
|
|
"type": "object"
|
|
},
|
|
"StringGeneratorOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a collection of strings",
|
|
"properties": {
|
|
"strings": {
|
|
"description": "The generated strings",
|
|
"field_kind": "output",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Strings",
|
|
"type": "array",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "string_generator_output",
|
|
"default": "string_generator_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "strings", "type", "type"],
|
|
"title": "StringGeneratorOutput",
|
|
"type": "object"
|
|
},
|
|
"StringInvocation": {
|
|
"category": "primitives",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "A string primitive value",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"value": {
|
|
"default": "",
|
|
"description": "The string value",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Value",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"type": {
|
|
"const": "string",
|
|
"default": "string",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["primitives", "string"],
|
|
"title": "String Primitive",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"StringJoinInvocation": {
|
|
"category": "string",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Joins string left to string right",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"string_left": {
|
|
"default": "",
|
|
"description": "String Left",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String Left",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"string_right": {
|
|
"default": "",
|
|
"description": "String Right",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String Right",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"type": {
|
|
"const": "string_join",
|
|
"default": "string_join",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["string", "join"],
|
|
"title": "String Join",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"StringJoinThreeInvocation": {
|
|
"category": "string",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Joins string left to string middle to string right",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"string_left": {
|
|
"default": "",
|
|
"description": "String Left",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String Left",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"string_middle": {
|
|
"default": "",
|
|
"description": "String Middle",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String Middle",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"string_right": {
|
|
"default": "",
|
|
"description": "String Right",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String Right",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"type": {
|
|
"const": "string_join_three",
|
|
"default": "string_join_three",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["string", "join"],
|
|
"title": "String Join Three",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"StringOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a single string",
|
|
"properties": {
|
|
"value": {
|
|
"description": "The output string",
|
|
"field_kind": "output",
|
|
"title": "Value",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "string_output",
|
|
"default": "string_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "value", "type", "type"],
|
|
"title": "StringOutput",
|
|
"type": "object"
|
|
},
|
|
"StringPosNegOutput": {
|
|
"class": "output",
|
|
"description": "Base class for invocations that output a positive and negative string",
|
|
"properties": {
|
|
"positive_string": {
|
|
"description": "Positive string",
|
|
"field_kind": "output",
|
|
"title": "Positive String",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"negative_string": {
|
|
"description": "Negative string",
|
|
"field_kind": "output",
|
|
"title": "Negative String",
|
|
"type": "string",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "string_pos_neg_output",
|
|
"default": "string_pos_neg_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "positive_string", "negative_string", "type", "type"],
|
|
"title": "StringPosNegOutput",
|
|
"type": "object"
|
|
},
|
|
"StringReplaceInvocation": {
|
|
"category": "string",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Replaces the search string with the replace string",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"string": {
|
|
"default": "",
|
|
"description": "String to work on",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"search_string": {
|
|
"default": "",
|
|
"description": "String to search for",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Search String",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"replace_string": {
|
|
"default": "",
|
|
"description": "String to replace the search",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Replace String",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"use_regex": {
|
|
"default": false,
|
|
"description": "Use search string as a regex expression (non regex is case insensitive)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": false,
|
|
"orig_required": false,
|
|
"title": "Use Regex",
|
|
"type": "boolean"
|
|
},
|
|
"type": {
|
|
"const": "string_replace",
|
|
"default": "string_replace",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["string", "replace", "regex"],
|
|
"title": "String Replace",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringOutput"
|
|
}
|
|
},
|
|
"StringSplitInvocation": {
|
|
"category": "string",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Splits string into two strings, based on the first occurance of the delimiter. The delimiter will be removed from the string",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"string": {
|
|
"default": "",
|
|
"description": "String to split",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"delimiter": {
|
|
"default": "",
|
|
"description": "Delimiter to spilt with. blank will split on the first whitespace",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "Delimiter",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "string_split",
|
|
"default": "string_split",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["string", "split"],
|
|
"title": "String Split",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/String2Output"
|
|
}
|
|
},
|
|
"StringSplitNegInvocation": {
|
|
"category": "string",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Splits string into two strings, inside [] goes into negative string everthing else goes into positive string. Each [ and ] character is replaced with a space",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"string": {
|
|
"default": "",
|
|
"description": "String to split",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "",
|
|
"orig_required": false,
|
|
"title": "String",
|
|
"type": "string",
|
|
"ui_component": "textarea"
|
|
},
|
|
"type": {
|
|
"const": "string_split_neg",
|
|
"default": "string_split_neg",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["string", "split", "negative"],
|
|
"title": "String Split Negative",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/StringPosNegOutput"
|
|
}
|
|
},
|
|
"StylePresetRecordWithImage": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "The name of the style preset."
|
|
},
|
|
"preset_data": {
|
|
"$ref": "#/components/schemas/PresetData",
|
|
"description": "The preset data"
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/PresetType",
|
|
"description": "The type of style preset"
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id",
|
|
"description": "The style preset ID."
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Image",
|
|
"description": "The path for image"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["name", "preset_data", "type", "id", "image"],
|
|
"title": "StylePresetRecordWithImage"
|
|
},
|
|
"SubModelType": {
|
|
"type": "string",
|
|
"enum": [
|
|
"unet",
|
|
"transformer",
|
|
"text_encoder",
|
|
"text_encoder_2",
|
|
"text_encoder_3",
|
|
"tokenizer",
|
|
"tokenizer_2",
|
|
"tokenizer_3",
|
|
"vae",
|
|
"vae_decoder",
|
|
"vae_encoder",
|
|
"scheduler",
|
|
"safety_checker"
|
|
],
|
|
"title": "SubModelType",
|
|
"description": "Submodel type."
|
|
},
|
|
"SubmodelDefinition": {
|
|
"properties": {
|
|
"path_or_prefix": {
|
|
"type": "string",
|
|
"title": "Path Or Prefix"
|
|
},
|
|
"model_type": {
|
|
"$ref": "#/components/schemas/ModelType"
|
|
},
|
|
"variant": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelVariantType"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ClipVariantType"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FluxVariantType"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Variant"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["path_or_prefix", "model_type"],
|
|
"title": "SubmodelDefinition"
|
|
},
|
|
"SubtractInvocation": {
|
|
"category": "math",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Subtracts two numbers",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"a": {
|
|
"default": 0,
|
|
"description": "The first number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "A",
|
|
"type": "integer"
|
|
},
|
|
"b": {
|
|
"default": 0,
|
|
"description": "The second number",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "B",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "sub",
|
|
"default": "sub",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["math", "subtract"],
|
|
"title": "Subtract Integers",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/IntegerOutput"
|
|
}
|
|
},
|
|
"T2IAdapterField": {
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The T2I-Adapter image prompt."
|
|
},
|
|
"t2i_adapter_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The T2I-Adapter model to use."
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the T2I-Adapter",
|
|
"title": "Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the T2I-Adapter is first applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the T2I-Adapter is last applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode to use",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["image", "t2i_adapter_model"],
|
|
"title": "T2IAdapterField",
|
|
"type": "object"
|
|
},
|
|
"T2IAdapterInvocation": {
|
|
"category": "t2i_adapter",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Collects T2I-Adapter info to pass to other nodes.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The IP-Adapter image prompt.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"t2i_adapter_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The T2I-Adapter model.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "T2I-Adapter Model",
|
|
"ui_model_base": ["sd-1", "sdxl"],
|
|
"ui_model_type": ["t2i_adapter"],
|
|
"ui_order": -1
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the T2I-Adapter",
|
|
"field_kind": "input",
|
|
"ge": 0,
|
|
"input": "any",
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the T2I-Adapter is first applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the T2I-Adapter is last applied (% of total steps)",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1,
|
|
"orig_required": false,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode applied to the T2I-Adapter input image so that it matches the target output size.",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "just_resize",
|
|
"orig_required": false,
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"const": "t2i_adapter",
|
|
"default": "t2i_adapter",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["t2i_adapter", "control"],
|
|
"title": "T2I-Adapter - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.0.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/T2IAdapterOutput"
|
|
}
|
|
},
|
|
"T2IAdapterMetadataField": {
|
|
"properties": {
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField",
|
|
"description": "The control image."
|
|
},
|
|
"processed_image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The control image, after processing."
|
|
},
|
|
"t2i_adapter_model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "The T2I-Adapter model to use."
|
|
},
|
|
"weight": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 1,
|
|
"description": "The weight given to the T2I-Adapter",
|
|
"title": "Weight"
|
|
},
|
|
"begin_step_percent": {
|
|
"default": 0,
|
|
"description": "When the T2I-Adapter is first applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "Begin Step Percent",
|
|
"type": "number"
|
|
},
|
|
"end_step_percent": {
|
|
"default": 1,
|
|
"description": "When the T2I-Adapter is last applied (% of total steps)",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"title": "End Step Percent",
|
|
"type": "number"
|
|
},
|
|
"resize_mode": {
|
|
"default": "just_resize",
|
|
"description": "The resize mode to use",
|
|
"enum": ["just_resize", "crop_resize", "fill_resize", "just_resize_simple"],
|
|
"title": "Resize Mode",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["image", "t2i_adapter_model"],
|
|
"title": "T2IAdapterMetadataField",
|
|
"type": "object"
|
|
},
|
|
"T2IAdapterOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"t2i_adapter": {
|
|
"$ref": "#/components/schemas/T2IAdapterField",
|
|
"description": "T2I-Adapter(s) to apply",
|
|
"field_kind": "output",
|
|
"title": "T2I Adapter",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "t2i_adapter_output",
|
|
"default": "t2i_adapter_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "t2i_adapter", "type", "type"],
|
|
"title": "T2IAdapterOutput",
|
|
"type": "object"
|
|
},
|
|
"T2IAdapter_Diffusers_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "t2i_adapter",
|
|
"title": "Type",
|
|
"default": "t2i_adapter"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "T2IAdapter_Diffusers_SD1_Config"
|
|
},
|
|
"T2IAdapter_Diffusers_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "t2i_adapter",
|
|
"title": "Type",
|
|
"default": "t2i_adapter"
|
|
},
|
|
"default_settings": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlAdapterDefaultSettings"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"default_settings",
|
|
"base"
|
|
],
|
|
"title": "T2IAdapter_Diffusers_SDXL_Config"
|
|
},
|
|
"T5EncoderField": {
|
|
"properties": {
|
|
"tokenizer": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load tokenizer submodel"
|
|
},
|
|
"text_encoder": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load text_encoder submodel"
|
|
},
|
|
"loras": {
|
|
"description": "LoRAs to apply on model loading",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"title": "Loras",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["tokenizer", "text_encoder", "loras"],
|
|
"title": "T5EncoderField",
|
|
"type": "object"
|
|
},
|
|
"T5Encoder_BnBLLMint8_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "t5_encoder",
|
|
"title": "Type",
|
|
"default": "t5_encoder"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "bnb_quantized_int8b",
|
|
"title": "Format",
|
|
"default": "bnb_quantized_int8b"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"base",
|
|
"type",
|
|
"format"
|
|
],
|
|
"title": "T5Encoder_BnBLLMint8_Config",
|
|
"description": "Configuration for T5 Encoder models quantized by bitsandbytes' LLM.int8."
|
|
},
|
|
"T5Encoder_T5Encoder_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "any",
|
|
"title": "Base",
|
|
"default": "any"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "t5_encoder",
|
|
"title": "Type",
|
|
"default": "t5_encoder"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "t5_encoder",
|
|
"title": "Format",
|
|
"default": "t5_encoder"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"base",
|
|
"type",
|
|
"format"
|
|
],
|
|
"title": "T5Encoder_T5Encoder_Config",
|
|
"description": "Configuration for T5 Encoder models in a bespoke, diffusers-like format. The model weights are expected to be in\na folder called text_encoder_2 inside the model directory, with a config file named model.safetensors.index.json."
|
|
},
|
|
"TBLR": {
|
|
"properties": {
|
|
"top": {
|
|
"title": "Top",
|
|
"type": "integer"
|
|
},
|
|
"bottom": {
|
|
"title": "Bottom",
|
|
"type": "integer"
|
|
},
|
|
"left": {
|
|
"title": "Left",
|
|
"type": "integer"
|
|
},
|
|
"right": {
|
|
"title": "Right",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["top", "bottom", "left", "right"],
|
|
"title": "TBLR",
|
|
"type": "object"
|
|
},
|
|
"TI_File_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "embedding",
|
|
"title": "Type",
|
|
"default": "embedding"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "embedding_file",
|
|
"title": "Format",
|
|
"default": "embedding_file"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "TI_File_SD1_Config"
|
|
},
|
|
"TI_File_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "embedding",
|
|
"title": "Type",
|
|
"default": "embedding"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "embedding_file",
|
|
"title": "Format",
|
|
"default": "embedding_file"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "TI_File_SD2_Config"
|
|
},
|
|
"TI_File_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "embedding",
|
|
"title": "Type",
|
|
"default": "embedding"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "embedding_file",
|
|
"title": "Format",
|
|
"default": "embedding_file"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "TI_File_SDXL_Config"
|
|
},
|
|
"TI_Folder_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "embedding",
|
|
"title": "Type",
|
|
"default": "embedding"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "embedding_folder",
|
|
"title": "Format",
|
|
"default": "embedding_folder"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "TI_Folder_SD1_Config"
|
|
},
|
|
"TI_Folder_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "embedding",
|
|
"title": "Type",
|
|
"default": "embedding"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "embedding_folder",
|
|
"title": "Format",
|
|
"default": "embedding_folder"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "TI_Folder_SD2_Config"
|
|
},
|
|
"TI_Folder_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "embedding",
|
|
"title": "Type",
|
|
"default": "embedding"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "embedding_folder",
|
|
"title": "Format",
|
|
"default": "embedding_folder"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "TI_Folder_SDXL_Config"
|
|
},
|
|
"TensorField": {
|
|
"description": "A tensor primitive field.",
|
|
"properties": {
|
|
"tensor_name": {
|
|
"description": "The name of a tensor.",
|
|
"title": "Tensor Name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["tensor_name"],
|
|
"title": "TensorField",
|
|
"type": "object"
|
|
},
|
|
"Tile": {
|
|
"properties": {
|
|
"coords": {
|
|
"$ref": "#/components/schemas/TBLR",
|
|
"description": "The coordinates of this tile relative to its parent image."
|
|
},
|
|
"overlap": {
|
|
"$ref": "#/components/schemas/TBLR",
|
|
"description": "The amount of overlap with adjacent tiles on each side of this tile."
|
|
}
|
|
},
|
|
"required": ["coords", "overlap"],
|
|
"title": "Tile",
|
|
"type": "object"
|
|
},
|
|
"TileToPropertiesInvocation": {
|
|
"category": "tiles",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Split a Tile into its individual properties.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"tile": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Tile"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The tile to split into properties.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "tile_to_properties",
|
|
"default": "tile_to_properties",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["tiles"],
|
|
"title": "Tile to Properties",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/TileToPropertiesOutput"
|
|
}
|
|
},
|
|
"TileToPropertiesOutput": {
|
|
"class": "output",
|
|
"properties": {
|
|
"coords_left": {
|
|
"description": "Left coordinate of the tile relative to its parent image.",
|
|
"field_kind": "output",
|
|
"title": "Coords Left",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"coords_right": {
|
|
"description": "Right coordinate of the tile relative to its parent image.",
|
|
"field_kind": "output",
|
|
"title": "Coords Right",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"coords_top": {
|
|
"description": "Top coordinate of the tile relative to its parent image.",
|
|
"field_kind": "output",
|
|
"title": "Coords Top",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"coords_bottom": {
|
|
"description": "Bottom coordinate of the tile relative to its parent image.",
|
|
"field_kind": "output",
|
|
"title": "Coords Bottom",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"width": {
|
|
"description": "The width of the tile. Equal to coords_right - coords_left.",
|
|
"field_kind": "output",
|
|
"title": "Width",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"height": {
|
|
"description": "The height of the tile. Equal to coords_bottom - coords_top.",
|
|
"field_kind": "output",
|
|
"title": "Height",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"overlap_top": {
|
|
"description": "Overlap between this tile and its top neighbor.",
|
|
"field_kind": "output",
|
|
"title": "Overlap Top",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"overlap_bottom": {
|
|
"description": "Overlap between this tile and its bottom neighbor.",
|
|
"field_kind": "output",
|
|
"title": "Overlap Bottom",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"overlap_left": {
|
|
"description": "Overlap between this tile and its left neighbor.",
|
|
"field_kind": "output",
|
|
"title": "Overlap Left",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"overlap_right": {
|
|
"description": "Overlap between this tile and its right neighbor.",
|
|
"field_kind": "output",
|
|
"title": "Overlap Right",
|
|
"type": "integer",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "tile_to_properties_output",
|
|
"default": "tile_to_properties_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"output_meta",
|
|
"coords_left",
|
|
"coords_right",
|
|
"coords_top",
|
|
"coords_bottom",
|
|
"width",
|
|
"height",
|
|
"overlap_top",
|
|
"overlap_bottom",
|
|
"overlap_left",
|
|
"overlap_right",
|
|
"type",
|
|
"type"
|
|
],
|
|
"title": "TileToPropertiesOutput",
|
|
"type": "object"
|
|
},
|
|
"TileWithImage": {
|
|
"properties": {
|
|
"tile": {
|
|
"$ref": "#/components/schemas/Tile"
|
|
},
|
|
"image": {
|
|
"$ref": "#/components/schemas/ImageField"
|
|
}
|
|
},
|
|
"required": ["tile", "image"],
|
|
"title": "TileWithImage",
|
|
"type": "object"
|
|
},
|
|
"TiledMultiDiffusionDenoiseLatents": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Tiled Multi-Diffusion denoising.\n\nThis node handles automatically tiling the input image, and is primarily intended for global refinement of images\nin tiled upscaling workflows. Future Multi-Diffusion nodes should allow the user to specify custom regions with\ndifferent parameters for each region to harness the full power of Multi-Diffusion.\n\nThis node has a similar interface to the `DenoiseLatents` node, but it has a reduced feature set (no IP-Adapter,\nT2I-Adapter, masking, etc.).",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"positive_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"negative_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConditioningField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"noise": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Noise tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"tile_height": {
|
|
"default": 1024,
|
|
"description": "Height of the tiles in image space.",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Tile Height",
|
|
"type": "integer"
|
|
},
|
|
"tile_width": {
|
|
"default": 1024,
|
|
"description": "Width of the tiles in image space.",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Tile Width",
|
|
"type": "integer"
|
|
},
|
|
"tile_overlap": {
|
|
"default": 32,
|
|
"description": "The overlap between adjacent tiles in pixel space. (Of course, tile merging is applied in latent space.) Tiles will be cropped during merging (if necessary) to ensure that they overlap by exactly this amount.",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 8,
|
|
"orig_default": 32,
|
|
"orig_required": false,
|
|
"title": "Tile Overlap",
|
|
"type": "integer"
|
|
},
|
|
"steps": {
|
|
"default": 18,
|
|
"description": "Number of steps to run",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 18,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"cfg_scale": {
|
|
"anyOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"items": {
|
|
"type": "number"
|
|
},
|
|
"type": "array"
|
|
}
|
|
],
|
|
"default": 6.0,
|
|
"description": "Classifier-Free Guidance scale",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 6.0,
|
|
"orig_required": false,
|
|
"title": "CFG Scale"
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"scheduler": {
|
|
"default": "euler",
|
|
"description": "Scheduler to use during inference",
|
|
"enum": [
|
|
"ddim",
|
|
"ddpm",
|
|
"deis",
|
|
"deis_k",
|
|
"lms",
|
|
"lms_k",
|
|
"pndm",
|
|
"heun",
|
|
"heun_k",
|
|
"euler",
|
|
"euler_k",
|
|
"euler_a",
|
|
"kdpm_2",
|
|
"kdpm_2_k",
|
|
"kdpm_2_a",
|
|
"kdpm_2_a_k",
|
|
"dpmpp_2s",
|
|
"dpmpp_2s_k",
|
|
"dpmpp_2m",
|
|
"dpmpp_2m_k",
|
|
"dpmpp_2m_sde",
|
|
"dpmpp_2m_sde_k",
|
|
"dpmpp_3m",
|
|
"dpmpp_3m_k",
|
|
"dpmpp_sde",
|
|
"dpmpp_sde_k",
|
|
"unipc",
|
|
"unipc_k",
|
|
"lcm",
|
|
"tcd"
|
|
],
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": "euler",
|
|
"orig_required": false,
|
|
"title": "Scheduler",
|
|
"type": "string",
|
|
"ui_type": "SchedulerField"
|
|
},
|
|
"unet": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/UNetField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "UNet"
|
|
},
|
|
"cfg_rescale_multiplier": {
|
|
"default": 0,
|
|
"description": "Rescale multiplier for CFG guidance, used for models trained with zero-terminal SNR",
|
|
"exclusiveMaximum": 1,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "CFG Rescale Multiplier",
|
|
"type": "number"
|
|
},
|
|
"control": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ControlField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Control"
|
|
},
|
|
"type": {
|
|
"const": "tiled_multi_diffusion_denoise_latents",
|
|
"default": "tiled_multi_diffusion_denoise_latents",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["upscale", "denoise"],
|
|
"title": "Tiled Multi-Diffusion Denoise - SD1.5, SDXL",
|
|
"type": "object",
|
|
"version": "1.0.1",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"TransformerField": {
|
|
"properties": {
|
|
"transformer": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load Transformer submodel"
|
|
},
|
|
"loras": {
|
|
"description": "LoRAs to apply on model loading",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"title": "Loras",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["transformer", "loras"],
|
|
"title": "TransformerField",
|
|
"type": "object"
|
|
},
|
|
"UIComponent": {
|
|
"description": "The type of UI component to use for a field, used to override the default components, which are\ninferred from the field type.",
|
|
"enum": ["none", "textarea", "slider"],
|
|
"title": "UIComponent",
|
|
"type": "string"
|
|
},
|
|
"UIConfigBase": {
|
|
"description": "Provides additional node configuration to the UI.\nThis is used internally by the @invocation decorator logic. Do not use this directly.",
|
|
"properties": {
|
|
"tags": {
|
|
"anyOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The node's tags",
|
|
"title": "Tags"
|
|
},
|
|
"title": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The node's display name",
|
|
"title": "Title"
|
|
},
|
|
"category": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The node's category",
|
|
"title": "Category"
|
|
},
|
|
"version": {
|
|
"description": "The node's version. Should be a valid semver string e.g. \"1.0.0\" or \"3.8.13\".",
|
|
"title": "Version",
|
|
"type": "string"
|
|
},
|
|
"node_pack": {
|
|
"description": "The node pack that this node belongs to, will be 'invokeai' for built-in nodes",
|
|
"title": "Node Pack",
|
|
"type": "string"
|
|
},
|
|
"classification": {
|
|
"$ref": "#/components/schemas/Classification",
|
|
"default": "stable",
|
|
"description": "The node's classification"
|
|
}
|
|
},
|
|
"required": ["tags", "title", "category", "version", "node_pack", "classification"],
|
|
"title": "UIConfigBase",
|
|
"type": "object"
|
|
},
|
|
"UIType": {
|
|
"description": "Type hints for the UI for situations in which the field type is not enough to infer the correct UI type.\n\n- Model Fields\nThe most common node-author-facing use will be for model fields. Internally, there is no difference\nbetween SD-1, SD-2 and SDXL model fields - they all use the class `MainModelField`. To ensure the\nbase-model-specific UI is rendered, use e.g. `ui_type=UIType.SDXLMainModelField` to indicate that\nthe field is an SDXL main model field.\n\n- Any Field\nWe cannot infer the usage of `typing.Any` via schema parsing, so you *must* use `ui_type=UIType.Any` to\nindicate that the field accepts any type. Use with caution. This cannot be used on outputs.\n\n- Scheduler Field\nSpecial handling in the UI is needed for this field, which otherwise would be parsed as a plain enum field.\n\n- Internal Fields\nSimilar to the Any Field, the `collect` and `iterate` nodes make use of `typing.Any`. To facilitate\nhandling these types in the client, we use `UIType._Collection` and `UIType._CollectionItem`. These\nshould not be used by node authors.\n\n- DEPRECATED Fields\nThese types are deprecated and should not be used by node authors. A warning will be logged if one is\nused, and the type will be ignored. They are included here for backwards compatibility.",
|
|
"enum": [
|
|
"SchedulerField",
|
|
"AnyField",
|
|
"CollectionField",
|
|
"CollectionItemField",
|
|
"IsIntermediate",
|
|
"DEPRECATED_Boolean",
|
|
"DEPRECATED_Color",
|
|
"DEPRECATED_Conditioning",
|
|
"DEPRECATED_Control",
|
|
"DEPRECATED_Float",
|
|
"DEPRECATED_Image",
|
|
"DEPRECATED_Integer",
|
|
"DEPRECATED_Latents",
|
|
"DEPRECATED_String",
|
|
"DEPRECATED_BooleanCollection",
|
|
"DEPRECATED_ColorCollection",
|
|
"DEPRECATED_ConditioningCollection",
|
|
"DEPRECATED_ControlCollection",
|
|
"DEPRECATED_FloatCollection",
|
|
"DEPRECATED_ImageCollection",
|
|
"DEPRECATED_IntegerCollection",
|
|
"DEPRECATED_LatentsCollection",
|
|
"DEPRECATED_StringCollection",
|
|
"DEPRECATED_BooleanPolymorphic",
|
|
"DEPRECATED_ColorPolymorphic",
|
|
"DEPRECATED_ConditioningPolymorphic",
|
|
"DEPRECATED_ControlPolymorphic",
|
|
"DEPRECATED_FloatPolymorphic",
|
|
"DEPRECATED_ImagePolymorphic",
|
|
"DEPRECATED_IntegerPolymorphic",
|
|
"DEPRECATED_LatentsPolymorphic",
|
|
"DEPRECATED_StringPolymorphic",
|
|
"DEPRECATED_UNet",
|
|
"DEPRECATED_Vae",
|
|
"DEPRECATED_CLIP",
|
|
"DEPRECATED_Collection",
|
|
"DEPRECATED_CollectionItem",
|
|
"DEPRECATED_Enum",
|
|
"DEPRECATED_WorkflowField",
|
|
"DEPRECATED_BoardField",
|
|
"DEPRECATED_MetadataItem",
|
|
"DEPRECATED_MetadataItemCollection",
|
|
"DEPRECATED_MetadataItemPolymorphic",
|
|
"DEPRECATED_MetadataDict",
|
|
"DEPRECATED_MainModelField",
|
|
"DEPRECATED_CogView4MainModelField",
|
|
"DEPRECATED_FluxMainModelField",
|
|
"DEPRECATED_SD3MainModelField",
|
|
"DEPRECATED_SDXLMainModelField",
|
|
"DEPRECATED_SDXLRefinerModelField",
|
|
"DEPRECATED_ONNXModelField",
|
|
"DEPRECATED_VAEModelField",
|
|
"DEPRECATED_FluxVAEModelField",
|
|
"DEPRECATED_LoRAModelField",
|
|
"DEPRECATED_ControlNetModelField",
|
|
"DEPRECATED_IPAdapterModelField",
|
|
"DEPRECATED_T2IAdapterModelField",
|
|
"DEPRECATED_T5EncoderModelField",
|
|
"DEPRECATED_CLIPEmbedModelField",
|
|
"DEPRECATED_CLIPLEmbedModelField",
|
|
"DEPRECATED_CLIPGEmbedModelField",
|
|
"DEPRECATED_SpandrelImageToImageModelField",
|
|
"DEPRECATED_ControlLoRAModelField",
|
|
"DEPRECATED_SigLipModelField",
|
|
"DEPRECATED_FluxReduxModelField",
|
|
"DEPRECATED_LLaVAModelField",
|
|
"DEPRECATED_Imagen3ModelField",
|
|
"DEPRECATED_Imagen4ModelField",
|
|
"DEPRECATED_ChatGPT4oModelField",
|
|
"DEPRECATED_Gemini2_5ModelField",
|
|
"DEPRECATED_FluxKontextModelField",
|
|
"DEPRECATED_Veo3ModelField",
|
|
"DEPRECATED_RunwayModelField"
|
|
],
|
|
"title": "UIType",
|
|
"type": "string"
|
|
},
|
|
"UNetField": {
|
|
"properties": {
|
|
"unet": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load unet submodel"
|
|
},
|
|
"scheduler": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load scheduler submodel"
|
|
},
|
|
"loras": {
|
|
"description": "LoRAs to apply on model loading",
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"title": "Loras",
|
|
"type": "array"
|
|
},
|
|
"seamless_axes": {
|
|
"description": "Axes(\"x\" and \"y\") to which apply seamless",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Seamless Axes",
|
|
"type": "array"
|
|
},
|
|
"freeu_config": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/FreeUConfig"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "FreeU configuration"
|
|
}
|
|
},
|
|
"required": ["unet", "scheduler", "loras"],
|
|
"title": "UNetField",
|
|
"type": "object"
|
|
},
|
|
"UNetOutput": {
|
|
"class": "output",
|
|
"description": "Base class for invocations that output a UNet field.",
|
|
"properties": {
|
|
"unet": {
|
|
"$ref": "#/components/schemas/UNetField",
|
|
"description": "UNet (scheduler, LoRAs)",
|
|
"field_kind": "output",
|
|
"title": "UNet",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "unet_output",
|
|
"default": "unet_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "unet", "type", "type"],
|
|
"title": "UNetOutput",
|
|
"type": "object"
|
|
},
|
|
"URLModelSource": {
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"format": "uri",
|
|
"title": "Url"
|
|
},
|
|
"access_token": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Access Token"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "url",
|
|
"title": "Type",
|
|
"default": "url"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["url"],
|
|
"title": "URLModelSource",
|
|
"description": "A generic URL point to a checkpoint file."
|
|
},
|
|
"URLRegexTokenPair": {
|
|
"properties": {
|
|
"url_regex": {
|
|
"type": "string",
|
|
"title": "Url Regex",
|
|
"description": "Regular expression to match against the URL"
|
|
},
|
|
"token": {
|
|
"type": "string",
|
|
"title": "Token",
|
|
"description": "Token to use when the URL matches the regex"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["url_regex", "token"],
|
|
"title": "URLRegexTokenPair"
|
|
},
|
|
"Unknown_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "unknown",
|
|
"title": "Base",
|
|
"default": "unknown"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "unknown",
|
|
"title": "Type",
|
|
"default": "unknown"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "unknown",
|
|
"title": "Format",
|
|
"default": "unknown"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"base",
|
|
"type",
|
|
"format"
|
|
],
|
|
"title": "Unknown_Config",
|
|
"description": "Model config for unknown models, used as a fallback when we cannot positively identify a model."
|
|
},
|
|
"UnsharpMaskInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies an unsharp mask filter to an image",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to use",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"radius": {
|
|
"default": 2,
|
|
"description": "Unsharp mask radius",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 2,
|
|
"orig_required": false,
|
|
"title": "Radius",
|
|
"type": "number"
|
|
},
|
|
"strength": {
|
|
"default": 50,
|
|
"description": "Unsharp mask strength",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0,
|
|
"orig_default": 50,
|
|
"orig_required": false,
|
|
"title": "Strength",
|
|
"type": "number"
|
|
},
|
|
"type": {
|
|
"const": "unsharp_mask",
|
|
"default": "unsharp_mask",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "unsharp_mask"],
|
|
"title": "Unsharp Mask",
|
|
"type": "object",
|
|
"version": "1.2.2",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"UnstarredImagesResult": {
|
|
"properties": {
|
|
"affected_boards": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Affected Boards",
|
|
"description": "The ids of boards affected by the delete operation"
|
|
},
|
|
"unstarred_images": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"title": "Unstarred Images",
|
|
"description": "The names of the images that were unstarred"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["affected_boards", "unstarred_images"],
|
|
"title": "UnstarredImagesResult"
|
|
},
|
|
"VAEField": {
|
|
"properties": {
|
|
"vae": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Info to load vae submodel"
|
|
},
|
|
"seamless_axes": {
|
|
"description": "Axes(\"x\" and \"y\") to which apply seamless",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Seamless Axes",
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": ["vae"],
|
|
"title": "VAEField",
|
|
"type": "object"
|
|
},
|
|
"VAELoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Loads a VAE model, outputting a VaeLoaderOutput",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"vae_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "VAE",
|
|
"ui_model_base": ["sd-1", "sd-2", "sdxl", "sd-3", "flux"],
|
|
"ui_model_type": ["vae"]
|
|
},
|
|
"type": {
|
|
"const": "vae_loader",
|
|
"default": "vae_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["vae", "model"],
|
|
"title": "VAE Model - SD1.5, SD2, SDXL, SD3, FLUX",
|
|
"type": "object",
|
|
"version": "1.0.4",
|
|
"output": {
|
|
"$ref": "#/components/schemas/VAEOutput"
|
|
}
|
|
},
|
|
"VAEOutput": {
|
|
"class": "output",
|
|
"description": "Base class for invocations that output a VAE field",
|
|
"properties": {
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "vae_output",
|
|
"default": "vae_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "vae", "type", "type"],
|
|
"title": "VAEOutput",
|
|
"type": "object"
|
|
},
|
|
"VAE_Checkpoint_FLUX_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "vae",
|
|
"title": "Type",
|
|
"default": "vae"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "flux",
|
|
"title": "Base",
|
|
"default": "flux"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "VAE_Checkpoint_FLUX_Config"
|
|
},
|
|
"VAE_Checkpoint_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "vae",
|
|
"title": "Type",
|
|
"default": "vae"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "VAE_Checkpoint_SD1_Config"
|
|
},
|
|
"VAE_Checkpoint_SD2_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "vae",
|
|
"title": "Type",
|
|
"default": "vae"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-2",
|
|
"title": "Base",
|
|
"default": "sd-2"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "VAE_Checkpoint_SD2_Config"
|
|
},
|
|
"VAE_Checkpoint_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"config_path": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Config Path",
|
|
"description": "Path to the config for this model, if any."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "vae",
|
|
"title": "Type",
|
|
"default": "vae"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "checkpoint",
|
|
"title": "Format",
|
|
"default": "checkpoint"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"config_path",
|
|
"type",
|
|
"format",
|
|
"base"
|
|
],
|
|
"title": "VAE_Checkpoint_SDXL_Config"
|
|
},
|
|
"VAE_Diffusers_SD1_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "vae",
|
|
"title": "Type",
|
|
"default": "vae"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sd-1",
|
|
"title": "Base",
|
|
"default": "sd-1"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"base"
|
|
],
|
|
"title": "VAE_Diffusers_SD1_Config"
|
|
},
|
|
"VAE_Diffusers_SDXL_Config": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"title": "Key",
|
|
"description": "A unique key for this model."
|
|
},
|
|
"hash": {
|
|
"type": "string",
|
|
"title": "Hash",
|
|
"description": "The hash of the model file(s)."
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"title": "Path",
|
|
"description": "Path to the model on the filesystem. Relative paths are relative to the Invoke root directory."
|
|
},
|
|
"file_size": {
|
|
"type": "integer",
|
|
"title": "File Size",
|
|
"description": "The size of the model in bytes."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Name of the model."
|
|
},
|
|
"description": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Description",
|
|
"description": "Model description"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"title": "Source",
|
|
"description": "The original source of the model (path, URL or repo_id)."
|
|
},
|
|
"source_type": {
|
|
"$ref": "#/components/schemas/ModelSourceType",
|
|
"description": "The type of source"
|
|
},
|
|
"source_api_response": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Source Api Response",
|
|
"description": "The original API response from the source, as stringified JSON."
|
|
},
|
|
"cover_image": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Cover Image",
|
|
"description": "Url for image to preview model"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"const": "diffusers",
|
|
"title": "Format",
|
|
"default": "diffusers"
|
|
},
|
|
"repo_variant": {
|
|
"$ref": "#/components/schemas/ModelRepoVariant",
|
|
"default": ""
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"const": "vae",
|
|
"title": "Type",
|
|
"default": "vae"
|
|
},
|
|
"base": {
|
|
"type": "string",
|
|
"const": "sdxl",
|
|
"title": "Base",
|
|
"default": "sdxl"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"key",
|
|
"hash",
|
|
"path",
|
|
"file_size",
|
|
"name",
|
|
"description",
|
|
"source",
|
|
"source_type",
|
|
"source_api_response",
|
|
"cover_image",
|
|
"format",
|
|
"repo_variant",
|
|
"type",
|
|
"base"
|
|
],
|
|
"title": "VAE_Diffusers_SDXL_Config"
|
|
},
|
|
"ValidationError": {
|
|
"properties": {
|
|
"loc": {
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "integer"
|
|
}
|
|
]
|
|
},
|
|
"type": "array",
|
|
"title": "Location"
|
|
},
|
|
"msg": {
|
|
"type": "string",
|
|
"title": "Message"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"title": "Error Type"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["loc", "msg", "type"],
|
|
"title": "ValidationError"
|
|
},
|
|
"Workflow": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "The name of the workflow."
|
|
},
|
|
"author": {
|
|
"type": "string",
|
|
"title": "Author",
|
|
"description": "The author of the workflow."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description",
|
|
"description": "The description of the workflow."
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"title": "Version",
|
|
"description": "The version of the workflow."
|
|
},
|
|
"contact": {
|
|
"type": "string",
|
|
"title": "Contact",
|
|
"description": "The contact of the workflow."
|
|
},
|
|
"tags": {
|
|
"type": "string",
|
|
"title": "Tags",
|
|
"description": "The tags of the workflow."
|
|
},
|
|
"notes": {
|
|
"type": "string",
|
|
"title": "Notes",
|
|
"description": "The notes of the workflow."
|
|
},
|
|
"exposedFields": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ExposedField"
|
|
},
|
|
"type": "array",
|
|
"title": "Exposedfields",
|
|
"description": "The exposed fields of the workflow."
|
|
},
|
|
"meta": {
|
|
"$ref": "#/components/schemas/WorkflowMeta",
|
|
"description": "The meta of the workflow."
|
|
},
|
|
"nodes": {
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/JsonValue"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Nodes",
|
|
"description": "The nodes of the workflow."
|
|
},
|
|
"edges": {
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/JsonValue"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Edges",
|
|
"description": "The edges of the workflow."
|
|
},
|
|
"form": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/JsonValue"
|
|
},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Form",
|
|
"description": "The form of the workflow."
|
|
},
|
|
"id": {
|
|
"type": "string",
|
|
"title": "Id",
|
|
"description": "The id of the workflow."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"author",
|
|
"description",
|
|
"version",
|
|
"contact",
|
|
"tags",
|
|
"notes",
|
|
"exposedFields",
|
|
"meta",
|
|
"nodes",
|
|
"edges",
|
|
"id"
|
|
],
|
|
"title": "Workflow"
|
|
},
|
|
"WorkflowAndGraphResponse": {
|
|
"properties": {
|
|
"workflow": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Workflow",
|
|
"description": "The workflow used to generate the image, as stringified JSON"
|
|
},
|
|
"graph": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Graph",
|
|
"description": "The graph used to generate the image, as stringified JSON"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["workflow", "graph"],
|
|
"title": "WorkflowAndGraphResponse"
|
|
},
|
|
"WorkflowCategory": {
|
|
"type": "string",
|
|
"enum": ["user", "default"],
|
|
"title": "WorkflowCategory"
|
|
},
|
|
"WorkflowMeta": {
|
|
"properties": {
|
|
"version": {
|
|
"type": "string",
|
|
"title": "Version",
|
|
"description": "The version of the workflow schema."
|
|
},
|
|
"category": {
|
|
"$ref": "#/components/schemas/WorkflowCategory",
|
|
"description": "The category of the workflow (user or default)."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["version", "category"],
|
|
"title": "WorkflowMeta"
|
|
},
|
|
"WorkflowRecordDTO": {
|
|
"properties": {
|
|
"workflow_id": {
|
|
"type": "string",
|
|
"title": "Workflow Id",
|
|
"description": "The id of the workflow."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "The name of the workflow."
|
|
},
|
|
"created_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Created At",
|
|
"description": "The created timestamp of the workflow."
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Updated At",
|
|
"description": "The updated timestamp of the workflow."
|
|
},
|
|
"opened_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Opened At",
|
|
"description": "The opened timestamp of the workflow."
|
|
},
|
|
"workflow": {
|
|
"$ref": "#/components/schemas/Workflow",
|
|
"description": "The workflow."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["workflow_id", "name", "created_at", "updated_at", "workflow"],
|
|
"title": "WorkflowRecordDTO"
|
|
},
|
|
"WorkflowRecordListItemWithThumbnailDTO": {
|
|
"properties": {
|
|
"workflow_id": {
|
|
"type": "string",
|
|
"title": "Workflow Id",
|
|
"description": "The id of the workflow."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "The name of the workflow."
|
|
},
|
|
"created_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Created At",
|
|
"description": "The created timestamp of the workflow."
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Updated At",
|
|
"description": "The updated timestamp of the workflow."
|
|
},
|
|
"opened_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Opened At",
|
|
"description": "The opened timestamp of the workflow."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description",
|
|
"description": "The description of the workflow."
|
|
},
|
|
"category": {
|
|
"$ref": "#/components/schemas/WorkflowCategory",
|
|
"description": "The description of the workflow."
|
|
},
|
|
"tags": {
|
|
"type": "string",
|
|
"title": "Tags",
|
|
"description": "The tags of the workflow."
|
|
},
|
|
"thumbnail_url": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Thumbnail Url",
|
|
"description": "The URL of the workflow thumbnail."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["workflow_id", "name", "created_at", "updated_at", "description", "category", "tags"],
|
|
"title": "WorkflowRecordListItemWithThumbnailDTO"
|
|
},
|
|
"WorkflowRecordOrderBy": {
|
|
"type": "string",
|
|
"enum": ["created_at", "updated_at", "opened_at", "name"],
|
|
"title": "WorkflowRecordOrderBy",
|
|
"description": "The order by options for workflow records"
|
|
},
|
|
"WorkflowRecordWithThumbnailDTO": {
|
|
"properties": {
|
|
"workflow_id": {
|
|
"type": "string",
|
|
"title": "Workflow Id",
|
|
"description": "The id of the workflow."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "The name of the workflow."
|
|
},
|
|
"created_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Created At",
|
|
"description": "The created timestamp of the workflow."
|
|
},
|
|
"updated_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
}
|
|
],
|
|
"title": "Updated At",
|
|
"description": "The updated timestamp of the workflow."
|
|
},
|
|
"opened_at": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Opened At",
|
|
"description": "The opened timestamp of the workflow."
|
|
},
|
|
"workflow": {
|
|
"$ref": "#/components/schemas/Workflow",
|
|
"description": "The workflow."
|
|
},
|
|
"thumbnail_url": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Thumbnail Url",
|
|
"description": "The URL of the workflow thumbnail."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": ["workflow_id", "name", "created_at", "updated_at", "workflow"],
|
|
"title": "WorkflowRecordWithThumbnailDTO"
|
|
},
|
|
"WorkflowWithoutID": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "The name of the workflow."
|
|
},
|
|
"author": {
|
|
"type": "string",
|
|
"title": "Author",
|
|
"description": "The author of the workflow."
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"title": "Description",
|
|
"description": "The description of the workflow."
|
|
},
|
|
"version": {
|
|
"type": "string",
|
|
"title": "Version",
|
|
"description": "The version of the workflow."
|
|
},
|
|
"contact": {
|
|
"type": "string",
|
|
"title": "Contact",
|
|
"description": "The contact of the workflow."
|
|
},
|
|
"tags": {
|
|
"type": "string",
|
|
"title": "Tags",
|
|
"description": "The tags of the workflow."
|
|
},
|
|
"notes": {
|
|
"type": "string",
|
|
"title": "Notes",
|
|
"description": "The notes of the workflow."
|
|
},
|
|
"exposedFields": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ExposedField"
|
|
},
|
|
"type": "array",
|
|
"title": "Exposedfields",
|
|
"description": "The exposed fields of the workflow."
|
|
},
|
|
"meta": {
|
|
"$ref": "#/components/schemas/WorkflowMeta",
|
|
"description": "The meta of the workflow."
|
|
},
|
|
"nodes": {
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/JsonValue"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Nodes",
|
|
"description": "The nodes of the workflow."
|
|
},
|
|
"edges": {
|
|
"items": {
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/JsonValue"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array",
|
|
"title": "Edges",
|
|
"description": "The edges of the workflow."
|
|
},
|
|
"form": {
|
|
"anyOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/JsonValue"
|
|
},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"title": "Form",
|
|
"description": "The form of the workflow."
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"name",
|
|
"author",
|
|
"description",
|
|
"version",
|
|
"contact",
|
|
"tags",
|
|
"notes",
|
|
"exposedFields",
|
|
"meta",
|
|
"nodes",
|
|
"edges"
|
|
],
|
|
"title": "WorkflowWithoutID"
|
|
},
|
|
"ZImageConditioningField": {
|
|
"description": "A Z-Image conditioning tensor primitive value",
|
|
"properties": {
|
|
"conditioning_name": {
|
|
"description": "The name of conditioning tensor",
|
|
"title": "Conditioning Name",
|
|
"type": "string"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The mask associated with this conditioning tensor for regional prompting. Excluded regions should be set to False, included regions should be set to True."
|
|
}
|
|
},
|
|
"required": ["conditioning_name"],
|
|
"title": "ZImageConditioningField",
|
|
"type": "object"
|
|
},
|
|
"ZImageConditioningOutput": {
|
|
"class": "output",
|
|
"description": "Base class for nodes that output a Z-Image text conditioning tensor.",
|
|
"properties": {
|
|
"conditioning": {
|
|
"$ref": "#/components/schemas/ZImageConditioningField",
|
|
"description": "Conditioning tensor",
|
|
"field_kind": "output",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "z_image_conditioning_output",
|
|
"default": "z_image_conditioning_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "conditioning", "type", "type"],
|
|
"title": "ZImageConditioningOutput",
|
|
"type": "object"
|
|
},
|
|
"ZImageDenoiseInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Run the denoising process with a Z-Image model.\n\nSupports regional prompting by connecting multiple conditioning inputs with masks.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoise_mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DenoiseMaskField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask of the region to apply the denoising process to. Values of 0.0 represent the regions to be fully denoised, and 1.0 represent the regions to be preserved.",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"denoising_start": {
|
|
"default": 0.0,
|
|
"description": "When to start denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Denoising Start",
|
|
"type": "number"
|
|
},
|
|
"denoising_end": {
|
|
"default": 1.0,
|
|
"description": "When to stop denoising, expressed a percentage of total steps",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"maximum": 1,
|
|
"minimum": 0,
|
|
"orig_default": 1.0,
|
|
"orig_required": false,
|
|
"title": "Denoising End",
|
|
"type": "number"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Z-Image model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Transformer"
|
|
},
|
|
"positive_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ZImageConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ZImageConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Positive conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Positive Conditioning"
|
|
},
|
|
"negative_conditioning": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ZImageConditioningField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/ZImageConditioningField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Negative conditioning tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Negative Conditioning"
|
|
},
|
|
"guidance_scale": {
|
|
"default": 0.0,
|
|
"description": "Guidance scale for classifier-free guidance. Use 0.0 for Z-Image-Turbo.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"minimum": 0.0,
|
|
"orig_default": 0.0,
|
|
"orig_required": false,
|
|
"title": "Guidance Scale",
|
|
"type": "number"
|
|
},
|
|
"width": {
|
|
"default": 1024,
|
|
"description": "Width of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Width",
|
|
"type": "integer"
|
|
},
|
|
"height": {
|
|
"default": 1024,
|
|
"description": "Height of the generated image.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"multipleOf": 16,
|
|
"orig_default": 1024,
|
|
"orig_required": false,
|
|
"title": "Height",
|
|
"type": "integer"
|
|
},
|
|
"steps": {
|
|
"default": 8,
|
|
"description": "Number of denoising steps. 8 recommended for Z-Image-Turbo.",
|
|
"exclusiveMinimum": 0,
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 8,
|
|
"orig_required": false,
|
|
"title": "Steps",
|
|
"type": "integer"
|
|
},
|
|
"seed": {
|
|
"default": 0,
|
|
"description": "Randomness seed for reproducibility.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0,
|
|
"orig_required": false,
|
|
"title": "Seed",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"const": "z_image_denoise",
|
|
"default": "z_image_denoise",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "z-image"],
|
|
"title": "Denoise - Z-Image",
|
|
"type": "object",
|
|
"version": "1.2.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"ZImageImageToLatentsInvocation": {
|
|
"category": "image",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Generates latents from an image using Z-Image VAE (supports both Diffusers and FLUX VAE).",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"image": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ImageField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The image to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "z_image_i2l",
|
|
"default": "z_image_i2l",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["image", "latents", "vae", "i2l", "z-image"],
|
|
"title": "Image to Latents - Z-Image",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/LatentsOutput"
|
|
}
|
|
},
|
|
"ZImageLatentsToImageInvocation": {
|
|
"category": "latents",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Generates an image from latents using Z-Image VAE (supports both Diffusers and FLUX VAE).",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"board": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/BoardField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "The board to save the image to",
|
|
"field_kind": "internal",
|
|
"input": "direct",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"metadata": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MetadataField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Optional metadata to be saved with the image",
|
|
"field_kind": "internal",
|
|
"input": "connection",
|
|
"orig_required": false,
|
|
"ui_hidden": false
|
|
},
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"latents": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LatentsField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Latents tensor",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"vae": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/VAEField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "VAE",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true
|
|
},
|
|
"type": {
|
|
"const": "z_image_l2i",
|
|
"default": "z_image_l2i",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["latents", "image", "vae", "l2i", "z-image"],
|
|
"title": "Latents to Image - Z-Image",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ImageOutput"
|
|
}
|
|
},
|
|
"ZImageLoRACollectionLoader": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Applies a collection of LoRAs to a Z-Image transformer.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"loras": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
{
|
|
"items": {
|
|
"$ref": "#/components/schemas/LoRAField"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA models and weights. May be a single LoRA or collection.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "LoRAs"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Transformer",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Transformer"
|
|
},
|
|
"qwen3_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Qwen3 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Qwen3 Encoder"
|
|
},
|
|
"type": {
|
|
"const": "z_image_lora_collection_loader",
|
|
"default": "z_image_lora_collection_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["lora", "model", "z-image"],
|
|
"title": "Apply LoRA Collection - Z-Image",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderOutput"
|
|
}
|
|
},
|
|
"ZImageLoRALoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "stable",
|
|
"description": "Apply a LoRA model to a Z-Image transformer and/or Qwen3 text encoder.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"lora": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "LoRA model to load",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "LoRA",
|
|
"ui_model_base": ["z-image"],
|
|
"ui_model_type": ["lora"]
|
|
},
|
|
"weight": {
|
|
"default": 0.75,
|
|
"description": "The weight at which the LoRA is applied to each model",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": 0.75,
|
|
"orig_required": false,
|
|
"title": "Weight",
|
|
"type": "number"
|
|
},
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Transformer",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Z-Image Transformer"
|
|
},
|
|
"qwen3_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Qwen3 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Qwen3 Encoder"
|
|
},
|
|
"type": {
|
|
"const": "z_image_lora_loader",
|
|
"default": "z_image_lora_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["lora", "model", "z-image"],
|
|
"title": "Apply LoRA - Z-Image",
|
|
"type": "object",
|
|
"version": "1.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ZImageLoRALoaderOutput"
|
|
}
|
|
},
|
|
"ZImageLoRALoaderOutput": {
|
|
"class": "output",
|
|
"description": "Z-Image LoRA Loader Output",
|
|
"properties": {
|
|
"transformer": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TransformerField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Transformer",
|
|
"field_kind": "output",
|
|
"title": "Z-Image Transformer",
|
|
"ui_hidden": false
|
|
},
|
|
"qwen3_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Qwen3 tokenizer and text encoder",
|
|
"field_kind": "output",
|
|
"title": "Qwen3 Encoder",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "z_image_lora_loader_output",
|
|
"default": "z_image_lora_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "transformer", "qwen3_encoder", "type", "type"],
|
|
"title": "ZImageLoRALoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"ZImageModelLoaderInvocation": {
|
|
"category": "model",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Loads a Z-Image model, outputting its submodels.\n\nSimilar to FLUX, you can mix and match components:\n- Transformer: From Z-Image main model (GGUF quantized or Diffusers format)\n- VAE: Separate FLUX VAE (shared with FLUX models) or from a Diffusers Z-Image model\n- Qwen3 Encoder: Separate Qwen3Encoder model or from a Diffusers Z-Image model",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"model": {
|
|
"$ref": "#/components/schemas/ModelIdentifierField",
|
|
"description": "Z-Image model (Transformer) to load",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Transformer",
|
|
"ui_model_base": ["z-image"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"vae_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Standalone VAE model. Z-Image uses the same VAE as FLUX (16-channel). If not provided, VAE will be loaded from the Qwen3 Source model.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "VAE",
|
|
"ui_model_base": ["flux"],
|
|
"ui_model_type": ["vae"]
|
|
},
|
|
"qwen3_encoder_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Standalone Qwen3 Encoder model. If not provided, encoder will be loaded from the Qwen3 Source model.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Qwen3 Encoder",
|
|
"ui_model_type": ["qwen3_encoder"]
|
|
},
|
|
"qwen3_source_model": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ModelIdentifierField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Diffusers Z-Image model to extract VAE and/or Qwen3 encoder from. Use this if you don't have separate VAE/Qwen3 models. Ignored if both VAE and Qwen3 Encoder are provided separately.",
|
|
"field_kind": "input",
|
|
"input": "direct",
|
|
"orig_default": null,
|
|
"orig_required": false,
|
|
"title": "Qwen3 Source (Diffusers)",
|
|
"ui_model_base": ["z-image"],
|
|
"ui_model_format": ["diffusers"],
|
|
"ui_model_type": ["main"]
|
|
},
|
|
"type": {
|
|
"const": "z_image_model_loader",
|
|
"default": "z_image_model_loader",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["model", "type", "id"],
|
|
"tags": ["model", "z-image"],
|
|
"title": "Main Model - Z-Image",
|
|
"type": "object",
|
|
"version": "3.0.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ZImageModelLoaderOutput"
|
|
}
|
|
},
|
|
"ZImageModelLoaderOutput": {
|
|
"class": "output",
|
|
"description": "Z-Image base model loader output.",
|
|
"properties": {
|
|
"transformer": {
|
|
"$ref": "#/components/schemas/TransformerField",
|
|
"description": "Transformer",
|
|
"field_kind": "output",
|
|
"title": "Transformer",
|
|
"ui_hidden": false
|
|
},
|
|
"qwen3_encoder": {
|
|
"$ref": "#/components/schemas/Qwen3EncoderField",
|
|
"description": "Qwen3 tokenizer and text encoder",
|
|
"field_kind": "output",
|
|
"title": "Qwen3 Encoder",
|
|
"ui_hidden": false
|
|
},
|
|
"vae": {
|
|
"$ref": "#/components/schemas/VAEField",
|
|
"description": "VAE",
|
|
"field_kind": "output",
|
|
"title": "VAE",
|
|
"ui_hidden": false
|
|
},
|
|
"type": {
|
|
"const": "z_image_model_loader_output",
|
|
"default": "z_image_model_loader_output",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["output_meta", "transformer", "qwen3_encoder", "vae", "type", "type"],
|
|
"title": "ZImageModelLoaderOutput",
|
|
"type": "object"
|
|
},
|
|
"ZImageTextEncoderInvocation": {
|
|
"category": "conditioning",
|
|
"class": "invocation",
|
|
"classification": "prototype",
|
|
"description": "Encodes and preps a prompt for a Z-Image image.\n\nSupports regional prompting by connecting a mask input.",
|
|
"node_pack": "invokeai",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The id of this instance of an invocation. Must be unique among all instances of invocations.",
|
|
"field_kind": "node_attribute",
|
|
"title": "Id",
|
|
"type": "string"
|
|
},
|
|
"is_intermediate": {
|
|
"default": false,
|
|
"description": "Whether or not this is an intermediate invocation.",
|
|
"field_kind": "node_attribute",
|
|
"input": "direct",
|
|
"orig_required": true,
|
|
"title": "Is Intermediate",
|
|
"type": "boolean",
|
|
"ui_hidden": false,
|
|
"ui_type": "IsIntermediate"
|
|
},
|
|
"use_cache": {
|
|
"default": true,
|
|
"description": "Whether or not to use the cache",
|
|
"field_kind": "node_attribute",
|
|
"title": "Use Cache",
|
|
"type": "boolean"
|
|
},
|
|
"prompt": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Text prompt to encode.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_required": true,
|
|
"title": "Prompt",
|
|
"ui_component": "textarea"
|
|
},
|
|
"qwen3_encoder": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Qwen3EncoderField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "Qwen3 tokenizer and text encoder",
|
|
"field_kind": "input",
|
|
"input": "connection",
|
|
"orig_required": true,
|
|
"title": "Qwen3 Encoder"
|
|
},
|
|
"mask": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/components/schemas/TensorField"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
],
|
|
"default": null,
|
|
"description": "A mask defining the region that this conditioning prompt applies to.",
|
|
"field_kind": "input",
|
|
"input": "any",
|
|
"orig_default": null,
|
|
"orig_required": false
|
|
},
|
|
"type": {
|
|
"const": "z_image_text_encoder",
|
|
"default": "z_image_text_encoder",
|
|
"field_kind": "node_attribute",
|
|
"title": "type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["type", "id"],
|
|
"tags": ["prompt", "conditioning", "z-image"],
|
|
"title": "Prompt - Z-Image",
|
|
"type": "object",
|
|
"version": "1.1.0",
|
|
"output": {
|
|
"$ref": "#/components/schemas/ZImageConditioningOutput"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|