mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 00:04:59 -05:00
33 lines
642 B
TypeScript
33 lines
642 B
TypeScript
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
|
|
import type { ImageField } from './ImageField';
|
|
|
|
/**
|
|
* Applies Midas depth processing to image
|
|
*/
|
|
export type MidasDepthImageProcessorInvocation = {
|
|
/**
|
|
* The id of this node. Must be unique among all nodes.
|
|
*/
|
|
id: string;
|
|
/**
|
|
* Whether or not this node is an intermediate node.
|
|
*/
|
|
is_intermediate?: boolean;
|
|
type?: 'midas_depth_image_processor';
|
|
/**
|
|
* The image to process
|
|
*/
|
|
image?: ImageField;
|
|
/**
|
|
* Midas parameter `a_mult` (a = a_mult * PI)
|
|
*/
|
|
a_mult?: number;
|
|
/**
|
|
* Midas parameter `bg_th`
|
|
*/
|
|
bg_th?: number;
|
|
};
|