<?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: Nehir Akbaş</title>
    <description>The latest articles on DEV Community by Nehir Akbaş (@nehirakbas).</description>
    <link>https://dev.to/nehirakbas</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%2F3760149%2F4213a189-85f4-414f-aca6-e98985c0939d.jpg</url>
      <title>DEV Community: Nehir Akbaş</title>
      <link>https://dev.to/nehirakbas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nehirakbas"/>
    <language>en</language>
    <item>
      <title>How I Built a Prompt Generator to Create 10K+ AI Image Prompts for My ML Dataset</title>
      <dc:creator>Nehir Akbaş</dc:creator>
      <pubDate>Sun, 08 Feb 2026 14:34:32 +0000</pubDate>
      <link>https://dev.to/nehirakbas/how-i-built-a-prompt-generator-to-create-10k-ai-image-prompts-for-my-ml-dataset-2h57</link>
      <guid>https://dev.to/nehirakbas/how-i-built-a-prompt-generator-to-create-10k-ai-image-prompts-for-my-ml-dataset-2h57</guid>
      <description>&lt;h1&gt;
  
  
  How I Built a Prompt Generator to Create 10K+ AI Image Prompts for My ML Dataset
&lt;/h1&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;I was training a custom ML model and needed a large, diverse image dataset. My options:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Scrape the internet&lt;/strong&gt; - Copyright issues, inconsistent quality, messy metadata&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use GPT&lt;/strong&gt; - Repetitive outputs, no structure, expensive at scale&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generate my own images&lt;/strong&gt; - But I needed thousands of &lt;em&gt;unique, categorized&lt;/em&gt; prompts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Manually writing prompts? Not an option.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: PromptAnvil
&lt;/h2&gt;

&lt;p&gt;I built &lt;a href="https://promptanvil.com" rel="noopener noreferrer"&gt;PromptAnvil&lt;/a&gt; - a prompt configuration tool that generates hundreds of unique, structured prompts in seconds.&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Concept
&lt;/h3&gt;

&lt;p&gt;Instead of writing prompts one by one, you define:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Categories&lt;/strong&gt; (subject, style, lighting, mood, etc.)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entries&lt;/strong&gt; with optional weights&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Templates&lt;/strong&gt; using &lt;code&gt;{tokens}&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logic rules&lt;/strong&gt; for context control&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then hit generate → get unique combinations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick Example
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Categories:
- subject: cat, dog, owl
- style: watercolor, oil painting, pixel art
- mood: peaceful, dramatic

Template: "{subject} in {style} style, {mood} atmosphere"

Output:
→ "cat in watercolor style, peaceful atmosphere"
→ "owl in pixel art style, dramatic atmosphere"
→ ... 18 unique combinations
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Scale up to thousands by adding more entries.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Weighted Randomization
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;subject:
  - warrior (weight: 3)
  - mage (weight: 1)
  - archer (weight: 1)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Warrior appears 60% of the time.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Conditional Logic
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;IF subject = "archer" THEN setting = "forest"
IF setting = "ruins" THEN EXCLUDE mood = "peaceful"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No more archers in castles or peaceful ruins.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Tag Linking
&lt;/h3&gt;

&lt;p&gt;Group related entries across categories:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Tag "cyber":
- setting: neon-lit megacity
- clothing: tech jacket
- lighting: pink neon glow
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When one is selected, others follow. Context stays coherent.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Export Options
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;JSON&lt;/strong&gt; - For programmatic pipelines&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TXT&lt;/strong&gt; - One prompt per line&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CSV&lt;/strong&gt; - With category metadata&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Perfect for batch processing with ComfyUI, Automatic1111, or custom scripts.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. AI-Powered Helpers
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Config Generator&lt;/strong&gt; - Describe what you want, AI builds the entire configuration&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entry Generator&lt;/strong&gt; - AI suggests entries for your categories&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logic Rule Generator&lt;/strong&gt; - AI creates smart conditional rules&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt Refiner&lt;/strong&gt; - 3-agent pipeline (Critic → Refiner → Evaluator) improves your prompts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Still in active development, but already saves time of manual setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Next.js 15 (React 19)&lt;/li&gt;
&lt;li&gt;TypeScript&lt;/li&gt;
&lt;li&gt;Zustand for state management&lt;/li&gt;
&lt;li&gt;Supabase for auth &amp;amp; cloud sync&lt;/li&gt;
&lt;li&gt;Java + Spring Boot backend&lt;/li&gt;
&lt;li&gt;Redis for rate limiting &amp;amp; caching&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://promptanvil.com" rel="noopener noreferrer"&gt;promptanvil.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Free to use. No signup required for basic features.&lt;/p&gt;

&lt;p&gt;Built this to solve my own problem - now sharing with the community. Feedback welcome!&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.amazonaws.com%2Fuploads%2Farticles%2Fslzbmziqhdba5ze1wuds.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.amazonaws.com%2Fuploads%2Farticles%2Fslzbmziqhdba5ze1wuds.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>saas</category>
      <category>productivity</category>
      <category>buildinpublic</category>
    </item>
  </channel>
</rss>
