clean up and docs
This commit is contained in:
@@ -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).”.
|
||||
|
||||
|
||||
@@ -3,3 +3,5 @@ __pycache__/
|
||||
*.pyc
|
||||
.DS_Store
|
||||
_internal/
|
||||
.codex/
|
||||
*.pin.json
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
requests>=2.31.0
|
||||
Pillow>=10.0.0
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user