Skip to content
AnyToPrompt

Stable Diffusion prompt generator with negative prompts

Upload an image and get a tag-style Stable Diffusion prompt with weights on the key subject, plus a negative prompt written for that image, ready to paste into ComfyUI, Forge or any other interface.

Generate a prompt from your image

Start with a picture

Tap to pick a photo

JPEG, PNG or WebP up to 10 MB. Pasting works too.

Where’s it going?

Weighted tags + negative prompt

 

0 characters

Edit freely. We copy exactly what you see.

Your image is processed in memory and discarded right after. We never store it.

Privacy policy

Your recent prompts 0/10

Kept on this device only. We never see them.

Why Stable Diffusion prefers tags

Most Stable Diffusion checkpoints were trained on images paired with short captions and tag lists, so they respond best to compact, comma-separated tags rather than flowing sentences. Our generator orders the tags the way experienced users do: main subject first, then subject details, setting, composition, lighting, colour palette, style and finally quality tags.

Order matters because of how prompts are encoded. The text encoder reads prompts in chunks of about 75 tokens, and earlier tags tend to have more influence. Keeping the prompt focused, typically 25 to 45 tags, gives each tag room to count instead of competing with dozens of near-duplicates.

Weights: (tag:1.2) and when to use them

Interfaces such as ComfyUI, Forge and AUTOMATIC1111 support attention weights written as (tag:1.2). A value above 1 strengthens a tag, below 1 weakens it. We add a moderate weight to the one or two tags that define your image, usually the main subject, and leave everything else at the default.

Resist the urge to push weights above about 1.4. Very high weights often cause artefacts, oversaturated colours or repeated elements. If something still doesn’t show up, moving the tag earlier in the prompt usually works better than raising its weight further.

Negative prompts that fit the image

The second line of every result is a negative prompt: things the model should steer away from. Instead of a generic wall of fifty tags, we write eight to fifteen that suit the picture, such as extra fingers for portraits, watermark and text for stock-style photos, or blurry and lowres for detailed scenes.

Paste it into your interface’s negative prompt field, not the main prompt. With newer models such as SD 3.5, which understand natural language better, shorter negative prompts are usually enough.

SDXL, SD 3.5 and fine-tuned checkpoints

Tag-style prompts work across SD 1.5, SDXL and most community checkpoints. SD 3.5 also accepts longer natural-language descriptions, so if your results feel stiff there, try the General format instead. Anime and illustration checkpoints often expect their own tag vocabulary, so keep the style tags your checkpoint’s documentation recommends.

A quick example

For a photo of a lighthouse at sunset, a typical result starts with (white lighthouse:1.3) and rocky coastline, moves through golden hour light, long exposure sea, wide-angle view and matte painting style, and ends with quality tags such as highly detailed and sharp focus. The negative line might read blurry, lowres, watermark, text, oversaturated. Each tag names one visible fact, which makes it easy to swap one out and see exactly what changes.

Guides from our blog

The same image, written for a different generator.

Frequently asked questions

Which Stable Diffusion interfaces does this work with?

Any interface that accepts a text prompt, including ComfyUI, Forge, AUTOMATIC1111, Fooocus and hosted services. The (tag:1.2) weight syntax is supported by the most popular local interfaces.

Where do I paste the negative prompt?

Into the separate negative prompt field of your interface. Copy the line after “Negative prompt:” without that label.

Does it work with SDXL and SD 3.5?

Yes. The tag format suits SD 1.5 and SDXL particularly well. SD 3.5 understands full sentences too, so you can also try the General format for it.

Why are only one or two tags weighted?

Weighting everything cancels out the effect and can cause artefacts. Emphasising only the defining subject keeps the composition balanced.

Can I add a LoRA or embedding?

Yes. Add your interface’s LoRA or embedding syntax to the generated prompt before running it. We don’t add them automatically because they depend on the files you have installed.

How many prompts can I generate for free?

Up to 20 a day, without an account. Your recent prompts stay in this browser so you can reuse them.