{"id":15175583,"url":"https://github.com/arjunpatel7/perfect-prompt","last_synced_at":"2025-06-26T17:34:06.544Z","repository":{"id":60949809,"uuid":"543819766","full_name":"arjunpatel7/perfect-prompt","owner":"arjunpatel7","description":"An approach to creating the perfect prompt for any image generation task.","archived":false,"fork":false,"pushed_at":"2022-12-16T16:50:02.000Z","size":27165,"stargazers_count":29,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T19:39:15.995Z","etag":null,"topics":["cohere","nlp","prompt","stable-diffusion","streamlit","text-generation"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/arjunpatel7.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}},"created_at":"2022-09-30T23:02:19.000Z","updated_at":"2024-04-18T00:19:29.000Z","dependencies_parsed_at":"2023-01-29T15:30:36.717Z","dependency_job_id":null,"html_url":"https://github.com/arjunpatel7/perfect-prompt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arjunpatel7/perfect-prompt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunpatel7%2Fperfect-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunpatel7%2Fperfect-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunpatel7%2Fperfect-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunpatel7%2Fperfect-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arjunpatel7","download_url":"https://codeload.github.com/arjunpatel7/perfect-prompt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arjunpatel7%2Fperfect-prompt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262113737,"owners_count":23261092,"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":["cohere","nlp","prompt","stable-diffusion","streamlit","text-generation"],"created_at":"2024-09-27T12:39:35.317Z","updated_at":"2025-06-26T17:34:06.518Z","avatar_url":"https://github.com/arjunpatel7.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :art: Perfect Prompt\n\nAn approach to creating the perfect prompt for any image generation task. Type in a prompt, and\nPerfect Prompt will match it to one of six art styles (cyberpunk, steampunk, water colors, cottagecore, landscapes,\nand architecture) and provide generated variations of your prompt along these lines, in\nunder a minute!\n\nWant to try it for yourself? Follow the instructions \nbelow or [click here](https://arjunpatel7-perfect-prompt-app-mckes9.streamlitapp.com/\n) for the deployed version!\n\n![demo gif](https://github.com/arjunpatel7/perfect-prompt/blob/main/perfect_prompt_shorter.gif)\n\n\n## Requirements\n* cohere\n* streamlit\n* replicate (for image generation)\n* pandas\n\n## Installation\nFirst, secure API keys for both Replicate and Cohere,\nand save them to Streamlit secrets management.\n\nClone this repo, and run the following command:\n```bash\nstreamlit run app.py\n```\n\n## Author\nThis app was made by Arjun Patel, a data scientist with experience\napplying deep learning to audio and text data. \nConnect with me on [Linkedin](https://www.linkedin.com/in/arjunkirtipatel/)!\n\n## Acknowledgements\nThis app was made during the Cohere AI Hackathon, in which\nCohere and Lablab.ai offered access to Cohere Classify and Generate\nAPIs for novel uses. Thank you to both groups for their assistance and mentorship.\n\nThis app makes use of the Lexica API, which is generously made freely accessible\nby the folks over at [Lexica.art](https://lexica.art). Finally, thanks to Replicate for an easy to use api for Stable Diffusion access.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunpatel7%2Fperfect-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farjunpatel7%2Fperfect-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farjunpatel7%2Fperfect-prompt/lists"}