clean up and docs

This commit is contained in:
Steve Tietze
2026-01-09 15:11:32 +07:00
parent 2f776a2bc0
commit 194e37b64d
6 changed files with 4 additions and 42 deletions
-16
View File
@@ -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).”.
+2
View File
@@ -3,3 +3,5 @@ __pycache__/
*.pyc
.DS_Store
_internal/
.codex/
*.pin.json
+1
View File
@@ -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.
-23
View File
@@ -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
}
}
-2
View File
@@ -1,2 +0,0 @@
requests>=2.31.0
Pillow>=10.0.0
+1 -1
View File
@@ -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",