chore(ui): regen api client

This commit is contained in:
psychedelicious 2023-05-25 23:47:36 +10:00 committed by Kent Keirsey
parent d2c8a53c55
commit 5025f84627
49 changed files with 427 additions and 58 deletions

View File

@ -7,7 +7,6 @@ export { OpenAPI } from './core/OpenAPI';
export type { OpenAPIConfig } from './core/OpenAPI'; export type { OpenAPIConfig } from './core/OpenAPI';
export type { AddInvocation } from './models/AddInvocation'; export type { AddInvocation } from './models/AddInvocation';
export type { BlurInvocation } from './models/BlurInvocation';
export type { Body_upload_image } from './models/Body_upload_image'; export type { Body_upload_image } from './models/Body_upload_image';
export type { CkptModelInfo } from './models/CkptModelInfo'; export type { CkptModelInfo } from './models/CkptModelInfo';
export type { CollectInvocation } from './models/CollectInvocation'; export type { CollectInvocation } from './models/CollectInvocation';
@ -17,7 +16,6 @@ export type { CompelInvocation } from './models/CompelInvocation';
export type { CompelOutput } from './models/CompelOutput'; export type { CompelOutput } from './models/CompelOutput';
export type { ConditioningField } from './models/ConditioningField'; export type { ConditioningField } from './models/ConditioningField';
export type { CreateModelRequest } from './models/CreateModelRequest'; export type { CreateModelRequest } from './models/CreateModelRequest';
export type { CropImageInvocation } from './models/CropImageInvocation';
export type { CvInpaintInvocation } from './models/CvInpaintInvocation'; export type { CvInpaintInvocation } from './models/CvInpaintInvocation';
export type { DiffusersModelInfo } from './models/DiffusersModelInfo'; export type { DiffusersModelInfo } from './models/DiffusersModelInfo';
export type { DivideInvocation } from './models/DivideInvocation'; export type { DivideInvocation } from './models/DivideInvocation';
@ -28,11 +26,20 @@ export type { GraphExecutionState } from './models/GraphExecutionState';
export type { GraphInvocation } from './models/GraphInvocation'; export type { GraphInvocation } from './models/GraphInvocation';
export type { GraphInvocationOutput } from './models/GraphInvocationOutput'; export type { GraphInvocationOutput } from './models/GraphInvocationOutput';
export type { HTTPValidationError } from './models/HTTPValidationError'; export type { HTTPValidationError } from './models/HTTPValidationError';
export type { ImageBlurInvocation } from './models/ImageBlurInvocation';
export type { ImageCategory } from './models/ImageCategory'; export type { ImageCategory } from './models/ImageCategory';
export type { ImageChannelInvocation } from './models/ImageChannelInvocation';
export type { ImageConvertInvocation } from './models/ImageConvertInvocation';
export type { ImageCropInvocation } from './models/ImageCropInvocation';
export type { ImageDTO } from './models/ImageDTO'; export type { ImageDTO } from './models/ImageDTO';
export type { ImageField } from './models/ImageField'; export type { ImageField } from './models/ImageField';
export type { ImageInverseLerpInvocation } from './models/ImageInverseLerpInvocation';
export type { ImageLerpInvocation } from './models/ImageLerpInvocation';
export type { ImageMetadata } from './models/ImageMetadata'; export type { ImageMetadata } from './models/ImageMetadata';
export type { ImageMultiplyInvocation } from './models/ImageMultiplyInvocation';
export type { ImageOutput } from './models/ImageOutput'; export type { ImageOutput } from './models/ImageOutput';
export type { ImagePasteInvocation } from './models/ImagePasteInvocation';
export type { ImageRecordChanges } from './models/ImageRecordChanges';
export type { ImageToImageInvocation } from './models/ImageToImageInvocation'; export type { ImageToImageInvocation } from './models/ImageToImageInvocation';
export type { ImageToLatentsInvocation } from './models/ImageToLatentsInvocation'; export type { ImageToLatentsInvocation } from './models/ImageToLatentsInvocation';
export type { ImageType } from './models/ImageType'; export type { ImageType } from './models/ImageType';
@ -43,14 +50,13 @@ export type { InfillTileInvocation } from './models/InfillTileInvocation';
export type { InpaintInvocation } from './models/InpaintInvocation'; export type { InpaintInvocation } from './models/InpaintInvocation';
export type { IntCollectionOutput } from './models/IntCollectionOutput'; export type { IntCollectionOutput } from './models/IntCollectionOutput';
export type { IntOutput } from './models/IntOutput'; export type { IntOutput } from './models/IntOutput';
export type { InverseLerpInvocation } from './models/InverseLerpInvocation'; export type { InvocationMeta } from './models/InvocationMeta';
export type { IterateInvocation } from './models/IterateInvocation'; export type { IterateInvocation } from './models/IterateInvocation';
export type { IterateInvocationOutput } from './models/IterateInvocationOutput'; export type { IterateInvocationOutput } from './models/IterateInvocationOutput';
export type { LatentsField } from './models/LatentsField'; export type { LatentsField } from './models/LatentsField';
export type { LatentsOutput } from './models/LatentsOutput'; export type { LatentsOutput } from './models/LatentsOutput';
export type { LatentsToImageInvocation } from './models/LatentsToImageInvocation'; export type { LatentsToImageInvocation } from './models/LatentsToImageInvocation';
export type { LatentsToLatentsInvocation } from './models/LatentsToLatentsInvocation'; export type { LatentsToLatentsInvocation } from './models/LatentsToLatentsInvocation';
export type { LerpInvocation } from './models/LerpInvocation';
export type { LoadImageInvocation } from './models/LoadImageInvocation'; export type { LoadImageInvocation } from './models/LoadImageInvocation';
export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation'; export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation';
export type { MaskOutput } from './models/MaskOutput'; export type { MaskOutput } from './models/MaskOutput';
@ -61,7 +67,6 @@ export type { NoiseOutput } from './models/NoiseOutput';
export type { PaginatedResults_GraphExecutionState_ } from './models/PaginatedResults_GraphExecutionState_'; export type { PaginatedResults_GraphExecutionState_ } from './models/PaginatedResults_GraphExecutionState_';
export type { PaginatedResults_ImageDTO_ } from './models/PaginatedResults_ImageDTO_'; export type { PaginatedResults_ImageDTO_ } from './models/PaginatedResults_ImageDTO_';
export type { ParamIntInvocation } from './models/ParamIntInvocation'; export type { ParamIntInvocation } from './models/ParamIntInvocation';
export type { PasteImageInvocation } from './models/PasteImageInvocation';
export type { PromptOutput } from './models/PromptOutput'; export type { PromptOutput } from './models/PromptOutput';
export type { RandomIntInvocation } from './models/RandomIntInvocation'; export type { RandomIntInvocation } from './models/RandomIntInvocation';
export type { RandomRangeInvocation } from './models/RandomRangeInvocation'; export type { RandomRangeInvocation } from './models/RandomRangeInvocation';

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Adds two numbers * Adds two numbers
*/ */
@ -11,6 +13,10 @@ export type AddInvocation = {
*/ */
id: string; id: string;
type?: 'add'; type?: 'add';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The first number * The first number
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Collects values into a collection * Collects values into a collection
*/ */
@ -11,6 +13,10 @@ export type CollectInvocation = {
*/ */
id: string; id: string;
type?: 'collect'; type?: 'collect';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The item to collect (all inputs must be of the same type) * The item to collect (all inputs must be of the same type)
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Parse prompt using compel package to conditioning. * Parse prompt using compel package to conditioning.
*/ */
@ -11,6 +13,10 @@ export type CompelInvocation = {
*/ */
id: string; id: string;
type?: 'compel'; type?: 'compel';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* Prompt * Prompt
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Simple inpaint using opencv. * Simple inpaint using opencv.
@ -13,6 +14,10 @@ export type CvInpaintInvocation = {
*/ */
id: string; id: string;
type?: 'cv_inpaint'; type?: 'cv_inpaint';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to inpaint * The image to inpaint
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Divides two numbers * Divides two numbers
*/ */
@ -11,6 +13,10 @@ export type DivideInvocation = {
*/ */
id: string; id: string;
type?: 'div'; type?: 'div';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The first number * The first number
*/ */

View File

@ -3,31 +3,34 @@
/* eslint-disable */ /* eslint-disable */
import type { AddInvocation } from './AddInvocation'; import type { AddInvocation } from './AddInvocation';
import type { BlurInvocation } from './BlurInvocation';
import type { CollectInvocation } from './CollectInvocation'; import type { CollectInvocation } from './CollectInvocation';
import type { CompelInvocation } from './CompelInvocation'; import type { CompelInvocation } from './CompelInvocation';
import type { CropImageInvocation } from './CropImageInvocation';
import type { CvInpaintInvocation } from './CvInpaintInvocation'; import type { CvInpaintInvocation } from './CvInpaintInvocation';
import type { DivideInvocation } from './DivideInvocation'; import type { DivideInvocation } from './DivideInvocation';
import type { Edge } from './Edge'; import type { Edge } from './Edge';
import type { GraphInvocation } from './GraphInvocation'; import type { GraphInvocation } from './GraphInvocation';
import type { ImageBlurInvocation } from './ImageBlurInvocation';
import type { ImageChannelInvocation } from './ImageChannelInvocation';
import type { ImageConvertInvocation } from './ImageConvertInvocation';
import type { ImageCropInvocation } from './ImageCropInvocation';
import type { ImageInverseLerpInvocation } from './ImageInverseLerpInvocation';
import type { ImageLerpInvocation } from './ImageLerpInvocation';
import type { ImageMultiplyInvocation } from './ImageMultiplyInvocation';
import type { ImagePasteInvocation } from './ImagePasteInvocation';
import type { ImageToImageInvocation } from './ImageToImageInvocation'; import type { ImageToImageInvocation } from './ImageToImageInvocation';
import type { ImageToLatentsInvocation } from './ImageToLatentsInvocation'; import type { ImageToLatentsInvocation } from './ImageToLatentsInvocation';
import type { InfillColorInvocation } from './InfillColorInvocation'; import type { InfillColorInvocation } from './InfillColorInvocation';
import type { InfillPatchMatchInvocation } from './InfillPatchMatchInvocation'; import type { InfillPatchMatchInvocation } from './InfillPatchMatchInvocation';
import type { InfillTileInvocation } from './InfillTileInvocation'; import type { InfillTileInvocation } from './InfillTileInvocation';
import type { InpaintInvocation } from './InpaintInvocation'; import type { InpaintInvocation } from './InpaintInvocation';
import type { InverseLerpInvocation } from './InverseLerpInvocation';
import type { IterateInvocation } from './IterateInvocation'; import type { IterateInvocation } from './IterateInvocation';
import type { LatentsToImageInvocation } from './LatentsToImageInvocation'; import type { LatentsToImageInvocation } from './LatentsToImageInvocation';
import type { LatentsToLatentsInvocation } from './LatentsToLatentsInvocation'; import type { LatentsToLatentsInvocation } from './LatentsToLatentsInvocation';
import type { LerpInvocation } from './LerpInvocation';
import type { LoadImageInvocation } from './LoadImageInvocation'; import type { LoadImageInvocation } from './LoadImageInvocation';
import type { MaskFromAlphaInvocation } from './MaskFromAlphaInvocation'; import type { MaskFromAlphaInvocation } from './MaskFromAlphaInvocation';
import type { MultiplyInvocation } from './MultiplyInvocation'; import type { MultiplyInvocation } from './MultiplyInvocation';
import type { NoiseInvocation } from './NoiseInvocation'; import type { NoiseInvocation } from './NoiseInvocation';
import type { ParamIntInvocation } from './ParamIntInvocation'; import type { ParamIntInvocation } from './ParamIntInvocation';
import type { PasteImageInvocation } from './PasteImageInvocation';
import type { RandomIntInvocation } from './RandomIntInvocation'; import type { RandomIntInvocation } from './RandomIntInvocation';
import type { RandomRangeInvocation } from './RandomRangeInvocation'; import type { RandomRangeInvocation } from './RandomRangeInvocation';
import type { RangeInvocation } from './RangeInvocation'; import type { RangeInvocation } from './RangeInvocation';
@ -49,7 +52,7 @@ export type Graph = {
/** /**
* The nodes in this graph * The nodes in this graph
*/ */
nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | CropImageInvocation | PasteImageInvocation | MaskFromAlphaInvocation | BlurInvocation | LerpInvocation | InverseLerpInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation)>; nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation)>;
/** /**
* The connections between nodes and their fields in this graph * The connections between nodes and their fields in this graph
*/ */

View File

@ -3,10 +3,10 @@
/* eslint-disable */ /* eslint-disable */
import type { Graph } from './Graph'; import type { Graph } from './Graph';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* A node to process inputs and produce outputs. * Execute a graph
* May use dependency injection in __init__ to receive providers.
*/ */
export type GraphInvocation = { export type GraphInvocation = {
/** /**
@ -14,6 +14,10 @@ export type GraphInvocation = {
*/ */
id: string; id: string;
type?: 'graph'; type?: 'graph';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The graph to run * The graph to run
*/ */

View File

@ -3,16 +3,21 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Blurs an image * Blurs an image
*/ */
export type BlurInvocation = { export type ImageBlurInvocation = {
/** /**
* The id of this node. Must be unique among all nodes. * The id of this node. Must be unique among all nodes.
*/ */
id: string; id: string;
type?: 'blur'; type?: 'img_blur';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to blur * The image to blur
*/ */

View File

@ -5,4 +5,4 @@
/** /**
* The category of an image. Use ImageCategory.OTHER for non-default categories. * The category of an image. Use ImageCategory.OTHER for non-default categories.
*/ */
export type ImageCategory = 'general' | 'control' | 'other'; export type ImageCategory = 'general' | 'control' | 'mask' | 'other';

View File

@ -0,0 +1,30 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Gets a channel from an image.
*/
export type ImageChannelInvocation = {
/**
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_chan';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/**
* The image to get the channel from
*/
image?: ImageField;
/**
* The channel to get
*/
channel?: 'A' | 'R' | 'G' | 'B';
};

View File

@ -0,0 +1,30 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Converts an image to a different mode.
*/
export type ImageConvertInvocation = {
/**
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_conv';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/**
* The image to convert
*/
image?: ImageField;
/**
* The mode to convert to
*/
mode?: 'L' | 'RGB' | 'RGBA' | 'CMYK' | 'YCbCr' | 'LAB' | 'HSV' | 'I' | 'F';
};

View File

@ -3,16 +3,21 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Crops an image to a specified box. The box can be outside of the image. * Crops an image to a specified box. The box can be outside of the image.
*/ */
export type CropImageInvocation = { export type ImageCropInvocation = {
/** /**
* The id of this node. Must be unique among all nodes. * The id of this node. Must be unique among all nodes.
*/ */
id: string; id: string;
type?: 'crop'; type?: 'img_crop';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to crop * The image to crop
*/ */

View File

@ -50,6 +50,10 @@ export type ImageDTO = {
* The deleted timestamp of the image. * The deleted timestamp of the image.
*/ */
deleted_at?: string; deleted_at?: string;
/**
* Whether this is an intermediate image.
*/
is_intermediate: boolean;
/** /**
* The session ID that generated this image, if it is a generated image. * The session ID that generated this image, if it is a generated image.
*/ */

View File

@ -3,16 +3,21 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Inverse linear interpolation of all pixels of an image * Inverse linear interpolation of all pixels of an image
*/ */
export type InverseLerpInvocation = { export type ImageInverseLerpInvocation = {
/** /**
* The id of this node. Must be unique among all nodes. * The id of this node. Must be unique among all nodes.
*/ */
id: string; id: string;
type?: 'ilerp'; type?: 'img_ilerp';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to lerp * The image to lerp
*/ */

View File

@ -3,16 +3,21 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Linear interpolation of all pixels of an image * Linear interpolation of all pixels of an image
*/ */
export type LerpInvocation = { export type ImageLerpInvocation = {
/** /**
* The id of this node. Must be unique among all nodes. * The id of this node. Must be unique among all nodes.
*/ */
id: string; id: string;
type?: 'lerp'; type?: 'img_lerp';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to lerp * The image to lerp
*/ */

View File

@ -0,0 +1,30 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Multiplies two images together using `PIL.ImageChops.multiply()`.
*/
export type ImageMultiplyInvocation = {
/**
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_mul';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/**
* The first image to multiply
*/
image1?: ImageField;
/**
* The second image to multiply
*/
image2?: ImageField;
};

View File

@ -3,16 +3,21 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Pastes an image into another image. * Pastes an image into another image.
*/ */
export type PasteImageInvocation = { export type ImagePasteInvocation = {
/** /**
* The id of this node. Must be unique among all nodes. * The id of this node. Must be unique among all nodes.
*/ */
id: string; id: string;
type?: 'paste'; type?: 'img_paste';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The base image * The base image
*/ */

View File

@ -0,0 +1,24 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ImageCategory } from './ImageCategory';
/**
* A set of changes to apply to an image record.
*
* Only limited changes are valid:
* - `image_category`: change the category of an image
* - `session_id`: change the session associated with an image
*/
export type ImageRecordChanges = {
/**
* The image's new category.
*/
image_category?: ImageCategory;
/**
* The image's new session ID.
*/
session_id?: string;
};

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Generates an image using img2img. * Generates an image using img2img.
@ -13,6 +14,10 @@ export type ImageToImageInvocation = {
*/ */
id: string; id: string;
type?: 'img2img'; type?: 'img2img';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The prompt to generate an image from * The prompt to generate an image from
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Encodes an image into latents. * Encodes an image into latents.
@ -13,6 +14,10 @@ export type ImageToLatentsInvocation = {
*/ */
id: string; id: string;
type?: 'i2l'; type?: 'i2l';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to encode * The image to encode
*/ */

View File

@ -5,4 +5,4 @@
/** /**
* The type of an image. * The type of an image.
*/ */
export type ImageType = 'results' | 'uploads' | 'intermediates'; export type ImageType = 'results' | 'uploads';

View File

@ -4,6 +4,7 @@
import type { ColorField } from './ColorField'; import type { ColorField } from './ColorField';
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Infills transparent areas of an image with a solid color * Infills transparent areas of an image with a solid color
@ -14,6 +15,10 @@ export type InfillColorInvocation = {
*/ */
id: string; id: string;
type?: 'infill_rgba'; type?: 'infill_rgba';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to infill * The image to infill
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Infills transparent areas of an image using the PatchMatch algorithm * Infills transparent areas of an image using the PatchMatch algorithm
@ -13,6 +14,10 @@ export type InfillPatchMatchInvocation = {
*/ */
id: string; id: string;
type?: 'infill_patchmatch'; type?: 'infill_patchmatch';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to infill * The image to infill
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Infills transparent areas of an image with tiles of the image * Infills transparent areas of an image with tiles of the image
@ -13,6 +14,10 @@ export type InfillTileInvocation = {
*/ */
id: string; id: string;
type?: 'infill_tile'; type?: 'infill_tile';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to infill * The image to infill
*/ */

View File

@ -4,6 +4,7 @@
import type { ColorField } from './ColorField'; import type { ColorField } from './ColorField';
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Generates an image using inpaint. * Generates an image using inpaint.
@ -14,6 +15,10 @@ export type InpaintInvocation = {
*/ */
id: string; id: string;
type?: 'inpaint'; type?: 'inpaint';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The prompt to generate an image from * The prompt to generate an image from
*/ */

View File

@ -0,0 +1,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type InvocationMeta = {
/**
* Whether this is an intermediate node. Intermediate nodes are periodically deleted.
*/
is_intermediate?: boolean;
};

View File

@ -2,9 +2,10 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* A node to process inputs and produce outputs. * Iterates over a list of items
* May use dependency injection in __init__ to receive providers.
*/ */
export type IterateInvocation = { export type IterateInvocation = {
/** /**
@ -12,6 +13,10 @@ export type IterateInvocation = {
*/ */
id: string; id: string;
type?: 'iterate'; type?: 'iterate';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The list of items to iterate over * The list of items to iterate over
*/ */

View File

@ -2,6 +2,7 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField'; import type { LatentsField } from './LatentsField';
/** /**
@ -13,6 +14,10 @@ export type LatentsToImageInvocation = {
*/ */
id: string; id: string;
type?: 'l2i'; type?: 'l2i';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The latents to generate an image from * The latents to generate an image from
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ConditioningField } from './ConditioningField'; import type { ConditioningField } from './ConditioningField';
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField'; import type { LatentsField } from './LatentsField';
/** /**
@ -14,6 +15,10 @@ export type LatentsToLatentsInvocation = {
*/ */
id: string; id: string;
type?: 'l2l'; type?: 'l2l';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* Positive conditioning for generation * Positive conditioning for generation
*/ */
@ -42,14 +47,6 @@ export type LatentsToLatentsInvocation = {
* The model to use (currently ignored) * The model to use (currently ignored)
*/ */
model?: string; model?: string;
/**
* Whether or not to generate an image that can tile without seams
*/
seamless?: boolean;
/**
* The axes to tile the image on, 'x' and/or 'y'
*/
seamless_axes?: string;
/** /**
* The latents to use as a base image * The latents to use as a base image
*/ */

View File

@ -2,7 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { ImageType } from './ImageType'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Load an image and provide it as output. * Load an image and provide it as output.
@ -14,12 +15,12 @@ export type LoadImageInvocation = {
id: string; id: string;
type?: 'load_image'; type?: 'load_image';
/** /**
* The type of the image * The meta properties of this node.
*/ */
image_type: ImageType; meta?: InvocationMeta;
/** /**
* The name of the image * The image to load
*/ */
image_name: string; image?: ImageField;
}; };

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Extracts the alpha channel of an image as a mask. * Extracts the alpha channel of an image as a mask.
@ -13,6 +14,10 @@ export type MaskFromAlphaInvocation = {
*/ */
id: string; id: string;
type?: 'tomask'; type?: 'tomask';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to create the mask from * The image to create the mask from
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Multiplies two numbers * Multiplies two numbers
*/ */
@ -11,6 +13,10 @@ export type MultiplyInvocation = {
*/ */
id: string; id: string;
type?: 'mul'; type?: 'mul';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The first number * The first number
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Generates latent noise. * Generates latent noise.
*/ */
@ -11,6 +13,10 @@ export type NoiseInvocation = {
*/ */
id: string; id: string;
type?: 'noise'; type?: 'noise';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The seed to use * The seed to use
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* An integer parameter * An integer parameter
*/ */
@ -11,6 +13,10 @@ export type ParamIntInvocation = {
*/ */
id: string; id: string;
type?: 'param_int'; type?: 'param_int';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The integer value * The integer value
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Outputs a single random integer. * Outputs a single random integer.
*/ */
@ -11,6 +13,10 @@ export type RandomIntInvocation = {
*/ */
id: string; id: string;
type?: 'rand_int'; type?: 'rand_int';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The inclusive low value * The inclusive low value
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Creates a collection of random numbers * Creates a collection of random numbers
*/ */
@ -11,6 +13,10 @@ export type RandomRangeInvocation = {
*/ */
id: string; id: string;
type?: 'random_range'; type?: 'random_range';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The inclusive low value * The inclusive low value
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Creates a range of numbers from start to stop with step * Creates a range of numbers from start to stop with step
*/ */
@ -11,6 +13,10 @@ export type RangeInvocation = {
*/ */
id: string; id: string;
type?: 'range'; type?: 'range';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The start of the range * The start of the range
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Creates a range from start to start + size with step * Creates a range from start to start + size with step
*/ */
@ -11,6 +13,10 @@ export type RangeOfSizeInvocation = {
*/ */
id: string; id: string;
type?: 'range_of_size'; type?: 'range_of_size';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The start of the range * The start of the range
*/ */

View File

@ -2,6 +2,7 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField'; import type { LatentsField } from './LatentsField';
/** /**
@ -13,6 +14,10 @@ export type ResizeLatentsInvocation = {
*/ */
id: string; id: string;
type?: 'lresize'; type?: 'lresize';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The latents to resize * The latents to resize
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Restores faces in an image. * Restores faces in an image.
@ -13,6 +14,10 @@ export type RestoreFaceInvocation = {
*/ */
id: string; id: string;
type?: 'restore_face'; type?: 'restore_face';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The input image * The input image
*/ */

View File

@ -2,6 +2,7 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField'; import type { LatentsField } from './LatentsField';
/** /**
@ -13,6 +14,10 @@ export type ScaleLatentsInvocation = {
*/ */
id: string; id: string;
type?: 'lscale'; type?: 'lscale';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The latents to scale * The latents to scale
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Displays a provided image, and passes it forward in the pipeline. * Displays a provided image, and passes it forward in the pipeline.
@ -13,6 +14,10 @@ export type ShowImageInvocation = {
*/ */
id: string; id: string;
type?: 'show_image'; type?: 'show_image';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The image to show * The image to show
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Subtracts two numbers * Subtracts two numbers
*/ */
@ -11,6 +13,10 @@ export type SubtractInvocation = {
*/ */
id: string; id: string;
type?: 'sub'; type?: 'sub';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The first number * The first number
*/ */

View File

@ -2,6 +2,8 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Generates an image using text2img. * Generates an image using text2img.
*/ */
@ -11,6 +13,10 @@ export type TextToImageInvocation = {
*/ */
id: string; id: string;
type?: 'txt2img'; type?: 'txt2img';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The prompt to generate an image from * The prompt to generate an image from
*/ */

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ConditioningField } from './ConditioningField'; import type { ConditioningField } from './ConditioningField';
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField'; import type { LatentsField } from './LatentsField';
/** /**
@ -14,6 +15,10 @@ export type TextToLatentsInvocation = {
*/ */
id: string; id: string;
type?: 't2l'; type?: 't2l';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* Positive conditioning for generation * Positive conditioning for generation
*/ */
@ -42,13 +47,5 @@ export type TextToLatentsInvocation = {
* The model to use (currently ignored) * The model to use (currently ignored)
*/ */
model?: string; model?: string;
/**
* Whether or not to generate an image that can tile without seams
*/
seamless?: boolean;
/**
* The axes to tile the image on, 'x' and/or 'y'
*/
seamless_axes?: string;
}; };

View File

@ -3,6 +3,7 @@
/* eslint-disable */ /* eslint-disable */
import type { ImageField } from './ImageField'; import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/** /**
* Upscales an image. * Upscales an image.
@ -13,6 +14,10 @@ export type UpscaleInvocation = {
*/ */
id: string; id: string;
type?: 'upscale'; type?: 'upscale';
/**
* The meta properties of this node.
*/
meta?: InvocationMeta;
/** /**
* The input image * The input image
*/ */

View File

@ -4,6 +4,7 @@
import type { Body_upload_image } from '../models/Body_upload_image'; import type { Body_upload_image } from '../models/Body_upload_image';
import type { ImageCategory } from '../models/ImageCategory'; import type { ImageCategory } from '../models/ImageCategory';
import type { ImageDTO } from '../models/ImageDTO'; import type { ImageDTO } from '../models/ImageDTO';
import type { ImageRecordChanges } from '../models/ImageRecordChanges';
import type { ImageType } from '../models/ImageType'; import type { ImageType } from '../models/ImageType';
import type { ImageUrlsDTO } from '../models/ImageUrlsDTO'; import type { ImageUrlsDTO } from '../models/ImageUrlsDTO';
import type { PaginatedResults_ImageDTO_ } from '../models/PaginatedResults_ImageDTO_'; import type { PaginatedResults_ImageDTO_ } from '../models/PaginatedResults_ImageDTO_';
@ -65,20 +66,32 @@ export class ImagesService {
* @throws ApiError * @throws ApiError
*/ */
public static uploadImage({ public static uploadImage({
imageType,
formData, formData,
imageCategory, imageCategory,
isIntermediate = false,
sessionId,
}: { }: {
imageType: ImageType,
formData: Body_upload_image, formData: Body_upload_image,
/**
* The category of the image
*/
imageCategory?: ImageCategory, imageCategory?: ImageCategory,
/**
* Whether this is an intermediate image
*/
isIntermediate?: boolean,
/**
* The session ID associated with this upload, if any
*/
sessionId?: string,
}): CancelablePromise<ImageDTO> { }): CancelablePromise<ImageDTO> {
return __request(OpenAPI, { return __request(OpenAPI, {
method: 'POST', method: 'POST',
url: '/api/v1/images/', url: '/api/v1/images/',
query: { query: {
'image_type': imageType,
'image_category': imageCategory, 'image_category': imageCategory,
'is_intermediate': isIntermediate,
'session_id': sessionId,
}, },
formData: formData, formData: formData,
mediaType: 'multipart/form-data', mediaType: 'multipart/form-data',
@ -132,6 +145,9 @@ export class ImagesService {
imageType, imageType,
imageName, imageName,
}: { }: {
/**
* The type of image to delete
*/
imageType: ImageType, imageType: ImageType,
/** /**
* The name of the image to delete * The name of the image to delete
@ -151,6 +167,42 @@ export class ImagesService {
}); });
} }
/**
* Update Image
* Updates an image
* @returns ImageDTO Successful Response
* @throws ApiError
*/
public static updateImage({
imageType,
imageName,
requestBody,
}: {
/**
* The type of image to update
*/
imageType: ImageType,
/**
* The name of the image to update
*/
imageName: string,
requestBody: ImageRecordChanges,
}): CancelablePromise<ImageDTO> {
return __request(OpenAPI, {
method: 'PATCH',
url: '/api/v1/images/{image_type}/{image_name}',
path: {
'image_type': imageType,
'image_name': imageName,
},
body: requestBody,
mediaType: 'application/json',
errors: {
422: `Validation Error`,
},
});
}
/** /**
* Get Image Metadata * Get Image Metadata
* Gets an image's metadata * Gets an image's metadata

View File

@ -2,34 +2,37 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
import type { AddInvocation } from '../models/AddInvocation'; import type { AddInvocation } from '../models/AddInvocation';
import type { BlurInvocation } from '../models/BlurInvocation';
import type { CollectInvocation } from '../models/CollectInvocation'; import type { CollectInvocation } from '../models/CollectInvocation';
import type { CompelInvocation } from '../models/CompelInvocation'; import type { CompelInvocation } from '../models/CompelInvocation';
import type { CropImageInvocation } from '../models/CropImageInvocation';
import type { CvInpaintInvocation } from '../models/CvInpaintInvocation'; import type { CvInpaintInvocation } from '../models/CvInpaintInvocation';
import type { DivideInvocation } from '../models/DivideInvocation'; import type { DivideInvocation } from '../models/DivideInvocation';
import type { Edge } from '../models/Edge'; import type { Edge } from '../models/Edge';
import type { Graph } from '../models/Graph'; import type { Graph } from '../models/Graph';
import type { GraphExecutionState } from '../models/GraphExecutionState'; import type { GraphExecutionState } from '../models/GraphExecutionState';
import type { GraphInvocation } from '../models/GraphInvocation'; import type { GraphInvocation } from '../models/GraphInvocation';
import type { ImageBlurInvocation } from '../models/ImageBlurInvocation';
import type { ImageChannelInvocation } from '../models/ImageChannelInvocation';
import type { ImageConvertInvocation } from '../models/ImageConvertInvocation';
import type { ImageCropInvocation } from '../models/ImageCropInvocation';
import type { ImageInverseLerpInvocation } from '../models/ImageInverseLerpInvocation';
import type { ImageLerpInvocation } from '../models/ImageLerpInvocation';
import type { ImageMultiplyInvocation } from '../models/ImageMultiplyInvocation';
import type { ImagePasteInvocation } from '../models/ImagePasteInvocation';
import type { ImageToImageInvocation } from '../models/ImageToImageInvocation'; import type { ImageToImageInvocation } from '../models/ImageToImageInvocation';
import type { ImageToLatentsInvocation } from '../models/ImageToLatentsInvocation'; import type { ImageToLatentsInvocation } from '../models/ImageToLatentsInvocation';
import type { InfillColorInvocation } from '../models/InfillColorInvocation'; import type { InfillColorInvocation } from '../models/InfillColorInvocation';
import type { InfillPatchMatchInvocation } from '../models/InfillPatchMatchInvocation'; import type { InfillPatchMatchInvocation } from '../models/InfillPatchMatchInvocation';
import type { InfillTileInvocation } from '../models/InfillTileInvocation'; import type { InfillTileInvocation } from '../models/InfillTileInvocation';
import type { InpaintInvocation } from '../models/InpaintInvocation'; import type { InpaintInvocation } from '../models/InpaintInvocation';
import type { InverseLerpInvocation } from '../models/InverseLerpInvocation';
import type { IterateInvocation } from '../models/IterateInvocation'; import type { IterateInvocation } from '../models/IterateInvocation';
import type { LatentsToImageInvocation } from '../models/LatentsToImageInvocation'; import type { LatentsToImageInvocation } from '../models/LatentsToImageInvocation';
import type { LatentsToLatentsInvocation } from '../models/LatentsToLatentsInvocation'; import type { LatentsToLatentsInvocation } from '../models/LatentsToLatentsInvocation';
import type { LerpInvocation } from '../models/LerpInvocation';
import type { LoadImageInvocation } from '../models/LoadImageInvocation'; import type { LoadImageInvocation } from '../models/LoadImageInvocation';
import type { MaskFromAlphaInvocation } from '../models/MaskFromAlphaInvocation'; import type { MaskFromAlphaInvocation } from '../models/MaskFromAlphaInvocation';
import type { MultiplyInvocation } from '../models/MultiplyInvocation'; import type { MultiplyInvocation } from '../models/MultiplyInvocation';
import type { NoiseInvocation } from '../models/NoiseInvocation'; import type { NoiseInvocation } from '../models/NoiseInvocation';
import type { PaginatedResults_GraphExecutionState_ } from '../models/PaginatedResults_GraphExecutionState_'; import type { PaginatedResults_GraphExecutionState_ } from '../models/PaginatedResults_GraphExecutionState_';
import type { ParamIntInvocation } from '../models/ParamIntInvocation'; import type { ParamIntInvocation } from '../models/ParamIntInvocation';
import type { PasteImageInvocation } from '../models/PasteImageInvocation';
import type { RandomIntInvocation } from '../models/RandomIntInvocation'; import type { RandomIntInvocation } from '../models/RandomIntInvocation';
import type { RandomRangeInvocation } from '../models/RandomRangeInvocation'; import type { RandomRangeInvocation } from '../models/RandomRangeInvocation';
import type { RangeInvocation } from '../models/RangeInvocation'; import type { RangeInvocation } from '../models/RangeInvocation';
@ -151,7 +154,7 @@ export class SessionsService {
* The id of the session * The id of the session
*/ */
sessionId: string, sessionId: string,
requestBody: (LoadImageInvocation | ShowImageInvocation | CropImageInvocation | PasteImageInvocation | MaskFromAlphaInvocation | BlurInvocation | LerpInvocation | InverseLerpInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation), requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
}): CancelablePromise<string> { }): CancelablePromise<string> {
return __request(OpenAPI, { return __request(OpenAPI, {
method: 'POST', method: 'POST',
@ -188,7 +191,7 @@ export class SessionsService {
* The path to the node in the graph * The path to the node in the graph
*/ */
nodePath: string, nodePath: string,
requestBody: (LoadImageInvocation | ShowImageInvocation | CropImageInvocation | PasteImageInvocation | MaskFromAlphaInvocation | BlurInvocation | LerpInvocation | InverseLerpInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation), requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
}): CancelablePromise<GraphExecutionState> { }): CancelablePromise<GraphExecutionState> {
return __request(OpenAPI, { return __request(OpenAPI, {
method: 'PUT', method: 'PUT',