{"id":26845560,"url":"https://github.com/p1atdev/danbot-comfy-node","last_synced_at":"2025-09-15T07:29:30.277Z","repository":{"id":284108287,"uuid":"935390290","full_name":"p1atdev/danbot-comfy-node","owner":"p1atdev","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-29T16:06:34.000Z","size":3751,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T20:26:28.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/p1atdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-19T11:17:56.000Z","updated_at":"2025-04-28T04:43:34.000Z","dependencies_parsed_at":"2025-03-24T08:23:42.960Z","dependency_job_id":"da45b408-e89b-4208-b81e-2e6dee941f78","html_url":"https://github.com/p1atdev/danbot-comfy-node","commit_stats":null,"previous_names":["p1atdev/danbot-comfy-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fdanbot-comfy-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fdanbot-comfy-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fdanbot-comfy-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p1atdev%2Fdanbot-comfy-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p1atdev","download_url":"https://codeload.github.com/p1atdev/danbot-comfy-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251777221,"owners_count":21642125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-30T19:36:34.135Z","updated_at":"2025-04-30T20:26:30.341Z","avatar_url":"https://github.com/p1atdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# danbot-comfy-node \n\nDanbooru Tags Translator for ComfyUI. \nThis custom node allows you to convert natural language prompts in Japanese and English into Danbooru tags.\n\n## Installation\n\n### Manual Installation\n\n```bash\n# activate your python env\ncd custom_nodes\ngit clone https://github.com/p1atdev/danbot-comfy-node\ncd danbot-comfy-node\npip install -r requirements.txt\n```\n\nIf you are using portable ComfyUI, use `your/ComfyUI_windows_portable/python_embeded/python.exe -s -m pip` intead of `pip`. For example:\n\n```bash\ncd custom_nodes\ngit clone https://github.com/p1atdev/danbot-comfy-node\ncd danbot-comfy-node\n../../../python_embeded/python.exe -s -m pip install -r requirements.txt\n```\n\n### ComfyUI Registry\n\n```\ncomfy node registry-install danbot-comfy-node\n```\n\n## Example Workflows\n\nSee [workflows directory](./workflows).\n\n| Filename | Description |\n| - | - |\n| [Translation+Extension.json](./workflows/Translation+Extension.json) | Example workflow of translating and extending Danbooru tags from a Japanese prompt.   |\n| [Translation+Extension+Image_Generation.json](./workflows/Translation+Extension+Image_Generation.json) | Example workflow of translating and extending Danbooru tags from a Japanese prompt, and then generating an image using AnimagineXL 4.0. |\n\n## Example Outputs\n\n| Input prompt | Translated tags | Extended tags | Generated image |\n| - | - | - | - |\n| `猫耳で黒髪ロング、制服を着ており、目は黄色の少女。背景はハーフトーンのついた青で、白枠が付いている。ソファーに座って足を組みながらこっちを見ている。` | `1girl, solo, blue background, halftone background, looking at viewer, animal ears, school uniform, yellow eyes, black hair, long hair, sitting, crossed legs, cat ears, border, halftone, white border, couch` | `shirt, skirt, closed mouth, very long hair, short sleeves, white shirt, full body, black skirt, pleated skirt, black footwear, collared shirt, socks, black socks, outside border` | \u003cimg src=\"./assets/outputs/sample_01.jpg\" width=\"600px\" /\u003e |\n| `ピクセルアート。猫耳の女の子がダンボール箱に入っている。chibi。青と白の二色の髪色。パーカーを着ている。` | `1girl, multicolored hair, blue hair, white hair, two-tone hair, chibi, cat girl, hoodie, hood, box, pixel art, in container, in box` | `solo, long sleeves, animal ears, very long hair, sleeves past wrists, sleeves past fingers, blue eyes, long hair, full body, cat ears, chibi only, tail, cat tail, cardboard box` | \u003cimg src=\"./assets/outputs/sample_02.jpg\" width=\"600px\" /\u003e |\n| `VOICEVOXのずんだもんと東北きりたんが東京の街中で立っている。写真の背景。全身が写ってる。笑顔。` | `voiceroid, voicevox, touhoku kiritan, zundamon, 2girls, multiple girls, photo background, smile, standing, full body, road, street` | `photo background, photo-referenced, open mouth, shirt, long sleeves, closed mouth, orange eyes, brown hair, green hair, ahoge, short sleeves, medium hair, white shirt, hands on own hips, looking at another, black footwear, half-closed eyes, closed eyes, t-shirt, layered sleeves, short over long sleeves, japanese clothes, kimono, sash, socks, white socks, green shorts, shorts, white kimono, headgear, obi, lamppost, green overalls` | \u003cimg src=\"./assets/outputs/sample_03.jpg\" width=\"600px\" /\u003e |\n\n\u003cdetails\u003e\n\u003csummary\u003eGeneration settings\u003c/summary\u003e\n\n- Prompt generation\n  - Translation\n    - rating: `general`\n    - length: `very_short`\n    - template_name: `translation`\n  - Extension\n    - rating: `general`\n    - length: `long`\n    - template_name: `extension`\n  - Generation config\n    - max_new_tokens: `256`\n    - do_sample: `true`\n    - temperature: `1.00`\n    - top_p: `1.0`\n    - top_k: `50`\n    - min_p: `0.05`\n    - num_beams: `1`\n  - Seed: 347414205\n- Image generation\n  - Image model: [AnimagineXL 4.0 opt](https://huggingface.co/cagliostrolab/animagine-xl-4.0/blob/main/animagine-xl-4.0-opt.safetensors)\n  - Prompt suffix (quality tags): `masterpiece, best quality, high score, great score, latest`\n  - Negative prompt: `lowres, bad anatomy, bad hands, text, error, missing finger, extra digits, fewer digits, cropped, worst quality, low quality, low score, bad score, average score, signature, watermark, username, blurry, `\n  - Image size: 1024x1024\n  - Seed: `944162813372176`\n  - Steps: `25`\n  - CFG: `5.0`\n  - Sampler name: `euler_ancestral`\n  - Scheduler: `normal`\n  - Denoise: `1.00`\n\n\u003c/details\u003e\n\n## Available models\n\n| Model name | Knowledge cutoff | Param size |\n| - | - | - |\n| [🤗 DanbotNL 2408 260M](https://huggingface.co/dartags/DanbotNL-2408-260M)| 2024/8/31 | 262M |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fdanbot-comfy-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp1atdev%2Fdanbot-comfy-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp1atdev%2Fdanbot-comfy-node/lists"}