Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
from enum import Enum
from pydantic import BaseModel, Field
class WorkflowCallCompatibilityReason(str, Enum):
Ok = "ok"
MissingWorkflowReturn = "missing_workflow_return"
MultipleWorkflowReturn = "multiple_workflow_return"
UnsupportedNode = "unsupported_node"
UnsupportedBatchInput = "unsupported_batch_input"
InvalidGraph = "invalid_graph"
InvalidInputs = "invalid_inputs"
ExceedsCapacity = "exceeds_capacity"
Unknown = "unknown"
class WorkflowCallCompatibility(BaseModel):
is_callable: bool = Field(description="Whether the workflow can currently be executed by call_saved_workflow.")
reason: WorkflowCallCompatibilityReason = Field(description="Structured compatibility result.")
message: str | None = Field(default=None, description="Human-readable compatibility detail when unavailable.")