feat: add ComfyUI integration for image generation and management
- Implemented ComfyGenerateRequest type and associated functions for generating images using various architectures and modes. - Added functions for listing generation options and handling image uploads. - Created workflows for different generation modes including SDXL, Z-Image, Z-Image Turbo, and Anima. - Introduced GenerationJobStatus component to display the status of ongoing generation jobs. - Developed MaskControls for managing mask operations and displaying mask analysis. - Created palette items for tool selection, layer management, and generation settings.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Rect, Size } from "./geometry";
|
||||
import type { AssetId, LayerId } from "./id";
|
||||
import type { AssetId, GenerationCandidateId, LayerId } from "./id";
|
||||
|
||||
export type GeneratedAssetMode = "text-to-image" | "image-to-image" | "inpaint" | "outpaint";
|
||||
|
||||
@@ -7,7 +7,7 @@ export type GeneratedAssetAcceptance = "layer" | "replacement";
|
||||
|
||||
export type AssetGenerationProvenance = {
|
||||
kind: "generated";
|
||||
candidateId: string;
|
||||
candidateId: GenerationCandidateId;
|
||||
mode: GeneratedAssetMode;
|
||||
acceptance: GeneratedAssetAcceptance;
|
||||
prompt: string;
|
||||
|
||||
Reference in New Issue
Block a user