<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mingli</title>
    <description>The latest articles on DEV Community by mingli (@mingli88).</description>
    <link>https://dev.to/mingli88</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4245486%2F288f0d6c-e76e-4ae7-9e48-7c9ab0ab3d6c.png</url>
      <title>DEV Community: mingli</title>
      <link>https://dev.to/mingli88</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mingli88"/>
    <language>en</language>
    <item>
      <title>Generating a Consistent Tarot Card Set with AI Illustration Pipelines: A Seven of Wands Case Study</title>
      <dc:creator>mingli</dc:creator>
      <pubDate>Fri, 20 Nov 2026 11:24:04 +0000</pubDate>
      <link>https://dev.to/mingli88/generating-a-consistent-tarot-card-set-with-ai-illustration-pipelines-a-seven-of-wands-case-study-2n18</link>
      <guid>https://dev.to/mingli88/generating-a-consistent-tarot-card-set-with-ai-illustration-pipelines-a-seven-of-wands-case-study-2n18</guid>
      <description>&lt;h2&gt;
  
  
  The problem: 78 cards that need to look like one deck
&lt;/h2&gt;

&lt;p&gt;Anyone who has tried to generate a full tarot deck with image models knows the pain: every card comes back in a different style. One card is photorealistic, the next is flat vector art, and the third looks like it was drawn by three different artists. A tarot deck is fundamentally a &lt;em&gt;design system&lt;/em&gt; — 78 individual illustrations that must share a visual grammar: linework, palette, framing, typography, and composition rules.&lt;/p&gt;

&lt;p&gt;The Seven of Wands shown here is a good example of what "locked style" looks like in practice, so let's break down how a card like this gets produced and what engineering decisions sit behind it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Anatomy of the card
&lt;/h2&gt;

&lt;p&gt;Look at the structure before the art. The image is built in layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A decorative frame&lt;/strong&gt; — an ornamental border of gold vine and thorn motifs on a dark ground, with star-shaped medallions at the corners.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A header plate&lt;/strong&gt; with the Roman numeral &lt;strong&gt;VII&lt;/strong&gt;, and a footer plate with the card title in a display serif face. These plates are part of the deck's shared chrome, identical across cards.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The central illustration&lt;/strong&gt;, in a detailed comic/fantasy-ink style: a defender on high ground wielding a staff against multiple attackers thrusting wands upward from below, set against a sunset sky with radiating light.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That layered structure is deliberate. If you bake the frame, title, and numeral into every generation, you lose control. The reliable approach is to generate the &lt;em&gt;illustration only&lt;/em&gt;, then composite the chrome programmatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;

&lt;p&gt;A practical production flow looks like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Style anchoring.&lt;/strong&gt; Pick one strong reference card and reuse its style descriptors verbatim in every prompt: line weight, shading style (heavy ink outlines with cross-hatched color), palette (warm ochre and rust tones), and mood keywords.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Composition constraints per card.&lt;/strong&gt; Traditional Rider-Waite-Smith iconography gives you the scene: for the Seven of Wands, a figure on elevated terrain defending against six wands from below. Encoding the traditional meaning in the prompt keeps the deck readable for actual tarot users — this is domain knowledge, not decoration.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Negative-space planning.&lt;/strong&gt; The footer plate needs a clean band for the title. Prompting for a bordered composition with dark margins gives you predictable space for post-processing overlays.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Post-composite.&lt;/strong&gt; The numeral and title typography are added in code — SVG or canvas rendering over the generated art:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;svg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`
  &amp;lt;svg viewBox="0 0 1024 1024"&amp;gt;
    &amp;lt;image href="card-art.png" width="1024" height="1024"/&amp;gt;
    &amp;lt;text x="512" y="64" text-anchor="middle"
          class="numeral"&amp;gt;VII&amp;lt;/text&amp;gt;
    &amp;lt;text x="512" y="975" text-anchor="middle"
          class="title"&amp;gt;The Seven of Wands&amp;lt;/text&amp;gt;
  &amp;lt;/svg&amp;gt;`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This guarantees that all 78 cards share pixel-identical typography, kerning, and placement — something no image model will give you consistently.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Batch QA.&lt;/strong&gt; Generate contact sheets of all cards side by side. Style drift is far easier to spot in a grid than one card at a time. Regenerate outliers with tightened style tokens.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Results and trade-offs
&lt;/h2&gt;

&lt;p&gt;The layered approach pays off in the details you can see in this card: the frame ornament is crisp and symmetrical, the numeral sits exactly centered, and the title type is legible and consistent — because none of that was left to the model. The model does what it's good at (expressive narrative illustration, dramatic lighting, dynamic figure posing), and code does what it's good at (repeatability).&lt;/p&gt;

&lt;p&gt;The trade-offs are real, though:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Text in-model is unreliable.&lt;/strong&gt; Never let the model draw your card titles; baked-in text comes out mangled at scale.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Style drift compounds over long batches.&lt;/strong&gt; Re-anchor prompts against the reference card every few generations rather than iterating from the previous output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human review stays in the loop.&lt;/strong&gt; Iconographic accuracy (which way the wands point, how many there are) needs a person who knows the deck's tradition checking each card.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The end result is a deck where card VII looks like it belongs next to cards VI and VIII, and the whole set can be published as a coherent web experience — which is exactly what we've done. You can view the full deck at the project here: &lt;a href="https://bevespera.top" rel="noopener noreferrer"&gt;https://bevespera.top&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to follow along or ask questions about the pipeline, there's a WhatsApp group where progress and discussion are shared: &lt;a href="https://chat.whatsapp.com/KVjWIzwkqaYLEOqbRze4R1" rel="noopener noreferrer"&gt;https://chat.whatsapp.com/KVjWIzwkqaYLEOqbRze4R1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI-generated tarot card for the Seven of Wands: a layered composition with an ornamental gold vine-and-thorn border frame, corner star medallions, a header plate with the Roman numeral VII, and a foot&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnktlqx5f2qhiy7mi8srk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnktlqx5f2qhiy7mi8srk.jpg" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>design</category>
      <category>webdev</category>
      <category>generativeart</category>
    </item>
    <item>
      <title>Designing a Hybrid Dress-Sneaker: What Goes Into a Leather High-Top That Reads Formal and Wears Casual</title>
      <dc:creator>mingli</dc:creator>
      <pubDate>Sun, 15 Nov 2026 08:11:37 +0000</pubDate>
      <link>https://dev.to/mingli88/designing-a-hybrid-dress-sneaker-what-goes-into-a-leather-high-top-that-reads-formal-and-wears-5o9</link>
      <guid>https://dev.to/mingli88/designing-a-hybrid-dress-sneaker-what-goes-into-a-leather-high-top-that-reads-formal-and-wears-5o9</guid>
      <description>&lt;p&gt;Most people eventually hit the same wardrobe engineering problem: dress shoes look right with trousers but punish your feet by hour six, and sneakers look wrong with anything tailored. The usual workaround is two pairs of shoes and a compromise at every occasion. A hybrid category — the leather high-top with sneaker underpinnings — exists precisely to collapse that trade-off, and it's worth walking through how one is actually built.&lt;/p&gt;

&lt;p&gt;Take the boot pictured here. At a glance it reads as a plain-toe dress shoe in smooth black leather. Look closer and the construction tells a different story.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The upper&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The upper is cut from smooth full-grain style leather panels, stitched in layered sections rather than a single wrap. That matters for two reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Panel stitching&lt;/strong&gt; along the quarter and eyestay lines adds structural reinforcement where lacing tension concentrates, so the throat doesn't deform over time.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;padded collar&lt;/strong&gt; around the ankle — the raised, cushioned rim visible at the top opening — is a sneaker feature grafted onto a dress silhouette. It prevents heel rub, which is the main comfort failure point of traditional dress shoes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The lacing uses metal eyelets with flat waxed-style laces across five to six pairs, giving adjustable instep tension that slip-on dress loafers simply can't offer. A rear pull tab finishes the heel for easier entry.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The sole is where the real engineering lives&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The giveaway is the outsole unit. Instead of a leather welt and stacked heel, this uses a chunky, contoured rubber midsole with visible sculpting — raised arch geometry and a lug-patterned tread underneath. Rubber buys three things leather soles can't:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Shock absorption&lt;/strong&gt; for hard floors and long days on foot&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wet-surface grip&lt;/strong&gt;, since leather soles turn into skates in rain&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wear resistance&lt;/strong&gt; without resoling cycles&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The midsole height also lifts the wearer slightly and lets the last (the foot-shaped mold the shoe is built around) run roomier through the toe box, which is where most dress shoes fail on comfort.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The trade-offs&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No design is free. The rubber wedge sole reads slightly more casual than a stitched leather welt — fine under denim and most trousers, less at home with a suit's slim hem. A high-top leather upper is also warmer than a low dress shoe, so it's a fall/winter-leaning piece. And matte smooth leather, while easy to wipe clean, will show creasing across the vamp with wear — which some consider patina, others a defect. Pick your side.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The result&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Assembled, you get a shoe that passes a business-casual dress code, handles a full commute on foot, and survives weather that would ruin a Goodyear-welted oxford. It's a good case study in hybrid product design generally: take the failure modes of two mature categories, borrow the solution to each from the other, and hide the seams in the silhouette.&lt;/p&gt;

&lt;p&gt;Full write-up and details: &lt;a href="https://runsia.top" rel="noopener noreferrer"&gt;https://runsia.top&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Product profile shot of a black leather high-top hybrid dress sneaker: smooth paneled upper with visible stitching along the quarter and eyestay, five to six pairs of metal eyelets with flat black lac&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fyixindz.cn%2Fapi%2Fpublish%2Fmedia%2F79_1d758c68d8335dde.jpg%3F_t%3D1794730293268" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fyixindz.cn%2Fapi%2Fpublish%2Fmedia%2F79_1d758c68d8335dde.jpg%3F_t%3D1794730293268" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>design</category>
      <category>manufacturing</category>
      <category>materials</category>
      <category>footwear</category>
    </item>
  </channel>
</rss>
