<?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: salamancerAI</title>
    <description>The latest articles on DEV Community by salamancerAI (@salamancerai).</description>
    <link>https://dev.to/salamancerai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4234002%2F11a86061-9b64-41a7-9f8a-9e5cfdf91fe1.gif</url>
      <title>DEV Community: salamancerAI</title>
      <link>https://dev.to/salamancerai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/salamancerai"/>
    <language>en</language>
    <item>
      <title>I Applied My AI Image Pipeline to a 3D Printer (and Only Summoned One Cursed Medallion)</title>
      <dc:creator>salamancerAI</dc:creator>
      <pubDate>Sat, 28 Nov 2026 08:00:11 +0000</pubDate>
      <link>https://dev.to/salamancerai/i-applied-my-ai-image-pipeline-to-a-3d-printer-and-only-summoned-one-cursed-medallion-153j</link>
      <guid>https://dev.to/salamancerai/i-applied-my-ai-image-pipeline-to-a-3d-printer-and-only-summoned-one-cursed-medallion-153j</guid>
      <description>&lt;p&gt;Full disclosure up front: I am not a serious programmer. I don't dream in C++, I don't have strong opinions about monads, and if a bash script works on the first try I assume it's a trap.&lt;/p&gt;

&lt;p&gt;What I &lt;em&gt;do&lt;/em&gt; like is wiring tools together so machines do my repetitive chores—and seeing how far a weird side project can take me before something catches fire.&lt;/p&gt;

&lt;p&gt;A while back, I built a homelab automation pipeline called &lt;strong&gt;RedBobble&lt;/strong&gt; on my Ubuntu/WSL2 server (&lt;code&gt;claw&lt;/code&gt;) connected over Tailscale: generate assets, run them through a local Python pipeline, stage them for a human review gate, and ship the winners. Today I decided to steal my own homework and apply that exact same architecture to a physical &lt;strong&gt;Creality Ender-3 V3 KE&lt;/strong&gt; 3D printer.&lt;/p&gt;

&lt;p&gt;The goal? Turn a prompt for a gothic Christmas ornament—a &lt;strong&gt;Baroque Ouija Planchette&lt;/strong&gt; in Matte PLA—into a flat-backed, zero-support, sliced, and actively printing physical object, orchestrated almost entirely by an AI agent from the terminal.&lt;/p&gt;

&lt;p&gt;Spoiler: It worked. It also taught me why you never trust &lt;code&gt;text_to_3d&lt;/code&gt; with the word "Ouija."&lt;/p&gt;




&lt;h2&gt;
  
  
  Wait—Why Reuse the RedBobble Pattern?
&lt;/h2&gt;

&lt;p&gt;With RedBobble, the secret sauce wasn't "let AI do everything blindly." It was &lt;strong&gt;decoupling the messy creative stuff from the deterministic engineering stuff&lt;/strong&gt;, with human-in-the-loop checkpoints in between.&lt;/p&gt;

&lt;p&gt;Turns out, 3D printing has the exact same problem:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;AI is great at vibes&lt;/strong&gt; (ornate baroque holly leaves and crescent moons).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI is terrible at physics&lt;/strong&gt; (floating hanging loops, upright STLs, and 2 mm serif letters that turn into plastic spaghetti on a 0.4 mm nozzle).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You should never let an LLM silently start a 215°C heater&lt;/strong&gt; without asking you if the build plate is empty first.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So I built &lt;strong&gt;&lt;code&gt;meshy_pipe&lt;/code&gt;&lt;/strong&gt;: an isolated workspace on my homelab box that combines &lt;strong&gt;MCP servers&lt;/strong&gt;, &lt;strong&gt;custom Agent Skills&lt;/strong&gt;, &lt;strong&gt;Python geometry repair&lt;/strong&gt;, &lt;strong&gt;headless PrusaSlicer&lt;/strong&gt;, and a &lt;strong&gt;rooted Klipper printer&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  How the Pipeline Works
&lt;/h2&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%2F5gbhfeyhrhd0ap57lxhy.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%2F5gbhfeyhrhd0ap57lxhy.jpg" alt="Pipeline Diagram" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is the end-to-end chain we built and ran live today:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;2D Concept Generation&lt;/strong&gt; — Generate a clean, studio-lit 2D relief image first (cheap, fast, easy to iterate).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3D Sculpting via Meshy MCP&lt;/strong&gt; — Send the approved 2D image to Meshy Pro (&lt;code&gt;image_to_3d&lt;/code&gt;, Ultra 4K untextured) via an MCP server tool call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human Visual Gate #1&lt;/strong&gt; — Inspect the 3D sculpt in Meshy Studio before burning time downloading or slicing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python Mesh Prep (Custom Agent Skill)&lt;/strong&gt; — Automatically orient the mesh flat on its back, verify watertightness, scale to 90 mm, shave the back flat for zero-support printing, check hanging-loop thickness, and package a native &lt;strong&gt;PrusaSlicer 2.9.7 &lt;code&gt;.3mf&lt;/code&gt;&lt;/strong&gt; file with all 11 Matte PLA overrides baked in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Headless Slicing (PrusaSlicer CLI)&lt;/strong&gt; — Slice &lt;code&gt;.3mf&lt;/code&gt; → &lt;code&gt;.gcode&lt;/code&gt; directly in WSL2 with zero GUI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Approval-Gated Printer Dispatch (Moonraker REST API)&lt;/strong&gt; — Upload the &lt;code&gt;.gcode&lt;/code&gt; to the printer with &lt;code&gt;print=false&lt;/code&gt;, print a pre-flight summary (time, grams, temps), and wait for my explicit approval before firing &lt;code&gt;POST /printer/print/start&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Under the Hood: MCP Servers &amp;amp; Tool Calls
&lt;/h2&gt;

&lt;p&gt;If you've heard the buzzword &lt;strong&gt;MCP (Model Context Protocol)&lt;/strong&gt; and assumed it's basically "an API for AI agents," you're pretty much right. The easiest mental model is &lt;strong&gt;USB-C for AI agents&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Instead of writing custom glue code for every model and every service, Meshy publishes a single MCP server (&lt;code&gt;@meshy-ai/meshy-mcp-server&lt;/code&gt;). Here is how the pieces actually talk over JSON-RPC 2.0 in my setup:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Host (&lt;code&gt;agy&lt;/code&gt; / Google Antigravity):&lt;/strong&gt; The AI agent I'm chatting with. It decides &lt;em&gt;when&lt;/em&gt; to call a tool and throws up confirmation prompts before spending credits or mutating remote state.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Client (built into the host):&lt;/strong&gt; Reads my local &lt;code&gt;mcp_config.json&lt;/code&gt;, spins up the Meshy MCP server locally over &lt;code&gt;stdio&lt;/code&gt; (no open network ports!), and asks &lt;code&gt;tools/list&lt;/code&gt; to discover what functions exist and what JSON arguments they expect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The MCP Server (&lt;code&gt;@meshy-ai/meshy-mcp-server&lt;/code&gt;):&lt;/strong&gt; A lightweight Node.js wrapper that translates the agent's structured tool calls (&lt;code&gt;meshy_image_to_3d&lt;/code&gt;, &lt;code&gt;meshy_download_model&lt;/code&gt;, etc.) into real HTTPS requests to Meshy's cloud API—handling auth, polling, and file downloads cleanly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The magic combo was pairing &lt;strong&gt;MCP&lt;/strong&gt; with a local &lt;strong&gt;Agent Skill&lt;/strong&gt; (&lt;code&gt;.agents/skills/stl-to-ke-3mf/&lt;/code&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MCP&lt;/strong&gt; gave the agent &lt;em&gt;connectivity&lt;/em&gt; to the cloud 3D generator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Agent Skill&lt;/strong&gt; gave the agent &lt;em&gt;local domain rules&lt;/em&gt; and a deterministic Python engine (&lt;code&gt;scripts/prep_ornament.py&lt;/code&gt; using &lt;code&gt;trimesh&lt;/code&gt; and &lt;code&gt;manifold3d&lt;/code&gt;) so it wasn't guessing how to repair meshes or structure PrusaSlicer XML metadata.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Things That Went Hilariously Wrong (and Made the Pipeline Better)
&lt;/h2&gt;

&lt;p&gt;No real engineering log is complete without the bloopers. Today delivered three classics:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The Alphabet Soup Incident
&lt;/h3&gt;

&lt;p&gt;My first 2D-to-3D planchette had &lt;code&gt;YES&lt;/code&gt;, &lt;code&gt;NO&lt;/code&gt;, and &lt;code&gt;A–Z&lt;/code&gt; sculpted onto it. The holly leaves looked amazing; the letters looked like a demon trying to pass a CAPTCHA.&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%2Fii170zpq2op69cgicn8s.png" 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%2Fii170zpq2op69cgicn8s.png" alt="Text-generation not great" width="794" height="893"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Never Ask &lt;code&gt;text_to_3d&lt;/code&gt; for a "No-Text Ouija Planchette"
&lt;/h3&gt;

&lt;p&gt;"Fine," I thought, "let's test Meshy's &lt;code&gt;text_to_3d&lt;/code&gt; tool directly and explicitly tell it &lt;em&gt;no text, no letters, no words&lt;/em&gt;."&lt;/p&gt;

&lt;p&gt;Meshy ignored the teardrop shape entirely, sculpted a wide baroque medallion with a &lt;strong&gt;smug little sun face&lt;/strong&gt; at the top, added a paper-thin jump ring guaranteed to snap on a 0.4 mm nozzle, &lt;em&gt;and&lt;/em&gt; still sneaked faint cursed glyphs underneath the center hole because the word "Ouija" lives rent-free in its weights.&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%2Fgtfzue52bcx1uxhtik1h.png" 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%2Fgtfzue52bcx1uxhtik1h.png" alt="Nothing like what I hoped would come from text-to-image" width="800" height="656"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pipeline Rule #1 locked in:&lt;/strong&gt; Always go &lt;strong&gt;2D Concept → &lt;code&gt;image_to_3d&lt;/code&gt;&lt;/strong&gt;. Never let &lt;code&gt;text_to_3d&lt;/code&gt; freehand a silhouette when you care about geometry. Once we generated a purely decorative, zero-text 2D planchette, &lt;code&gt;image_to_3d&lt;/code&gt; nailed it on the first try.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The Haunted Floating Hanging Loop
&lt;/h3&gt;

&lt;p&gt;Our Python script shaved 1.5 mm off the back of the ornament to make it print flat with zero supports. The automated checks passed—until I opened the &lt;code&gt;.3mf&lt;/code&gt; in PrusaSlicer and zoomed in on the side view.&lt;/p&gt;

&lt;p&gt;The main body sat dead flat on the bed. The hanging loop was levitating about &lt;strong&gt;0.8 mm in mid-air&lt;/strong&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%2Fa9ed1rnis0cqzatfxdhw.png" 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%2Fa9ed1rnis0cqzatfxdhw.png" alt="Dead... flat." width="799" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Rather than manually cutting it in the slicer every time, I had the agent upgrade &lt;code&gt;scripts/prep_ornament.py&lt;/code&gt; to:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Inspect the hanging-loop region separately from the body junction.&lt;/li&gt;
&lt;li&gt;Auto-extend the planar cut (it added &lt;code&gt;+0.53 mm&lt;/code&gt; automatically) until both the loop gap &lt;em&gt;and&lt;/em&gt; any rounded underside bevel hit &lt;code&gt;overhang = 0.0 mm²&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add a &lt;code&gt;pytest&lt;/code&gt; unit test specifically for raised/floating loops so it can never regress.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One re-run later: &lt;code&gt;759,596&lt;/code&gt; watertight triangles, &lt;code&gt;91.58 mm²&lt;/code&gt; of flat loop bed contact, and a razor-flat Layer 1.&lt;/p&gt;




&lt;h2&gt;
  
  
  Rooting the Printer &amp;amp; Closing the Loop
&lt;/h2&gt;

&lt;p&gt;At this point I had a valid &lt;code&gt;.3mf&lt;/code&gt; on my WSL2 server, and I realized I was &lt;em&gt;still&lt;/em&gt; manually copying files to my laptop like a caveman.&lt;/p&gt;

&lt;p&gt;So I enabled root access on my Ender-3 V3 KE, ran Guilouz's Creality Helper Script to install &lt;strong&gt;Moonraker + Fluidd&lt;/strong&gt; (which took 5 minutes and kept my existing bed mesh and calibration intact!), and extracted &lt;strong&gt;PrusaSlicer 2.9.7's Linux AppImage&lt;/strong&gt; into WSL2 using &lt;code&gt;--appimage-extract&lt;/code&gt; so it runs headlessly without FUSE or X11.&lt;/p&gt;

&lt;p&gt;Then we wired up &lt;code&gt;scripts/slice_and_send.py&lt;/code&gt; with a strict two-stage safety contract:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
# Stage 1 (Default): Slice headlessly, print pre-flight stats, upload with print=false
.venv/bin/python scripts/slice_and_send.py output/baroque_planchette_ke.3mf

# Stage 2 (Explicit human approval only): Verify printer is idle, then start print
.venv/bin/python scripts/slice_and_send.py --start-file baroque_planchette_ke.gcode
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>3dprinting</category>
      <category>mcp</category>
      <category>python</category>
    </item>
    <item>
      <title>Learning Journal #1: Teaching an AI to Draw Skateboarding Monsters (and Learning What It Can't Do)</title>
      <dc:creator>salamancerAI</dc:creator>
      <pubDate>Wed, 11 Nov 2026 00:00:00 +0000</pubDate>
      <link>https://dev.to/salamancerai/learning-journal-1-teaching-an-ai-to-draw-skateboarding-monsters-and-learning-what-it-cant-do-1l9d</link>
      <guid>https://dev.to/salamancerai/learning-journal-1-teaching-an-ai-to-draw-skateboarding-monsters-and-learning-what-it-cant-do-1l9d</guid>
      <description>&lt;p&gt;&lt;strong&gt;Disclosure:&lt;/strong&gt; The art in this project is human-directed and AI-made. I choose the characters, write the prompts, review every image by hand, and decide what gets published. An image model draws the pictures. I worked with an AI coding agent (Claude Code) to build the tooling, and with Claude in chat to plan it.&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I’m building a sticker collection of cartoon monsters on skateboards. The first batch had a problem: every monster was just standing on a board. I wanted tricks.&lt;/li&gt;
&lt;li&gt;Over two weeks I generated about 1,300 images, reviewed them by hand, and ten designs made it into my shop.&lt;/li&gt;
&lt;li&gt;One pose type worked well (standing on the board, wheels mostly hidden). Several never worked (a shove-it, a handplant, a mid-air grab).&lt;/li&gt;
&lt;li&gt;The model’s biggest weakness was skateboard wheels and trucks. I tried five different fixes. None of them solved it.&lt;/li&gt;
&lt;li&gt;I tried to train a small custom add-on (a LoRA) on a 12 GB graphics card. It failed three times, so I parked it.&lt;/li&gt;
&lt;li&gt;The most useful lesson wasn’t about AI art. It was about who defines “good” when a machine does the counting.&lt;/li&gt;
&lt;li&gt;I have specific questions at the end. If you’ve solved any of this, I’d love to hear how.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  About this journal
&lt;/h2&gt;

&lt;p&gt;This is a working learning journal for my side projects. I write things down as I go, including the parts that don’t work, because the failures teach me more than the wins do. Nothing here is a tutorial or an expert opinion. It’s what I tried, what happened, and what I think it means. Where I’m guessing, I’ll say so.&lt;/p&gt;

&lt;h2&gt;
  
  
  The project
&lt;/h2&gt;

&lt;p&gt;I sell stickers through a print-on-demand shop (RedBubble) under the name Skempies. The brand look is “rad, 90s, comic-book, a little weird.” The first collection was Halloween. The second is Skate Park Punks: ugly-cute monsters (a one-eyed brute, a vampire punk, a skeleton skater, a mushroom, a robot, and more) riding skateboards.&lt;/p&gt;

&lt;p&gt;The first batch of Skate Park Punks looked fine, but every character stood on a board in roughly the same stiff pose. I wanted action: ollies, flips, grinds.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ground rules I set
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;One image model only: FLUX.1 [schnell]. It has a licence that allows commercial use. I avoided FLUX.1 [dev] because its licence doesn’t.&lt;/li&gt;
&lt;li&gt;I only sell designs made on my own hardware. I run the model on a desktop with an RTX 4070 (12 GB of video memory).&lt;/li&gt;
&lt;li&gt;Uploads are always manual. I don’t use third-party tools to push anything to RedBubble.&lt;/li&gt;
&lt;li&gt;I’m the final judge. No automatic score decides what gets published.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How the pipeline works (the short version)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;prompt → image model (schnell) → upscale → remove background
        → quality checks → automated copyright check
        → my review (keep / touch-up / reject)
        → launch review (upload / maybe / no)
        → title, tags and description → I upload by hand

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each prompt is built from fixed parts: a character description that never changes, a pose phrase that I vary, and shared style text. Keeping the character text identical meant that when results changed, I knew the pose phrase caused it.&lt;/p&gt;

&lt;p&gt;A note on prompts: schnell ignores negative prompts. Telling it “no extra wheels” does nothing, so every fix has to be written as positive description (“one skateboard with four round wheels, two at each end”).&lt;/p&gt;

&lt;h2&gt;
  
  
  What I tried: poses
&lt;/h2&gt;

&lt;p&gt;I started with five poses: an ollie, a pop shove-it, a manual (rolling on the back wheels), a casual pose carrying the board, and a handplant.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pose&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Carry the board (chill)&lt;/td&gt;
&lt;td&gt;Read clearly right away.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ollie&lt;/td&gt;
&lt;td&gt;Read as airborne, but board and wheel details were shaky.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pop shove-it&lt;/td&gt;
&lt;td&gt;Looked like an ollie every time. The model couldn’t show a spinning board under a still rider.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manual&lt;/td&gt;
&lt;td&gt;Riders stood on tilted boards. Almost never a real manual.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handplant&lt;/td&gt;
&lt;td&gt;Characters stayed upright. The model ignored “upside down”.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;After three rounds of rewording I dropped the shove-it and handplant. Later I tried a mid-air grab (hand on the board, leg kicked out). Out of 36 images, none were usable.&lt;/p&gt;

&lt;p&gt;What worked best by far was a plain “cruise” pose: the monster stands on the board, knees bent, board mostly hidden under its feet. About 27% of cruise designs I reviewed got approved, against 4% to 14% for most other poses. My guess, and it’s only a guess, is that cruise hides the things the model draws badly: wheels, hands gripping objects, twisting limbs.&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%2Fbcbniayrdxox4zyli54d.png" 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%2Fbcbniayrdxox4zyli54d.png" alt="On the left, an orange one-eyed robot with pincer hands standing upright on a neon-green skateboard. On the right, an orange robot in side view with arms spread, riding a skateboard in a failed attempt at a shove-it." width="800" height="405"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Left: the “cruise” pose that worked. Right: a pop shove-it attempt that didn’t.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The wheel problem, and five things that didn’t fix it
&lt;/h2&gt;

&lt;p&gt;In my review notes, skateboard wheels and trucks came up more than anything else: missing wheels, three or five wheels, wheels turned the wrong way, mismatched sizes. Here’s what I tried.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Attempt&lt;/th&gt;
&lt;th&gt;What I did&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. Reword the prompt&lt;/td&gt;
&lt;td&gt;Described the board geometry more carefully, named the board once, used a three-quarter view.&lt;/td&gt;
&lt;td&gt;Small improvements at best. One round of rewording produced 0 approvals out of 21.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. Image-to-image refinement&lt;/td&gt;
&lt;td&gt;Re-ran the image at low strength, hoping to fix just the wheels.&lt;/td&gt;
&lt;td&gt;Changed under 1% of pixels. The wheels didn’t change.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. A second model&lt;/td&gt;
&lt;td&gt;Tested a newer licence-friendly model (FLUX.2 klein 4B) in a blind comparison against schnell, with the model hidden from me while I judged.&lt;/td&gt;
&lt;td&gt;Roughly a tie (2 of 41 vs 3 of 43 approved). The new model drew wheels better, but did worse elsewhere.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Repaint only the board&lt;/td&gt;
&lt;td&gt;Used a segmentation model to mask the board, then had the newer model repaint just that area.&lt;/td&gt;
&lt;td&gt;The mechanics worked perfectly (nothing outside the mask changed). Quality didn’t: 0 of 12 approved. Twisted boards, clipped wheels.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5. A different background remover&lt;/td&gt;
&lt;td&gt;Not for wheels, but for a related problem: parts of figures going see-through after background removal. A second model rescued 7 of 31 flagged designs.&lt;/td&gt;
&lt;td&gt;Useful, but it made other designs worse if applied blindly. I kept it as an opt-in.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;My conclusion: the wheel problem is a limit of the model, not of my wording. Past about two rounds without movement, I should have changed approach sooner.&lt;/p&gt;

&lt;h2&gt;
  
  
  The LoRA attempt (and why VRAM is the real bottleneck)
&lt;/h2&gt;

&lt;p&gt;A LoRA is a small add-on file that nudges a model toward a style or subject. I wanted one trained on my approved designs, hoping it would learn what a correct board looks like.&lt;/p&gt;

&lt;p&gt;Generating images needs the model on the graphics card. Training needs the model plus extra numbers for every adjustment, plus optimizer state, plus a large text encoder. That’s several times more memory. My card has 12 GB.&lt;/p&gt;

&lt;p&gt;I prepared a 30-image dataset (balanced across poses and characters, with 8 images held out for testing) and installed a trainer in an isolated environment. Along the way I:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;moved my display to the motherboard’s integrated graphics to free about half a gigabyte of video memory,&lt;/li&gt;
&lt;li&gt;raised the Windows Subsystem for Linux memory limit and added swap,&lt;/li&gt;
&lt;li&gt;patched the trainer twice after reading its code,&lt;/li&gt;
&lt;li&gt;ran training with no network access and a watchdog that stops it if memory thrashes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three attempts failed. The last one got through six of seven preparation stages, then ran out of GPU memory just before the first training step. I also saw an unexplained reading (PyTorch reporting about 25 GiB allocated on a 12 GiB card) that I never got to the bottom of.&lt;/p&gt;

&lt;p&gt;I parked the LoRA. The options left are a trainer built for smaller cards, or a card with 24 GB. A used card with that much memory costs more than this project can justify.&lt;/p&gt;

&lt;p&gt;What I’d tell my past self: read the trainer’s code path before spending hours on a run. A dry check that re-implements a loader’s logic instead of calling the real function can pass while the real run fails. I learned that one the hard way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The reality check: who decides what’s “good”?
&lt;/h2&gt;

&lt;p&gt;The pipeline originally had an automatic scorer: a vision model that rated each image from 1 to 10. It gave 10 out of 10 to everything. It couldn’t tell a great image from a broken one.&lt;/p&gt;

&lt;p&gt;So I reviewed by hand. After the first big batch, the AI agent that helped me build the tools reported 153 of 240 images as “usable.” I reviewed 187 of them and approved 3, marked 23 as touch-ups, and rejected 161.&lt;/p&gt;

&lt;p&gt;The agent wasn’t lying. It was counting designs that read as the right pose and had a clean file. I was counting designs I’d put in a shop. Those are very different standards.&lt;/p&gt;

&lt;p&gt;It happened again later. I had 73 approved designs. When I went through them for the actual launch, I marked only 27 as “upload”. The bar I used to approve a design while tuning the pipeline was much looser than the bar for selling.&lt;/p&gt;

&lt;p&gt;The lessons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Define the metric by the person who decides, and don’t let the machine grade itself.&lt;/li&gt;
&lt;li&gt;Do a separate launch review before generating more. I almost generated several hundred more images for characters that already had enough good designs.&lt;/li&gt;
&lt;li&gt;Measure an automatic judge’s noise before relying on it. My copyright-similarity check stopped one image 1 time out of 10 when I re-ran it on the same file, and only about 8% of its stop reasons named a specific character. It’s a rough filter, not a legal clearance, and I treat it that way.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Getting from “approved” to “published”
&lt;/h2&gt;

&lt;p&gt;After review, a few unglamorous steps turned out to matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;File checks.&lt;/strong&gt; I measured every upload file against the sticker spec: size, margins, transparency, stray pixels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grey patches.&lt;/strong&gt; One monster printed with a grey patch between its legs, a leftover piece of background the cutout missed. RedBubble prints transparent areas as white, so I fill those enclosed pockets on copies of the files, only when the colour matches the background and nothing nearby is artwork. (It changed only 2 of my first 27 files, because most candidates were too close to real artwork colours to touch safely.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Titles and tags.&lt;/strong&gt; I generate these from templates. I also learned that 15 of my first 27 designs shared a title with another design of the same character, which I’d want to fix.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A sync script.&lt;/strong&gt; Approved designs get copied (never moved or overwritten) to a folder with a manifest of file hashes, so I can upload from my laptop and always know what’s been done.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When I looked at the first seven uploaded designs in my shop’s dashboard, the critique was obvious in seconds: four of the seven were the same silhouette, a creature crouched on a low board. In a thumbnail grid they read as one pose in four colours.&lt;/p&gt;

&lt;h2&gt;
  
  
  A cheap fix: recolor instead of regenerate
&lt;/h2&gt;

&lt;p&gt;For the last three slots I didn’t want more crouches, and generating new poses for those characters had returned about 4% approval. So I wrote a small tool that recolors finished stickers with no generation at all. It selects regions by colour range, changes hue only inside the mask, never touches the black linework or the transparency, and checks that everything outside the mask is bit-identical.&lt;/p&gt;

&lt;p&gt;Two results made my shortlist: a neon-yellow yeti on a dark skateboard, and a robot with a neon-green board. My first yeti version had a bug: two cream-coloured toes got recoloured yellow because cream sits close to yellow in hue. The fix was to protect pale colours. The final version was clean.&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%2Fssx2ukyjze7figevgewg.png" 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%2Fssx2ukyjze7figevgewg.png" alt="Two versions of a furry yeti on a skateboard: the original in blue with a pink board, and a recolor in neon yellow with a dark board." width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Recoloring is free of wheel and anatomy problems because the geometry doesn’t change. The trade-off: if you list a recolor as a separate design, it needs its own title, or the shop looks like it’s padding.&lt;/p&gt;

&lt;h2&gt;
  
  
  Numbers, with the caveats
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Batch&lt;/th&gt;
&lt;th&gt;Images&lt;/th&gt;
&lt;th&gt;Approved by me&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;First full run (all characters, 4 poses)&lt;/td&gt;
&lt;td&gt;240&lt;/td&gt;
&lt;td&gt;3 of 187 reviewed (first pass)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;New-pose pre-test&lt;/td&gt;
&lt;td&gt;48&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaled run 1&lt;/td&gt;
&lt;td&gt;180&lt;/td&gt;
&lt;td&gt;27 (15%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaled run 2&lt;/td&gt;
&lt;td&gt;126&lt;/td&gt;
&lt;td&gt;12 (9.5%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaled run 3&lt;/td&gt;
&lt;td&gt;158&lt;/td&gt;
&lt;td&gt;18 (11.4%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Push-off and board-at-side batch&lt;/td&gt;
&lt;td&gt;144&lt;/td&gt;
&lt;td&gt;5 (3.5%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mid-air grab test&lt;/td&gt;
&lt;td&gt;36&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;By the end I had 91 approved designs, 27 that I rated as shop-ready, and 10 published.&lt;/p&gt;

&lt;p&gt;Please read these numbers skeptically. Many comparisons rest on 12 to 50 images, which is too few to separate a 10% effect from chance. Everything here comes from one model, one set of characters, and one person’s taste. I have no sales data yet, because the shop is brand new. I can tell you what the model drew. I can’t tell you what will sell.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons learned
&lt;/h2&gt;

&lt;h3&gt;
  
  
  About the model
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Schnell draws creatures, faces and single objects well. It struggles with countable small parts (wheels, fingers) and with hands gripping things.&lt;/li&gt;
&lt;li&gt;Prompt wording has a ceiling. After two rounds without movement, change the approach.&lt;/li&gt;
&lt;li&gt;Describe what’s visible, not the name of the trick.&lt;/li&gt;
&lt;li&gt;A comparison needs paired seeds and enough images, or it’s just a story.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  About engineering
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Read the code path before a long job. Make dry checks call the real functions.&lt;/li&gt;
&lt;li&gt;Isolate new tools, back things up, verify with hashes, and test on copies of your real data.&lt;/li&gt;
&lt;li&gt;Set stop rules and limit yourself to one retry attempt per idea. Mine stopped three failed training attempts from becoming ten.&lt;/li&gt;
&lt;li&gt;Escape your output. One unescaped quote in generated HTML hid every card on a page, and no error appeared. Test pages in a real browser.&lt;/li&gt;
&lt;li&gt;Windows’ Linux subsystem can shut itself down when idle, taking background services with it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  About working with an AI agent
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Restate your rules in every prompt, because fresh sessions forget them.&lt;/li&gt;
&lt;li&gt;Ask for a plan, exact commands and a dry run before it touches anything.&lt;/li&gt;
&lt;li&gt;Make it report mistakes plainly. The corrections were more useful than the confidence.&lt;/li&gt;
&lt;li&gt;Several claims, from both me and the AI, turned out wrong once data arrived. For example, I was told ground shadows only existed in raw images and cleanup removed them. In fact 7 of 52 upload files still had them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where I’d love advice
&lt;/h2&gt;

&lt;p&gt;If you’ve worked on any of these, I’d be grateful for a comment or a message:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Wheels, hands and small mechanical parts.&lt;/strong&gt; Has anyone found reliable fixes with FLUX.1 schnell or similar models? Prompting, masking, ControlNet-style pose guidance, compositing a separately made object?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LoRA training on a 12 GB card.&lt;/strong&gt; Has anyone trained a FLUX (especially schnell) LoRA on 12 GB? Which trainer and settings? Is there a known fix for running out of memory while caching text embeddings?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filtering duds automatically.&lt;/strong&gt; My vision-model scorer was useless. What do people use to pre-filter large batches before a human looks?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Print-on-demand tips.&lt;/strong&gt; Do identical or near-identical titles hurt visibility? How many tags and which tag styles matter in practice?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sanity-checking for lookalikes.&lt;/strong&gt; How do you check that a design doesn’t resemble an existing character, without relying on a weak automatic judge?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Got advice or a correction? Open an issue on the &lt;a href="https://github.com/salamancerAI/salamancerAI.github.io/issues" rel="noopener noreferrer"&gt;blog’s GitHub repo&lt;/a&gt; or leave a comment below!&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Watch the shop for a couple of weeks and record views, favourites and sales per character and pose, before generating more.&lt;/li&gt;
&lt;li&gt;Plan a Valentine’s-season collection with what I learned: pick subjects the model draws well (single creatures and busts), choose poses that hide hands and mechanical parts, and settle colour and board rules before generating.&lt;/li&gt;
&lt;li&gt;Maybe revisit board compositing (a 3D-made board placed under the character) and the LoRA, if I get a bigger graphics card or a better-suited trainer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you read this far, thank you. Corrections and suggestions are very welcome.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>comfyui</category>
      <category>flux</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
