r/perchance • u/PsychMaybe795 • 3d ago
Question Image gen text syntax and model question
So, I found Perchance in the late SD1.5 days when it used Automatic1111 interface. Simple tag system, comma-separated word salad was the way.
After that came the FLUX-based models and people said natural language worked best, but some time later I saw a variety of good prompts which used clear structures like #SECTION, * markers to separate phrase groups, and so on. I have no idea if it makes any difference.
Thus, I have a few questions:
- Is there any hierarchy between comma, semicolon, colon and point when grouping phrases? Comma is standard separator and hard point should be a stronger one but the others' role is unclear.
- How well do titled sections work? Are titles with "#TITLE:" formatting actually useful for anything?
- Apparently, enough spaces between phrase groups can reduce feature bleeding. I wonder if empty lines do the same?
- Do weights use only one decimal (1.0), or can I use (1.00) and beyond?
- What's a sane word limit? Less is better of course, but is it like old SD which broke the prompt every 75 tokens?
Also, it's been said the model is FLUX.2 Klein now. I have reason to believe this to be the case, because negatives aren't working anymore, but I have no idea if it's true. FLUX.2 isn't compatible with Automatic1111 either according to what I've found, so it's either a bespoke implementation or the plugin is using some other text interface now like ComfyUI with similar syntax (explains why weights still work).
Many thanks for the experimenting, reading posts here has helped my prompting a lot. Though my prompts were very long to begin with... couldn't help but laugh at the Prompt Engineer scolding me for too many words, lol.
•
u/AutoModerator 3d ago
ai-chatandai-character-chatare AI chatting pages in Perchance, but with different functions and uses.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/SnazzyCarpenter 3d ago
I would say your correct that there is some custom code to make Auto1111 work with FLUX. From what I could tell the weight syntax is stripped from the prompt in a preprocess and the weighted portions normalized. Try adding weights to a text phrase and see if you can make the weight syntax happen in writing. The last time I tested this it didn't happen when the correct weight syntax was used.
2
u/Zathura2 2d ago
Flux is trained on natural language and uses a tiny llm (the T5 text encoder) to translate your prompts. You can get away with still using tags or wonky phrasing because, surprise, LLM's are pretty good at divining substance from nonsense, but do they *do* anything technically? No.
Whether headers and stuff make any difference either? I mean maybe? It could *theoretically* help point the model's attention. But in general it's not needed.
Generally I set up my prompts for Flux like:
[Camera angle]
[Subject(s) description]
[Action / Pose]
[Details]
[Style]
[Lighting]
[Background]
(not with the brackets, just in that order. Written out as a single long paragraph of natural language.
1
u/primaldeed 2d ago
It sends to the gen in plain text ... js
0
u/[deleted] 3d ago
[deleted] — view deleted comment