{"id":18694305,"url":"https://github.com/9elements/comfyui-api","last_synced_at":"2025-04-12T07:01:34.352Z","repository":{"id":221313552,"uuid":"748694431","full_name":"9elements/comfyui-api","owner":"9elements","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-07T07:24:50.000Z","size":622,"stargazers_count":120,"open_issues_count":4,"forks_count":29,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T00:37:19.690Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9elements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-01-26T15:04:45.000Z","updated_at":"2025-03-30T08:12:18.000Z","dependencies_parsed_at":"2024-02-07T10:25:50.064Z","dependency_job_id":"30e0135f-dab6-47fe-8845-0fa7f9a9e5f3","html_url":"https://github.com/9elements/comfyui-api","commit_stats":null,"previous_names":["9elements/comfyui-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fcomfyui-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fcomfyui-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fcomfyui-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fcomfyui-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9elements","download_url":"https://codeload.github.com/9elements/comfyui-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530569,"owners_count":21119597,"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":"2024-11-07T11:09:34.899Z","updated_at":"2025-04-12T07:01:34.309Z","avatar_url":"https://github.com/9elements.png","language":"Python","readme":"# comfyui-api\n\nInstall missing packages via `requirements.txt`\n\n`pip install -r requirements.txt`\n\n## Using the API\n\nYou need to a comfyUI server running and be able to access the \"/ws\" path for this server. If you have the server running localy it usually runs under \"127.0.0.1:8188\".\nIf this is not the case for you, change the `server_address` in the `basic_api.py`.\n\nIn the workflow folder are two basic Workflows:\n- base_workflow.json\n- baisc_image_to_image\n\nFor simple prompt to image generation load the `base_workflow.json` and call `prompt_to_image` method with your desired parameters.\nFor image to image generation load the `basic_image_to_image.json` and put your input image in the input folder. Call `prompt_image_to_image` with your desired parameters.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fcomfyui-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9elements%2Fcomfyui-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fcomfyui-api/lists"}