Type alias WorkflowOutput<D>
WorkflowOutput<D>: { data?: D; images: ({ data: ArrayBuffer; mime: string; type: "buff"; } | { data: string; type: "url"; })[]; prompt_id: string; } Type declaration
Optional
data?: D
images: ({
data: ArrayBuffer;
mime: string;
type: "buff";
} | {
data: string;
type: "url";
})[]
prompt_id: string
Allows for a custom resolver to be provided.
The custom resolver can parse non-image data into the
data
property, supporting generics.Related: https://github.com/StableCanvas/comfyui-client/issues/10