From 54cbadeffaea3029a015205d0403b09de6a37270 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 15 Oct 2023 10:44:16 +1100 Subject: [PATCH] fix(nodes,ui): optional metadata - Make all metadata items optional. This will reduce errors related to metadata not being provided when we update the backend but old queue items still exist - Fix a bug in t2i adapter metadata handling where it checked for ip adapter metadata instaed of t2i adapter metadata - Fix some metadata fields that were not using `InputField` --- invokeai/app/invocations/metadata.py | 74 +- .../addT2IAdapterToLinearGraph.ts | 2 +- .../frontend/web/src/services/api/schema.d.ts | 2575 +++++++++++------ 3 files changed, 1760 insertions(+), 891 deletions(-) diff --git a/invokeai/app/invocations/metadata.py b/invokeai/app/invocations/metadata.py index cecc01096a..449f332387 100644 --- a/invokeai/app/invocations/metadata.py +++ b/invokeai/app/invocations/metadata.py @@ -44,28 +44,31 @@ class CoreMetadata(BaseModelExcludeNull): """Core generation metadata for an image generated in InvokeAI.""" app_version: str = Field(default=__version__, description="The version of InvokeAI used to generate this image") - generation_mode: str = Field( + generation_mode: Optional[str] = Field( + default=None, description="The generation mode that output this image", ) created_by: Optional[str] = Field(description="The name of the creator of the image") - positive_prompt: str = Field(description="The positive prompt parameter") - negative_prompt: str = Field(description="The negative prompt parameter") - width: int = Field(description="The width parameter") - height: int = Field(description="The height parameter") - seed: int = Field(description="The seed used for noise generation") - rand_device: str = Field(description="The device used for random number generation") - cfg_scale: float = Field(description="The classifier-free guidance scale parameter") - steps: int = Field(description="The number of steps used for inference") - scheduler: str = Field(description="The scheduler used for inference") + positive_prompt: Optional[str] = Field(default=None, description="The positive prompt parameter") + negative_prompt: Optional[str] = Field(default=None, description="The negative prompt parameter") + width: Optional[int] = Field(default=None, description="The width parameter") + height: Optional[int] = Field(default=None, description="The height parameter") + seed: Optional[int] = Field(default=None, description="The seed used for noise generation") + rand_device: Optional[str] = Field(default=None, description="The device used for random number generation") + cfg_scale: Optional[float] = Field(default=None, description="The classifier-free guidance scale parameter") + steps: Optional[int] = Field(default=None, description="The number of steps used for inference") + scheduler: Optional[str] = Field(default=None, description="The scheduler used for inference") clip_skip: Optional[int] = Field( default=None, description="The number of skipped CLIP layers", ) - model: MainModelField = Field(description="The main model used for inference") - controlnets: list[ControlField] = Field(description="The ControlNets used for inference") - ipAdapters: list[IPAdapterMetadataField] = Field(description="The IP Adapters used for inference") - t2iAdapters: list[T2IAdapterField] = Field(description="The IP Adapters used for inference") - loras: list[LoRAMetadataField] = Field(description="The LoRAs used for inference") + model: Optional[MainModelField] = Field(default=None, description="The main model used for inference") + controlnets: Optional[list[ControlField]] = Field(default=None, description="The ControlNets used for inference") + ipAdapters: Optional[list[IPAdapterMetadataField]] = Field( + default=None, description="The IP Adapters used for inference" + ) + t2iAdapters: Optional[list[T2IAdapterField]] = Field(default=None, description="The IP Adapters used for inference") + loras: Optional[list[LoRAMetadataField]] = Field(default=None, description="The LoRAs used for inference") vae: Optional[VAEModelField] = Field( default=None, description="The VAE used for decoding, if the main model's default was not used", @@ -122,27 +125,34 @@ class MetadataAccumulatorOutput(BaseInvocationOutput): class MetadataAccumulatorInvocation(BaseInvocation): """Outputs a Core Metadata Object""" - generation_mode: str = InputField( + generation_mode: Optional[str] = InputField( + default=None, description="The generation mode that output this image", ) - positive_prompt: str = InputField(description="The positive prompt parameter") - negative_prompt: str = InputField(description="The negative prompt parameter") - width: int = InputField(description="The width parameter") - height: int = InputField(description="The height parameter") - seed: int = InputField(description="The seed used for noise generation") - rand_device: str = InputField(description="The device used for random number generation") - cfg_scale: float = InputField(description="The classifier-free guidance scale parameter") - steps: int = InputField(description="The number of steps used for inference") - scheduler: str = InputField(description="The scheduler used for inference") - clip_skip: Optional[int] = Field( + positive_prompt: Optional[str] = InputField(default=None, description="The positive prompt parameter") + negative_prompt: Optional[str] = InputField(default=None, description="The negative prompt parameter") + width: Optional[int] = InputField(default=None, description="The width parameter") + height: Optional[int] = InputField(default=None, description="The height parameter") + seed: Optional[int] = InputField(default=None, description="The seed used for noise generation") + rand_device: Optional[str] = InputField(default=None, description="The device used for random number generation") + cfg_scale: Optional[float] = InputField(default=None, description="The classifier-free guidance scale parameter") + steps: Optional[int] = InputField(default=None, description="The number of steps used for inference") + scheduler: Optional[str] = InputField(default=None, description="The scheduler used for inference") + clip_skip: Optional[int] = InputField( default=None, description="The number of skipped CLIP layers", ) - model: MainModelField = InputField(description="The main model used for inference") - controlnets: list[ControlField] = InputField(description="The ControlNets used for inference") - ipAdapters: list[IPAdapterMetadataField] = InputField(description="The IP Adapters used for inference") - t2iAdapters: list[T2IAdapterField] = Field(description="The IP Adapters used for inference") - loras: list[LoRAMetadataField] = InputField(description="The LoRAs used for inference") + model: Optional[MainModelField] = InputField(default=None, description="The main model used for inference") + controlnets: Optional[list[ControlField]] = InputField( + default=None, description="The ControlNets used for inference" + ) + ipAdapters: Optional[list[IPAdapterMetadataField]] = InputField( + default=None, description="The IP Adapters used for inference" + ) + t2iAdapters: Optional[list[T2IAdapterField]] = InputField( + default=None, description="The IP Adapters used for inference" + ) + loras: Optional[list[LoRAMetadataField]] = InputField(default=None, description="The LoRAs used for inference") strength: Optional[float] = InputField( default=None, description="The strength used for latents-to-latents", @@ -158,9 +168,11 @@ class MetadataAccumulatorInvocation(BaseInvocation): # High resolution fix metadata. hrf_width: Optional[int] = InputField( + default=None, description="The high resolution fix height and width multipler.", ) hrf_height: Optional[int] = InputField( + default=None, description="The high resolution fix height and width multipler.", ) hrf_strength: Optional[float] = InputField( diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addT2IAdapterToLinearGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addT2IAdapterToLinearGraph.ts index f07edcb220..16dc5bbc71 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addT2IAdapterToLinearGraph.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/addT2IAdapterToLinearGraph.ts @@ -86,7 +86,7 @@ export const addT2IAdaptersToLinearGraph = ( graph.nodes[t2iAdapterNode.id] = t2iAdapterNode as T2IAdapterInvocation; - if (metadataAccumulator?.ipAdapters) { + if (metadataAccumulator?.t2iAdapters) { // metadata accumulator only needs a control field - not the whole node // extract what we need and add to the accumulator const t2iAdapterField = omit(t2iAdapterNode, [ diff --git a/invokeai/frontend/web/src/services/api/schema.d.ts b/invokeai/frontend/web/src/services/api/schema.d.ts index 15e3b66e6f..067970f7f3 100644 --- a/invokeai/frontend/web/src/services/api/schema.d.ts +++ b/invokeai/frontend/web/src/services/api/schema.d.ts @@ -3,449 +3,448 @@ * Do not make direct changes to the file. */ - export type paths = { - "/api/v1/sessions/": { + '/api/v1/sessions/': { /** * List Sessions * @deprecated * @description Gets a list of sessions, optionally searching */ - get: operations["list_sessions"]; + get: operations['list_sessions']; /** * Create Session * @deprecated * @description Creates a new session, optionally initializing it with an invocation graph */ - post: operations["create_session"]; + post: operations['create_session']; }; - "/api/v1/sessions/{session_id}": { + '/api/v1/sessions/{session_id}': { /** * Get Session * @deprecated * @description Gets a session */ - get: operations["get_session"]; + get: operations['get_session']; }; - "/api/v1/sessions/{session_id}/nodes": { + '/api/v1/sessions/{session_id}/nodes': { /** * Add Node * @deprecated * @description Adds a node to the graph */ - post: operations["add_node"]; + post: operations['add_node']; }; - "/api/v1/sessions/{session_id}/nodes/{node_path}": { + '/api/v1/sessions/{session_id}/nodes/{node_path}': { /** * Update Node * @deprecated * @description Updates a node in the graph and removes all linked edges */ - put: operations["update_node"]; + put: operations['update_node']; /** * Delete Node * @deprecated * @description Deletes a node in the graph and removes all linked edges */ - delete: operations["delete_node"]; + delete: operations['delete_node']; }; - "/api/v1/sessions/{session_id}/edges": { + '/api/v1/sessions/{session_id}/edges': { /** * Add Edge * @deprecated * @description Adds an edge to the graph */ - post: operations["add_edge"]; + post: operations['add_edge']; }; - "/api/v1/sessions/{session_id}/edges/{from_node_id}/{from_field}/{to_node_id}/{to_field}": { + '/api/v1/sessions/{session_id}/edges/{from_node_id}/{from_field}/{to_node_id}/{to_field}': { /** * Delete Edge * @deprecated * @description Deletes an edge from the graph */ - delete: operations["delete_edge"]; + delete: operations['delete_edge']; }; - "/api/v1/sessions/{session_id}/invoke": { + '/api/v1/sessions/{session_id}/invoke': { /** * Invoke Session * @deprecated * @description Invokes a session */ - put: operations["invoke_session"]; + put: operations['invoke_session']; /** * Cancel Session Invoke * @deprecated * @description Invokes a session */ - delete: operations["cancel_session_invoke"]; + delete: operations['cancel_session_invoke']; }; - "/api/v1/utilities/dynamicprompts": { + '/api/v1/utilities/dynamicprompts': { /** * Parse Dynamicprompts * @description Creates a batch process */ - post: operations["parse_dynamicprompts"]; + post: operations['parse_dynamicprompts']; }; - "/api/v1/models/": { + '/api/v1/models/': { /** * List Models * @description Gets a list of models */ - get: operations["list_models"]; + get: operations['list_models']; }; - "/api/v1/models/{base_model}/{model_type}/{model_name}": { + '/api/v1/models/{base_model}/{model_type}/{model_name}': { /** * Delete Model * @description Delete Model */ - delete: operations["del_model"]; + delete: operations['del_model']; /** * Update Model * @description Update model contents with a new config. If the model name or base fields are changed, then the model is renamed. */ - patch: operations["update_model"]; + patch: operations['update_model']; }; - "/api/v1/models/import": { + '/api/v1/models/import': { /** * Import Model * @description Add a model using its local path, repo_id, or remote URL. Model characteristics will be probed and configured automatically */ - post: operations["import_model"]; + post: operations['import_model']; }; - "/api/v1/models/add": { + '/api/v1/models/add': { /** * Add Model * @description Add a model using the configuration information appropriate for its type. Only local models can be added by path */ - post: operations["add_model"]; + post: operations['add_model']; }; - "/api/v1/models/convert/{base_model}/{model_type}/{model_name}": { + '/api/v1/models/convert/{base_model}/{model_type}/{model_name}': { /** * Convert Model * @description Convert a checkpoint model into a diffusers model, optionally saving to the indicated destination directory, or `models` if none. */ - put: operations["convert_model"]; + put: operations['convert_model']; }; - "/api/v1/models/search": { + '/api/v1/models/search': { /** Search For Models */ - get: operations["search_for_models"]; + get: operations['search_for_models']; }; - "/api/v1/models/ckpt_confs": { + '/api/v1/models/ckpt_confs': { /** * List Ckpt Configs * @description Return a list of the legacy checkpoint configuration files stored in `ROOT/configs/stable-diffusion`, relative to ROOT. */ - get: operations["list_ckpt_configs"]; + get: operations['list_ckpt_configs']; }; - "/api/v1/models/sync": { + '/api/v1/models/sync': { /** * Sync To Config * @description Call after making changes to models.yaml, autoimport directories or models directory to synchronize * in-memory data structures with disk data structures. */ - post: operations["sync_to_config"]; + post: operations['sync_to_config']; }; - "/api/v1/models/merge/{base_model}": { + '/api/v1/models/merge/{base_model}': { /** * Merge Models * @description Convert a checkpoint model into a diffusers model */ - put: operations["merge_models"]; + put: operations['merge_models']; }; - "/api/v1/images/upload": { + '/api/v1/images/upload': { /** * Upload Image * @description Uploads an image */ - post: operations["upload_image"]; + post: operations['upload_image']; }; - "/api/v1/images/i/{image_name}": { + '/api/v1/images/i/{image_name}': { /** * Get Image Dto * @description Gets an image's DTO */ - get: operations["get_image_dto"]; + get: operations['get_image_dto']; /** * Delete Image * @description Deletes an image */ - delete: operations["delete_image"]; + delete: operations['delete_image']; /** * Update Image * @description Updates an image */ - patch: operations["update_image"]; + patch: operations['update_image']; }; - "/api/v1/images/clear-intermediates": { + '/api/v1/images/clear-intermediates': { /** * Clear Intermediates * @description Clears all intermediates */ - post: operations["clear_intermediates"]; + post: operations['clear_intermediates']; }; - "/api/v1/images/i/{image_name}/metadata": { + '/api/v1/images/i/{image_name}/metadata': { /** * Get Image Metadata * @description Gets an image's metadata */ - get: operations["get_image_metadata"]; + get: operations['get_image_metadata']; }; - "/api/v1/images/i/{image_name}/full": { + '/api/v1/images/i/{image_name}/full': { /** * Get Image Full * @description Gets a full-resolution image file */ - get: operations["get_image_full"]; + get: operations['get_image_full']; /** * Get Image Full * @description Gets a full-resolution image file */ - head: operations["get_image_full"]; + head: operations['get_image_full']; }; - "/api/v1/images/i/{image_name}/thumbnail": { + '/api/v1/images/i/{image_name}/thumbnail': { /** * Get Image Thumbnail * @description Gets a thumbnail image file */ - get: operations["get_image_thumbnail"]; + get: operations['get_image_thumbnail']; }; - "/api/v1/images/i/{image_name}/urls": { + '/api/v1/images/i/{image_name}/urls': { /** * Get Image Urls * @description Gets an image and thumbnail URL */ - get: operations["get_image_urls"]; + get: operations['get_image_urls']; }; - "/api/v1/images/": { + '/api/v1/images/': { /** * List Image Dtos * @description Gets a list of image DTOs */ - get: operations["list_image_dtos"]; + get: operations['list_image_dtos']; }; - "/api/v1/images/delete": { + '/api/v1/images/delete': { /** Delete Images From List */ - post: operations["delete_images_from_list"]; + post: operations['delete_images_from_list']; }; - "/api/v1/images/star": { + '/api/v1/images/star': { /** Star Images In List */ - post: operations["star_images_in_list"]; + post: operations['star_images_in_list']; }; - "/api/v1/images/unstar": { + '/api/v1/images/unstar': { /** Unstar Images In List */ - post: operations["unstar_images_in_list"]; + post: operations['unstar_images_in_list']; }; - "/api/v1/images/download": { + '/api/v1/images/download': { /** Download Images From List */ - post: operations["download_images_from_list"]; + post: operations['download_images_from_list']; }; - "/api/v1/boards/": { + '/api/v1/boards/': { /** * List Boards * @description Gets a list of boards */ - get: operations["list_boards"]; + get: operations['list_boards']; /** * Create Board * @description Creates a board */ - post: operations["create_board"]; + post: operations['create_board']; }; - "/api/v1/boards/{board_id}": { + '/api/v1/boards/{board_id}': { /** * Get Board * @description Gets a board */ - get: operations["get_board"]; + get: operations['get_board']; /** * Delete Board * @description Deletes a board */ - delete: operations["delete_board"]; + delete: operations['delete_board']; /** * Update Board * @description Updates a board */ - patch: operations["update_board"]; + patch: operations['update_board']; }; - "/api/v1/boards/{board_id}/image_names": { + '/api/v1/boards/{board_id}/image_names': { /** * List All Board Image Names * @description Gets a list of images for a board */ - get: operations["list_all_board_image_names"]; + get: operations['list_all_board_image_names']; }; - "/api/v1/board_images/": { + '/api/v1/board_images/': { /** * Add Image To Board * @description Creates a board_image */ - post: operations["add_image_to_board"]; + post: operations['add_image_to_board']; /** * Remove Image From Board * @description Removes an image from its board, if it had one */ - delete: operations["remove_image_from_board"]; + delete: operations['remove_image_from_board']; }; - "/api/v1/board_images/batch": { + '/api/v1/board_images/batch': { /** * Add Images To Board * @description Adds a list of images to a board */ - post: operations["add_images_to_board"]; + post: operations['add_images_to_board']; }; - "/api/v1/board_images/batch/delete": { + '/api/v1/board_images/batch/delete': { /** * Remove Images From Board * @description Removes a list of images from their board, if they had one */ - post: operations["remove_images_from_board"]; + post: operations['remove_images_from_board']; }; - "/api/v1/app/version": { + '/api/v1/app/version': { /** Get Version */ - get: operations["app_version"]; + get: operations['app_version']; }; - "/api/v1/app/config": { + '/api/v1/app/config': { /** Get Config */ - get: operations["get_config"]; + get: operations['get_config']; }; - "/api/v1/app/logging": { + '/api/v1/app/logging': { /** * Get Log Level * @description Returns the log level */ - get: operations["get_log_level"]; + get: operations['get_log_level']; /** * Set Log Level * @description Sets the log verbosity level */ - post: operations["set_log_level"]; + post: operations['set_log_level']; }; - "/api/v1/app/invocation_cache": { + '/api/v1/app/invocation_cache': { /** * Clear Invocation Cache * @description Clears the invocation cache */ - delete: operations["clear_invocation_cache"]; + delete: operations['clear_invocation_cache']; }; - "/api/v1/app/invocation_cache/enable": { + '/api/v1/app/invocation_cache/enable': { /** * Enable Invocation Cache * @description Clears the invocation cache */ - put: operations["enable_invocation_cache"]; + put: operations['enable_invocation_cache']; }; - "/api/v1/app/invocation_cache/disable": { + '/api/v1/app/invocation_cache/disable': { /** * Disable Invocation Cache * @description Clears the invocation cache */ - put: operations["disable_invocation_cache"]; + put: operations['disable_invocation_cache']; }; - "/api/v1/app/invocation_cache/status": { + '/api/v1/app/invocation_cache/status': { /** * Get Invocation Cache Status * @description Clears the invocation cache */ - get: operations["get_invocation_cache_status"]; + get: operations['get_invocation_cache_status']; }; - "/api/v1/queue/{queue_id}/enqueue_graph": { + '/api/v1/queue/{queue_id}/enqueue_graph': { /** * Enqueue Graph * @description Enqueues a graph for single execution. */ - post: operations["enqueue_graph"]; + post: operations['enqueue_graph']; }; - "/api/v1/queue/{queue_id}/enqueue_batch": { + '/api/v1/queue/{queue_id}/enqueue_batch': { /** * Enqueue Batch * @description Processes a batch and enqueues the output graphs for execution. */ - post: operations["enqueue_batch"]; + post: operations['enqueue_batch']; }; - "/api/v1/queue/{queue_id}/list": { + '/api/v1/queue/{queue_id}/list': { /** * List Queue Items * @description Gets all queue items (without graphs) */ - get: operations["list_queue_items"]; + get: operations['list_queue_items']; }; - "/api/v1/queue/{queue_id}/processor/resume": { + '/api/v1/queue/{queue_id}/processor/resume': { /** * Resume * @description Resumes session processor */ - put: operations["resume"]; + put: operations['resume']; }; - "/api/v1/queue/{queue_id}/processor/pause": { + '/api/v1/queue/{queue_id}/processor/pause': { /** * Pause * @description Pauses session processor */ - put: operations["pause"]; + put: operations['pause']; }; - "/api/v1/queue/{queue_id}/cancel_by_batch_ids": { + '/api/v1/queue/{queue_id}/cancel_by_batch_ids': { /** * Cancel By Batch Ids * @description Immediately cancels all queue items from the given batch ids */ - put: operations["cancel_by_batch_ids"]; + put: operations['cancel_by_batch_ids']; }; - "/api/v1/queue/{queue_id}/clear": { + '/api/v1/queue/{queue_id}/clear': { /** * Clear * @description Clears the queue entirely, immediately canceling the currently-executing session */ - put: operations["clear"]; + put: operations['clear']; }; - "/api/v1/queue/{queue_id}/prune": { + '/api/v1/queue/{queue_id}/prune': { /** * Prune * @description Prunes all completed or errored queue items */ - put: operations["prune"]; + put: operations['prune']; }; - "/api/v1/queue/{queue_id}/current": { + '/api/v1/queue/{queue_id}/current': { /** * Get Current Queue Item * @description Gets the currently execution queue item */ - get: operations["get_current_queue_item"]; + get: operations['get_current_queue_item']; }; - "/api/v1/queue/{queue_id}/next": { + '/api/v1/queue/{queue_id}/next': { /** * Get Next Queue Item * @description Gets the next queue item, without executing it */ - get: operations["get_next_queue_item"]; + get: operations['get_next_queue_item']; }; - "/api/v1/queue/{queue_id}/status": { + '/api/v1/queue/{queue_id}/status': { /** * Get Queue Status * @description Gets the status of the session queue */ - get: operations["get_queue_status"]; + get: operations['get_queue_status']; }; - "/api/v1/queue/{queue_id}/b/{batch_id}/status": { + '/api/v1/queue/{queue_id}/b/{batch_id}/status': { /** * Get Batch Status * @description Gets the status of the session queue */ - get: operations["get_batch_status"]; + get: operations['get_batch_status']; }; - "/api/v1/queue/{queue_id}/i/{item_id}": { + '/api/v1/queue/{queue_id}/i/{item_id}': { /** * Get Queue Item * @description Gets a queue item */ - get: operations["get_queue_item"]; + get: operations['get_queue_item']; }; - "/api/v1/queue/{queue_id}/i/{item_id}/cancel": { + '/api/v1/queue/{queue_id}/i/{item_id}/cancel': { /** * Cancel Queue Item * @description Deletes a queue item */ - put: operations["cancel_queue_item"]; + put: operations['cancel_queue_item']; }; }; @@ -510,7 +509,7 @@ export type components = { * @default add * @enum {string} */ - type: "add"; + type: 'add'; }; /** * AppConfig @@ -526,7 +525,7 @@ export type components = { * Upscaling Methods * @description List of upscaling methods */ - upscaling_methods: components["schemas"]["Upscaler"][]; + upscaling_methods: components['schemas']['Upscaler'][]; /** * Nsfw Methods * @description List of NSFW checking methods @@ -554,7 +553,7 @@ export type components = { * @description An enumeration. * @enum {string} */ - BaseModelType: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; + BaseModelType: 'any' | 'sd-1' | 'sd-2' | 'sdxl' | 'sdxl-refiner'; /** Batch */ Batch: { /** @@ -566,12 +565,12 @@ export type components = { * Data * @description The batch data collection. */ - data?: components["schemas"]["BatchDatum"][][]; + data?: components['schemas']['BatchDatum'][][]; /** * Graph * @description The graph to initialize the session with */ - graph: components["schemas"]["Graph"]; + graph: components['schemas']['Graph']; /** * Runs * @description Int stating how many times to iterate through all possible batch indices @@ -685,7 +684,7 @@ export type components = { * @default RGB * @enum {string} */ - mode?: "RGB" | "RGBA"; + mode?: 'RGB' | 'RGBA'; /** * Color * @description The color of the image @@ -696,13 +695,13 @@ export type components = { * "a": 255 * } */ - color?: components["schemas"]["ColorField"]; + color?: components['schemas']['ColorField']; /** * Type * @default blank_image * @enum {string} */ - type: "blank_image"; + type: 'blank_image'; }; /** * Blend Latents @@ -735,12 +734,12 @@ export type components = { * Latents A * @description Latents tensor */ - latents_a?: components["schemas"]["LatentsField"]; + latents_a?: components['schemas']['LatentsField']; /** * Latents B * @description Latents tensor */ - latents_b?: components["schemas"]["LatentsField"]; + latents_b?: components['schemas']['LatentsField']; /** * Alpha * @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. @@ -752,7 +751,7 @@ export type components = { * @default lblend * @enum {string} */ - type: "lblend"; + type: 'lblend'; }; /** BoardChanges */ BoardChanges: { @@ -880,7 +879,7 @@ export type components = { * Batch * @description Batch to process */ - batch: components["schemas"]["Batch"]; + batch: components['schemas']['Batch']; /** * Prepend * @description Whether or not to prepend this batch in the queue @@ -894,7 +893,7 @@ export type components = { * Graph * @description The graph to enqueue */ - graph: components["schemas"]["Graph"]; + graph: components['schemas']['Graph']; /** * Prepend * @description Whether or not to prepend this batch in the queue @@ -914,7 +913,7 @@ export type components = { * @description Prediction type for SDv2 checkpoints and rare SDv1 checkpoints * @enum {string} */ - prediction_type?: "v_prediction" | "epsilon" | "sample"; + prediction_type?: 'v_prediction' | 'epsilon' | 'sample'; }; /** Body_merge_models */ Body_merge_models: { @@ -935,7 +934,7 @@ export type components = { */ alpha?: number; /** @description Interpolation method */ - interp: components["schemas"]["MergeInterpolationMethod"]; + interp: components['schemas']['MergeInterpolationMethod']; /** * Force * @description Force merging of models created with different versions of diffusers @@ -1045,7 +1044,7 @@ export type components = { * @default boolean_collection * @enum {string} */ - type: "boolean_collection"; + type: 'boolean_collection'; }; /** * BooleanCollectionOutput @@ -1062,7 +1061,7 @@ export type components = { * @default boolean_collection_output * @enum {string} */ - type: "boolean_collection_output"; + type: 'boolean_collection_output'; }; /** * Boolean Primitive @@ -1102,7 +1101,7 @@ export type components = { * @default boolean * @enum {string} */ - type: "boolean"; + type: 'boolean'; }; /** * BooleanOutput @@ -1119,18 +1118,18 @@ export type components = { * @default boolean_output * @enum {string} */ - type: "boolean_output"; + type: 'boolean_output'; }; /** CLIPVisionModelDiffusersConfig */ CLIPVisionModelDiffusersConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "clip_vision"; + model_type: 'clip_vision'; /** Path */ path: string; /** Description */ @@ -1139,8 +1138,8 @@ export type components = { * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; }; /** CLIPVisionModelField */ CLIPVisionModelField: { @@ -1150,7 +1149,7 @@ export type components = { */ model_name: string; /** @description Base model (usually 'Any') */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; /** * CV2 Infill @@ -1183,13 +1182,13 @@ export type components = { * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default infill_cv2 * @enum {string} */ - type: "infill_cv2"; + type: 'infill_cv2'; }; /** * CancelByBatchIDsResult @@ -1233,13 +1232,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default canny_image_processor * @enum {string} */ - type: "canny_image_processor"; + type: 'canny_image_processor'; /** * Low Threshold * @description The low threshold of the Canny pixel gradient (0-255) @@ -1270,12 +1269,12 @@ export type components = { * Tokenizer * @description Info to load tokenizer submodel */ - tokenizer: components["schemas"]["ModelInfo"]; + tokenizer: components['schemas']['ModelInfo']; /** * Text Encoder * @description Info to load text_encoder submodel */ - text_encoder: components["schemas"]["ModelInfo"]; + text_encoder: components['schemas']['ModelInfo']; /** * Skipped Layers * @description Number of skipped layers in text_encoder @@ -1285,7 +1284,7 @@ export type components = { * Loras * @description Loras to apply on model loading */ - loras: components["schemas"]["LoraInfo"][]; + loras: components['schemas']['LoraInfo'][]; }; /** * CLIP Skip @@ -1318,7 +1317,7 @@ export type components = { * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * Skipped Layers * @description Number of layers to skip in text encoder @@ -1330,7 +1329,7 @@ export type components = { * @default clip_skip * @enum {string} */ - type: "clip_skip"; + type: 'clip_skip'; }; /** * ClipSkipInvocationOutput @@ -1341,13 +1340,13 @@ export type components = { * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * Type * @default clip_skip_output * @enum {string} */ - type: "clip_skip_output"; + type: 'clip_skip_output'; }; /** * CollectInvocation @@ -1391,7 +1390,7 @@ export type components = { * @default collect * @enum {string} */ - type: "collect"; + type: 'collect'; }; /** * CollectInvocationOutput @@ -1410,7 +1409,7 @@ export type components = { * @default collect_output * @enum {string} */ - type: "collect_output"; + type: 'collect_output'; }; /** * ColorCollectionOutput @@ -1421,13 +1420,13 @@ export type components = { * Collection * @description The output colors */ - collection: components["schemas"]["ColorField"][]; + collection: components['schemas']['ColorField'][]; /** * Type * @default color_collection_output * @enum {string} */ - type: "color_collection_output"; + type: 'color_collection_output'; }; /** * Color Correct @@ -1461,17 +1460,17 @@ export type components = { * Image * @description The image to color-correct */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Reference * @description Reference image for color-correction */ - reference?: components["schemas"]["ImageField"]; + reference?: components['schemas']['ImageField']; /** * Mask * @description Mask to use when applying color-correction */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** * Mask Blur Radius * @description Mask blur radius @@ -1483,7 +1482,7 @@ export type components = { * @default color_correct * @enum {string} */ - type: "color_correct"; + type: 'color_correct'; }; /** * ColorField @@ -1548,13 +1547,13 @@ export type components = { * "a": 255 * } */ - color?: components["schemas"]["ColorField"]; + color?: components['schemas']['ColorField']; /** * Type * @default color * @enum {string} */ - type: "color"; + type: 'color'; }; /** * Color Map Processor @@ -1587,13 +1586,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default color_map_image_processor * @enum {string} */ - type: "color_map_image_processor"; + type: 'color_map_image_processor'; /** * Color Map Tile Size * @description Tile size @@ -1610,13 +1609,13 @@ export type components = { * Color * @description The output color */ - color: components["schemas"]["ColorField"]; + color: components['schemas']['ColorField']; /** * Type * @default color_output * @enum {string} */ - type: "color_output"; + type: 'color_output'; }; /** * Prompt @@ -1656,12 +1655,12 @@ export type components = { * @default compel * @enum {string} */ - type: "compel"; + type: 'compel'; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; }; /** * Conditioning Collection Primitive @@ -1694,13 +1693,13 @@ export type components = { * Collection * @description The collection of conditioning tensors */ - collection?: components["schemas"]["ConditioningField"][]; + collection?: components['schemas']['ConditioningField'][]; /** * Type * @default conditioning_collection * @enum {string} */ - type: "conditioning_collection"; + type: 'conditioning_collection'; }; /** * ConditioningCollectionOutput @@ -1711,13 +1710,13 @@ export type components = { * Collection * @description The output conditioning tensors */ - collection: components["schemas"]["ConditioningField"][]; + collection: components['schemas']['ConditioningField'][]; /** * Type * @default conditioning_collection_output * @enum {string} */ - type: "conditioning_collection_output"; + type: 'conditioning_collection_output'; }; /** * ConditioningField @@ -1761,13 +1760,13 @@ export type components = { * Conditioning * @description Conditioning tensor */ - conditioning?: components["schemas"]["ConditioningField"]; + conditioning?: components['schemas']['ConditioningField']; /** * Type * @default conditioning * @enum {string} */ - type: "conditioning"; + type: 'conditioning'; }; /** * ConditioningOutput @@ -1778,13 +1777,13 @@ export type components = { * Conditioning * @description Conditioning tensor */ - conditioning: components["schemas"]["ConditioningField"]; + conditioning: components['schemas']['ConditioningField']; /** * Type * @default conditioning_output * @enum {string} */ - type: "conditioning_output"; + type: 'conditioning_output'; }; /** * Content Shuffle Processor @@ -1817,13 +1816,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default content_shuffle_image_processor * @enum {string} */ - type: "content_shuffle_image_processor"; + type: 'content_shuffle_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -1861,12 +1860,12 @@ export type components = { * Image * @description The control image */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * Control Model * @description The ControlNet model to use */ - control_model: components["schemas"]["ControlNetModelField"]; + control_model: components['schemas']['ControlNetModelField']; /** * Control Weight * @description The weight given to the ControlNet @@ -1891,14 +1890,18 @@ export type components = { * @default balanced * @enum {string} */ - control_mode?: "balanced" | "more_prompt" | "more_control" | "unbalanced"; + control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced'; /** * Resize Mode * @description The resize mode to use * @default just_resize * @enum {string} */ - resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple"; + resize_mode?: + | 'just_resize' + | 'crop_resize' + | 'fill_resize' + | 'just_resize_simple'; }; /** * ControlNet @@ -1931,12 +1934,12 @@ export type components = { * Image * @description The control image */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Control Model * @description ControlNet model to load */ - control_model: components["schemas"]["ControlNetModelField"]; + control_model: components['schemas']['ControlNetModelField']; /** * Control Weight * @description The weight given to the ControlNet @@ -1961,31 +1964,35 @@ export type components = { * @default balanced * @enum {string} */ - control_mode?: "balanced" | "more_prompt" | "more_control" | "unbalanced"; + control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced'; /** * Resize Mode * @description The resize mode used * @default just_resize * @enum {string} */ - resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple"; + resize_mode?: + | 'just_resize' + | 'crop_resize' + | 'fill_resize' + | 'just_resize_simple'; /** * Type * @default controlnet * @enum {string} */ - type: "controlnet"; + type: 'controlnet'; }; /** ControlNetModelCheckpointConfig */ ControlNetModelCheckpointConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "controlnet"; + model_type: 'controlnet'; /** Path */ path: string; /** Description */ @@ -1994,8 +2001,8 @@ export type components = { * Model Format * @enum {string} */ - model_format: "checkpoint"; - error?: components["schemas"]["ModelError"]; + model_format: 'checkpoint'; + error?: components['schemas']['ModelError']; /** Config */ config: string; }; @@ -2003,12 +2010,12 @@ export type components = { ControlNetModelDiffusersConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "controlnet"; + model_type: 'controlnet'; /** Path */ path: string; /** Description */ @@ -2017,8 +2024,8 @@ export type components = { * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; }; /** * ControlNetModelField @@ -2031,7 +2038,7 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; /** * ControlOutput @@ -2042,13 +2049,13 @@ export type components = { * Control * @description ControlNet(s) to apply */ - control: components["schemas"]["ControlField"]; + control: components['schemas']['ControlField']; /** * Type * @default control_output * @enum {string} */ - type: "control_output"; + type: 'control_output'; }; /** * CoreMetadata @@ -2058,14 +2065,14 @@ export type components = { /** * App Version * @description The version of InvokeAI used to generate this image - * @default 3.2.0 + * @default 3.3.0 */ app_version?: string; /** * Generation Mode * @description The generation mode that output this image */ - generation_mode: string; + generation_mode?: string; /** * Created By * @description The name of the creator of the image @@ -2075,47 +2082,47 @@ export type components = { * Positive Prompt * @description The positive prompt parameter */ - positive_prompt: string; + positive_prompt?: string; /** * Negative Prompt * @description The negative prompt parameter */ - negative_prompt: string; + negative_prompt?: string; /** * Width * @description The width parameter */ - width: number; + width?: number; /** * Height * @description The height parameter */ - height: number; + height?: number; /** * Seed * @description The seed used for noise generation */ - seed: number; + seed?: number; /** * Rand Device * @description The device used for random number generation */ - rand_device: string; + rand_device?: string; /** * Cfg Scale * @description The classifier-free guidance scale parameter */ - cfg_scale: number; + cfg_scale?: number; /** * Steps * @description The number of steps used for inference */ - steps: number; + steps?: number; /** * Scheduler * @description The scheduler used for inference */ - scheduler: string; + scheduler?: string; /** * Clip Skip * @description The number of skipped CLIP layers @@ -2125,32 +2132,32 @@ export type components = { * Model * @description The main model used for inference */ - model: components["schemas"]["MainModelField"]; + model?: components['schemas']['MainModelField']; /** * Controlnets * @description The ControlNets used for inference */ - controlnets: components["schemas"]["ControlField"][]; + controlnets?: components['schemas']['ControlField'][]; /** * Ipadapters * @description The IP Adapters used for inference */ - ipAdapters: components["schemas"]["IPAdapterMetadataField"][]; + ipAdapters?: components['schemas']['IPAdapterMetadataField'][]; /** * T2Iadapters * @description The IP Adapters used for inference */ - t2iAdapters: components["schemas"]["T2IAdapterField"][]; + t2iAdapters?: components['schemas']['T2IAdapterField'][]; /** * Loras * @description The LoRAs used for inference */ - loras: components["schemas"]["LoRAMetadataField"][]; + loras?: components['schemas']['LoRAMetadataField'][]; /** * Vae * @description The VAE used for decoding, if the main model's default was not used */ - vae?: components["schemas"]["VAEModelField"]; + vae?: components['schemas']['VAEModelField']; /** * Strength * @description The strength used for latents-to-latents @@ -2175,7 +2182,7 @@ export type components = { * Refiner Model * @description The SDXL Refiner model used */ - refiner_model?: components["schemas"]["MainModelField"]; + refiner_model?: components['schemas']['MainModelField']; /** * Refiner Cfg Scale * @description The classifier-free guidance scale parameter used for the refiner @@ -2238,17 +2245,17 @@ export type components = { * Vae * @description VAE */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** * Image * @description Image which will be masked */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Mask * @description The mask to use when pasting */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** * Tiled * @description Processing using overlapping tiles (reduce memory consumption) @@ -2258,7 +2265,7 @@ export type components = { /** * Fp32 * @description Whether or not to use full float32 precision - * @default false + * @default true */ fp32?: boolean; /** @@ -2266,7 +2273,7 @@ export type components = { * @default create_denoise_mask * @enum {string} */ - type: "create_denoise_mask"; + type: 'create_denoise_mask'; }; /** * CursorPaginatedResults[SessionQueueItemDTO] @@ -2287,7 +2294,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["SessionQueueItemDTO"][]; + items: components['schemas']['SessionQueueItemDTO'][]; }; /** * OpenCV Inpaint @@ -2320,18 +2327,18 @@ export type components = { * Image * @description The image to inpaint */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Mask * @description The mask to use when inpainting */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** * Type * @default cv_inpaint * @enum {string} */ - type: "cv_inpaint"; + type: 'cv_inpaint'; }; /** DeleteBoardResult */ DeleteBoardResult: { @@ -2387,7 +2394,7 @@ export type components = { * Noise * @description Noise tensor */ - noise?: components["schemas"]["LatentsField"]; + noise?: components['schemas']['LatentsField']; /** * Steps * @description Number of steps to run @@ -2418,50 +2425,78 @@ export type components = { * @default euler * @enum {string} */ - scheduler?: "ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc"; + scheduler?: + | 'ddim' + | 'ddpm' + | 'deis' + | 'lms' + | 'lms_k' + | 'pndm' + | 'heun' + | 'heun_k' + | 'euler' + | 'euler_k' + | 'euler_a' + | 'kdpm_2' + | 'kdpm_2_a' + | 'dpmpp_2s' + | 'dpmpp_2s_k' + | 'dpmpp_2m' + | 'dpmpp_2m_k' + | 'dpmpp_2m_sde' + | 'dpmpp_2m_sde_k' + | 'dpmpp_sde' + | 'dpmpp_sde_k' + | 'unipc'; /** Control */ - control?: components["schemas"]["ControlField"] | components["schemas"]["ControlField"][]; + control?: + | components['schemas']['ControlField'] + | components['schemas']['ControlField'][]; /** * IP-Adapter * @description IP-Adapter to apply */ - ip_adapter?: components["schemas"]["IPAdapterField"] | components["schemas"]["IPAdapterField"][]; + ip_adapter?: + | components['schemas']['IPAdapterField'] + | components['schemas']['IPAdapterField'][]; /** * T2I-Adapter * @description T2I-Adapter(s) to apply */ - t2i_adapter?: components["schemas"]["T2IAdapterField"] | components["schemas"]["T2IAdapterField"][]; + t2i_adapter?: + | components['schemas']['T2IAdapterField'] + | components['schemas']['T2IAdapterField'][]; /** * Latents * @description Latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Denoise Mask * @description The mask to use for the operation */ - denoise_mask?: components["schemas"]["DenoiseMaskField"]; + denoise_mask?: components['schemas']['DenoiseMaskField']; /** * Type * @default denoise_latents * @enum {string} */ - type: "denoise_latents"; + type: 'denoise_latents'; /** * Positive Conditioning * @description Positive conditioning tensor */ - positive_conditioning?: components["schemas"]["ConditioningField"]; + positive_conditioning?: components['schemas']['ConditioningField']; /** * Negative Conditioning * @description Negative conditioning tensor */ - negative_conditioning?: components["schemas"]["ConditioningField"]; + negative_conditioning?: components['schemas']['ConditioningField']; /** * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; }; /** * DenoiseMaskField @@ -2488,13 +2523,13 @@ export type components = { * Denoise Mask * @description Mask for denoise model run */ - denoise_mask: components["schemas"]["DenoiseMaskField"]; + denoise_mask: components['schemas']['DenoiseMaskField']; /** * Type * @default denoise_mask_output * @enum {string} */ - type: "denoise_mask_output"; + type: 'denoise_mask_output'; }; /** * Divide Integers @@ -2540,7 +2575,7 @@ export type components = { * @default div * @enum {string} */ - type: "div"; + type: 'div'; }; /** * Dynamic Prompt @@ -2591,7 +2626,7 @@ export type components = { * @default dynamic_prompt * @enum {string} */ - type: "dynamic_prompt"; + type: 'dynamic_prompt'; }; /** DynamicPromptsResponse */ DynamicPromptsResponse: { @@ -2631,14 +2666,18 @@ export type components = { * Image * @description The input image */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Model Name * @description The Real-ESRGAN model to use * @default RealESRGAN_x4plus.pth * @enum {string} */ - model_name?: "RealESRGAN_x4plus.pth" | "RealESRGAN_x4plus_anime_6B.pth" | "ESRGAN_SRx4_DF2KOST_official-ff704c30.pth" | "RealESRGAN_x2plus.pth"; + model_name?: + | 'RealESRGAN_x4plus.pth' + | 'RealESRGAN_x4plus_anime_6B.pth' + | 'ESRGAN_SRx4_DF2KOST_official-ff704c30.pth' + | 'RealESRGAN_x2plus.pth'; /** * Tile Size * @description Tile size for tiled ESRGAN upscaling (0=tiling disabled) @@ -2650,7 +2689,7 @@ export type components = { * @default esrgan * @enum {string} */ - type: "esrgan"; + type: 'esrgan'; }; /** Edge */ Edge: { @@ -2658,12 +2697,12 @@ export type components = { * Source * @description The connection for the edge's from node and field */ - source: components["schemas"]["EdgeConnection"]; + source: components['schemas']['EdgeConnection']; /** * Destination * @description The connection for the edge's to node and field */ - destination: components["schemas"]["EdgeConnection"]; + destination: components['schemas']['EdgeConnection']; }; /** EdgeConnection */ EdgeConnection: { @@ -2699,7 +2738,7 @@ export type components = { * Batch * @description The batch that was enqueued */ - batch: components["schemas"]["Batch"]; + batch: components['schemas']['Batch']; /** * Priority * @description The priority of the enqueued batch @@ -2722,7 +2761,7 @@ export type components = { * Batch * @description The batch that was enqueued */ - batch: components["schemas"]["Batch"]; + batch: components['schemas']['Batch']; /** * Priority * @description The priority of the enqueued batch @@ -2732,7 +2771,7 @@ export type components = { * Queue Item * @description The queue item that was enqueued */ - queue_item: components["schemas"]["SessionQueueItemDTO"]; + queue_item: components['schemas']['SessionQueueItemDTO']; }; /** * FaceIdentifier @@ -2765,7 +2804,7 @@ export type components = { * Image * @description Image to face detect */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Minimum Confidence * @description Minimum confidence for face detection (lower if detection is failing) @@ -2783,7 +2822,7 @@ export type components = { * @default face_identifier * @enum {string} */ - type: "face_identifier"; + type: 'face_identifier'; }; /** * FaceMask @@ -2816,7 +2855,7 @@ export type components = { * Image * @description Image to face detect */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Face Ids * @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. @@ -2858,7 +2897,7 @@ export type components = { * @default face_mask_detection * @enum {string} */ - type: "face_mask_detection"; + type: 'face_mask_detection'; }; /** * FaceMaskOutput @@ -2869,7 +2908,7 @@ export type components = { * Image * @description The output image */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * Width * @description The width of the image in pixels @@ -2885,12 +2924,12 @@ export type components = { * @default face_mask_output * @enum {string} */ - type: "face_mask_output"; + type: 'face_mask_output'; /** * Mask * @description The output mask */ - mask: components["schemas"]["ImageField"]; + mask: components['schemas']['ImageField']; }; /** * FaceOff @@ -2923,7 +2962,7 @@ export type components = { * Image * @description Image for face detection */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Face Id * @description The face ID to process, numbered from 0. Multiple faces not supported. Find a face's ID with FaceIdentifier node. @@ -2965,7 +3004,7 @@ export type components = { * @default face_off * @enum {string} */ - type: "face_off"; + type: 'face_off'; }; /** * FaceOffOutput @@ -2976,7 +3015,7 @@ export type components = { * Image * @description The output image */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * Width * @description The width of the image in pixels @@ -2992,12 +3031,12 @@ export type components = { * @default face_off_output * @enum {string} */ - type: "face_off_output"; + type: 'face_off_output'; /** * Mask * @description The output mask */ - mask: components["schemas"]["ImageField"]; + mask: components['schemas']['ImageField']; /** * X * @description The x coordinate of the bounding box's left side @@ -3046,7 +3085,7 @@ export type components = { * @default float_collection * @enum {string} */ - type: "float_collection"; + type: 'float_collection'; }; /** * FloatCollectionOutput @@ -3063,7 +3102,7 @@ export type components = { * @default float_collection_output * @enum {string} */ - type: "float_collection_output"; + type: 'float_collection_output'; }; /** * Float Primitive @@ -3103,7 +3142,7 @@ export type components = { * @default float * @enum {string} */ - type: "float"; + type: 'float'; }; /** * Float Range @@ -3155,7 +3194,7 @@ export type components = { * @default float_range * @enum {string} */ - type: "float_range"; + type: 'float_range'; }; /** * Float Math @@ -3190,7 +3229,16 @@ export type components = { * @default ADD * @enum {string} */ - operation?: "ADD" | "SUB" | "MUL" | "DIV" | "EXP" | "ABS" | "SQRT" | "MIN" | "MAX"; + operation?: + | 'ADD' + | 'SUB' + | 'MUL' + | 'DIV' + | 'EXP' + | 'ABS' + | 'SQRT' + | 'MIN' + | 'MAX'; /** * A * @description The first number @@ -3208,7 +3256,7 @@ export type components = { * @default float_math * @enum {string} */ - type: "float_math"; + type: 'float_math'; }; /** * FloatOutput @@ -3225,7 +3273,7 @@ export type components = { * @default float_output * @enum {string} */ - type: "float_output"; + type: 'float_output'; }; /** * Float To Integer @@ -3272,13 +3320,13 @@ export type components = { * @default Nearest * @enum {string} */ - method?: "Nearest" | "Floor" | "Ceiling" | "Truncate"; + method?: 'Nearest' | 'Floor' | 'Ceiling' | 'Truncate'; /** * Type * @default float_to_int * @enum {string} */ - type: "float_to_int"; + type: 'float_to_int'; }; /** Graph */ Graph: { @@ -3292,13 +3340,130 @@ export type components = { * @description The nodes in this graph */ nodes?: { - [key: string]: components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"]; + [key: string]: + | components['schemas']['BooleanInvocation'] + | components['schemas']['BooleanCollectionInvocation'] + | components['schemas']['IntegerInvocation'] + | components['schemas']['IntegerCollectionInvocation'] + | components['schemas']['FloatInvocation'] + | components['schemas']['FloatCollectionInvocation'] + | components['schemas']['StringInvocation'] + | components['schemas']['StringCollectionInvocation'] + | components['schemas']['ImageInvocation'] + | components['schemas']['ImageCollectionInvocation'] + | components['schemas']['LatentsInvocation'] + | components['schemas']['LatentsCollectionInvocation'] + | components['schemas']['ColorInvocation'] + | components['schemas']['ConditioningInvocation'] + | components['schemas']['ConditioningCollectionInvocation'] + | components['schemas']['ControlNetInvocation'] + | components['schemas']['ImageProcessorInvocation'] + | components['schemas']['T2IAdapterInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['SDXLLoraLoaderInvocation'] + | components['schemas']['VaeLoaderInvocation'] + | components['schemas']['SeamlessModeInvocation'] + | components['schemas']['CompelInvocation'] + | components['schemas']['SDXLCompelPromptInvocation'] + | components['schemas']['SDXLRefinerCompelPromptInvocation'] + | components['schemas']['ClipSkipInvocation'] + | components['schemas']['IPAdapterInvocation'] + | components['schemas']['MetadataAccumulatorInvocation'] + | components['schemas']['SchedulerInvocation'] + | components['schemas']['CreateDenoiseMaskInvocation'] + | components['schemas']['DenoiseLatentsInvocation'] + | components['schemas']['LatentsToImageInvocation'] + | components['schemas']['ResizeLatentsInvocation'] + | components['schemas']['ScaleLatentsInvocation'] + | components['schemas']['ImageToLatentsInvocation'] + | components['schemas']['BlendLatentsInvocation'] + | components['schemas']['ONNXPromptInvocation'] + | components['schemas']['ONNXTextToLatentsInvocation'] + | components['schemas']['ONNXLatentsToImageInvocation'] + | components['schemas']['OnnxModelLoaderInvocation'] + | components['schemas']['ESRGANInvocation'] + | components['schemas']['FloatLinearRangeInvocation'] + | components['schemas']['StepParamEasingInvocation'] + | components['schemas']['ShowImageInvocation'] + | components['schemas']['BlankImageInvocation'] + | components['schemas']['ImageCropInvocation'] + | components['schemas']['ImagePasteInvocation'] + | components['schemas']['MaskFromAlphaInvocation'] + | components['schemas']['ImageMultiplyInvocation'] + | components['schemas']['ImageChannelInvocation'] + | components['schemas']['ImageConvertInvocation'] + | components['schemas']['ImageBlurInvocation'] + | components['schemas']['ImageResizeInvocation'] + | components['schemas']['ImageScaleInvocation'] + | components['schemas']['ImageLerpInvocation'] + | components['schemas']['ImageInverseLerpInvocation'] + | components['schemas']['ImageNSFWBlurInvocation'] + | components['schemas']['ImageWatermarkInvocation'] + | components['schemas']['MaskEdgeInvocation'] + | components['schemas']['MaskCombineInvocation'] + | components['schemas']['ColorCorrectInvocation'] + | components['schemas']['ImageHueAdjustmentInvocation'] + | components['schemas']['ImageChannelOffsetInvocation'] + | components['schemas']['ImageChannelMultiplyInvocation'] + | components['schemas']['SaveImageInvocation'] + | components['schemas']['InfillColorInvocation'] + | components['schemas']['InfillTileInvocation'] + | components['schemas']['InfillPatchMatchInvocation'] + | components['schemas']['LaMaInfillInvocation'] + | components['schemas']['CV2InfillInvocation'] + | components['schemas']['RangeInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['NoiseInvocation'] + | components['schemas']['FaceOffInvocation'] + | components['schemas']['FaceMaskInvocation'] + | components['schemas']['FaceIdentifierInvocation'] + | components['schemas']['CvInpaintInvocation'] + | components['schemas']['AddInvocation'] + | components['schemas']['SubtractInvocation'] + | components['schemas']['MultiplyInvocation'] + | components['schemas']['DivideInvocation'] + | components['schemas']['RandomIntInvocation'] + | components['schemas']['RandomFloatInvocation'] + | components['schemas']['FloatToIntegerInvocation'] + | components['schemas']['RoundInvocation'] + | components['schemas']['IntegerMathInvocation'] + | components['schemas']['FloatMathInvocation'] + | components['schemas']['DynamicPromptInvocation'] + | components['schemas']['PromptsFromFileInvocation'] + | components['schemas']['SDXLModelLoaderInvocation'] + | components['schemas']['SDXLRefinerModelLoaderInvocation'] + | components['schemas']['StringSplitNegInvocation'] + | components['schemas']['StringSplitInvocation'] + | components['schemas']['StringJoinInvocation'] + | components['schemas']['StringJoinThreeInvocation'] + | components['schemas']['StringReplaceInvocation'] + | components['schemas']['GraphInvocation'] + | components['schemas']['IterateInvocation'] + | components['schemas']['CollectInvocation'] + | components['schemas']['CannyImageProcessorInvocation'] + | components['schemas']['HedImageProcessorInvocation'] + | components['schemas']['LineartImageProcessorInvocation'] + | components['schemas']['LineartAnimeImageProcessorInvocation'] + | components['schemas']['OpenposeImageProcessorInvocation'] + | components['schemas']['MidasDepthImageProcessorInvocation'] + | components['schemas']['NormalbaeImageProcessorInvocation'] + | components['schemas']['MlsdImageProcessorInvocation'] + | components['schemas']['PidiImageProcessorInvocation'] + | components['schemas']['ContentShuffleImageProcessorInvocation'] + | components['schemas']['ZoeDepthImageProcessorInvocation'] + | components['schemas']['MediapipeFaceProcessorInvocation'] + | components['schemas']['LeresImageProcessorInvocation'] + | components['schemas']['TileResamplerProcessorInvocation'] + | components['schemas']['SegmentAnythingProcessorInvocation'] + | components['schemas']['ColorMapImageProcessorInvocation']; }; /** * Edges * @description The connections between nodes and their fields in this graph */ - edges?: components["schemas"]["Edge"][]; + edges?: components['schemas']['Edge'][]; }; /** * GraphExecutionState @@ -3314,12 +3479,12 @@ export type components = { * Graph * @description The graph being executed */ - graph: components["schemas"]["Graph"]; + graph: components['schemas']['Graph']; /** * Execution Graph * @description The expanded graph of activated and executed nodes */ - execution_graph: components["schemas"]["Graph"]; + execution_graph: components['schemas']['Graph']; /** * Executed * @description The set of node ids that have been executed @@ -3335,7 +3500,46 @@ export type components = { * @description The results of node executions */ results: { - [key: string]: components["schemas"]["BooleanOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["SDXLLoraLoaderOutput"] | components["schemas"]["VaeLoaderOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["MetadataAccumulatorOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["ONNXModelLoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["String2Output"] | components["schemas"]["GraphInvocationOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FaceOffOutput"]; + [key: string]: + | components['schemas']['BooleanOutput'] + | components['schemas']['BooleanCollectionOutput'] + | components['schemas']['IntegerOutput'] + | components['schemas']['IntegerCollectionOutput'] + | components['schemas']['FloatOutput'] + | components['schemas']['FloatCollectionOutput'] + | components['schemas']['StringOutput'] + | components['schemas']['StringCollectionOutput'] + | components['schemas']['ImageOutput'] + | components['schemas']['ImageCollectionOutput'] + | components['schemas']['DenoiseMaskOutput'] + | components['schemas']['LatentsOutput'] + | components['schemas']['LatentsCollectionOutput'] + | components['schemas']['ColorOutput'] + | components['schemas']['ColorCollectionOutput'] + | components['schemas']['ConditioningOutput'] + | components['schemas']['ConditioningCollectionOutput'] + | components['schemas']['ControlOutput'] + | components['schemas']['T2IAdapterOutput'] + | components['schemas']['ModelLoaderOutput'] + | components['schemas']['LoraLoaderOutput'] + | components['schemas']['SDXLLoraLoaderOutput'] + | components['schemas']['VaeLoaderOutput'] + | components['schemas']['SeamlessModeOutput'] + | components['schemas']['ClipSkipInvocationOutput'] + | components['schemas']['IPAdapterOutput'] + | components['schemas']['MetadataAccumulatorOutput'] + | components['schemas']['SchedulerOutput'] + | components['schemas']['ONNXModelLoaderOutput'] + | components['schemas']['NoiseOutput'] + | components['schemas']['SDXLModelLoaderOutput'] + | components['schemas']['SDXLRefinerModelLoaderOutput'] + | components['schemas']['StringPosNegOutput'] + | components['schemas']['String2Output'] + | components['schemas']['GraphInvocationOutput'] + | components['schemas']['IterateInvocationOutput'] + | components['schemas']['CollectInvocationOutput'] + | components['schemas']['FaceMaskOutput'] + | components['schemas']['FaceOffOutput']; }; /** * Errors @@ -3390,13 +3594,13 @@ export type components = { * Graph * @description The graph to run */ - graph?: components["schemas"]["Graph"]; + graph?: components['schemas']['Graph']; /** * Type * @default graph * @enum {string} */ - type: "graph"; + type: 'graph'; }; /** * GraphInvocationOutput @@ -3410,12 +3614,12 @@ export type components = { * @default graph_output * @enum {string} */ - type: "graph_output"; + type: 'graph_output'; }; /** HTTPValidationError */ HTTPValidationError: { /** Detail */ - detail?: components["schemas"]["ValidationError"][]; + detail?: components['schemas']['ValidationError'][]; }; /** * HED (softedge) Processor @@ -3448,13 +3652,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default hed_image_processor * @enum {string} */ - type: "hed_image_processor"; + type: 'hed_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -3480,17 +3684,17 @@ export type components = { * Image * @description The IP-Adapter image prompt. */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * Ip Adapter Model * @description The IP-Adapter model to use. */ - ip_adapter_model: components["schemas"]["IPAdapterModelField"]; + ip_adapter_model: components['schemas']['IPAdapterModelField']; /** * Image Encoder Model * @description The name of the CLIP image encoder model. */ - image_encoder_model: components["schemas"]["CLIPVisionModelField"]; + image_encoder_model: components['schemas']['CLIPVisionModelField']; /** * Weight * @description The weight given to the ControlNet @@ -3541,12 +3745,12 @@ export type components = { * Image * @description The IP-Adapter image prompt. */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * IP-Adapter Model * @description The IP-Adapter model. */ - ip_adapter_model: components["schemas"]["IPAdapterModelField"]; + ip_adapter_model: components['schemas']['IPAdapterModelField']; /** * Weight * @description The weight given to the IP-Adapter @@ -3570,7 +3774,7 @@ export type components = { * @default ip_adapter * @enum {string} */ - type: "ip_adapter"; + type: 'ip_adapter'; }; /** IPAdapterMetadataField */ IPAdapterMetadataField: { @@ -3578,12 +3782,12 @@ export type components = { * Image * @description The IP-Adapter image prompt. */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * Ip Adapter Model * @description The IP-Adapter model to use. */ - ip_adapter_model: components["schemas"]["IPAdapterModelField"]; + ip_adapter_model: components['schemas']['IPAdapterModelField']; /** * Weight * @description The weight of the IP-Adapter model @@ -3610,18 +3814,18 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; /** IPAdapterModelInvokeAIConfig */ IPAdapterModelInvokeAIConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "ip_adapter"; + model_type: 'ip_adapter'; /** Path */ path: string; /** Description */ @@ -3630,8 +3834,8 @@ export type components = { * Model Format * @enum {string} */ - model_format: "invokeai"; - error?: components["schemas"]["ModelError"]; + model_format: 'invokeai'; + error?: components['schemas']['ModelError']; }; /** * IPAdapterOutput @@ -3644,13 +3848,13 @@ export type components = { * IP-Adapter * @description IP-Adapter to apply */ - ip_adapter: components["schemas"]["IPAdapterField"]; + ip_adapter: components['schemas']['IPAdapterField']; /** * Type * @default ip_adapter_output * @enum {string} */ - type: "ip_adapter_output"; + type: 'ip_adapter_output'; }; /** * Blur Image @@ -3683,7 +3887,7 @@ export type components = { * Image * @description The image to blur */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Radius * @description The blur radius @@ -3696,13 +3900,13 @@ export type components = { * @default gaussian * @enum {string} */ - blur_type?: "gaussian" | "box"; + blur_type?: 'gaussian' | 'box'; /** * Type * @default img_blur * @enum {string} */ - type: "img_blur"; + type: 'img_blur'; }; /** * ImageCategory @@ -3715,7 +3919,7 @@ export type components = { * - OTHER: The image is some other type of image with a specialized purpose. To be used by external nodes. * @enum {string} */ - ImageCategory: "general" | "mask" | "control" | "user" | "other"; + ImageCategory: 'general' | 'mask' | 'control' | 'user' | 'other'; /** * Extract Image Channel * @description Gets a channel from an image. @@ -3747,20 +3951,20 @@ export type components = { * Image * @description The image to get the channel from */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Channel * @description The channel to get * @default A * @enum {string} */ - channel?: "A" | "R" | "G" | "B"; + channel?: 'A' | 'R' | 'G' | 'B'; /** * Type * @default img_chan * @enum {string} */ - type: "img_chan"; + type: 'img_chan'; }; /** * Multiply Image Channel @@ -3793,13 +3997,30 @@ export type components = { * Image * @description The image to adjust */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Channel * @description Which channel to adjust * @enum {string} */ - channel?: "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)"; + channel?: + | '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)'; /** * Scale * @description The amount to scale the channel by. @@ -3817,7 +4038,7 @@ export type components = { * @default img_channel_multiply * @enum {string} */ - type: "img_channel_multiply"; + type: 'img_channel_multiply'; }; /** * Offset Image Channel @@ -3850,13 +4071,30 @@ export type components = { * Image * @description The image to adjust */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Channel * @description Which channel to adjust * @enum {string} */ - channel?: "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)"; + channel?: + | '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)'; /** * Offset * @description The amount to adjust the channel by @@ -3868,7 +4106,7 @@ export type components = { * @default img_channel_offset * @enum {string} */ - type: "img_channel_offset"; + type: 'img_channel_offset'; }; /** * Image Collection Primitive @@ -3901,13 +4139,13 @@ export type components = { * Collection * @description The collection of image values */ - collection?: components["schemas"]["ImageField"][]; + collection?: components['schemas']['ImageField'][]; /** * Type * @default image_collection * @enum {string} */ - type: "image_collection"; + type: 'image_collection'; }; /** * ImageCollectionOutput @@ -3918,13 +4156,13 @@ export type components = { * Collection * @description The output images */ - collection: components["schemas"]["ImageField"][]; + collection: components['schemas']['ImageField'][]; /** * Type * @default image_collection_output * @enum {string} */ - type: "image_collection_output"; + type: 'image_collection_output'; }; /** * Convert Image Mode @@ -3957,20 +4195,29 @@ export type components = { * Image * @description The image to convert */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Mode * @description The mode to convert to * @default L * @enum {string} */ - mode?: "L" | "RGB" | "RGBA" | "CMYK" | "YCbCr" | "LAB" | "HSV" | "I" | "F"; + mode?: + | 'L' + | 'RGB' + | 'RGBA' + | 'CMYK' + | 'YCbCr' + | 'LAB' + | 'HSV' + | 'I' + | 'F'; /** * Type * @default img_conv * @enum {string} */ - type: "img_conv"; + type: 'img_conv'; }; /** * Crop Image @@ -4003,7 +4250,7 @@ export type components = { * Image * @description The image to crop */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * X * @description The left x coordinate of the crop rectangle @@ -4033,7 +4280,7 @@ export type components = { * @default img_crop * @enum {string} */ - type: "img_crop"; + type: 'img_crop'; }; /** * ImageDTO @@ -4056,9 +4303,9 @@ export type components = { */ thumbnail_url: string; /** @description The type of the image. */ - image_origin: components["schemas"]["ResourceOrigin"]; + image_origin: components['schemas']['ResourceOrigin']; /** @description The category of the image. */ - image_category: components["schemas"]["ImageCategory"]; + image_category: components['schemas']['ImageCategory']; /** * Width * @description The width of the image in px. @@ -4152,7 +4399,7 @@ export type components = { * Image * @description The image to adjust */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Hue * @description The degrees by which to rotate the hue, 0-360 @@ -4164,7 +4411,7 @@ export type components = { * @default img_hue_adjust * @enum {string} */ - type: "img_hue_adjust"; + type: 'img_hue_adjust'; }; /** * Inverse Lerp Image @@ -4197,7 +4444,7 @@ export type components = { * Image * @description The image to lerp */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Min * @description The minimum input value @@ -4215,7 +4462,7 @@ export type components = { * @default img_ilerp * @enum {string} */ - type: "img_ilerp"; + type: 'img_ilerp'; }; /** * Image Primitive @@ -4248,13 +4495,13 @@ export type components = { * Image * @description The image to load */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default image * @enum {string} */ - type: "image"; + type: 'image'; }; /** * Lerp Image @@ -4287,7 +4534,7 @@ export type components = { * Image * @description The image to lerp */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Min * @description The minimum output value @@ -4305,7 +4552,7 @@ export type components = { * @default img_lerp * @enum {string} */ - type: "img_lerp"; + type: 'img_lerp'; }; /** * ImageMetadata @@ -4354,18 +4601,18 @@ export type components = { * Image1 * @description The first image to multiply */ - image1?: components["schemas"]["ImageField"]; + image1?: components['schemas']['ImageField']; /** * Image2 * @description The second image to multiply */ - image2?: components["schemas"]["ImageField"]; + image2?: components['schemas']['ImageField']; /** * Type * @default img_mul * @enum {string} */ - type: "img_mul"; + type: 'img_mul'; }; /** * Blur NSFW Image @@ -4398,18 +4645,18 @@ export type components = { * Metadata * @description Optional core metadata to be written to image */ - metadata?: components["schemas"]["CoreMetadata"]; + metadata?: components['schemas']['CoreMetadata']; /** * Type * @default img_nsfw * @enum {string} */ - type: "img_nsfw"; + type: 'img_nsfw'; /** * Image * @description The image to check */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** * ImageOutput @@ -4420,7 +4667,7 @@ export type components = { * Image * @description The output image */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * Width * @description The width of the image in pixels @@ -4436,7 +4683,7 @@ export type components = { * @default image_output * @enum {string} */ - type: "image_output"; + type: 'image_output'; }; /** * Paste Image @@ -4469,17 +4716,17 @@ export type components = { * Base Image * @description The base image */ - base_image?: components["schemas"]["ImageField"]; + base_image?: components['schemas']['ImageField']; /** * Image * @description The image to paste */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Mask * @description The mask to use when pasting */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** * X * @description The left x coordinate at which to paste the image @@ -4503,7 +4750,7 @@ export type components = { * @default img_paste * @enum {string} */ - type: "img_paste"; + type: 'img_paste'; }; /** * Base Image Processor @@ -4536,13 +4783,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default image_processor * @enum {string} */ - type: "image_processor"; + type: 'image_processor'; }; /** * ImageRecordChanges @@ -4556,7 +4803,7 @@ export type components = { */ ImageRecordChanges: { /** @description The image's new category. */ - image_category?: components["schemas"]["ImageCategory"]; + image_category?: components['schemas']['ImageCategory']; /** * Session Id * @description The image's new session ID. @@ -4604,7 +4851,7 @@ export type components = { * Image * @description The image to resize */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Width * @description The width to resize to (px) @@ -4623,18 +4870,24 @@ export type components = { * @default bicubic * @enum {string} */ - resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos"; + resample_mode?: + | 'nearest' + | 'box' + | 'bilinear' + | 'hamming' + | 'bicubic' + | 'lanczos'; /** * Metadata * @description Optional core metadata to be written to image */ - metadata?: components["schemas"]["CoreMetadata"]; + metadata?: components['schemas']['CoreMetadata']; /** * Type * @default img_resize * @enum {string} */ - type: "img_resize"; + type: 'img_resize'; }; /** * Scale Image @@ -4667,7 +4920,7 @@ export type components = { * Image * @description The image to scale */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Scale Factor * @description The factor by which to scale the image @@ -4680,13 +4933,19 @@ export type components = { * @default bicubic * @enum {string} */ - resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos"; + resample_mode?: + | 'nearest' + | 'box' + | 'bilinear' + | 'hamming' + | 'bicubic' + | 'lanczos'; /** * Type * @default img_scale * @enum {string} */ - type: "img_scale"; + type: 'img_scale'; }; /** * Image to Latents @@ -4719,12 +4978,12 @@ export type components = { * Image * @description The image to encode */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Vae * @description VAE */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** * Tiled * @description Processing using overlapping tiles (reduce memory consumption) @@ -4734,7 +4993,7 @@ export type components = { /** * Fp32 * @description Whether or not to use full float32 precision - * @default false + * @default true */ fp32?: boolean; /** @@ -4742,7 +5001,7 @@ export type components = { * @default i2l * @enum {string} */ - type: "i2l"; + type: 'i2l'; }; /** * ImageUrlsDTO @@ -4796,7 +5055,7 @@ export type components = { * Image * @description The image to check */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Text * @description Watermark text @@ -4807,13 +5066,13 @@ export type components = { * Metadata * @description Optional core metadata to be written to image */ - metadata?: components["schemas"]["CoreMetadata"]; + metadata?: components['schemas']['CoreMetadata']; /** * Type * @default img_watermark * @enum {string} */ - type: "img_watermark"; + type: 'img_watermark'; }; /** ImagesDownloaded */ ImagesDownloaded: { @@ -4862,7 +5121,7 @@ export type components = { * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Color * @description The color to use to infill @@ -4873,13 +5132,13 @@ export type components = { * "a": 255 * } */ - color?: components["schemas"]["ColorField"]; + color?: components['schemas']['ColorField']; /** * Type * @default infill_rgba * @enum {string} */ - type: "infill_rgba"; + type: 'infill_rgba'; }; /** * PatchMatch Infill @@ -4912,7 +5171,7 @@ export type components = { * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Downscale * @description Run patchmatch on downscaled image to speedup infill @@ -4925,13 +5184,19 @@ export type components = { * @default bicubic * @enum {string} */ - resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos"; + resample_mode?: + | 'nearest' + | 'box' + | 'bilinear' + | 'hamming' + | 'bicubic' + | 'lanczos'; /** * Type * @default infill_patchmatch * @enum {string} */ - type: "infill_patchmatch"; + type: 'infill_patchmatch'; }; /** * Tile Infill @@ -4964,7 +5229,7 @@ export type components = { * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Tile Size * @description The tile size (px) @@ -4981,7 +5246,7 @@ export type components = { * @default infill_tile * @enum {string} */ - type: "infill_tile"; + type: 'infill_tile'; }; /** * Integer Collection Primitive @@ -5020,7 +5285,7 @@ export type components = { * @default integer_collection * @enum {string} */ - type: "integer_collection"; + type: 'integer_collection'; }; /** * IntegerCollectionOutput @@ -5037,7 +5302,7 @@ export type components = { * @default integer_collection_output * @enum {string} */ - type: "integer_collection_output"; + type: 'integer_collection_output'; }; /** * Integer Primitive @@ -5077,7 +5342,7 @@ export type components = { * @default integer * @enum {string} */ - type: "integer"; + type: 'integer'; }; /** * Integer Math @@ -5112,7 +5377,16 @@ export type components = { * @default ADD * @enum {string} */ - operation?: "ADD" | "SUB" | "MUL" | "DIV" | "EXP" | "MOD" | "ABS" | "MIN" | "MAX"; + operation?: + | 'ADD' + | 'SUB' + | 'MUL' + | 'DIV' + | 'EXP' + | 'MOD' + | 'ABS' + | 'MIN' + | 'MAX'; /** * A * @description The first number @@ -5130,7 +5404,7 @@ export type components = { * @default integer_math * @enum {string} */ - type: "integer_math"; + type: 'integer_math'; }; /** * IntegerOutput @@ -5147,7 +5421,7 @@ export type components = { * @default integer_output * @enum {string} */ - type: "integer_output"; + type: 'integer_output'; }; /** InvocationCacheStatus */ InvocationCacheStatus: { @@ -5220,7 +5494,7 @@ export type components = { * @default iterate * @enum {string} */ - type: "iterate"; + type: 'iterate'; }; /** * IterateInvocationOutput @@ -5237,7 +5511,7 @@ export type components = { * @default iterate_output * @enum {string} */ - type: "iterate_output"; + type: 'iterate_output'; }; /** * LaMa Infill @@ -5270,13 +5544,13 @@ export type components = { * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default infill_lama * @enum {string} */ - type: "infill_lama"; + type: 'infill_lama'; }; /** * Latents Collection Primitive @@ -5309,13 +5583,13 @@ export type components = { * Collection * @description The collection of latents tensors */ - collection?: components["schemas"]["LatentsField"][]; + collection?: components['schemas']['LatentsField'][]; /** * Type * @default latents_collection * @enum {string} */ - type: "latents_collection"; + type: 'latents_collection'; }; /** * LatentsCollectionOutput @@ -5326,13 +5600,13 @@ export type components = { * Collection * @description Latents tensor */ - collection: components["schemas"]["LatentsField"][]; + collection: components['schemas']['LatentsField'][]; /** * Type * @default latents_collection_output * @enum {string} */ - type: "latents_collection_output"; + type: 'latents_collection_output'; }; /** * LatentsField @@ -5381,13 +5655,13 @@ export type components = { * Latents * @description The latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Type * @default latents * @enum {string} */ - type: "latents"; + type: 'latents'; }; /** * LatentsOutput @@ -5398,7 +5672,7 @@ export type components = { * Latents * @description Latents tensor */ - latents: components["schemas"]["LatentsField"]; + latents: components['schemas']['LatentsField']; /** * Width * @description Width of output (px) @@ -5414,7 +5688,7 @@ export type components = { * @default latents_output * @enum {string} */ - type: "latents_output"; + type: 'latents_output'; }; /** * Latents to Image @@ -5452,30 +5726,30 @@ export type components = { /** * Fp32 * @description Whether or not to use full float32 precision - * @default false + * @default true */ fp32?: boolean; /** * Metadata * @description Optional core metadata to be written to image */ - metadata?: components["schemas"]["CoreMetadata"]; + metadata?: components['schemas']['CoreMetadata']; /** * Type * @default l2i * @enum {string} */ - type: "l2i"; + type: 'l2i'; /** * Latents * @description Latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Vae * @description VAE */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; }; /** * Leres (Depth) Processor @@ -5508,13 +5782,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default leres_image_processor * @enum {string} */ - type: "leres_image_processor"; + type: 'leres_image_processor'; /** * Thr A * @description Leres parameter `thr_a` @@ -5577,13 +5851,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default lineart_anime_image_processor * @enum {string} */ - type: "lineart_anime_image_processor"; + type: 'lineart_anime_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -5628,13 +5902,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default lineart_image_processor * @enum {string} */ - type: "lineart_image_processor"; + type: 'lineart_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -5663,7 +5937,7 @@ export type components = { * Lora * @description The LoRA model */ - lora: components["schemas"]["LoRAModelField"]; + lora: components['schemas']['LoRAModelField']; /** * Weight * @description The weight of the LoRA model @@ -5674,18 +5948,18 @@ export type components = { LoRAModelConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "lora"; + model_type: 'lora'; /** Path */ path: string; /** Description */ description?: string; - model_format: components["schemas"]["LoRAModelFormat"]; - error?: components["schemas"]["ModelError"]; + model_format: components['schemas']['LoRAModelFormat']; + error?: components['schemas']['ModelError']; }; /** * LoRAModelField @@ -5698,14 +5972,14 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; /** * LoRAModelFormat * @description An enumeration. * @enum {string} */ - LoRAModelFormat: "lycoris" | "diffusers"; + LoRAModelFormat: 'lycoris' | 'diffusers'; /** * LogLevel * @description An enumeration. @@ -5720,11 +5994,11 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description Info to load submodel */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description Info to load submodel */ - submodel?: components["schemas"]["SubModelType"]; + submodel?: components['schemas']['SubModelType']; /** * Weight * @description Lora's weight which to use when apply to model @@ -5762,7 +6036,7 @@ export type components = { * LoRA * @description LoRA model to load */ - lora: components["schemas"]["LoRAModelField"]; + lora: components['schemas']['LoRAModelField']; /** * Weight * @description The weight at which the LoRA is applied to each model @@ -5773,18 +6047,18 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * Type * @default lora_loader * @enum {string} */ - type: "lora_loader"; + type: 'lora_loader'; }; /** * LoraLoaderOutput @@ -5795,18 +6069,18 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * Type * @default lora_loader_output * @enum {string} */ - type: "lora_loader_output"; + type: 'lora_loader_output'; }; /** * MainModelField @@ -5819,9 +6093,9 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description Model Type */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; }; /** * Main Model @@ -5854,13 +6128,13 @@ export type components = { * Model * @description Main model (UNet, VAE, CLIP) to load */ - model: components["schemas"]["MainModelField"]; + model: components['schemas']['MainModelField']; /** * Type * @default main_model_loader * @enum {string} */ - type: "main_model_loader"; + type: 'main_model_loader'; }; /** * Combine Masks @@ -5893,18 +6167,18 @@ export type components = { * Mask1 * @description The first mask to combine */ - mask1?: components["schemas"]["ImageField"]; + mask1?: components['schemas']['ImageField']; /** * Mask2 * @description The second image to combine */ - mask2?: components["schemas"]["ImageField"]; + mask2?: components['schemas']['ImageField']; /** * Type * @default mask_combine * @enum {string} */ - type: "mask_combine"; + type: 'mask_combine'; }; /** * Mask Edge @@ -5937,7 +6211,7 @@ export type components = { * Image * @description The image to apply the mask to */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Edge Size * @description The size of the edge @@ -5963,7 +6237,7 @@ export type components = { * @default mask_edge * @enum {string} */ - type: "mask_edge"; + type: 'mask_edge'; }; /** * Mask from Alpha @@ -5996,7 +6270,7 @@ export type components = { * Image * @description The image to create the mask from */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Invert * @description Whether or not to invert the mask @@ -6008,7 +6282,7 @@ export type components = { * @default tomask * @enum {string} */ - type: "tomask"; + type: 'tomask'; }; /** * Mediapipe Face Processor @@ -6041,13 +6315,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default mediapipe_face_processor * @enum {string} */ - type: "mediapipe_face_processor"; + type: 'mediapipe_face_processor'; /** * Max Faces * @description Maximum number of faces to detect @@ -6066,7 +6340,11 @@ export type components = { * @description An enumeration. * @enum {string} */ - MergeInterpolationMethod: "weighted_sum" | "sigmoid" | "inv_sigmoid" | "add_difference"; + MergeInterpolationMethod: + | 'weighted_sum' + | 'sigmoid' + | 'inv_sigmoid' + | 'add_difference'; /** * Metadata Accumulator * @description Outputs a Core Metadata Object @@ -6153,27 +6431,27 @@ export type components = { * Model * @description The main model used for inference */ - model?: components["schemas"]["MainModelField"]; + model?: components['schemas']['MainModelField']; /** * Controlnets * @description The ControlNets used for inference */ - controlnets?: components["schemas"]["ControlField"][]; + controlnets?: components['schemas']['ControlField'][]; /** * Ipadapters * @description The IP Adapters used for inference */ - ipAdapters?: components["schemas"]["IPAdapterMetadataField"][]; + ipAdapters?: components['schemas']['IPAdapterMetadataField'][]; /** * T2Iadapters * @description The IP Adapters used for inference */ - t2iAdapters: components["schemas"]["T2IAdapterField"][]; + t2iAdapters?: components['schemas']['T2IAdapterField'][]; /** * Loras * @description The LoRAs used for inference */ - loras?: components["schemas"]["LoRAMetadataField"][]; + loras?: components['schemas']['LoRAMetadataField'][]; /** * Strength * @description The strength used for latents-to-latents @@ -6188,19 +6466,19 @@ export type components = { * Vae * @description The VAE used for decoding, if the main model's default was not used */ - vae?: components["schemas"]["VAEModelField"]; + vae?: components['schemas']['VAEModelField']; /** - * High Resolution Fix Width - * @description The high resolution fix height and width multiplier. + * Hrf Width + * @description The high resolution fix height and width multipler. */ hrf_width?: number; /** - * High Resolution Fix Height - * @description The high resolution fix height and width multiplier. + * Hrf Height + * @description The high resolution fix height and width multipler. */ hrf_height?: number; /** - * High Resolution Strength + * Hrf Strength * @description The high resolution fix img2img strength used in the upscale pass. */ hrf_strength?: number; @@ -6218,7 +6496,7 @@ export type components = { * Refiner Model * @description The SDXL Refiner model used */ - refiner_model?: components["schemas"]["MainModelField"]; + refiner_model?: components['schemas']['MainModelField']; /** * Refiner Cfg Scale * @description The classifier-free guidance scale parameter used for the refiner @@ -6254,7 +6532,7 @@ export type components = { * @default metadata_accumulator * @enum {string} */ - type: "metadata_accumulator"; + type: 'metadata_accumulator'; }; /** * MetadataAccumulatorOutput @@ -6265,13 +6543,13 @@ export type components = { * Metadata * @description The core metadata for the image */ - metadata: components["schemas"]["CoreMetadata"]; + metadata: components['schemas']['CoreMetadata']; /** * Type * @default metadata_accumulator_output * @enum {string} */ - type: "metadata_accumulator_output"; + type: 'metadata_accumulator_output'; }; /** * Midas Depth Processor @@ -6304,13 +6582,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default midas_depth_image_processor * @enum {string} */ - type: "midas_depth_image_processor"; + type: 'midas_depth_image_processor'; /** * A Mult * @description Midas parameter `a_mult` (a = a_mult * PI) @@ -6355,13 +6633,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default mlsd_image_processor * @enum {string} */ - type: "mlsd_image_processor"; + type: 'mlsd_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -6392,7 +6670,7 @@ export type components = { * @description An enumeration. * @enum {string} */ - ModelError: "not_found"; + ModelError: 'not_found'; /** ModelInfo */ ModelInfo: { /** @@ -6401,11 +6679,11 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description Info to load submodel */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description Info to load submodel */ - submodel?: components["schemas"]["SubModelType"]; + submodel?: components['schemas']['SubModelType']; }; /** * ModelLoaderOutput @@ -6416,40 +6694,66 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet: components["schemas"]["UNetField"]; + unet: components['schemas']['UNetField']; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip: components["schemas"]["ClipField"]; + clip: components['schemas']['ClipField']; /** * VAE * @description VAE */ - vae: components["schemas"]["VaeField"]; + vae: components['schemas']['VaeField']; /** * Type * @default model_loader_output * @enum {string} */ - type: "model_loader_output"; + type: 'model_loader_output'; }; /** * ModelType * @description An enumeration. * @enum {string} */ - ModelType: "onnx" | "main" | "vae" | "lora" | "controlnet" | "embedding" | "ip_adapter" | "clip_vision" | "t2i_adapter"; + ModelType: + | 'onnx' + | 'main' + | 'vae' + | 'lora' + | 'controlnet' + | 'embedding' + | 'ip_adapter' + | 'clip_vision' + | 't2i_adapter'; /** * ModelVariantType * @description An enumeration. * @enum {string} */ - ModelVariantType: "normal" | "inpaint" | "depth"; + ModelVariantType: 'normal' | 'inpaint' | 'depth'; /** ModelsList */ ModelsList: { /** Models */ - models: (components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"])[]; + models: ( + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig'] + )[]; }; /** * Multiply Integers @@ -6495,7 +6799,7 @@ export type components = { * @default mul * @enum {string} */ - type: "mul"; + type: 'mul'; }; /** NodeFieldValue */ NodeFieldValue: { @@ -6570,7 +6874,7 @@ export type components = { * @default noise * @enum {string} */ - type: "noise"; + type: 'noise'; }; /** * NoiseOutput @@ -6581,7 +6885,7 @@ export type components = { * Noise * @description Noise tensor */ - noise?: components["schemas"]["LatentsField"]; + noise?: components['schemas']['LatentsField']; /** * Width * @description Width of output (px) @@ -6597,7 +6901,7 @@ export type components = { * @default noise_output * @enum {string} */ - type: "noise_output"; + type: 'noise_output'; }; /** * Normal BAE Processor @@ -6630,13 +6934,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default normalbae_image_processor * @enum {string} */ - type: "normalbae_image_processor"; + type: 'normalbae_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -6681,23 +6985,23 @@ export type components = { * Latents * @description Denoised latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Vae * @description VAE */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** * Metadata * @description Optional core metadata to be written to image */ - metadata?: components["schemas"]["CoreMetadata"]; + metadata?: components['schemas']['CoreMetadata']; /** * Type * @default l2i_onnx * @enum {string} */ - type: "l2i_onnx"; + type: 'l2i_onnx'; }; /** * ONNXModelLoaderOutput @@ -6708,28 +7012,28 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * VAE Decoder * @description VAE */ - vae_decoder?: components["schemas"]["VaeField"]; + vae_decoder?: components['schemas']['VaeField']; /** * VAE Encoder * @description VAE */ - vae_encoder?: components["schemas"]["VaeField"]; + vae_encoder?: components['schemas']['VaeField']; /** * Type * @default model_loader_output_onnx * @enum {string} */ - type: "model_loader_output_onnx"; + type: 'model_loader_output_onnx'; }; /** * ONNX Prompt (Raw) @@ -6771,24 +7075,24 @@ export type components = { * Clip * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * Type * @default prompt_onnx * @enum {string} */ - type: "prompt_onnx"; + type: 'prompt_onnx'; }; /** ONNXStableDiffusion1ModelConfig */ ONNXStableDiffusion1ModelConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "onnx"; + model_type: 'onnx'; /** Path */ path: string; /** Description */ @@ -6797,20 +7101,20 @@ export type components = { * Model Format * @enum {string} */ - model_format: "onnx"; - error?: components["schemas"]["ModelError"]; - variant: components["schemas"]["ModelVariantType"]; + model_format: 'onnx'; + error?: components['schemas']['ModelError']; + variant: components['schemas']['ModelVariantType']; }; /** ONNXStableDiffusion2ModelConfig */ ONNXStableDiffusion2ModelConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "onnx"; + model_type: 'onnx'; /** Path */ path: string; /** Description */ @@ -6819,10 +7123,10 @@ export type components = { * Model Format * @enum {string} */ - model_format: "onnx"; - error?: components["schemas"]["ModelError"]; - variant: components["schemas"]["ModelVariantType"]; - prediction_type: components["schemas"]["SchedulerPredictionType"]; + model_format: 'onnx'; + error?: components['schemas']['ModelError']; + variant: components['schemas']['ModelVariantType']; + prediction_type: components['schemas']['SchedulerPredictionType']; /** Upcast Attention */ upcast_attention: boolean; }; @@ -6857,17 +7161,17 @@ export type components = { * Positive Conditioning * @description Positive conditioning tensor */ - positive_conditioning?: components["schemas"]["ConditioningField"]; + positive_conditioning?: components['schemas']['ConditioningField']; /** * Negative Conditioning * @description Negative conditioning tensor */ - negative_conditioning?: components["schemas"]["ConditioningField"]; + negative_conditioning?: components['schemas']['ConditioningField']; /** * Noise * @description Noise tensor */ - noise?: components["schemas"]["LatentsField"]; + noise?: components['schemas']['LatentsField']; /** * Steps * @description Number of steps to run @@ -6886,30 +7190,66 @@ export type components = { * @default euler * @enum {string} */ - scheduler?: "ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc"; + scheduler?: + | 'ddim' + | 'ddpm' + | 'deis' + | 'lms' + | 'lms_k' + | 'pndm' + | 'heun' + | 'heun_k' + | 'euler' + | 'euler_k' + | 'euler_a' + | 'kdpm_2' + | 'kdpm_2_a' + | 'dpmpp_2s' + | 'dpmpp_2s_k' + | 'dpmpp_2m' + | 'dpmpp_2m_k' + | 'dpmpp_2m_sde' + | 'dpmpp_2m_sde_k' + | 'dpmpp_sde' + | 'dpmpp_sde_k' + | 'unipc'; /** * Precision * @description Precision to use * @default tensor(float16) * @enum {string} */ - precision?: "tensor(bool)" | "tensor(int8)" | "tensor(uint8)" | "tensor(int16)" | "tensor(uint16)" | "tensor(int32)" | "tensor(uint32)" | "tensor(int64)" | "tensor(uint64)" | "tensor(float16)" | "tensor(float)" | "tensor(double)"; + precision?: + | 'tensor(bool)' + | 'tensor(int8)' + | 'tensor(uint8)' + | 'tensor(int16)' + | 'tensor(uint16)' + | 'tensor(int32)' + | 'tensor(uint32)' + | 'tensor(int64)' + | 'tensor(uint64)' + | 'tensor(float16)' + | 'tensor(float)' + | 'tensor(double)'; /** * Unet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * Control * @description ControlNet(s) to apply */ - control?: components["schemas"]["ControlField"] | components["schemas"]["ControlField"][]; + control?: + | components['schemas']['ControlField'] + | components['schemas']['ControlField'][]; /** * Type * @default t2l_onnx * @enum {string} */ - type: "t2l_onnx"; + type: 't2l_onnx'; }; /** * OffsetPaginatedResults[BoardDTO] @@ -6920,7 +7260,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["BoardDTO"][]; + items: components['schemas']['BoardDTO'][]; /** * Offset * @description Offset from which to retrieve items @@ -6946,7 +7286,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["ImageDTO"][]; + items: components['schemas']['ImageDTO'][]; /** * Offset * @description Offset from which to retrieve items @@ -6974,9 +7314,9 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description Model Type */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; }; /** * ONNX Main Model @@ -7009,13 +7349,13 @@ export type components = { * Model * @description ONNX Main model (UNet, VAE, CLIP) to load */ - model: components["schemas"]["OnnxModelField"]; + model: components['schemas']['OnnxModelField']; /** * Type * @default onnx_model_loader * @enum {string} */ - type: "onnx_model_loader"; + type: 'onnx_model_loader'; }; /** * Openpose Processor @@ -7048,13 +7388,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default openpose_image_processor * @enum {string} */ - type: "openpose_image_processor"; + type: 'openpose_image_processor'; /** * Hand And Face * @description Whether to use hands and face mode @@ -7083,7 +7423,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["GraphExecutionState"][]; + items: components['schemas']['GraphExecutionState'][]; /** * Page * @description Current Page @@ -7136,13 +7476,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default pidi_image_processor * @enum {string} */ - type: "pidi_image_processor"; + type: 'pidi_image_processor'; /** * Detect Resolution * @description Pixel resolution for detection @@ -7227,7 +7567,7 @@ export type components = { * @default prompt_from_file * @enum {string} */ - type: "prompt_from_file"; + type: 'prompt_from_file'; }; /** * PruneResult @@ -7290,7 +7630,7 @@ export type components = { * @default rand_float * @enum {string} */ - type: "rand_float"; + type: 'rand_float'; }; /** * Random Integer @@ -7336,7 +7676,7 @@ export type components = { * @default rand_int * @enum {string} */ - type: "rand_int"; + type: 'rand_int'; }; /** * Random Range @@ -7393,7 +7733,7 @@ export type components = { * @default random_range * @enum {string} */ - type: "random_range"; + type: 'random_range'; }; /** * Integer Range @@ -7445,7 +7785,7 @@ export type components = { * @default range * @enum {string} */ - type: "range"; + type: 'range'; }; /** * Integer Range of Size @@ -7497,7 +7837,7 @@ export type components = { * @default range_of_size * @enum {string} */ - type: "range_of_size"; + type: 'range_of_size'; }; /** RemoveImagesFromBoardResult */ RemoveImagesFromBoardResult: { @@ -7538,7 +7878,7 @@ export type components = { * Latents * @description Latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Width * @description Width of output (px) @@ -7555,7 +7895,14 @@ export type components = { * @default bilinear * @enum {string} */ - mode?: "nearest" | "linear" | "bilinear" | "bicubic" | "trilinear" | "area" | "nearest-exact"; + mode?: + | 'nearest' + | 'linear' + | 'bilinear' + | 'bicubic' + | 'trilinear' + | 'area' + | 'nearest-exact'; /** * Antialias * @description Whether or not to apply antialiasing (bilinear or bicubic only) @@ -7567,7 +7914,7 @@ export type components = { * @default lresize * @enum {string} */ - type: "lresize"; + type: 'lresize'; }; /** * ResourceOrigin @@ -7578,7 +7925,7 @@ export type components = { * This may be a user-initiated upload, or an internal application upload (eg Canvas init image). * @enum {string} */ - ResourceOrigin: "internal" | "external"; + ResourceOrigin: 'internal' | 'external'; /** * Round Float * @description Rounds a float to a specified number of decimal places. @@ -7623,7 +7970,7 @@ export type components = { * @default round_float * @enum {string} */ - type: "round_float"; + type: 'round_float'; }; /** * SDXL Prompt @@ -7698,18 +8045,18 @@ export type components = { * CLIP 1 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * CLIP 2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip2?: components["schemas"]["ClipField"]; + clip2?: components['schemas']['ClipField']; /** * Type * @default sdxl_compel_prompt * @enum {string} */ - type: "sdxl_compel_prompt"; + type: 'sdxl_compel_prompt'; }; /** * SDXL LoRA @@ -7742,7 +8089,7 @@ export type components = { * LoRA * @description LoRA model to load */ - lora: components["schemas"]["LoRAModelField"]; + lora: components['schemas']['LoRAModelField']; /** * Weight * @description The weight at which the LoRA is applied to each model @@ -7753,23 +8100,23 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * CLIP 1 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * CLIP 2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip2?: components["schemas"]["ClipField"]; + clip2?: components['schemas']['ClipField']; /** * Type * @default sdxl_lora_loader * @enum {string} */ - type: "sdxl_lora_loader"; + type: 'sdxl_lora_loader'; }; /** * SDXLLoraLoaderOutput @@ -7780,23 +8127,23 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * CLIP 1 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** * CLIP 2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip2?: components["schemas"]["ClipField"]; + clip2?: components['schemas']['ClipField']; /** * Type * @default sdxl_lora_loader_output * @enum {string} */ - type: "sdxl_lora_loader_output"; + type: 'sdxl_lora_loader_output'; }; /** * SDXL Main Model @@ -7829,13 +8176,13 @@ export type components = { * Model * @description SDXL Main model (UNet, VAE, CLIP1, CLIP2) to load */ - model: components["schemas"]["MainModelField"]; + model: components['schemas']['MainModelField']; /** * Type * @default sdxl_model_loader * @enum {string} */ - type: "sdxl_model_loader"; + type: 'sdxl_model_loader'; }; /** * SDXLModelLoaderOutput @@ -7846,28 +8193,28 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet: components["schemas"]["UNetField"]; + unet: components['schemas']['UNetField']; /** * CLIP 1 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip: components["schemas"]["ClipField"]; + clip: components['schemas']['ClipField']; /** * CLIP 2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip2: components["schemas"]["ClipField"]; + clip2: components['schemas']['ClipField']; /** * VAE * @description VAE */ - vae: components["schemas"]["VaeField"]; + vae: components['schemas']['VaeField']; /** * Type * @default sdxl_model_loader_output * @enum {string} */ - type: "sdxl_model_loader_output"; + type: 'sdxl_model_loader_output'; }; /** * SDXL Refiner Prompt @@ -7932,13 +8279,13 @@ export type components = { * Clip2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip2?: components["schemas"]["ClipField"]; + clip2?: components['schemas']['ClipField']; /** * Type * @default sdxl_refiner_compel_prompt * @enum {string} */ - type: "sdxl_refiner_compel_prompt"; + type: 'sdxl_refiner_compel_prompt'; }; /** * SDXL Refiner Model @@ -7971,13 +8318,13 @@ export type components = { * Model * @description SDXL Refiner Main Modde (UNet, VAE, CLIP2) to load */ - model: components["schemas"]["MainModelField"]; + model: components['schemas']['MainModelField']; /** * Type * @default sdxl_refiner_model_loader * @enum {string} */ - type: "sdxl_refiner_model_loader"; + type: 'sdxl_refiner_model_loader'; }; /** * SDXLRefinerModelLoaderOutput @@ -7988,23 +8335,23 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet: components["schemas"]["UNetField"]; + unet: components['schemas']['UNetField']; /** * CLIP 2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip2: components["schemas"]["ClipField"]; + clip2: components['schemas']['ClipField']; /** * VAE * @description VAE */ - vae: components["schemas"]["VaeField"]; + vae: components['schemas']['VaeField']; /** * Type * @default sdxl_refiner_model_loader_output * @enum {string} */ - type: "sdxl_refiner_model_loader_output"; + type: 'sdxl_refiner_model_loader_output'; }; /** * Save Image @@ -8037,23 +8384,23 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Board * @description The board to save the image to */ - board?: components["schemas"]["BoardField"]; + board?: components['schemas']['BoardField']; /** * Metadata * @description Optional core metadata to be written to image */ - metadata?: components["schemas"]["CoreMetadata"]; + metadata?: components['schemas']['CoreMetadata']; /** * Type * @default save_image * @enum {string} */ - type: "save_image"; + type: 'save_image'; }; /** * Scale Latents @@ -8086,7 +8433,7 @@ export type components = { * Latents * @description Latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Scale Factor * @description The factor by which to scale @@ -8098,7 +8445,14 @@ export type components = { * @default bilinear * @enum {string} */ - mode?: "nearest" | "linear" | "bilinear" | "bicubic" | "trilinear" | "area" | "nearest-exact"; + mode?: + | 'nearest' + | 'linear' + | 'bilinear' + | 'bicubic' + | 'trilinear' + | 'area' + | 'nearest-exact'; /** * Antialias * @description Whether or not to apply antialiasing (bilinear or bicubic only) @@ -8110,7 +8464,7 @@ export type components = { * @default lscale * @enum {string} */ - type: "lscale"; + type: 'lscale'; }; /** * Scheduler @@ -8145,13 +8499,35 @@ export type components = { * @default euler * @enum {string} */ - scheduler?: "ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc"; + scheduler?: + | 'ddim' + | 'ddpm' + | 'deis' + | 'lms' + | 'lms_k' + | 'pndm' + | 'heun' + | 'heun_k' + | 'euler' + | 'euler_k' + | 'euler_a' + | 'kdpm_2' + | 'kdpm_2_a' + | 'dpmpp_2s' + | 'dpmpp_2s_k' + | 'dpmpp_2m' + | 'dpmpp_2m_k' + | 'dpmpp_2m_sde' + | 'dpmpp_2m_sde_k' + | 'dpmpp_sde' + | 'dpmpp_sde_k' + | 'unipc'; /** * Type * @default scheduler * @enum {string} */ - type: "scheduler"; + type: 'scheduler'; }; /** * SchedulerOutput @@ -8165,20 +8541,42 @@ export type components = { * @description Scheduler to use during inference * @enum {string} */ - scheduler: "ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc"; + scheduler: + | 'ddim' + | 'ddpm' + | 'deis' + | 'lms' + | 'lms_k' + | 'pndm' + | 'heun' + | 'heun_k' + | 'euler' + | 'euler_k' + | 'euler_a' + | 'kdpm_2' + | 'kdpm_2_a' + | 'dpmpp_2s' + | 'dpmpp_2s_k' + | 'dpmpp_2m' + | 'dpmpp_2m_k' + | 'dpmpp_2m_sde' + | 'dpmpp_2m_sde_k' + | 'dpmpp_sde' + | 'dpmpp_sde_k' + | 'unipc'; /** * Type * @default scheduler_output * @enum {string} */ - type: "scheduler_output"; + type: 'scheduler_output'; }; /** * SchedulerPredictionType * @description An enumeration. * @enum {string} */ - SchedulerPredictionType: "epsilon" | "v_prediction" | "sample"; + SchedulerPredictionType: 'epsilon' | 'v_prediction' | 'sample'; /** * Seamless * @description Applies the seamless transformation to the Model UNet and VAE. @@ -8210,12 +8608,12 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * VAE * @description VAE model to load */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** * Seamless Y * @description Specify whether Y axis is seamless @@ -8233,7 +8631,7 @@ export type components = { * @default seamless * @enum {string} */ - type: "seamless"; + type: 'seamless'; }; /** * SeamlessModeOutput @@ -8244,18 +8642,18 @@ export type components = { * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * VAE * @description VAE */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** * Type * @default seamless_output * @enum {string} */ - type: "seamless_output"; + type: 'seamless_output'; }; /** * Segment Anything Processor @@ -8288,13 +8686,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default segment_anything_processor * @enum {string} */ - type: "segment_anything_processor"; + type: 'segment_anything_processor'; }; /** SessionProcessorStatus */ SessionProcessorStatus: { @@ -8314,8 +8712,8 @@ export type components = { * @description The overall status of session queue and processor */ SessionQueueAndProcessorStatus: { - queue: components["schemas"]["SessionQueueStatus"]; - processor: components["schemas"]["SessionProcessorStatus"]; + queue: components['schemas']['SessionQueueStatus']; + processor: components['schemas']['SessionProcessorStatus']; }; /** * SessionQueueItem @@ -8333,7 +8731,7 @@ export type components = { * @default pending * @enum {string} */ - status: "pending" | "in_progress" | "completed" | "failed" | "canceled"; + status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'canceled'; /** * Priority * @description The priority of this queue item @@ -8384,12 +8782,12 @@ export type components = { * Field Values * @description The field values that were used for this queue item */ - field_values?: components["schemas"]["NodeFieldValue"][]; + field_values?: components['schemas']['NodeFieldValue'][]; /** * Session * @description The fully-populated session to be executed */ - session: components["schemas"]["GraphExecutionState"]; + session: components['schemas']['GraphExecutionState']; }; /** * SessionQueueItemDTO @@ -8407,7 +8805,7 @@ export type components = { * @default pending * @enum {string} */ - status: "pending" | "in_progress" | "completed" | "failed" | "canceled"; + status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'canceled'; /** * Priority * @description The priority of this queue item @@ -8458,7 +8856,7 @@ export type components = { * Field Values * @description The field values that were used for this queue item */ - field_values?: components["schemas"]["NodeFieldValue"][]; + field_values?: components['schemas']['NodeFieldValue'][]; }; /** SessionQueueStatus */ SessionQueueStatus: { @@ -8544,24 +8942,24 @@ export type components = { * Image * @description The image to show */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default show_image * @enum {string} */ - type: "show_image"; + type: 'show_image'; }; /** StableDiffusion1ModelCheckpointConfig */ StableDiffusion1ModelCheckpointConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "main"; + model_type: 'main'; /** Path */ path: string; /** Description */ @@ -8570,24 +8968,24 @@ export type components = { * Model Format * @enum {string} */ - model_format: "checkpoint"; - error?: components["schemas"]["ModelError"]; + model_format: 'checkpoint'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; /** Config */ config: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusion1ModelDiffusersConfig */ StableDiffusion1ModelDiffusersConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "main"; + model_type: 'main'; /** Path */ path: string; /** Description */ @@ -8596,22 +8994,22 @@ export type components = { * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusion2ModelCheckpointConfig */ StableDiffusion2ModelCheckpointConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "main"; + model_type: 'main'; /** Path */ path: string; /** Description */ @@ -8620,24 +9018,24 @@ export type components = { * Model Format * @enum {string} */ - model_format: "checkpoint"; - error?: components["schemas"]["ModelError"]; + model_format: 'checkpoint'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; /** Config */ config: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusion2ModelDiffusersConfig */ StableDiffusion2ModelDiffusersConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "main"; + model_type: 'main'; /** Path */ path: string; /** Description */ @@ -8646,22 +9044,22 @@ export type components = { * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusionXLModelCheckpointConfig */ StableDiffusionXLModelCheckpointConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "main"; + model_type: 'main'; /** Path */ path: string; /** Description */ @@ -8670,24 +9068,24 @@ export type components = { * Model Format * @enum {string} */ - model_format: "checkpoint"; - error?: components["schemas"]["ModelError"]; + model_format: 'checkpoint'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; /** Config */ config: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusionXLModelDiffusersConfig */ StableDiffusionXLModelDiffusersConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "main"; + model_type: 'main'; /** Path */ path: string; /** Description */ @@ -8696,11 +9094,11 @@ export type components = { * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** * Step Param Easing @@ -8735,7 +9133,38 @@ export type components = { * @default Linear * @enum {string} */ - easing?: "Linear" | "QuadIn" | "QuadOut" | "QuadInOut" | "CubicIn" | "CubicOut" | "CubicInOut" | "QuarticIn" | "QuarticOut" | "QuarticInOut" | "QuinticIn" | "QuinticOut" | "QuinticInOut" | "SineIn" | "SineOut" | "SineInOut" | "CircularIn" | "CircularOut" | "CircularInOut" | "ExponentialIn" | "ExponentialOut" | "ExponentialInOut" | "ElasticIn" | "ElasticOut" | "ElasticInOut" | "BackIn" | "BackOut" | "BackInOut" | "BounceIn" | "BounceOut" | "BounceInOut"; + easing?: + | 'Linear' + | 'QuadIn' + | 'QuadOut' + | 'QuadInOut' + | 'CubicIn' + | 'CubicOut' + | 'CubicInOut' + | 'QuarticIn' + | 'QuarticOut' + | 'QuarticInOut' + | 'QuinticIn' + | 'QuinticOut' + | 'QuinticInOut' + | 'SineIn' + | 'SineOut' + | 'SineInOut' + | 'CircularIn' + | 'CircularOut' + | 'CircularInOut' + | 'ExponentialIn' + | 'ExponentialOut' + | 'ExponentialInOut' + | 'ElasticIn' + | 'ElasticOut' + | 'ElasticInOut' + | 'BackIn' + | 'BackOut' + | 'BackInOut' + | 'BounceIn' + | 'BounceOut' + | 'BounceInOut'; /** * Num Steps * @description number of denoising steps @@ -8793,7 +9222,7 @@ export type components = { * @default step_param_easing * @enum {string} */ - type: "step_param_easing"; + type: 'step_param_easing'; }; /** * String2Output @@ -8815,7 +9244,7 @@ export type components = { * @default string_2_output * @enum {string} */ - type: "string_2_output"; + type: 'string_2_output'; }; /** * String Collection Primitive @@ -8854,7 +9283,7 @@ export type components = { * @default string_collection * @enum {string} */ - type: "string_collection"; + type: 'string_collection'; }; /** * StringCollectionOutput @@ -8871,7 +9300,7 @@ export type components = { * @default string_collection_output * @enum {string} */ - type: "string_collection_output"; + type: 'string_collection_output'; }; /** * String Primitive @@ -8911,7 +9340,7 @@ export type components = { * @default string * @enum {string} */ - type: "string"; + type: 'string'; }; /** * String Join @@ -8957,7 +9386,7 @@ export type components = { * @default string_join * @enum {string} */ - type: "string_join"; + type: 'string_join'; }; /** * String Join Three @@ -9009,7 +9438,7 @@ export type components = { * @default string_join_three * @enum {string} */ - type: "string_join_three"; + type: 'string_join_three'; }; /** * StringOutput @@ -9026,7 +9455,7 @@ export type components = { * @default string_output * @enum {string} */ - type: "string_output"; + type: 'string_output'; }; /** * StringPosNegOutput @@ -9048,7 +9477,7 @@ export type components = { * @default string_pos_neg_output * @enum {string} */ - type: "string_pos_neg_output"; + type: 'string_pos_neg_output'; }; /** * String Replace @@ -9106,7 +9535,7 @@ export type components = { * @default string_replace * @enum {string} */ - type: "string_replace"; + type: 'string_replace'; }; /** * String Split @@ -9152,7 +9581,7 @@ export type components = { * @default string_split * @enum {string} */ - type: "string_split"; + type: 'string_split'; }; /** * String Split Negative @@ -9192,14 +9621,24 @@ export type components = { * @default string_split_neg * @enum {string} */ - type: "string_split_neg"; + type: 'string_split_neg'; }; /** * SubModelType * @description An enumeration. * @enum {string} */ - SubModelType: "unet" | "text_encoder" | "text_encoder_2" | "tokenizer" | "tokenizer_2" | "vae" | "vae_decoder" | "vae_encoder" | "scheduler" | "safety_checker"; + SubModelType: + | 'unet' + | 'text_encoder' + | 'text_encoder_2' + | 'tokenizer' + | 'tokenizer_2' + | 'vae' + | 'vae_decoder' + | 'vae_encoder' + | 'scheduler' + | 'safety_checker'; /** * Subtract Integers * @description Subtracts two numbers @@ -9244,7 +9683,7 @@ export type components = { * @default sub * @enum {string} */ - type: "sub"; + type: 'sub'; }; /** T2IAdapterField */ T2IAdapterField: { @@ -9252,12 +9691,12 @@ export type components = { * Image * @description The T2I-Adapter image prompt. */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** * T2I Adapter Model * @description The T2I-Adapter model to use. */ - t2i_adapter_model: components["schemas"]["T2IAdapterModelField"]; + t2i_adapter_model: components['schemas']['T2IAdapterModelField']; /** * Weight * @description The weight given to the T2I-Adapter @@ -9282,7 +9721,11 @@ export type components = { * @default just_resize * @enum {string} */ - resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple"; + resize_mode?: + | 'just_resize' + | 'crop_resize' + | 'fill_resize' + | 'just_resize_simple'; }; /** * T2I-Adapter @@ -9315,12 +9758,12 @@ export type components = { * Image * @description The IP-Adapter image prompt. */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * T2I-Adapter Model * @description The T2I-Adapter model. */ - t2i_adapter_model: components["schemas"]["T2IAdapterModelField"]; + t2i_adapter_model: components['schemas']['T2IAdapterModelField']; /** * Weight * @description The weight given to the T2I-Adapter @@ -9345,24 +9788,28 @@ export type components = { * @default just_resize * @enum {string} */ - resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple"; + resize_mode?: + | 'just_resize' + | 'crop_resize' + | 'fill_resize' + | 'just_resize_simple'; /** * Type * @default t2i_adapter * @enum {string} */ - type: "t2i_adapter"; + type: 't2i_adapter'; }; /** T2IAdapterModelDiffusersConfig */ T2IAdapterModelDiffusersConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "t2i_adapter"; + model_type: 't2i_adapter'; /** Path */ path: string; /** Description */ @@ -9371,8 +9818,8 @@ export type components = { * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; }; /** T2IAdapterModelField */ T2IAdapterModelField: { @@ -9382,7 +9829,7 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; /** * T2IAdapterOutput @@ -9395,31 +9842,31 @@ export type components = { * T2I Adapter * @description T2I-Adapter(s) to apply */ - t2i_adapter: components["schemas"]["T2IAdapterField"]; + t2i_adapter: components['schemas']['T2IAdapterField']; /** * Type * @default t2i_adapter_output * @enum {string} */ - type: "t2i_adapter_output"; + type: 't2i_adapter_output'; }; /** TextualInversionModelConfig */ TextualInversionModelConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "embedding"; + model_type: 'embedding'; /** Path */ path: string; /** Description */ description?: string; /** Model Format */ model_format: null; - error?: components["schemas"]["ModelError"]; + error?: components['schemas']['ModelError']; }; /** * Tile Resample Processor @@ -9452,13 +9899,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default tile_image_processor * @enum {string} */ - type: "tile_image_processor"; + type: 'tile_image_processor'; /** * Down Sampling Rate * @description Down sampling rate @@ -9472,17 +9919,17 @@ export type components = { * Unet * @description Info to load unet submodel */ - unet: components["schemas"]["ModelInfo"]; + unet: components['schemas']['ModelInfo']; /** * Scheduler * @description Info to load scheduler submodel */ - scheduler: components["schemas"]["ModelInfo"]; + scheduler: components['schemas']['ModelInfo']; /** * Loras * @description Loras to apply on model loading */ - loras: components["schemas"]["LoraInfo"][]; + loras: components['schemas']['LoraInfo'][]; /** * Seamless Axes * @description Axes("x" and "y") to which apply seamless @@ -9513,7 +9960,7 @@ export type components = { */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; /** VaeField */ VaeField: { @@ -9521,7 +9968,7 @@ export type components = { * Vae * @description Info to load vae submodel */ - vae: components["schemas"]["ModelInfo"]; + vae: components['schemas']['ModelInfo']; /** * Seamless Axes * @description Axes("x" and "y") to which apply seamless @@ -9559,13 +10006,13 @@ export type components = { * VAE * @description VAE model to load */ - vae_model: components["schemas"]["VAEModelField"]; + vae_model: components['schemas']['VAEModelField']; /** * Type * @default vae_loader * @enum {string} */ - type: "vae_loader"; + type: 'vae_loader'; }; /** * VaeLoaderOutput @@ -9576,37 +10023,37 @@ export type components = { * VAE * @description VAE */ - vae: components["schemas"]["VaeField"]; + vae: components['schemas']['VaeField']; /** * Type * @default vae_loader_output * @enum {string} */ - type: "vae_loader_output"; + type: 'vae_loader_output'; }; /** VaeModelConfig */ VaeModelConfig: { /** Model Name */ model_name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** * Model Type * @enum {string} */ - model_type: "vae"; + model_type: 'vae'; /** Path */ path: string; /** Description */ description?: string; - model_format: components["schemas"]["VaeModelFormat"]; - error?: components["schemas"]["ModelError"]; + model_format: components['schemas']['VaeModelFormat']; + error?: components['schemas']['ModelError']; }; /** * VaeModelFormat * @description An enumeration. * @enum {string} */ - VaeModelFormat: "checkpoint" | "diffusers"; + VaeModelFormat: 'checkpoint' | 'diffusers'; /** ValidationError */ ValidationError: { /** Location */ @@ -9647,13 +10094,13 @@ export type components = { * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Type * @default zoe_depth_image_processor * @enum {string} */ - type: "zoe_depth_image_processor"; + type: 'zoe_depth_image_processor'; }; /** * UIConfigBase @@ -9690,20 +10137,66 @@ export type components = { * - `Input.Any`: The field may have its value provided either directly or by a connection. * @enum {string} */ - Input: "connection" | "direct" | "any"; + Input: 'connection' | 'direct' | 'any'; /** * UIType * @description Type hints for the UI. * If a field should be provided a data type that does not exactly match the python type of the field, use this to provide the type that should be used instead. See the node development docs for detail on adding a new field type, which involves client-side changes. * @enum {string} */ - UIType: "boolean" | "ColorField" | "ConditioningField" | "ControlField" | "float" | "ImageField" | "integer" | "LatentsField" | "string" | "BooleanCollection" | "ColorCollection" | "ConditioningCollection" | "ControlCollection" | "FloatCollection" | "ImageCollection" | "IntegerCollection" | "LatentsCollection" | "StringCollection" | "BooleanPolymorphic" | "ColorPolymorphic" | "ConditioningPolymorphic" | "ControlPolymorphic" | "FloatPolymorphic" | "ImagePolymorphic" | "IntegerPolymorphic" | "LatentsPolymorphic" | "StringPolymorphic" | "MainModelField" | "SDXLMainModelField" | "SDXLRefinerModelField" | "ONNXModelField" | "VaeModelField" | "LoRAModelField" | "ControlNetModelField" | "IPAdapterModelField" | "UNetField" | "VaeField" | "ClipField" | "Collection" | "CollectionItem" | "enum" | "Scheduler" | "WorkflowField" | "IsIntermediate" | "MetadataField" | "BoardField"; + UIType: + | 'boolean' + | 'ColorField' + | 'ConditioningField' + | 'ControlField' + | 'float' + | 'ImageField' + | 'integer' + | 'LatentsField' + | 'string' + | 'BooleanCollection' + | 'ColorCollection' + | 'ConditioningCollection' + | 'ControlCollection' + | 'FloatCollection' + | 'ImageCollection' + | 'IntegerCollection' + | 'LatentsCollection' + | 'StringCollection' + | 'BooleanPolymorphic' + | 'ColorPolymorphic' + | 'ConditioningPolymorphic' + | 'ControlPolymorphic' + | 'FloatPolymorphic' + | 'ImagePolymorphic' + | 'IntegerPolymorphic' + | 'LatentsPolymorphic' + | 'StringPolymorphic' + | 'MainModelField' + | 'SDXLMainModelField' + | 'SDXLRefinerModelField' + | 'ONNXModelField' + | 'VaeModelField' + | 'LoRAModelField' + | 'ControlNetModelField' + | 'IPAdapterModelField' + | 'UNetField' + | 'VaeField' + | 'ClipField' + | 'Collection' + | 'CollectionItem' + | 'enum' + | 'Scheduler' + | 'WorkflowField' + | 'IsIntermediate' + | 'MetadataField' + | 'BoardField'; /** * UIComponent * @description The type of UI component to use for a field, used to override the default components, which are inferred from the field type. * @enum {string} */ - UIComponent: "none" | "textarea" | "slider"; + UIComponent: 'none' | 'textarea' | 'slider'; /** * _InputField * @description *DO NOT USE* @@ -9712,11 +10205,11 @@ export type components = { * purpose in the backend. */ _InputField: { - input: components["schemas"]["Input"]; + input: components['schemas']['Input']; /** Ui Hidden */ ui_hidden: boolean; - ui_type?: components["schemas"]["UIType"]; - ui_component?: components["schemas"]["UIComponent"]; + ui_type?: components['schemas']['UIType']; + ui_component?: components['schemas']['UIComponent']; /** Ui Order */ ui_order?: number; /** Ui Choice Labels */ @@ -9736,58 +10229,70 @@ export type components = { _OutputField: { /** Ui Hidden */ ui_hidden: boolean; - ui_type?: components["schemas"]["UIType"]; + ui_type?: components['schemas']['UIType']; /** Ui Order */ ui_order?: number; }; - /** - * StableDiffusion1ModelFormat - * @description An enumeration. - * @enum {string} - */ - StableDiffusion1ModelFormat: "checkpoint" | "diffusers"; - /** - * StableDiffusionOnnxModelFormat - * @description An enumeration. - * @enum {string} - */ - StableDiffusionOnnxModelFormat: "olive" | "onnx"; - /** - * T2IAdapterModelFormat - * @description An enumeration. - * @enum {string} - */ - T2IAdapterModelFormat: "diffusers"; - /** - * StableDiffusionXLModelFormat - * @description An enumeration. - * @enum {string} - */ - StableDiffusionXLModelFormat: "checkpoint" | "diffusers"; - /** - * StableDiffusion2ModelFormat - * @description An enumeration. - * @enum {string} - */ - StableDiffusion2ModelFormat: "checkpoint" | "diffusers"; /** * IPAdapterModelFormat * @description An enumeration. * @enum {string} */ - IPAdapterModelFormat: "invokeai"; + IPAdapterModelFormat: 'invokeai'; + /** + * T2IAdapterModelFormat + * @description An enumeration. + * @enum {string} + */ + T2IAdapterModelFormat: 'diffusers'; + /** + * StableDiffusion2ModelFormat + * @description An enumeration. + * @enum {string} + */ + StableDiffusion2ModelFormat: 'checkpoint' | 'diffusers'; + /** + * IPAdapterModelFormat + * @description An enumeration. + * @enum {string} + */ + IPAdapterModelFormat: 'invokeai'; /** * ControlNetModelFormat * @description An enumeration. * @enum {string} */ - ControlNetModelFormat: "checkpoint" | "diffusers"; + ControlNetModelFormat: 'checkpoint' | 'diffusers'; /** * CLIPVisionModelFormat * @description An enumeration. * @enum {string} */ - CLIPVisionModelFormat: "diffusers"; + CLIPVisionModelFormat: 'diffusers'; + /** + * ControlNetModelFormat + * @description An enumeration. + * @enum {string} + */ + ControlNetModelFormat: 'checkpoint' | 'diffusers'; + /** + * StableDiffusionOnnxModelFormat + * @description An enumeration. + * @enum {string} + */ + StableDiffusionOnnxModelFormat: 'olive' | 'onnx'; + /** + * StableDiffusion1ModelFormat + * @description An enumeration. + * @enum {string} + */ + StableDiffusion1ModelFormat: 'checkpoint' | 'diffusers'; + /** + * StableDiffusionXLModelFormat + * @description An enumeration. + * @enum {string} + */ + StableDiffusionXLModelFormat: 'checkpoint' | 'diffusers'; }; responses: never; parameters: never; @@ -9801,7 +10306,6 @@ export type $defs = Record; export type external = Record; export type operations = { - /** * List Sessions * @deprecated @@ -9822,13 +10326,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["PaginatedResults_GraphExecutionState_"]; + 'application/json': components['schemas']['PaginatedResults_GraphExecutionState_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -9847,14 +10351,14 @@ export type operations = { }; requestBody?: { content: { - "application/json": components["schemas"]["Graph"]; + 'application/json': components['schemas']['Graph']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid json */ @@ -9864,7 +10368,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -9885,7 +10389,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Session not found */ @@ -9895,7 +10399,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -9914,14 +10418,131 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"]; + 'application/json': + | components['schemas']['BooleanInvocation'] + | components['schemas']['BooleanCollectionInvocation'] + | components['schemas']['IntegerInvocation'] + | components['schemas']['IntegerCollectionInvocation'] + | components['schemas']['FloatInvocation'] + | components['schemas']['FloatCollectionInvocation'] + | components['schemas']['StringInvocation'] + | components['schemas']['StringCollectionInvocation'] + | components['schemas']['ImageInvocation'] + | components['schemas']['ImageCollectionInvocation'] + | components['schemas']['LatentsInvocation'] + | components['schemas']['LatentsCollectionInvocation'] + | components['schemas']['ColorInvocation'] + | components['schemas']['ConditioningInvocation'] + | components['schemas']['ConditioningCollectionInvocation'] + | components['schemas']['ControlNetInvocation'] + | components['schemas']['ImageProcessorInvocation'] + | components['schemas']['T2IAdapterInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['SDXLLoraLoaderInvocation'] + | components['schemas']['VaeLoaderInvocation'] + | components['schemas']['SeamlessModeInvocation'] + | components['schemas']['CompelInvocation'] + | components['schemas']['SDXLCompelPromptInvocation'] + | components['schemas']['SDXLRefinerCompelPromptInvocation'] + | components['schemas']['ClipSkipInvocation'] + | components['schemas']['IPAdapterInvocation'] + | components['schemas']['MetadataAccumulatorInvocation'] + | components['schemas']['SchedulerInvocation'] + | components['schemas']['CreateDenoiseMaskInvocation'] + | components['schemas']['DenoiseLatentsInvocation'] + | components['schemas']['LatentsToImageInvocation'] + | components['schemas']['ResizeLatentsInvocation'] + | components['schemas']['ScaleLatentsInvocation'] + | components['schemas']['ImageToLatentsInvocation'] + | components['schemas']['BlendLatentsInvocation'] + | components['schemas']['ONNXPromptInvocation'] + | components['schemas']['ONNXTextToLatentsInvocation'] + | components['schemas']['ONNXLatentsToImageInvocation'] + | components['schemas']['OnnxModelLoaderInvocation'] + | components['schemas']['ESRGANInvocation'] + | components['schemas']['FloatLinearRangeInvocation'] + | components['schemas']['StepParamEasingInvocation'] + | components['schemas']['ShowImageInvocation'] + | components['schemas']['BlankImageInvocation'] + | components['schemas']['ImageCropInvocation'] + | components['schemas']['ImagePasteInvocation'] + | components['schemas']['MaskFromAlphaInvocation'] + | components['schemas']['ImageMultiplyInvocation'] + | components['schemas']['ImageChannelInvocation'] + | components['schemas']['ImageConvertInvocation'] + | components['schemas']['ImageBlurInvocation'] + | components['schemas']['ImageResizeInvocation'] + | components['schemas']['ImageScaleInvocation'] + | components['schemas']['ImageLerpInvocation'] + | components['schemas']['ImageInverseLerpInvocation'] + | components['schemas']['ImageNSFWBlurInvocation'] + | components['schemas']['ImageWatermarkInvocation'] + | components['schemas']['MaskEdgeInvocation'] + | components['schemas']['MaskCombineInvocation'] + | components['schemas']['ColorCorrectInvocation'] + | components['schemas']['ImageHueAdjustmentInvocation'] + | components['schemas']['ImageChannelOffsetInvocation'] + | components['schemas']['ImageChannelMultiplyInvocation'] + | components['schemas']['SaveImageInvocation'] + | components['schemas']['InfillColorInvocation'] + | components['schemas']['InfillTileInvocation'] + | components['schemas']['InfillPatchMatchInvocation'] + | components['schemas']['LaMaInfillInvocation'] + | components['schemas']['CV2InfillInvocation'] + | components['schemas']['RangeInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['NoiseInvocation'] + | components['schemas']['FaceOffInvocation'] + | components['schemas']['FaceMaskInvocation'] + | components['schemas']['FaceIdentifierInvocation'] + | components['schemas']['CvInpaintInvocation'] + | components['schemas']['AddInvocation'] + | components['schemas']['SubtractInvocation'] + | components['schemas']['MultiplyInvocation'] + | components['schemas']['DivideInvocation'] + | components['schemas']['RandomIntInvocation'] + | components['schemas']['RandomFloatInvocation'] + | components['schemas']['FloatToIntegerInvocation'] + | components['schemas']['RoundInvocation'] + | components['schemas']['IntegerMathInvocation'] + | components['schemas']['FloatMathInvocation'] + | components['schemas']['DynamicPromptInvocation'] + | components['schemas']['PromptsFromFileInvocation'] + | components['schemas']['SDXLModelLoaderInvocation'] + | components['schemas']['SDXLRefinerModelLoaderInvocation'] + | components['schemas']['StringSplitNegInvocation'] + | components['schemas']['StringSplitInvocation'] + | components['schemas']['StringJoinInvocation'] + | components['schemas']['StringJoinThreeInvocation'] + | components['schemas']['StringReplaceInvocation'] + | components['schemas']['GraphInvocation'] + | components['schemas']['IterateInvocation'] + | components['schemas']['CollectInvocation'] + | components['schemas']['CannyImageProcessorInvocation'] + | components['schemas']['HedImageProcessorInvocation'] + | components['schemas']['LineartImageProcessorInvocation'] + | components['schemas']['LineartAnimeImageProcessorInvocation'] + | components['schemas']['OpenposeImageProcessorInvocation'] + | components['schemas']['MidasDepthImageProcessorInvocation'] + | components['schemas']['NormalbaeImageProcessorInvocation'] + | components['schemas']['MlsdImageProcessorInvocation'] + | components['schemas']['PidiImageProcessorInvocation'] + | components['schemas']['ContentShuffleImageProcessorInvocation'] + | components['schemas']['ZoeDepthImageProcessorInvocation'] + | components['schemas']['MediapipeFaceProcessorInvocation'] + | components['schemas']['LeresImageProcessorInvocation'] + | components['schemas']['TileResamplerProcessorInvocation'] + | components['schemas']['SegmentAnythingProcessorInvocation'] + | components['schemas']['ColorMapImageProcessorInvocation']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": string; + 'application/json': string; }; }; /** @description Invalid node or link */ @@ -9935,7 +10556,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -9956,14 +10577,131 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["BooleanInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"]; + 'application/json': + | components['schemas']['BooleanInvocation'] + | components['schemas']['BooleanCollectionInvocation'] + | components['schemas']['IntegerInvocation'] + | components['schemas']['IntegerCollectionInvocation'] + | components['schemas']['FloatInvocation'] + | components['schemas']['FloatCollectionInvocation'] + | components['schemas']['StringInvocation'] + | components['schemas']['StringCollectionInvocation'] + | components['schemas']['ImageInvocation'] + | components['schemas']['ImageCollectionInvocation'] + | components['schemas']['LatentsInvocation'] + | components['schemas']['LatentsCollectionInvocation'] + | components['schemas']['ColorInvocation'] + | components['schemas']['ConditioningInvocation'] + | components['schemas']['ConditioningCollectionInvocation'] + | components['schemas']['ControlNetInvocation'] + | components['schemas']['ImageProcessorInvocation'] + | components['schemas']['T2IAdapterInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['SDXLLoraLoaderInvocation'] + | components['schemas']['VaeLoaderInvocation'] + | components['schemas']['SeamlessModeInvocation'] + | components['schemas']['CompelInvocation'] + | components['schemas']['SDXLCompelPromptInvocation'] + | components['schemas']['SDXLRefinerCompelPromptInvocation'] + | components['schemas']['ClipSkipInvocation'] + | components['schemas']['IPAdapterInvocation'] + | components['schemas']['MetadataAccumulatorInvocation'] + | components['schemas']['SchedulerInvocation'] + | components['schemas']['CreateDenoiseMaskInvocation'] + | components['schemas']['DenoiseLatentsInvocation'] + | components['schemas']['LatentsToImageInvocation'] + | components['schemas']['ResizeLatentsInvocation'] + | components['schemas']['ScaleLatentsInvocation'] + | components['schemas']['ImageToLatentsInvocation'] + | components['schemas']['BlendLatentsInvocation'] + | components['schemas']['ONNXPromptInvocation'] + | components['schemas']['ONNXTextToLatentsInvocation'] + | components['schemas']['ONNXLatentsToImageInvocation'] + | components['schemas']['OnnxModelLoaderInvocation'] + | components['schemas']['ESRGANInvocation'] + | components['schemas']['FloatLinearRangeInvocation'] + | components['schemas']['StepParamEasingInvocation'] + | components['schemas']['ShowImageInvocation'] + | components['schemas']['BlankImageInvocation'] + | components['schemas']['ImageCropInvocation'] + | components['schemas']['ImagePasteInvocation'] + | components['schemas']['MaskFromAlphaInvocation'] + | components['schemas']['ImageMultiplyInvocation'] + | components['schemas']['ImageChannelInvocation'] + | components['schemas']['ImageConvertInvocation'] + | components['schemas']['ImageBlurInvocation'] + | components['schemas']['ImageResizeInvocation'] + | components['schemas']['ImageScaleInvocation'] + | components['schemas']['ImageLerpInvocation'] + | components['schemas']['ImageInverseLerpInvocation'] + | components['schemas']['ImageNSFWBlurInvocation'] + | components['schemas']['ImageWatermarkInvocation'] + | components['schemas']['MaskEdgeInvocation'] + | components['schemas']['MaskCombineInvocation'] + | components['schemas']['ColorCorrectInvocation'] + | components['schemas']['ImageHueAdjustmentInvocation'] + | components['schemas']['ImageChannelOffsetInvocation'] + | components['schemas']['ImageChannelMultiplyInvocation'] + | components['schemas']['SaveImageInvocation'] + | components['schemas']['InfillColorInvocation'] + | components['schemas']['InfillTileInvocation'] + | components['schemas']['InfillPatchMatchInvocation'] + | components['schemas']['LaMaInfillInvocation'] + | components['schemas']['CV2InfillInvocation'] + | components['schemas']['RangeInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['NoiseInvocation'] + | components['schemas']['FaceOffInvocation'] + | components['schemas']['FaceMaskInvocation'] + | components['schemas']['FaceIdentifierInvocation'] + | components['schemas']['CvInpaintInvocation'] + | components['schemas']['AddInvocation'] + | components['schemas']['SubtractInvocation'] + | components['schemas']['MultiplyInvocation'] + | components['schemas']['DivideInvocation'] + | components['schemas']['RandomIntInvocation'] + | components['schemas']['RandomFloatInvocation'] + | components['schemas']['FloatToIntegerInvocation'] + | components['schemas']['RoundInvocation'] + | components['schemas']['IntegerMathInvocation'] + | components['schemas']['FloatMathInvocation'] + | components['schemas']['DynamicPromptInvocation'] + | components['schemas']['PromptsFromFileInvocation'] + | components['schemas']['SDXLModelLoaderInvocation'] + | components['schemas']['SDXLRefinerModelLoaderInvocation'] + | components['schemas']['StringSplitNegInvocation'] + | components['schemas']['StringSplitInvocation'] + | components['schemas']['StringJoinInvocation'] + | components['schemas']['StringJoinThreeInvocation'] + | components['schemas']['StringReplaceInvocation'] + | components['schemas']['GraphInvocation'] + | components['schemas']['IterateInvocation'] + | components['schemas']['CollectInvocation'] + | components['schemas']['CannyImageProcessorInvocation'] + | components['schemas']['HedImageProcessorInvocation'] + | components['schemas']['LineartImageProcessorInvocation'] + | components['schemas']['LineartAnimeImageProcessorInvocation'] + | components['schemas']['OpenposeImageProcessorInvocation'] + | components['schemas']['MidasDepthImageProcessorInvocation'] + | components['schemas']['NormalbaeImageProcessorInvocation'] + | components['schemas']['MlsdImageProcessorInvocation'] + | components['schemas']['PidiImageProcessorInvocation'] + | components['schemas']['ContentShuffleImageProcessorInvocation'] + | components['schemas']['ZoeDepthImageProcessorInvocation'] + | components['schemas']['MediapipeFaceProcessorInvocation'] + | components['schemas']['LeresImageProcessorInvocation'] + | components['schemas']['TileResamplerProcessorInvocation'] + | components['schemas']['SegmentAnythingProcessorInvocation'] + | components['schemas']['ColorMapImageProcessorInvocation']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -9977,7 +10715,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10000,7 +10738,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -10014,7 +10752,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10033,14 +10771,14 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["Edge"]; + 'application/json': components['schemas']['Edge']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -10054,7 +10792,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10083,7 +10821,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -10097,7 +10835,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10124,7 +10862,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description The invocation is queued */ @@ -10142,7 +10880,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10163,7 +10901,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description The invocation is canceled */ @@ -10173,7 +10911,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10185,20 +10923,20 @@ export type operations = { parse_dynamicprompts: { requestBody: { content: { - "application/json": components["schemas"]["Body_parse_dynamicprompts"]; + 'application/json': components['schemas']['Body_parse_dynamicprompts']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["DynamicPromptsResponse"]; + 'application/json': components['schemas']['DynamicPromptsResponse']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10211,22 +10949,22 @@ export type operations = { parameters: { query?: { /** @description Base models to include */ - base_models?: components["schemas"]["BaseModelType"][]; + base_models?: components['schemas']['BaseModelType'][]; /** @description The type of model to get */ - model_type?: components["schemas"]["ModelType"]; + model_type?: components['schemas']['ModelType']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ModelsList"]; + 'application/json': components['schemas']['ModelsList']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10239,9 +10977,9 @@ export type operations = { parameters: { path: { /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description The type of model */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description model name */ model_name: string; }; @@ -10258,7 +10996,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10271,23 +11009,55 @@ export type operations = { parameters: { path: { /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description The type of model */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description model name */ model_name: string; }; }; requestBody: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; responses: { /** @description The model was updated successfully */ 200: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; /** @description Bad request */ @@ -10305,7 +11075,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10317,14 +11087,30 @@ export type operations = { import_model: { requestBody: { content: { - "application/json": components["schemas"]["Body_import_model"]; + 'application/json': components['schemas']['Body_import_model']; }; }; responses: { /** @description The model imported successfully */ 201: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; /** @description The model could not be found */ @@ -10342,7 +11128,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; /** @description The model appeared to import successfully, but could not be found in the model manager */ @@ -10358,14 +11144,46 @@ export type operations = { add_model: { requestBody: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; responses: { /** @description The model added successfully */ 201: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; /** @description The model could not be found */ @@ -10379,7 +11197,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; /** @description The model appeared to add successfully, but could not be found in the model manager */ @@ -10400,9 +11218,9 @@ export type operations = { }; path: { /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description The type of model */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description model name */ model_name: string; }; @@ -10411,7 +11229,23 @@ export type operations = { /** @description Model converted successfully */ 200: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; /** @description Bad request */ @@ -10425,7 +11259,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10442,7 +11276,7 @@ export type operations = { /** @description Directory searched successfully */ 200: { content: { - "application/json": string[]; + 'application/json': string[]; }; }; /** @description Invalid directory path */ @@ -10452,7 +11286,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10466,7 +11300,7 @@ export type operations = { /** @description paths retrieved successfully */ 200: { content: { - "application/json": string[]; + 'application/json': string[]; }; }; }; @@ -10481,7 +11315,7 @@ export type operations = { /** @description synchronization successful */ 201: { content: { - "application/json": boolean; + 'application/json': boolean; }; }; }; @@ -10494,19 +11328,35 @@ export type operations = { parameters: { path: { /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; }; }; requestBody: { content: { - "application/json": components["schemas"]["Body_merge_models"]; + 'application/json': components['schemas']['Body_merge_models']; }; }; responses: { /** @description Model converted successfully */ 200: { content: { - "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"]; + 'application/json': + | components['schemas']['ONNXStableDiffusion1ModelConfig'] + | components['schemas']['StableDiffusion1ModelCheckpointConfig'] + | components['schemas']['StableDiffusion1ModelDiffusersConfig'] + | components['schemas']['VaeModelConfig'] + | components['schemas']['LoRAModelConfig'] + | components['schemas']['ControlNetModelCheckpointConfig'] + | components['schemas']['ControlNetModelDiffusersConfig'] + | components['schemas']['TextualInversionModelConfig'] + | components['schemas']['IPAdapterModelInvokeAIConfig'] + | components['schemas']['CLIPVisionModelDiffusersConfig'] + | components['schemas']['T2IAdapterModelDiffusersConfig'] + | components['schemas']['ONNXStableDiffusion2ModelConfig'] + | components['schemas']['StableDiffusion2ModelCheckpointConfig'] + | components['schemas']['StableDiffusion2ModelDiffusersConfig'] + | components['schemas']['StableDiffusionXLModelCheckpointConfig'] + | components['schemas']['StableDiffusionXLModelDiffusersConfig']; }; }; /** @description Incompatible models */ @@ -10520,7 +11370,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10533,7 +11383,7 @@ export type operations = { parameters: { query: { /** @description The category of the image */ - image_category: components["schemas"]["ImageCategory"]; + image_category: components['schemas']['ImageCategory']; /** @description Whether this is an intermediate image */ is_intermediate: boolean; /** @description The board to add this image to, if any */ @@ -10546,14 +11396,14 @@ export type operations = { }; requestBody: { content: { - "multipart/form-data": components["schemas"]["Body_upload_image"]; + 'multipart/form-data': components['schemas']['Body_upload_image']; }; }; responses: { /** @description The image was uploaded successfully */ 201: { content: { - "application/json": components["schemas"]["ImageDTO"]; + 'application/json': components['schemas']['ImageDTO']; }; }; /** @description Image upload failed */ @@ -10563,7 +11413,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10583,13 +11433,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageDTO"]; + 'application/json': components['schemas']['ImageDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10609,13 +11459,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10633,20 +11483,20 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["ImageRecordChanges"]; + 'application/json': components['schemas']['ImageRecordChanges']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageDTO"]; + 'application/json': components['schemas']['ImageDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10660,7 +11510,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -10680,13 +11530,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageMetadata"]; + 'application/json': components['schemas']['ImageMetadata']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10706,7 +11556,7 @@ export type operations = { /** @description Return the full-resolution image */ 200: { content: { - "image/png": unknown; + 'image/png': unknown; }; }; /** @description Image not found */ @@ -10716,7 +11566,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10736,7 +11586,7 @@ export type operations = { /** @description Return the image thumbnail */ 200: { content: { - "image/webp": unknown; + 'image/webp': unknown; }; }; /** @description Image not found */ @@ -10746,7 +11596,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10766,13 +11616,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageUrlsDTO"]; + 'application/json': components['schemas']['ImageUrlsDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10785,9 +11635,9 @@ export type operations = { parameters: { query?: { /** @description The origin of images to list. */ - image_origin?: components["schemas"]["ResourceOrigin"]; + image_origin?: components['schemas']['ResourceOrigin']; /** @description The categories of image to include. */ - categories?: components["schemas"]["ImageCategory"][]; + categories?: components['schemas']['ImageCategory'][]; /** @description Whether to list intermediate images. */ is_intermediate?: boolean; /** @description The board id to filter by. Use 'none' to find images without a board. */ @@ -10802,13 +11652,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["OffsetPaginatedResults_ImageDTO_"]; + 'application/json': components['schemas']['OffsetPaginatedResults_ImageDTO_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10817,20 +11667,20 @@ export type operations = { delete_images_from_list: { requestBody: { content: { - "application/json": components["schemas"]["Body_delete_images_from_list"]; + 'application/json': components['schemas']['Body_delete_images_from_list']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["DeleteImagesFromListResult"]; + 'application/json': components['schemas']['DeleteImagesFromListResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10839,20 +11689,20 @@ export type operations = { star_images_in_list: { requestBody: { content: { - "application/json": components["schemas"]["Body_star_images_in_list"]; + 'application/json': components['schemas']['Body_star_images_in_list']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImagesUpdatedFromListResult"]; + 'application/json': components['schemas']['ImagesUpdatedFromListResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10861,20 +11711,20 @@ export type operations = { unstar_images_in_list: { requestBody: { content: { - "application/json": components["schemas"]["Body_unstar_images_in_list"]; + 'application/json': components['schemas']['Body_unstar_images_in_list']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImagesUpdatedFromListResult"]; + 'application/json': components['schemas']['ImagesUpdatedFromListResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10883,20 +11733,20 @@ export type operations = { download_images_from_list: { requestBody: { content: { - "application/json": components["schemas"]["Body_download_images_from_list"]; + 'application/json': components['schemas']['Body_download_images_from_list']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImagesDownloaded"]; + 'application/json': components['schemas']['ImagesDownloaded']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10920,13 +11770,15 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["OffsetPaginatedResults_BoardDTO_"] | components["schemas"]["BoardDTO"][]; + 'application/json': + | components['schemas']['OffsetPaginatedResults_BoardDTO_'] + | components['schemas']['BoardDTO'][]; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10946,13 +11798,13 @@ export type operations = { /** @description The board was created successfully */ 201: { content: { - "application/json": components["schemas"]["BoardDTO"]; + 'application/json': components['schemas']['BoardDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -10972,13 +11824,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["BoardDTO"]; + 'application/json': components['schemas']['BoardDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11002,13 +11854,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["DeleteBoardResult"]; + 'application/json': components['schemas']['DeleteBoardResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11026,20 +11878,20 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["BoardChanges"]; + 'application/json': components['schemas']['BoardChanges']; }; }; responses: { /** @description The board was updated successfully */ 201: { content: { - "application/json": components["schemas"]["BoardDTO"]; + 'application/json': components['schemas']['BoardDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11059,13 +11911,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": string[]; + 'application/json': string[]; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11077,20 +11929,20 @@ export type operations = { add_image_to_board: { requestBody: { content: { - "application/json": components["schemas"]["Body_add_image_to_board"]; + 'application/json': components['schemas']['Body_add_image_to_board']; }; }; responses: { /** @description The image was added to a board successfully */ 201: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11102,20 +11954,20 @@ export type operations = { remove_image_from_board: { requestBody: { content: { - "application/json": components["schemas"]["Body_remove_image_from_board"]; + 'application/json': components['schemas']['Body_remove_image_from_board']; }; }; responses: { /** @description The image was removed from the board successfully */ 201: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11127,20 +11979,20 @@ export type operations = { add_images_to_board: { requestBody: { content: { - "application/json": components["schemas"]["Body_add_images_to_board"]; + 'application/json': components['schemas']['Body_add_images_to_board']; }; }; responses: { /** @description Images were added to board successfully */ 201: { content: { - "application/json": components["schemas"]["AddImagesToBoardResult"]; + 'application/json': components['schemas']['AddImagesToBoardResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11152,20 +12004,20 @@ export type operations = { remove_images_from_board: { requestBody: { content: { - "application/json": components["schemas"]["Body_remove_images_from_board"]; + 'application/json': components['schemas']['Body_remove_images_from_board']; }; }; responses: { /** @description Images were removed from board successfully */ 201: { content: { - "application/json": components["schemas"]["RemoveImagesFromBoardResult"]; + 'application/json': components['schemas']['RemoveImagesFromBoardResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11176,7 +12028,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["AppVersion"]; + 'application/json': components['schemas']['AppVersion']; }; }; }; @@ -11187,7 +12039,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["AppConfig"]; + 'application/json': components['schemas']['AppConfig']; }; }; }; @@ -11201,7 +12053,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": components["schemas"]["LogLevel"]; + 'application/json': components['schemas']['LogLevel']; }; }; }; @@ -11213,20 +12065,20 @@ export type operations = { set_log_level: { requestBody: { content: { - "application/json": components["schemas"]["LogLevel"]; + 'application/json': components['schemas']['LogLevel']; }; }; responses: { /** @description The operation was successful */ 200: { content: { - "application/json": components["schemas"]["LogLevel"]; + 'application/json': components['schemas']['LogLevel']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11240,7 +12092,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -11254,7 +12106,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -11268,7 +12120,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -11282,7 +12134,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["InvocationCacheStatus"]; + 'application/json': components['schemas']['InvocationCacheStatus']; }; }; }; @@ -11300,26 +12152,26 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["Body_enqueue_graph"]; + 'application/json': components['schemas']['Body_enqueue_graph']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Created */ 201: { content: { - "application/json": components["schemas"]["EnqueueGraphResult"]; + 'application/json': components['schemas']['EnqueueGraphResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11337,26 +12189,26 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["Body_enqueue_batch"]; + 'application/json': components['schemas']['Body_enqueue_batch']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Created */ 201: { content: { - "application/json": components["schemas"]["EnqueueBatchResult"]; + 'application/json': components['schemas']['EnqueueBatchResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11371,7 +12223,12 @@ export type operations = { /** @description The number of items to fetch */ limit?: number; /** @description The status of items to fetch */ - status?: "pending" | "in_progress" | "completed" | "failed" | "canceled"; + status?: + | 'pending' + | 'in_progress' + | 'completed' + | 'failed' + | 'canceled'; /** @description The pagination cursor */ cursor?: number; /** @description The pagination cursor priority */ @@ -11386,13 +12243,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["CursorPaginatedResults_SessionQueueItemDTO_"]; + 'application/json': components['schemas']['CursorPaginatedResults_SessionQueueItemDTO_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11412,13 +12269,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionProcessorStatus"]; + 'application/json': components['schemas']['SessionProcessorStatus']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11438,13 +12295,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionProcessorStatus"]; + 'application/json': components['schemas']['SessionProcessorStatus']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11462,20 +12319,20 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["Body_cancel_by_batch_ids"]; + 'application/json': components['schemas']['Body_cancel_by_batch_ids']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["CancelByBatchIDsResult"]; + 'application/json': components['schemas']['CancelByBatchIDsResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11495,13 +12352,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ClearResult"]; + 'application/json': components['schemas']['ClearResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11521,13 +12378,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["PruneResult"]; + 'application/json': components['schemas']['PruneResult']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11547,13 +12404,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionQueueItem"]; + 'application/json': components['schemas']['SessionQueueItem']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11573,13 +12430,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionQueueItem"]; + 'application/json': components['schemas']['SessionQueueItem']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11599,13 +12456,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionQueueAndProcessorStatus"]; + 'application/json': components['schemas']['SessionQueueAndProcessorStatus']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11627,13 +12484,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["BatchStatus"]; + 'application/json': components['schemas']['BatchStatus']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11655,13 +12512,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionQueueItem"]; + 'application/json': components['schemas']['SessionQueueItem']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11683,13 +12540,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["SessionQueueItem"]; + 'application/json': components['schemas']['SessionQueueItem']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; };