{"id":19815924,"url":"https://github.com/replicate/comfyui-replicate","last_synced_at":"2025-04-04T19:08:46.245Z","repository":{"id":245725419,"uuid":"819062106","full_name":"replicate/comfyui-replicate","owner":"replicate","description":"Run Replicate models as nodes in ComfyUI","archived":false,"fork":false,"pushed_at":"2024-11-05T15:26:20.000Z","size":212,"stargazers_count":177,"open_issues_count":6,"forks_count":24,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T18:09:25.238Z","etag":null,"topics":["ai","comfy-ui","comfyui","comfyui-nodes","replicate"],"latest_commit_sha":null,"homepage":"https://replicate.com/explore","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/replicate.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":"supported_models.json","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-23T17:05:51.000Z","updated_at":"2025-03-22T23:39:33.000Z","dependencies_parsed_at":"2024-11-05T15:39:45.105Z","dependency_job_id":null,"html_url":"https://github.com/replicate/comfyui-replicate","commit_stats":{"total_commits":64,"total_committers":2,"mean_commits":32.0,"dds":0.015625,"last_synced_commit":"5066bc3b9a6b626babb8b608045edbf9d5abd99d"},"previous_names":["fofr/comfyui-replicate","replicate/comfyui-replicate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcomfyui-replicate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcomfyui-replicate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcomfyui-replicate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/replicate%2Fcomfyui-replicate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/replicate","download_url":"https://codeload.github.com/replicate/comfyui-replicate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234921,"owners_count":20905854,"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":["ai","comfy-ui","comfyui","comfyui-nodes","replicate"],"created_at":"2024-11-12T10:07:43.630Z","updated_at":"2025-04-04T19:08:46.225Z","avatar_url":"https://github.com/replicate.png","language":"Python","readme":"# comfyui-replicate\n\nCustom nodes for running [Replicate models](https://replicate.com/explore) in ComfyUI.\n\nTake a look at the [example workflows](https://github.com/replicate/comfyui-replicate/tree/main/example_workflows) and the [supported Replicate models](https://github.com/replicate/comfyui-replicate/blob/main/supported_models.json) to get started.\n\n![example-screenshot](https://github.com/replicate/comfyui-replicate/assets/319055/0eedb026-de3e-402a-b8fc-0a14c2fd209e)\n\n## Set your Replicate API token before running\n\nMake sure you set your REPLICATE_API_TOKEN in your environment. Get your API tokens here, we recommend creating a new one:\n\nhttps://replicate.com/account/api-tokens\n\nTo pass in your API token when running ComfyUI you could do:\n\nOn MacOS or Linux:\n\n```sh\nexport REPLICATE_API_TOKEN=\"r8_************\"; python main.py\n```\n\nOn Windows:\n\n```sh\nset REPLICATE_API_TOKEN=\"r8_************\"; python main.py\n```\n\n## Direct installation\n\n```sh\ncd ComfyUI/custom-nodes\ngit clone https://github.com/replicate/comfyui-replicate\ncd comfyui-replicate\npip install -r requirements.txt\n```\n\n## Supported Replicate models\n\nView the `supported_models.json` to see which models are packaged by default.\n\n## Update Replicate models\n\nSimply run `./import_schemas.py` to update all model nodes. The latest version of a model is used by default.\n\n## Add more models\n\nOnly models that return simple text or image outputs are currently supported. If a model returns audio, video, JSON objects or a combination of outputs, the node will not work as expected.\n\nIf you want to add more models, you can:\n\n- add the model to `supported_models.json` (for example, `fofr/consistent-character`)\n- run `./import_schemas.py`, this will update all schemas and import your new model\n- restart ComfyUI\n- use the model in workflow, it’ll have the title ‘Replicate [model author/model name]’\n\n## Roadmap\n\nThings to investigate and add to this custom node package:\n\n- support for more types of Replicate model (audio and video first)\n- showing logs, prediction status and progress (via tqdm)\n\n## Contributing\n\nIf you add models that others would find useful, feel free to raise PRs.\n","funding_links":[],"categories":["Workflows (3395) sorted by GitHub Stars","All Workflows Sorted by GitHub Stars"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fcomfyui-replicate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freplicate%2Fcomfyui-replicate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freplicate%2Fcomfyui-replicate/lists"}