INNER CODE UNIT · Python

FalEmbeddingConfig

gokayfem/ComfyUI-fal-API · nodes/builder_node.py:165

class FalEmbeddingConfig:
    """Append one Embedding ({path, tokens}) entry to a JSON array."""

    RETURN_TYPES = ("STRING",)
    RETURN_NAMES = ("json",)
    FUNCTION = "build"
    CATEGORY = _CATEGORY
    DESCRIPTION = (
        "Build an `embeddings` JSON array entry ({path, tokens}) for SD/SDXL "
        "endpoints such as fal-ai/fast-lightning-sdxl, fal-ai/dreamshaper and "
        "fal-ai/fast-fooocus-sdxl. Chain several to load multiple embeddings."
    )

    @classmethod
    def INPUT_TYPES(cls) -> dict[str, Any]:
        return {
            "required": {
                "path": (

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…