Text Rendering
While the AI is not going to put novels full of text into your image, it is definitely capable of writing legible English text.
Include the text, english text
tags somewhere in your prompt. At the end of your base prompt, put Text: …
where …
is the text you want included in your image. If you want multiple separate pieces of text, separate them with an empty line. You can type newlines in the prompt field with Shift+Enter. The most important thing is that Text:
needs to be at the very end of your prompt. If it isn't, any tags or natural language parts of the prompt following it may show up in your image!
Putting all text in the base prompt is probably the most reliable way to do text rendering, but putting Text:
in character prompt boxes should work too. To further improve reliability, you can also repeat your text in a natural language part of your prompt.
You can also use natural language to describe how the text should look or where it should appear, unless your tags otherwise make it obvious (e.g. speech bubble
).
For best results, keep your texts within 120 characters or shorter, including whitespace.
In some cases, it can be useful to disable Quality Tags if text does not show up (especially for short texts), because quality tags contain the no text
tag, which can affect short texts. It's generally fine for longer texts though.
For V4, if the AI struggles with spelling, writing your text in all uppercase can sometimes help.
For V4.5, it shouldn't be necessary to make your text all uppercase.
Note: Text Rendering is only available on V4 or higher models.
Here is an example:
2girls, text, english text, location, park, cowboy shot, -1::speech bubble::, looking at another, masterpiece, best quality, rating:general. The blonde girl is excitedly asking "Aren't stochastic differential equations exciting?" in yellow text and the purple haired girl is responding "Is this about diffusion models again?" in green text, a bored expression on her face. Text: Aren't stochastic differential equations exciting?
Is this about diffusion models again?
| 1girl, purple eyes, short hair, ruffled blouse, red blouse, blonde hair, blue skirt, pleated skirt, green scarf, blunt bangs, fang, small breasts, long sleeves, bob cut
| 1girl, very long hair, purple hair, curly hair, golden shirt, full body, green eyes, white jeans, turtleneck sweater, hands on own hips, sleeveless turtleneck, side braid, medium breasts, sleeveless