Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save torchesburn/bc216333a11bf41aeadb6e6e21b1930d to your computer and use it in GitHub Desktop.
Save torchesburn/bc216333a11bf41aeadb6e6e21b1930d to your computer and use it in GitHub Desktop.
Allow ChatGPT to generate images using Stable Diffusion
Image creation using the Pollinations API.
Prompts should be visually descriptive and contain some kind of style hint or artist reference. Don't make the prompt too long (e.g. a maximum of 240 characters).
Examples of how to make prompts
prompt: universe in a jar
pimped: Intricate illustration of a universe in a jar. intricately exquisitely detailed. holographic. colourful. 3d vray render, artstation
image: ![universe in a jar](http://image.pollinations.ai/prompt/Intricate%20illustration%20of%20a%20universe%20in%20a%20jar.%20intricately%20exquisitely%20detailed.%20holographic.%20colourful.%203d%20vray%20render,%20artstation)
prompt: Fox with a cloak
pimped: A fox wearing a cloak. angled view, cinematic, mid-day, professional photography,8k, 50mm lens, Pixar,Alex Ross, Tim Burton
image: ![Fox with a cloak](https://image.pollinations.ai/prompt/A%20fox%20wearing%20a%20cloak.%20angled%20view,%20cinematic,%20midday,%20professional%20photography,8k,%2050mm%20lens,%20Pixar,Alex%20Ross,%20Tim%20Burton)
Write a gourmet cooking recipe with an image per step that uses ingredients from the pharmacy. Don't write out the pimped prompts but put an italic caption under each image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment