Documentation
  • Welcome to Poe for Creators
  • Prompt Bots
    • How to create a prompt bot
    • Best practices for prompts
      • Text generation
      • Image generation
  • Server bots
    • Quick start
    • Accessing other bots on Poe
    • Using OpenAI function calling
    • Rendering an image in the response
    • Sending files with your response
    • Enabling file upload for your bot
    • Setting an introduction message
    • Updating bot settings
    • Accessing HTTP request information
    • How we cover your costs
    • Examples
    • Poe Protocol Specification
      • Concepts
      • Requests
        • query
        • settings
        • report_feedback
        • report_error
      • Samples and next steps
  • Resources
    • Creator Monetization
    • How to get distribution
    • How to contact us
    • Frequently asked questions
    • API Terms
Powered by GitBook
On this page
  • Prompting tips
  • How do style prompts and user prompts get merged?
  • Templating
  • Negative prompts (StableDiffusionXL only)
  1. Prompt Bots
  2. Best practices for prompts

Image generation

PreviousText generationNextQuick start

Last updated 1 year ago

You can build image generation prompt bots using or . Both bots support when used as a base bot.

Prompting tips

  1. Be descriptive, rather than instructive. Unlike for text generation bots, the style prompt should describe the desired image, not be an instruction to the bot. This is especially true for StableDiffusionXL. For example, to generate paintings in the style of Vincent Van Gogh:

Instead of:

You are VanGoghBot. You will generate paintings in the style of Van Gogh.

Try:

painting, Van Gogh
  1. Be specific in your prompt: The more specific and detailed your prompt is, the better the chances of getting the desired image. Instead of using a generic term like landscape, try specifying elements like sunset over a beach with palm trees. You can also specify multiple elements or style descriptions separated by punctuations, e.g. beautiful sunset, rain, painting, Van Gogh.

  2. Utilize the (StableDiffusionXL only): If there are certain elements you don't want in your image, use the negative prompt feature. For example, if you don't want any buildings in your landscape, include buildings in your negative prompt.

How do style prompts and user prompts get merged?

By default, style prompts and user prompts get concatenated.

For example, with a style prompt:

cartoon --no color

and a user prompt:

dog --no cat

The final prompt will be:

dog, cartoon --no cat, color

Note: the --no parameter is only accepted by StableDiffusionXL.

Templating

Poe also supports Jinja templating for image generation bots to provide bot creators with flexibility over how style prompts and user prompts get merged.

Specifically, specify a {{user_prompt}} in either (or both!) of the style prompt and negative prompts to indicate where the user's prompt and negative prompts should go, respectively.

For example, with a style prompt:

happy, smiling {{user_prompt}} on a skateboard --no scooter, {{user_prompt}}, cartoon

and a user prompt:

dog --no cat

the final prompt will be:

happy, smiling dog on a skateboard --no scooter, cat, cartoon

Negative prompts (StableDiffusionXL only)

Specify a --no parameter to indicate elements that should be avoided in the generated image.

For example:

DALL-E-3
StableDiffusionXL
templating
negative prompt
tall trees, sunny --no rain