Telegram: Styles aka Prompt Templates (word shorteners)

The styles command is deprecated

Migrate your styles to recipes

We will continue to support styles forever, but recipes are more powerful and easier to control, and they work in every Telegram Channel, and in your private bot.

Why we’re ditching styles: If you are getting a “styles not found” error, it is because styles only work in the channel that they are created in, and have a copy code to be moved from one room to another. For pros that know our system intimiately, it’s a lovely convenience, but for newcomers the feature has proven to be too confusing. So our solution is Recipes.  A recipe works anywhere and doesn’t need migration, and is professionally documented by our team.

Styles were intended to be for personal use, as a time saver. And please do continue to use them if you enjoy them.  But recipes are the future, as they are easier to use. Use recipes instead

For 200% completion, explain styles anyway

A style is merely a string of words that you can set once and never have to type again. Handy for negative prompts and shortening the names of artists that are hard to type, that sort of thing.

To be fair, we probably should have named them something different: Styles are really more like prompt templates that you can reuse instead of typing a prompt. They’re a few bytes of code. Every community member can create a style. They’re just words.

Although it has a similar name, this is very different from a <concept> which is gigabytes of image training data. It is very hard to create an image model, it takes days of meticulous image tagging and the computing for training one can be expensive. If you think about concepts as big warehouses of possible results, and styles as instructions to extract from concepts, it may help. When a <concept> is not named, we default to the Stable Diffusion 1.5 model. So a concept is always present, but styles are optional.

So you can a concept and a style (a recipe!?) to wield a lot of power without a lot of typing, which is ideal when you’re on the go.

Styles and Concepts are not global

Meaning that they are unique to a room. Your private room. If you are browsing the multiple rooms of an app like Pirate Diffusion, you will encounter different styles created by different people in different rooms with the /styles /list command.

The Telegram room with the most styles is the beginner’s training room.

Creating a style

Type /styles to get started! This is the styles help command.

/styles

To see a list of defined styles, use /list:

/styles /list

Creating a new style

This requires a few parts: the styles (plural) command, the /new command, colon, the style name, the $prompt variable that serves as where to place the input from a /render descriptor, and finally add the design description following prompt.

It’s easier than it sounds. Here we are creating a macro for “paintings in the style of manet”.  So to create this macro style, define it like this:

/styles /new:manet $prompt, painting in the style of Manet

The system will give a confirmation when the style was activated. A common mistake we see is users forgetting to add the $prompt part, so watch for that.

Now we’re ready to use it.

Using a style

Please note that there are two similar commands: style and styles.  Styles (plural) shows a list of defined styles, creating a new style, and displaying the styles help.  Style (singular) is used when using one in a render command.

/render /style:manet

Inspecting what is inside a style

As we said before, Styles are unique to Telegram channels. This means that styles must first be defined in a channel, and styles with the same defined name across different channels may contain different descriptions/outcomes.

Use the styles /show command to know what you’re getting into.

/styles /show:manet

Style ownership 

Style definitions are tied to the account that created them. To fix a mistake or add/edit to a style you already made, just use the /new command again to override it.

Someone already took your style name?

If the style name you want is already taken, consider making a more specific name for it.  So instead of Anime, go for AnimePortrait.  Or worst case, put your name on it:  BobsAnimeStyle, or the dreaded vague number. “Anime2”