INNER CODE UNIT · Python

FalIPAdapterConfig

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

class FalIPAdapterConfig:
    """Append one IP-Adapter entry to a JSON array."""

    RETURN_TYPES = ("STRING",)
    RETURN_NAMES = ("json",)
    FUNCTION = "build"
    CATEGORY = _CATEGORY
    DESCRIPTION = (
        "Build an `ip_adapters` JSON array entry ({path, image_encoder_path, "
        "image_url, scale}) for fal-ai/flux-general and its variants. Connect "
        "an IMAGE (auto-uploaded) or paste a reference image URL. For the older "
        "fal-ai/lora `ip_adapter` field (different keys) use FalKeyValue."
    )

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

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…