{"id":24619754,"url":"https://github.com/nisimjoseph/ComfyUI_OpenAI-Prompter","last_synced_at":"2025-10-06T12:30:40.054Z","repository":{"id":273045731,"uuid":"918551890","full_name":"nisimjoseph/ComfyUI_OpenAI-Prompter","owner":"nisimjoseph","description":"ComfyUI OpenAI Prompter connect using API Key.","archived":false,"fork":false,"pushed_at":"2025-01-18T08:23:11.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T09:27:09.025Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nisimjoseph.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}},"created_at":"2025-01-18T08:17:09.000Z","updated_at":"2025-01-18T08:23:13.000Z","dependencies_parsed_at":"2025-01-20T00:45:41.347Z","dependency_job_id":null,"html_url":"https://github.com/nisimjoseph/ComfyUI_OpenAI-Prompter","commit_stats":null,"previous_names":["nisimjoseph/comfyui_openai-prompter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisimjoseph%2FComfyUI_OpenAI-Prompter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisimjoseph%2FComfyUI_OpenAI-Prompter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisimjoseph%2FComfyUI_OpenAI-Prompter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisimjoseph%2FComfyUI_OpenAI-Prompter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nisimjoseph","download_url":"https://codeload.github.com/nisimjoseph/ComfyUI_OpenAI-Prompter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235524152,"owners_count":19003817,"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-01-25T01:01:28.014Z","updated_at":"2025-10-06T12:30:39.719Z","avatar_url":"https://github.com/nisimjoseph.png","language":"Python","funding_links":[],"categories":["Workflows (3395) sorted by GitHub Stars","All Workflows Sorted by GitHub Stars"],"sub_categories":[],"readme":"# ComfyUI OpenAI Prompter\n\nA custom node for ComfyUI that generates creative and detailed prompts using OpenAI's GPT models.\n\n## Features\n\n- Generate AI image prompts using OpenAI's GPT models\n- Supports both latest and older versions of the OpenAI API\n- Adjustable parameters (temperature, max tokens, seed)\n- Detailed logging of responses\n- Easy integration with other ComfyUI nodes\n\n## Installation\n\n1. Make sure you have ComfyUI installed and working properly.\n\n2. Navigate to your ComfyUI's custom_nodes directory:\n```bash\ncd ComfyUI/custom_nodes\n```\n\n3. Clone this repository:\n```bash\ngit clone https://github.com/nisimjoseph/ComfyUI_OpenAI-Prompter\n```\n\n4. Install the required dependencies:\n```bash\npip install openai\n```\n\n5. Set up your OpenAI API key:\n   - Get your API key from [OpenAI's platform](https://platform.openai.com/api-keys)\n   - Set it as an environment variable:\n     ```bash\n     # On Windows (Command Prompt)\n     set OPENAI_API_KEY=your-api-key-here\n\n     # On Windows (PowerShell)\n     $env:OPENAI_API_KEY=\"your-api-key-here\"\n\n     # On Linux/MacOS\n     export OPENAI_API_KEY=\"your-api-key-here\"\n     ```\n   - Alternatively, you can add it to your ComfyUI's environment configuration\n\n6. Restart ComfyUI\n\n## Usage\n\n1. In the ComfyUI interface, find the \"OpenAI Prompt Generator\" node under the \"prompt\" category\n\n2. Configure the node parameters:\n   - `model`: Select from available GPT models\n   - `prompt_context`: Enter your prompt context/instructions\n   - `max_tokens`: Adjust the maximum length of the generated prompt (256-4096)\n   - `temperature`: Control creativity (0.0-2.0)\n   - `seed`: Set for reproducible results\n\n3. Connect the node's output to other ComfyUI nodes that accept text prompts\n\n## Example Workflow\n\n1. Add the \"OpenAI Prompt Generator\" node\n2. Configure your desired parameters\n3. Connect its output to a text prompt input of an image generation node\n4. Run the workflow to generate creative prompts for your images\n\n## Troubleshooting\n\n- If you see \"Error: OpenAI API key not found or invalid\":\n  - Check that your API key is correctly set\n  - Verify your API key has available credits\n  - Ensure your OpenAI account is in good standing\n\n- If the node isn't appearing:\n  - Verify the installation directory is correct\n  - Check ComfyUI's console for any error messages\n  - Try restarting ComfyUI\n\n- If prompts aren't being generated:\n  - Check your internet connection\n  - Verify your API key has sufficient quota\n  - Look for error messages in the console output\n\n## Support\n\nIf you encounter any issues or have questions:\n- Check the console output for detailed error messages\n- Verify your OpenAI API key and quota\n- Ensure you're using a compatible version of the OpenAI package\n\n## License\n\n[MIT License](LICENSE) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisimjoseph%2FComfyUI_OpenAI-Prompter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnisimjoseph%2FComfyUI_OpenAI-Prompter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisimjoseph%2FComfyUI_OpenAI-Prompter/lists"}