mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 14:25:40 -05:00
59 lines
3.6 KiB
TypeScript
59 lines
3.6 KiB
TypeScript
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* 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 { 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';
|
|
import type { RangeOfSizeInvocation } from './RangeOfSizeInvocation';
|
|
import type { ResizeLatentsInvocation } from './ResizeLatentsInvocation';
|
|
import type { RestoreFaceInvocation } from './RestoreFaceInvocation';
|
|
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
|
|
import type { ShowImageInvocation } from './ShowImageInvocation';
|
|
import type { SubtractInvocation } from './SubtractInvocation';
|
|
import type { TextToImageInvocation } from './TextToImageInvocation';
|
|
import type { TextToLatentsInvocation } from './TextToLatentsInvocation';
|
|
import type { UpscaleInvocation } from './UpscaleInvocation';
|
|
|
|
export type Graph = {
|
|
/**
|
|
* The id of this graph
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* 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)>;
|
|
/**
|
|
* The connections between nodes and their fields in this graph
|
|
*/
|
|
edges?: Array<Edge>;
|
|
};
|
|
|