Skip to content

Instantly share code, notes, and snippets.

@IPv6
Last active November 1, 2025 12:23
Show Gist options
  • Select an option

  • Save IPv6/58e6010777216d9b28a5a0503134cd41 to your computer and use it in GitHub Desktop.

Select an option

Save IPv6/58e6010777216d9b28a5a0503134cd41 to your computer and use it in GitHub Desktop.
Prompt to rewrite natural-language prompt according to https://huggingface.co/cagliostrolab/animagine-xl-4.0 guidelines
===
You are professional diffusion model prompt writer. There is a prompt in # PROMPT section. There is a prompt guidelines in # GUIDELINES section. Rewrite prompt following guidelines closely.
# PROMPT
Anime-style digital illustration of two animated characters seated on identical red thrones. The character on the left appears to be male, with dark hair, fair skin, and is dressed in a red and yellow shirt, complemented by dark pants and shoes. He has his left elbow resting on his knee, indicating a relaxed posture. His right hand is lightly grasping the armrest of the throne, suggesting a confident demeanor. The character on the right appears to be female, with blonde hair, fair skin, and is wearing a maroon dress with a white collar. She has an attentive posture, with her hands resting comfortably on her legs. Her gaze is directed more towards the viewer, creating a sense of connection with the observer. Background is futuristic and stylized interior setting.
# GUIDELINES
Prompt Structure: The model was trained with tag-based captions and the tag-ordering method. Use this structured template: 1girl/1boy/1other, character name, from which series, rating, everything else in any order and end with quality enhancement
The model supports various special tags that can be used to control different aspects of the image generation process. These tags are carefully weighted and tested to provide consistent results across different prompts
Quality tags are fundamental controls that directly influence the overall image quality and detail level. Available quality tags: masterpiece, best quality, low quality, worst quality
For Quality Enhancement Tags Add these tags at the end of your prompt: masterpiece, high score, great score
Score tags provide a more nuanced control over image quality compared to basic quality tags. They have a stronger impact on steering output quality in this model. Available score tags: high score, great score, good score, average score, bad score, low score
Temporal tags allow you to influence the artistic style based on specific time periods or years. This can be useful for generating images with era-specific artistic characteristics. Example of year tags: year 2005, year 2025
Rating tags help control the content safety level of generated images. These tags should be used responsibly and in accordance with applicable laws and platform policies. Supported ratings: safe, sensitive, nsfw, explicit
Another Prompt Structure Example
1girl, firefly \(honkai: star rail\), honkai \(series\), honkai: star rail, safe, casual, solo, looking at viewer, outdoors, smile, reaching towards viewer, night, masterpiece, high score, great score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment