mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): regen api client
This commit is contained in:
parent
d2c8a53c55
commit
5025f84627
@ -7,7 +7,6 @@ export { OpenAPI } from './core/OpenAPI';
|
||||
export type { OpenAPIConfig } from './core/OpenAPI';
|
||||
|
||||
export type { AddInvocation } from './models/AddInvocation';
|
||||
export type { BlurInvocation } from './models/BlurInvocation';
|
||||
export type { Body_upload_image } from './models/Body_upload_image';
|
||||
export type { CkptModelInfo } from './models/CkptModelInfo';
|
||||
export type { CollectInvocation } from './models/CollectInvocation';
|
||||
@ -17,7 +16,6 @@ export type { CompelInvocation } from './models/CompelInvocation';
|
||||
export type { CompelOutput } from './models/CompelOutput';
|
||||
export type { ConditioningField } from './models/ConditioningField';
|
||||
export type { CreateModelRequest } from './models/CreateModelRequest';
|
||||
export type { CropImageInvocation } from './models/CropImageInvocation';
|
||||
export type { CvInpaintInvocation } from './models/CvInpaintInvocation';
|
||||
export type { DiffusersModelInfo } from './models/DiffusersModelInfo';
|
||||
export type { DivideInvocation } from './models/DivideInvocation';
|
||||
@ -28,11 +26,20 @@ export type { GraphExecutionState } from './models/GraphExecutionState';
|
||||
export type { GraphInvocation } from './models/GraphInvocation';
|
||||
export type { GraphInvocationOutput } from './models/GraphInvocationOutput';
|
||||
export type { HTTPValidationError } from './models/HTTPValidationError';
|
||||
export type { ImageBlurInvocation } from './models/ImageBlurInvocation';
|
||||
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 { ImageField } from './models/ImageField';
|
||||
export type { ImageInverseLerpInvocation } from './models/ImageInverseLerpInvocation';
|
||||
export type { ImageLerpInvocation } from './models/ImageLerpInvocation';
|
||||
export type { ImageMetadata } from './models/ImageMetadata';
|
||||
export type { ImageMultiplyInvocation } from './models/ImageMultiplyInvocation';
|
||||
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 { ImageToLatentsInvocation } from './models/ImageToLatentsInvocation';
|
||||
export type { ImageType } from './models/ImageType';
|
||||
@ -43,14 +50,13 @@ export type { InfillTileInvocation } from './models/InfillTileInvocation';
|
||||
export type { InpaintInvocation } from './models/InpaintInvocation';
|
||||
export type { IntCollectionOutput } from './models/IntCollectionOutput';
|
||||
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 { IterateInvocationOutput } from './models/IterateInvocationOutput';
|
||||
export type { LatentsField } from './models/LatentsField';
|
||||
export type { LatentsOutput } from './models/LatentsOutput';
|
||||
export type { LatentsToImageInvocation } from './models/LatentsToImageInvocation';
|
||||
export type { LatentsToLatentsInvocation } from './models/LatentsToLatentsInvocation';
|
||||
export type { LerpInvocation } from './models/LerpInvocation';
|
||||
export type { LoadImageInvocation } from './models/LoadImageInvocation';
|
||||
export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation';
|
||||
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_ImageDTO_ } from './models/PaginatedResults_ImageDTO_';
|
||||
export type { ParamIntInvocation } from './models/ParamIntInvocation';
|
||||
export type { PasteImageInvocation } from './models/PasteImageInvocation';
|
||||
export type { PromptOutput } from './models/PromptOutput';
|
||||
export type { RandomIntInvocation } from './models/RandomIntInvocation';
|
||||
export type { RandomRangeInvocation } from './models/RandomRangeInvocation';
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Adds two numbers
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type AddInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'add';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The first number
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Collects values into a collection
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type CollectInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'collect';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The item to collect (all inputs must be of the same type)
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Parse prompt using compel package to conditioning.
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type CompelInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'compel';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* Prompt
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Simple inpaint using opencv.
|
||||
@ -13,6 +14,10 @@ export type CvInpaintInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'cv_inpaint';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to inpaint
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Divides two numbers
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type DivideInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'div';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The first number
|
||||
*/
|
||||
|
@ -3,31 +3,34 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { AddInvocation } from './AddInvocation';
|
||||
import type { BlurInvocation } from './BlurInvocation';
|
||||
import type { CollectInvocation } from './CollectInvocation';
|
||||
import type { CompelInvocation } from './CompelInvocation';
|
||||
import type { CropImageInvocation } from './CropImageInvocation';
|
||||
import type { CvInpaintInvocation } from './CvInpaintInvocation';
|
||||
import type { DivideInvocation } from './DivideInvocation';
|
||||
import type { Edge } from './Edge';
|
||||
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 { ImageToLatentsInvocation } from './ImageToLatentsInvocation';
|
||||
import type { InfillColorInvocation } from './InfillColorInvocation';
|
||||
import type { InfillPatchMatchInvocation } from './InfillPatchMatchInvocation';
|
||||
import type { InfillTileInvocation } from './InfillTileInvocation';
|
||||
import type { InpaintInvocation } from './InpaintInvocation';
|
||||
import type { InverseLerpInvocation } from './InverseLerpInvocation';
|
||||
import type { IterateInvocation } from './IterateInvocation';
|
||||
import type { LatentsToImageInvocation } from './LatentsToImageInvocation';
|
||||
import type { LatentsToLatentsInvocation } from './LatentsToLatentsInvocation';
|
||||
import type { LerpInvocation } from './LerpInvocation';
|
||||
import type { LoadImageInvocation } from './LoadImageInvocation';
|
||||
import type { MaskFromAlphaInvocation } from './MaskFromAlphaInvocation';
|
||||
import type { MultiplyInvocation } from './MultiplyInvocation';
|
||||
import type { NoiseInvocation } from './NoiseInvocation';
|
||||
import type { ParamIntInvocation } from './ParamIntInvocation';
|
||||
import type { PasteImageInvocation } from './PasteImageInvocation';
|
||||
import type { RandomIntInvocation } from './RandomIntInvocation';
|
||||
import type { RandomRangeInvocation } from './RandomRangeInvocation';
|
||||
import type { RangeInvocation } from './RangeInvocation';
|
||||
@ -49,7 +52,7 @@ export type 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
|
||||
*/
|
||||
|
@ -3,10 +3,10 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Graph } from './Graph';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* A node to process inputs and produce outputs.
|
||||
* May use dependency injection in __init__ to receive providers.
|
||||
* Execute a graph
|
||||
*/
|
||||
export type GraphInvocation = {
|
||||
/**
|
||||
@ -14,6 +14,10 @@ export type GraphInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'graph';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The graph to run
|
||||
*/
|
||||
|
@ -3,16 +3,21 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Blurs an image
|
||||
*/
|
||||
export type BlurInvocation = {
|
||||
export type ImageBlurInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
type?: 'blur';
|
||||
type?: 'img_blur';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to blur
|
||||
*/
|
@ -5,4 +5,4 @@
|
||||
/**
|
||||
* 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';
|
||||
|
@ -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';
|
||||
};
|
||||
|
@ -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';
|
||||
};
|
||||
|
@ -3,16 +3,21 @@
|
||||
/* eslint-disable */
|
||||
|
||||
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.
|
||||
*/
|
||||
export type CropImageInvocation = {
|
||||
export type ImageCropInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
type?: 'crop';
|
||||
type?: 'img_crop';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to crop
|
||||
*/
|
@ -50,6 +50,10 @@ export type ImageDTO = {
|
||||
* The deleted timestamp of the image.
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
|
@ -3,16 +3,21 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
id: string;
|
||||
type?: 'ilerp';
|
||||
type?: 'img_ilerp';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to lerp
|
||||
*/
|
@ -3,16 +3,21 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
id: string;
|
||||
type?: 'lerp';
|
||||
type?: 'img_lerp';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to lerp
|
||||
*/
|
@ -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;
|
||||
};
|
||||
|
@ -3,16 +3,21 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Pastes an image into another image.
|
||||
*/
|
||||
export type PasteImageInvocation = {
|
||||
export type ImagePasteInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
type?: 'paste';
|
||||
type?: 'img_paste';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The base image
|
||||
*/
|
@ -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;
|
||||
};
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Generates an image using img2img.
|
||||
@ -13,6 +14,10 @@ export type ImageToImageInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'img2img';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The prompt to generate an image from
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Encodes an image into latents.
|
||||
@ -13,6 +14,10 @@ export type ImageToLatentsInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'i2l';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to encode
|
||||
*/
|
||||
|
@ -5,4 +5,4 @@
|
||||
/**
|
||||
* The type of an image.
|
||||
*/
|
||||
export type ImageType = 'results' | 'uploads' | 'intermediates';
|
||||
export type ImageType = 'results' | 'uploads';
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
import type { ColorField } from './ColorField';
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Infills transparent areas of an image with a solid color
|
||||
@ -14,6 +15,10 @@ export type InfillColorInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'infill_rgba';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to infill
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Infills transparent areas of an image using the PatchMatch algorithm
|
||||
@ -13,6 +14,10 @@ export type InfillPatchMatchInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'infill_patchmatch';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to infill
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Infills transparent areas of an image with tiles of the image
|
||||
@ -13,6 +14,10 @@ export type InfillTileInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'infill_tile';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to infill
|
||||
*/
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
import type { ColorField } from './ColorField';
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Generates an image using inpaint.
|
||||
@ -14,6 +15,10 @@ export type InpaintInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'inpaint';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The prompt to generate an image from
|
||||
*/
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -2,9 +2,10 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* A node to process inputs and produce outputs.
|
||||
* May use dependency injection in __init__ to receive providers.
|
||||
* Iterates over a list of items
|
||||
*/
|
||||
export type IterateInvocation = {
|
||||
/**
|
||||
@ -12,6 +13,10 @@ export type IterateInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'iterate';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The list of items to iterate over
|
||||
*/
|
||||
|
@ -2,6 +2,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
import type { LatentsField } from './LatentsField';
|
||||
|
||||
/**
|
||||
@ -13,6 +14,10 @@ export type LatentsToImageInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'l2i';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The latents to generate an image from
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ConditioningField } from './ConditioningField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
import type { LatentsField } from './LatentsField';
|
||||
|
||||
/**
|
||||
@ -14,6 +15,10 @@ export type LatentsToLatentsInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'l2l';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* Positive conditioning for generation
|
||||
*/
|
||||
@ -42,14 +47,6 @@ export type LatentsToLatentsInvocation = {
|
||||
* The model to use (currently ignored)
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
@ -2,7 +2,8 @@
|
||||
/* tslint: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.
|
||||
@ -14,12 +15,12 @@ export type LoadImageInvocation = {
|
||||
id: string;
|
||||
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;
|
||||
};
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Extracts the alpha channel of an image as a mask.
|
||||
@ -13,6 +14,10 @@ export type MaskFromAlphaInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'tomask';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to create the mask from
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Multiplies two numbers
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type MultiplyInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'mul';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The first number
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Generates latent noise.
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type NoiseInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'noise';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The seed to use
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* An integer parameter
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type ParamIntInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'param_int';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The integer value
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Outputs a single random integer.
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type RandomIntInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'rand_int';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The inclusive low value
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Creates a collection of random numbers
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type RandomRangeInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'random_range';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The inclusive low value
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Creates a range of numbers from start to stop with step
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type RangeInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'range';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The start of the range
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Creates a range from start to start + size with step
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type RangeOfSizeInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'range_of_size';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The start of the range
|
||||
*/
|
||||
|
@ -2,6 +2,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
import type { LatentsField } from './LatentsField';
|
||||
|
||||
/**
|
||||
@ -13,6 +14,10 @@ export type ResizeLatentsInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'lresize';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The latents to resize
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Restores faces in an image.
|
||||
@ -13,6 +14,10 @@ export type RestoreFaceInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'restore_face';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The input image
|
||||
*/
|
||||
|
@ -2,6 +2,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
import type { LatentsField } from './LatentsField';
|
||||
|
||||
/**
|
||||
@ -13,6 +14,10 @@ export type ScaleLatentsInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'lscale';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The latents to scale
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Displays a provided image, and passes it forward in the pipeline.
|
||||
@ -13,6 +14,10 @@ export type ShowImageInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'show_image';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The image to show
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Subtracts two numbers
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type SubtractInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'sub';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The first number
|
||||
*/
|
||||
|
@ -2,6 +2,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Generates an image using text2img.
|
||||
*/
|
||||
@ -11,6 +13,10 @@ export type TextToImageInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'txt2img';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The prompt to generate an image from
|
||||
*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ConditioningField } from './ConditioningField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
import type { LatentsField } from './LatentsField';
|
||||
|
||||
/**
|
||||
@ -14,6 +15,10 @@ export type TextToLatentsInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 't2l';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* Positive conditioning for generation
|
||||
*/
|
||||
@ -42,13 +47,5 @@ export type TextToLatentsInvocation = {
|
||||
* The model to use (currently ignored)
|
||||
*/
|
||||
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;
|
||||
};
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ImageField } from './ImageField';
|
||||
import type { InvocationMeta } from './InvocationMeta';
|
||||
|
||||
/**
|
||||
* Upscales an image.
|
||||
@ -13,6 +14,10 @@ export type UpscaleInvocation = {
|
||||
*/
|
||||
id: string;
|
||||
type?: 'upscale';
|
||||
/**
|
||||
* The meta properties of this node.
|
||||
*/
|
||||
meta?: InvocationMeta;
|
||||
/**
|
||||
* The input image
|
||||
*/
|
||||
|
@ -4,6 +4,7 @@
|
||||
import type { Body_upload_image } from '../models/Body_upload_image';
|
||||
import type { ImageCategory } from '../models/ImageCategory';
|
||||
import type { ImageDTO } from '../models/ImageDTO';
|
||||
import type { ImageRecordChanges } from '../models/ImageRecordChanges';
|
||||
import type { ImageType } from '../models/ImageType';
|
||||
import type { ImageUrlsDTO } from '../models/ImageUrlsDTO';
|
||||
import type { PaginatedResults_ImageDTO_ } from '../models/PaginatedResults_ImageDTO_';
|
||||
@ -65,20 +66,32 @@ export class ImagesService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
public static uploadImage({
|
||||
imageType,
|
||||
formData,
|
||||
imageCategory,
|
||||
isIntermediate = false,
|
||||
sessionId,
|
||||
}: {
|
||||
imageType: ImageType,
|
||||
formData: Body_upload_image,
|
||||
/**
|
||||
* The category of the image
|
||||
*/
|
||||
imageCategory?: ImageCategory,
|
||||
/**
|
||||
* Whether this is an intermediate image
|
||||
*/
|
||||
isIntermediate?: boolean,
|
||||
/**
|
||||
* The session ID associated with this upload, if any
|
||||
*/
|
||||
sessionId?: string,
|
||||
}): CancelablePromise<ImageDTO> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
url: '/api/v1/images/',
|
||||
query: {
|
||||
'image_type': imageType,
|
||||
'image_category': imageCategory,
|
||||
'is_intermediate': isIntermediate,
|
||||
'session_id': sessionId,
|
||||
},
|
||||
formData: formData,
|
||||
mediaType: 'multipart/form-data',
|
||||
@ -132,6 +145,9 @@ export class ImagesService {
|
||||
imageType,
|
||||
imageName,
|
||||
}: {
|
||||
/**
|
||||
* The type of image to delete
|
||||
*/
|
||||
imageType: ImageType,
|
||||
/**
|
||||
* 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
|
||||
* Gets an image's metadata
|
||||
|
@ -2,34 +2,37 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { AddInvocation } from '../models/AddInvocation';
|
||||
import type { BlurInvocation } from '../models/BlurInvocation';
|
||||
import type { CollectInvocation } from '../models/CollectInvocation';
|
||||
import type { CompelInvocation } from '../models/CompelInvocation';
|
||||
import type { CropImageInvocation } from '../models/CropImageInvocation';
|
||||
import type { CvInpaintInvocation } from '../models/CvInpaintInvocation';
|
||||
import type { DivideInvocation } from '../models/DivideInvocation';
|
||||
import type { Edge } from '../models/Edge';
|
||||
import type { Graph } from '../models/Graph';
|
||||
import type { GraphExecutionState } from '../models/GraphExecutionState';
|
||||
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 { ImageToLatentsInvocation } from '../models/ImageToLatentsInvocation';
|
||||
import type { InfillColorInvocation } from '../models/InfillColorInvocation';
|
||||
import type { InfillPatchMatchInvocation } from '../models/InfillPatchMatchInvocation';
|
||||
import type { InfillTileInvocation } from '../models/InfillTileInvocation';
|
||||
import type { InpaintInvocation } from '../models/InpaintInvocation';
|
||||
import type { InverseLerpInvocation } from '../models/InverseLerpInvocation';
|
||||
import type { IterateInvocation } from '../models/IterateInvocation';
|
||||
import type { LatentsToImageInvocation } from '../models/LatentsToImageInvocation';
|
||||
import type { LatentsToLatentsInvocation } from '../models/LatentsToLatentsInvocation';
|
||||
import type { LerpInvocation } from '../models/LerpInvocation';
|
||||
import type { LoadImageInvocation } from '../models/LoadImageInvocation';
|
||||
import type { MaskFromAlphaInvocation } from '../models/MaskFromAlphaInvocation';
|
||||
import type { MultiplyInvocation } from '../models/MultiplyInvocation';
|
||||
import type { NoiseInvocation } from '../models/NoiseInvocation';
|
||||
import type { PaginatedResults_GraphExecutionState_ } from '../models/PaginatedResults_GraphExecutionState_';
|
||||
import type { ParamIntInvocation } from '../models/ParamIntInvocation';
|
||||
import type { PasteImageInvocation } from '../models/PasteImageInvocation';
|
||||
import type { RandomIntInvocation } from '../models/RandomIntInvocation';
|
||||
import type { RandomRangeInvocation } from '../models/RandomRangeInvocation';
|
||||
import type { RangeInvocation } from '../models/RangeInvocation';
|
||||
@ -151,7 +154,7 @@ export class SessionsService {
|
||||
* The id of the session
|
||||
*/
|
||||
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> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
@ -188,7 +191,7 @@ export class SessionsService {
|
||||
* The path to the node in the graph
|
||||
*/
|
||||
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> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'PUT',
|
||||
|
Loading…
Reference in New Issue
Block a user