chore(ui): regen api client

This commit is contained in:
psychedelicious 2023-05-22 16:11:06 +10:00 committed by Kent Keirsey
parent 5de3c41d19
commit 3f94f81acd

View File

@ -7,11 +7,16 @@
* *
* Also includes any metadata from the image's PNG tEXt chunks. * Also includes any metadata from the image's PNG tEXt chunks.
* *
* Generated by traversing the execution graph, collecting the parameters of the nearest ancestors of a given node. * Generated by traversing the execution graph, collecting the parameters of the nearest ancestors
* of a given node.
* *
* Full metadata may be accessed by querying for the session in the `graph_executions` table. * Full metadata may be accessed by querying for the session in the `graph_executions` table.
*/ */
export type ImageMetadata = { export type ImageMetadata = {
/**
* The type of the ancestor node of the image output node.
*/
type?: string;
/** /**
* The positive conditioning. * The positive conditioning.
*/ */
@ -21,11 +26,11 @@ export type ImageMetadata = {
*/ */
negative_conditioning?: string; negative_conditioning?: string;
/** /**
* Width of the image/tensor in pixels. * Width of the image/latents in pixels.
*/ */
width?: number; width?: number;
/** /**
* Height of the image/tensor in pixels. * Height of the image/latents in pixels.
*/ */
height?: number; height?: number;
/** /**
@ -49,19 +54,27 @@ export type ImageMetadata = {
*/ */
model?: string; model?: string;
/** /**
* The strength used for image-to-image/tensor-to-tensor. * The strength used for image-to-image/latents-to-latents.
*/ */
strength?: number; strength?: number;
/** /**
* The ID of the initial image. * The ID of the initial latents.
*/ */
image?: string; latents?: string;
/** /**
* The ID of the initial tensor. * The VAE used for decoding.
*/ */
tensor?: string; vae?: string;
/** /**
* Extra metadata, extracted from the PNG tEXt chunk. * The UNet used dor inference.
*/
unet?: string;
/**
* The CLIP Encoder used for conditioning.
*/
clip?: string;
/**
* Uploaded image metadata, extracted from the PNG tEXt chunk.
*/ */
extra?: string; extra?: string;
}; };