diff --git a/.codex/instructions.md b/.codex/instructions.md deleted file mode 100644 index 9a567ae..0000000 --- a/.codex/instructions.md +++ /dev/null @@ -1,16 +0,0 @@ -# Codex Instructions (PIN): ComfyUI Custom Nodes -Follow these instructions exactly when writing code for this repo. - -**For ComfyUI node rules, use docs/COMFY_ORG_CANONICAL_REFERENCES.md. -“**Do not invent tensor shapes; follow the doc. - -- Always follow ComfyUI node conventions. -- IMAGE tensors are torch.Tensor [B,H,W,C] float [0..1]. -- Read API key from config/kie_key.txt (gitignored). -- Use docs/ as the source of truth -- All KIE endpoints must come from docs/KIE_API_NANOBANANA_SPEC.md. If missing, ask the user. -- No guessing endpoints: “All KIE endpoints must be present in docs/KIE_API_*.md. If missing, ask the user.” -- No guessing enums: “Aspect ratios / resolution / output_format must match pinned enums exactly.” -- No surprise inputs: “Only expose node inputs that exist in pinned spec (plus log, timeout, poll_interval).”. - - diff --git a/.gitignore b/.gitignore index 3e5877e..27cc43f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ __pycache__/ *.pyc .DS_Store _internal/ +.codex/ +*.pin.json diff --git a/README.md b/README.md index 7a3d15a..7974496 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,4 @@ ComfyUI custom nodes for the KIE API (image and video generation). ## Documentation - See `web/docs` for per-node details and parameter lists. +- Development-only notes and tooling configs are not shipped in this repo. diff --git a/docs/kie_nanobanana_pro.pin.json b/docs/kie_nanobanana_pro.pin.json deleted file mode 100644 index c345b6f..0000000 --- a/docs/kie_nanobanana_pro.pin.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "model": "nano-banana-pro", - "endpoints": { - "createTask": { - "method": "POST", - "url": "https://api.kie.ai/api/v1/jobs/createTask" - }, - "recordInfo": { - "method": "GET", - "url": "https://api.kie.ai/api/v1/jobs/recordInfo" - } - }, - "input_enums": { - "aspect_ratio": ["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9","21:9","auto"], - "resolution": ["1K","2K","4K"], - "output_format": ["png","jpg"] - }, - "constraints": { - "image_input_max": 8, - "prompt_max_len": 10000 - } -} - diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 66838c2..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -requests>=2.31.0 -Pillow>=10.0.0 diff --git a/nodes.py b/nodes.py index e5c4442..6705936 100644 --- a/nodes.py +++ b/nodes.py @@ -633,7 +633,7 @@ NODE_DISPLAY_NAME_MAPPINGS = { "KIE_Seedream45_Edit": "KIE Seedream 4.5 Edit", "KIE_SeedanceV1Pro_Fast_I2V": "KIE Seedance V1 Pro Fast (I2V)", "KIE_Seedance15Pro_I2V": "KIE Seedance 1.5 Pro (I2V/T2V)", - "KIE_Kling26_I2V": "KIE Kling 2.6 (I2V/T2V)", + "KIE_Kling26_I2V": "KIE Kling 2.6 (I2V)", "KIE_Kling26_T2V": "KIE Kling 2.6 (T2V)", "KIE_Kling26Motion_I2V": "KIE Kling 2.6 Motion-Control (I2V)", "KIE_GridSlice": "KIE Grid Slice",