Spaces:
Sleeping
Sleeping
| """Page copy for the D&D AI Art Generator. One H1 lives in the hero.""" | |
| HOW_TO_HTML = """ | |
| <p>This free <strong>DnD AI art generator</strong> turns a written character | |
| description into finished fantasy art β no account, no credits to buy, no prompt | |
| engineering degree required. It's built specifically as an AI art generator for | |
| D&D characters: pick a race, class, art style, and framing, describe the details | |
| that matter, and get a portrait, full-body illustration, or VTT token in seconds.</p> | |
| <ol> | |
| <li><strong>Describe your character.</strong> The scar, the antlered helm, the | |
| smile that doesn't reach the eyes β specific details beat long lists.</li> | |
| <li><strong>Pick race and class</strong> (or leave them blank and let the art | |
| surprise you). "Surprise Me" rolls a random combination.</li> | |
| <li><strong>Choose a style and framing.</strong> Seven art styles from classic | |
| oil painting to token art; four framings from head-and-shoulders portrait to | |
| round VTT token.</li> | |
| <li><strong>Generate, then iterate.</strong> Tweak one detail and run it again β | |
| small prompt changes make big visual differences. Download the one you love.</li> | |
| </ol> | |
| """ | |
| PROMPT_TIPS_HTML = """ | |
| <p>The difference between generic fantasy art and <em>your character's</em> art is | |
| almost always the description. What makes this the best way to use an AI art | |
| generator for D&D characters:</p> | |
| <ul> | |
| <li><strong>Lead with the memorable detail.</strong> "A tiefling warlock" gets a | |
| stock tiefling. "A tiefling warlock whose left horn is capped in mourning-silver" | |
| gets <em>your</em> warlock.</li> | |
| <li><strong>Describe gear like a costume designer.</strong> Materials and wear | |
| tell stories: "patched traveling leathers over a noble's ruined doublet" reads | |
| instantly.</li> | |
| <li><strong>Give the face a feeling.</strong> One emotional cue β weary, smug, | |
| haunted, kind β anchors the whole portrait.</li> | |
| <li><strong>Use the palette field for mood.</strong> "Candlelit golds and deep | |
| greens" or "cold moonlight blues" shifts the entire image.</li> | |
| <li><strong>Iterate in small steps.</strong> Keep the description identical and | |
| change only the style to explore looks; change one phrase at a time to refine.</li> | |
| </ul> | |
| """ | |
| EXAMPLE_INTRO_HTML = """ | |
| <p>Here's a real, unedited output from this generator. The inputs: Half-Orc, | |
| Fighter, classic fantasy oil painting, half-body framing, with the description | |
| <em>"a scarred pit-fighter with a brass ledger-key on a cord around her neck, | |
| kind eyes, hair braided with iron rings"</em>.</p> | |
| """ | |
| STYLES_TOKENS_HTML = """ | |
| <p>Different tables need different art, so the generator ships with framings for | |
| each job:</p> | |
| <ul> | |
| <li><strong>Portraits</strong> β the classic AI art generator D&D portrait: | |
| head and shoulders, face in focus. Perfect for character sheets, campaign wikis, | |
| and Discord avatars.</li> | |
| <li><strong>Half and full body</strong> β costume, gear, and silhouette on | |
| display. Use these for session-zero reveals and character art collections.</li> | |
| <li><strong>Round tokens</strong> β centered, forward-facing, high-contrast token | |
| art ready to drop into Roll20, Foundry, or Owlbear Rodeo. Generate the portrait | |
| and the token from the same description so they match.</li> | |
| <li><strong>Seven art styles</strong> β oil painting for drama, character-sheet | |
| portrait for clean sheets, gritty dark fantasy for grim campaigns, watercolor and | |
| pencil sketch for softer tables, comic for lighter ones, and isometric token art | |
| for the battle map.</li> | |
| </ul> | |
| """ | |
| FAQS = [ | |
| ( | |
| "Is this D&D AI art generator actually free?", | |
| "Yes β every generation on this page is free, with fair-use hourly and " | |
| "daily limits so it stays free for everyone. No account, no credit card, " | |
| "no watermarks.", | |
| ), | |
| ( | |
| "What's the best AI art generator for D&D characters?", | |
| "The honest answer: the one tuned for the job. General image tools can " | |
| "make fantasy art, but you end up hand-writing long prompts. This " | |
| "generator builds the prompt for you from D&D-native inputs β race, " | |
| "class, style, framing β so a good result takes one sentence of " | |
| "description instead of prompt trial-and-error.", | |
| ), | |
| ( | |
| "Can I use the generated art for my campaign, stream, or VTT?", | |
| "Personal use at your table β sheets, tokens, wikis, session slides β is " | |
| "exactly what it's for. For commercial products, be aware that AI-image " | |
| "licensing and copyright are still unsettled ground; check the model " | |
| "provider's terms and consider commissioning an artist for anything you " | |
| "plan to sell.", | |
| ), | |
| ( | |
| "How do I keep my character consistent across images?", | |
| "Reuse the exact same description text word-for-word and change only the " | |
| "style or framing. Consistency comes from consistent wording β save your " | |
| "best description somewhere (your campaign notes are a good place) and " | |
| "treat it as your character's canonical portrait prompt.", | |
| ), | |
| ( | |
| "Can it make monster and NPC art too?", | |
| "Yes β put the creature or NPC in the description and skip the class " | |
| "field, or leave hints like \"hulking bog hag\" in the description. Pair " | |
| "it with our monster builder and NPC generator to write the creature " | |
| "first, then illustrate it here.", | |
| ), | |
| ( | |
| "Can it make VTT tokens?", | |
| "Yes β choose the Round token framing (or the isometric token style) for " | |
| "a centered, high-contrast figure that crops cleanly into a circular " | |
| "token for Roll20, Foundry VTT, or Owlbear Rodeo.", | |
| ), | |
| ( | |
| "What if I'd rather have non-AI character art?", | |
| "Commission a human artist β for a character you'll play for years, " | |
| "nothing beats it. Many artists take D&D commissions in every price " | |
| "range; search for 'D&D character commission' on artist platforms. A " | |
| "generated portrait works well as a reference sheet to hand them.", | |
| ), | |
| ( | |
| "Do you store my prompts or images?", | |
| "No. Images are generated on demand and returned to your browser; " | |
| "download the ones you want to keep, because we don't keep a copy.", | |
| ), | |
| ] | |