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:
13
core/id.ts
13
core/id.ts
@@ -1,4 +1,9 @@
|
||||
export type DocumentId = string;
|
||||
export type ArtboardId = string;
|
||||
export type LayerId = string;
|
||||
export type AssetId = string;
|
||||
declare const idBrand: unique symbol;
|
||||
type OpaqueId<Brand extends string> = string & { readonly [idBrand]?: Brand };
|
||||
|
||||
export type DocumentId = OpaqueId<"DocumentId">;
|
||||
export type ArtboardId = OpaqueId<"ArtboardId">;
|
||||
export type LayerId = OpaqueId<"LayerId">;
|
||||
export type AssetId = OpaqueId<"AssetId">;
|
||||
export type GenerationCandidateId = OpaqueId<"GenerationCandidateId">;
|
||||
export type GenerationJobId = OpaqueId<"GenerationJobId">;
|
||||
|
||||
Reference in New Issue
Block a user