chore(ui): regen api client

This commit is contained in:
psychedelicious 2023-05-26 11:39:29 +10:00 committed by Kent Keirsey
parent 33e13820fc
commit 0c3b4bb70d
42 changed files with 120 additions and 186 deletions

View File

@ -50,7 +50,6 @@ 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 { InvocationMeta } from './models/InvocationMeta';
export type { IterateInvocation } from './models/IterateInvocation';
export type { IterateInvocationOutput } from './models/IterateInvocationOutput';
export type { LatentsField } from './models/LatentsField';

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Adds two numbers
*/
@ -12,11 +10,11 @@ export type AddInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'add';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'add';
/**
* The first number
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Collects values into a collection
*/
@ -12,11 +10,11 @@ export type CollectInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'collect';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'collect';
/**
* The item to collect (all inputs must be of the same type)
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Parse prompt using compel package to conditioning.
*/
@ -12,11 +10,11 @@ export type CompelInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'compel';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'compel';
/**
* Prompt
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Simple inpaint using opencv.
@ -13,11 +12,11 @@ export type CvInpaintInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'cv_inpaint';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'cv_inpaint';
/**
* The image to inpaint
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Divides two numbers
*/
@ -12,11 +10,11 @@ export type DivideInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'div';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'div';
/**
* The first number
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { Graph } from './Graph';
import type { InvocationMeta } from './InvocationMeta';
/**
* Execute a graph
@ -13,11 +12,11 @@ export type GraphInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'graph';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'graph';
/**
* The graph to run
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Blurs an image
@ -13,11 +12,11 @@ export type ImageBlurInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_blur';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_blur';
/**
* The image to blur
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Gets a channel from an image.
@ -13,11 +12,11 @@ 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.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_chan';
/**
* The image to get the channel from
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Converts an image to a different mode.
@ -13,11 +12,11 @@ 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.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_conv';
/**
* The image to convert
*/

View File

@ -3,7 +3,6 @@
/* 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.
@ -13,11 +12,11 @@ export type ImageCropInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_crop';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_crop';
/**
* The image to crop
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Inverse linear interpolation of all pixels of an image
@ -13,11 +12,11 @@ export type ImageInverseLerpInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_ilerp';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_ilerp';
/**
* The image to lerp
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Linear interpolation of all pixels of an image
@ -13,11 +12,11 @@ export type ImageLerpInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_lerp';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_lerp';
/**
* The image to lerp
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Multiplies two images together using `PIL.ImageChops.multiply()`.
@ -13,11 +12,11 @@ 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.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_mul';
/**
* The first image to multiply
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Pastes an image into another image.
@ -13,11 +12,11 @@ export type ImagePasteInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img_paste';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img_paste';
/**
* The base image
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Generates an image using img2img.
@ -13,11 +12,11 @@ export type ImageToImageInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'img2img';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'img2img';
/**
* The prompt to generate an image from
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Encodes an image into latents.
@ -13,11 +12,11 @@ export type ImageToLatentsInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'i2l';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'i2l';
/**
* The image to encode
*/

View File

@ -4,7 +4,6 @@
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,11 +13,11 @@ export type InfillColorInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'infill_rgba';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'infill_rgba';
/**
* The image to infill
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Infills transparent areas of an image using the PatchMatch algorithm
@ -13,11 +12,11 @@ export type InfillPatchMatchInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'infill_patchmatch';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'infill_patchmatch';
/**
* The image to infill
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Infills transparent areas of an image with tiles of the image
@ -13,11 +12,11 @@ export type InfillTileInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'infill_tile';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'infill_tile';
/**
* The image to infill
*/

View File

@ -4,7 +4,6 @@
import type { ColorField } from './ColorField';
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Generates an image using inpaint.
@ -14,11 +13,11 @@ export type InpaintInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'inpaint';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'inpaint';
/**
* The prompt to generate an image from
*/

View File

@ -1,11 +0,0 @@
/* 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,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Iterates over a list of items
*/
@ -12,11 +10,11 @@ export type IterateInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'iterate';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'iterate';
/**
* The list of items to iterate over
*/

View File

@ -2,7 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField';
/**
@ -13,11 +12,11 @@ export type LatentsToImageInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'l2i';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'l2i';
/**
* The latents to generate an image from
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ConditioningField } from './ConditioningField';
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField';
/**
@ -14,11 +13,11 @@ export type LatentsToLatentsInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'l2l';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'l2l';
/**
* Positive conditioning for generation
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Load an image and provide it as output.
@ -13,11 +12,11 @@ export type LoadImageInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'load_image';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'load_image';
/**
* The image to load
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Extracts the alpha channel of an image as a mask.
@ -13,11 +12,11 @@ export type MaskFromAlphaInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'tomask';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'tomask';
/**
* The image to create the mask from
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Multiplies two numbers
*/
@ -12,11 +10,11 @@ export type MultiplyInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'mul';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'mul';
/**
* The first number
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Generates latent noise.
*/
@ -12,11 +10,11 @@ export type NoiseInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'noise';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'noise';
/**
* The seed to use
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* An integer parameter
*/
@ -12,11 +10,11 @@ export type ParamIntInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'param_int';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'param_int';
/**
* The integer value
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Outputs a single random integer.
*/
@ -12,11 +10,11 @@ export type RandomIntInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'rand_int';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'rand_int';
/**
* The inclusive low value
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Creates a collection of random numbers
*/
@ -12,11 +10,11 @@ export type RandomRangeInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'random_range';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'random_range';
/**
* The inclusive low value
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Creates a range of numbers from start to stop with step
*/
@ -12,11 +10,11 @@ export type RangeInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'range';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'range';
/**
* The start of the range
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Creates a range from start to start + size with step
*/
@ -12,11 +10,11 @@ export type RangeOfSizeInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'range_of_size';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'range_of_size';
/**
* The start of the range
*/

View File

@ -2,7 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField';
/**
@ -13,11 +12,11 @@ export type ResizeLatentsInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'lresize';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'lresize';
/**
* The latents to resize
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Restores faces in an image.
@ -13,11 +12,11 @@ export type RestoreFaceInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'restore_face';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'restore_face';
/**
* The input image
*/

View File

@ -2,7 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField';
/**
@ -13,11 +12,11 @@ export type ScaleLatentsInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'lscale';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'lscale';
/**
* The latents to scale
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Displays a provided image, and passes it forward in the pipeline.
@ -13,11 +12,11 @@ export type ShowImageInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'show_image';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'show_image';
/**
* The image to show
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Subtracts two numbers
*/
@ -12,11 +10,11 @@ export type SubtractInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'sub';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'sub';
/**
* The first number
*/

View File

@ -2,8 +2,6 @@
/* tslint:disable */
/* eslint-disable */
import type { InvocationMeta } from './InvocationMeta';
/**
* Generates an image using text2img.
*/
@ -12,11 +10,11 @@ export type TextToImageInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'txt2img';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'txt2img';
/**
* The prompt to generate an image from
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ConditioningField } from './ConditioningField';
import type { InvocationMeta } from './InvocationMeta';
import type { LatentsField } from './LatentsField';
/**
@ -14,11 +13,11 @@ export type TextToLatentsInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 't2l';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 't2l';
/**
* Positive conditioning for generation
*/

View File

@ -3,7 +3,6 @@
/* eslint-disable */
import type { ImageField } from './ImageField';
import type { InvocationMeta } from './InvocationMeta';
/**
* Upscales an image.
@ -13,11 +12,11 @@ export type UpscaleInvocation = {
* The id of this node. Must be unique among all nodes.
*/
id: string;
type?: 'upscale';
/**
* The meta properties of this node.
* Whether or not this node is an intermediate node.
*/
meta?: InvocationMeta;
is_intermediate?: boolean;
type?: 'upscale';
/**
* The input image
*/