A fine-tuned Qwen3.5 4B model for enhancing AI image-generation prompts. It was trained on a multi-format anime-art caption dataset and supports 11 conversion directions between Danbooru tags, short phrases, long descriptive paragraphs, and structured JSON.
Model variants
File / folder
Format
Size
Use case
SlopPrompt-v5/
Hugging Face Transformers (BF16 safetensors, vision-capable)
All examples were anonymized: character, artist, source, and copyright names were removed from inputs and targets.
What the model can do
The model was trained on 11 prompt-conversion modes. Each mode has its own system-prompt instructions. Use the exact system prompt for the direction you want.
#
Mode
Description
1
tags -> long
Danbooru tags → detailed descriptive paragraph
2
tags -> short
Danbooru tags → one short natural-language phrase
3
tags -> json
Danbooru tags → structured JSON
4
tags_hallucination -> long
Incomplete tag list → reconstructed detailed paragraph
5
tags_hallucination -> short
Incomplete tag list → reconstructed short phrase
6
tags_hallucination -> json
Incomplete tag list → reconstructed JSON
7
long -> json
Descriptive paragraph → JSON
8
json -> long
JSON → detailed descriptive paragraph
9
long -> short
Paragraph → short phrase
10
json -> short
JSON → short phrase
11
short -> long
Short phrase → detailed paragraph
Training system prompts
Use these as the system message for each mode.
text
1Base system prefix (prepended to every mode):
2You are a prompt enhancer for AI image generation. Do not include real names of characters, artists, sources, or copyrights in your output. Use generic descriptions instead.
Mode
System instruction appended to the base prefix
tags -> long
You are given a list of Danbooru tags describing an image. Write a detailed, descriptive paragraph that captures the full scene, characters, clothing, pose, and atmosphere.
tags -> short
You are given a list of Danbooru tags describing an image. Write a single short natural-language phrase that summarizes the image.
tags -> json
You are given a list of Danbooru tags describing an image. Convert them into the structured JSON format shown in the reference.
tags_hallucination -> long
You are given a partial, incomplete list of Danbooru tags. Reconstruct and enhance the missing details, then write a detailed, descriptive paragraph.
tags_hallucination -> short
You are given a partial, incomplete list of Danbooru tags. Reconstruct the scene and write a single short natural-language phrase.
tags_hallucination -> json
You are given a partial, incomplete list of Danbooru tags. Reconstruct the missing details and format the result as the structured JSON shown in the reference.
long -> json
You are given a descriptive paragraph about an image. Convert it into the structured JSON format shown in the reference.
json -> long
You are given a structured JSON description of an image. Write it out as a detailed, descriptive paragraph.
long -> short
You are given a descriptive paragraph about an image. Summarize it into a single short natural-language phrase.
json -> short
You are given a structured JSON description of an image. Summarize it into a single short natural-language phrase.
short -> long
You are given a short phrase describing an image. Expand it into a detailed, descriptive paragraph.
What to expect
Strong on the 11 trained directions. It follows the system prompt, produces fluent English, and keeps outputs free of real names.
Cross-language input is understood. You can write the user message in French, Spanish, etc., and it will usually answer in English as instructed.
Hallucination mode invents plausible missing details from an incomplete tag list.
JSON outputs are generally valid and include keys such as character, background, texts, and atmosphere.
Output length: By default it writes one or two paragraphs (~150–250 words) and then stops. For longer outputs, force a minimum token count (see parameters below).
Reverse tag extraction (description -> tags) was not trained. If you ask for that, it will usually return short sentences instead of Danbooru tags.
Vision support
The base model is a multimodal Qwen3.5 checkpoint, and the published Hugging Face folder still contains the original vision encoder weights. You can load it with:
The vision backbone is unchanged from the base model. You can pass images through it, but the model was not specifically fine-tuned for vision-to-prompt tasks.
The model will then produce ~300–400 words before stopping.
Usage with Hugging Face Transformers
python
1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
34model_path ="SlopPrompt-v5"5model = AutoModelForCausalLM.from_pretrained(6 model_path,7 trust_remote_code=True,8 torch_dtype=torch.bfloat16,9 device_map="auto",10)11tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)1213system =(14"You are a prompt enhancer for AI image generation. "15"Do not include real names of characters, artists, sources, or copyrights in your output. "16"Use generic descriptions instead.\n\n"17"You are given a partial, incomplete list of Danbooru tags. "18"Reconstruct and enhance the missing details, then write a detailed, descriptive paragraph."19)20messages =[21{"role":"system","content": system},22{"role":"user","content":"1girl, loli, at park, night, sitting on bench, dress"},23]2425prompt = tokenizer.apply_chat_template(26 messages,27 tokenize=False,28 add_generation_prompt=True,29 enable_thinking=False,# important for clean output30)31inputs = tokenizer(prompt, return_tensors="pt").to(model.device)3233outputs = model.generate(34**inputs,35 max_new_tokens=512,36 temperature=0.7,37 top_p=0.9,38 repetition_penalty=1.05,39 no_repeat_ngram_size=5,40 eos_token_id=tokenizer.eos_token_id,41 pad_token_id=tokenizer.pad_token_id,42)43response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)44print(response)
Usage with llama.cpp (GGUF)
The GGUF was verified with a current llama.cpp build. Run it in single-turn mode with reasoning disabled.
bash
1PROMPT='<|im_start|>system
2You are a prompt enhancer for AI image generation. Do not include real names of characters, artists, sources, or copyrights in your output. Use generic descriptions instead.
34You are given a partial, incomplete list of Danbooru tags. Reconstruct and enhance the missing details, then write a detailed, descriptive paragraph.
5<|im_end|>
6<|im_start|>user
71girl, loli, at park, night, sitting on bench, dress
8<|im_end|>
9<|im_start|>assistant
10'1112llama-cli \13 -m SlopPrompt-v5-Q8_0.gguf \14 -p "$PROMPT"\15 -n 512\16 -t 16\17 -ngl 99\18 --temp 0.7\19 --top-p 0.9\20 --repeat-penalty 1.05\21 --no-display-prompt \22 --no-conversation \23 --single-turn \24 --reasoning off
On an RTX-class GPU expect ~200+ tokens/s for Q8_0 and ~150 tokens/s for BF16.
Trained on English anime-art captions. Other languages may work as input but output is expected to be English.
Does not reliably perform reverse extraction such as long -> tags because that mode was not in the training set.
May hallucinate extra details in reconstruction/hallucination modes; use a lower temperature or greedy decoding for more conservative outputs.
Disclaimer
This model generates text based on patterns learned from training data. The authors provide no guarantees about accuracy, safety, appropriateness, or fitness for any particular purpose. Outputs may be unexpected, inaccurate, or inconsistent with the provided system prompt. Review and filter outputs before using them in production or for downstream image generation.