<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" sizes="any" />
    <link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png" />
    <link rel="icon" type="image/png" sizes="512x512" href="/favicon.png" />
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
    <link rel="manifest" href="/site.webmanifest" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
    <title>PixelPrompt – #1 AI Photo Editing Prompts &amp; Trending Prompts Library</title>
    <meta name="description" content="Explore battle-tested AI photo editing prompts. Find every new prompt, trending prompt &amp; new trending prompt for Gemini, ChatGPT &amp; Midjourney. Discover top trending AI photo prompt recipes." />
    <!-- Note: Content Security Policy is delivered via HTTP headers in server.js and vercel.json -->

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://images.unsplash.com">
    <link rel="dns-prefetch" href="https://images.unsplash.com">

    <!-- LCP Image Preload: Discovered immediately by HTML parser before React mounts -->
    <link rel="preload" as="image" type="image/webp" href="/images/prompts/prompt-1790339426033.webp" fetchpriority="high" />

    <!-- Google Fonts: Non-render-blocking asynchronous stylesheet -->
    <link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap" media="print" onload="this.media='all'" />
    <noscript>
      <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap">
    </noscript>

    <!-- Robots Indexing Control Tag (defaults to index, follow; immediately flipped to noindex for admin) -->
    <meta name="robots" id="meta-robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
    <link rel="canonical" href="https://www.pixelprompt.in/" />

    <!-- Synchronous Route-Aware Canonical + Meta Initializer -->
    <!-- Sets correct canonical, title, description, og:url BEFORE React mounts -->
    <!-- This ensures Googlebot's initial HTML parse sees per-page metadata, not hardcoded homepage values -->
    <script id="pp-route-meta">
    (function(){
      try {
        var host=(window.location.hostname||'').toLowerCase();
        var path=window.location.pathname.replace(/\/+$/,'').toLowerCase()||'/';
        var isAdmin=host.startsWith('admin.')||host.includes('.admin.')||path.startsWith('/admin');

        // Admin Subdomain & Control Routes: Strictly noindex, nofollow, noarchive
        if(isAdmin){
          document.title='PixelPrompt Admin Portal';
          var rEl=document.getElementById('meta-robots')||document.querySelector("meta[name='robots']");
          if(rEl){rEl.setAttribute('content','noindex, nofollow, noarchive, nosnippet');}
          return;
        }

        var isApex = (host === 'pixelprompt.in');
        var BASE = isApex ? 'https://pixelprompt.in' : 'https://www.pixelprompt.in';
        var title='PixelPrompt \u2013 #1 AI Photo Editing Prompts & Trending Prompts Library';
        var desc='Explore battle-tested AI photo editing prompts. Find every new prompt, trending prompt & new trending prompt for Gemini, ChatGPT & Midjourney. Discover top trending AI photo prompt recipes.';
        var canonical=BASE+'/';
        var ogImage=BASE+'/og-image.png';

        // Dedicated library prompt detail pages: /library/:libSlug/:promptSlug
        var pathSegments=path.split('/').filter(Boolean);
        if(path.startsWith('/library/') && pathSegments.length >= 3){
          var libSlug=pathSegments[1];
          var promptSlug=pathSegments[2];
          if(libSlug && promptSlug){
            var humanSlug=promptSlug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
            var humanLib=libSlug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
            title=humanSlug+' \u2013 '+humanLib+' AI Prompt | PixelPrompt';
            desc='Free AI photo editing prompt: '+humanSlug+' in '+humanLib+' library. Copy-ready for ChatGPT, Gemini 2.0 & Midjourney. Includes camera parameters and lighting setups.';
            canonical=BASE+'/library/'+libSlug+'/'+promptSlug;
          }
        }
      // Legacy prompt detail pages: /prompt/:slug or /prompts/:slug
      else if(path.startsWith('/prompt/')||path.startsWith('/prompts/')||path.startsWith('/ai-prompts/')){
        var slug=path.replace(/^\/(prompt|prompts|ai-prompts)\//,'').replace(/^-+|-+$/g,'');
        var humanSlug=slug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
        title=humanSlug+' \u2013 Free AI Photo Editing Prompt | PixelPrompt';
        desc='Free AI photo editing prompt: '+humanSlug+'. Copy-ready for Gemini 2.0, ChatGPT, Midjourney & Flux.1. Includes camera parameters, lighting setup, and negative prompts.';
        canonical=BASE+'/prompt/'+slug;
      }
      // Category pages: /category/:slug
      else if(path.startsWith('/category/')){
        var catSlug=path.replace('/category/','').replace(/^-+|-+$/g,'');
        var catName=catSlug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
        title=catName+' AI Photo Editing Prompts \u2013 PixelPrompt';
        desc='Browse '+catName+' AI photo editing prompts. Curated, tested prompt recipes for Gemini 2.0, Midjourney v6, ChatGPT & Flux.1. Explore '+catName+' styles, lighting setups & camera parameters.';
        canonical=BASE+'/category/'+catSlug;
      }
      // Library collection pages: /libraries/:slug or single-segment /library/:slug
      else if(path.startsWith('/libraries/') || path.startsWith('/library/')){
        var libSlug=path.replace(/^\/(?:libraries|library)\//,'').replace(/^-+|-+$/g,'');
        var libName=libSlug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
        title=libName+' AI Prompt Library – PixelPrompt';
        desc='Explore the '+libName+' AI photo prompt library on PixelPrompt. Curated, production-ready prompt recipes for Gemini 2.0, Midjourney & ChatGPT.';
        canonical=BASE+'/libraries/'+libSlug;
      }
      // Libraries hub: /libraries
      else if(path==='/libraries'||path==='/library'){
        title='AI Photo Editing Prompt Library & Categories – PixelPrompt';
        desc='Explore all AI photo editing prompt categories and libraries on PixelPrompt. Browse Portraits, Fashion, Cinematic, Sci-Fi, Commercial, and more.';
        canonical=BASE+'/libraries';
      }
      // Blog article: /blog/:slug
      else if(path.startsWith('/blog/')&&path.length>6){
        var blogSlug=path.replace('/blog/','').replace(/^-+|-+$/g,'');
        var blogTitle=blogSlug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
        title=blogTitle+' \u2013 PixelPrompt Masterclass';
        desc='Read the PixelPrompt Masterclass guide: '+blogTitle+'. In-depth AI photography tutorials, prompt engineering techniques, and creative recipes for generative AI.';
        canonical=BASE+'/blog/'+blogSlug;
      }
      // Blog directory: /blog
      else if(path==='/blog'||path==='/blogs'){
        title='AI Photography Masterclass & Prompt Engineering Guides \u2013 PixelPrompt';
        desc='Comprehensive tutorials on AI photo editing prompts, camera simulations, and achieving photorealism in generative AI. Read the PixelPrompt Masterclass blog.';
        canonical=BASE+'/blog';
      }
      // Author pages: /author/:slug
      else if(path.startsWith('/author/')){
        var authorSlug=path.replace(/^\/(author|authors)\//,'').replace(/^-+|-+$/g,'');
        var authorName=authorSlug.replace(/-+/g,' ').replace(/\b\w/g,function(c){return c.toUpperCase();});
        title=authorName+' \u2013 Prompt Engineer & Author | PixelPrompt';
        desc='Explore AI photo editing prompts, tutorials, and creative recipes by '+authorName+' on PixelPrompt.';
        canonical=BASE+'/author/'+authorSlug;
      }
      // About Us
      else if(path==='/about-us'||path==='/about'){
        title='About Us - PixelPrompt | Bring Your Ideas to Life with the Right Prompt';
        desc='Welcome to PixelPrompt. Our mission is to make creative AI prompting easier for everyone. Explore prompts and ideas for visual creation, photo editing, and digital art.';
        canonical=BASE+'/about-us';
      }
      // Contact Us
      else if(path==='/contact-us'||path==='/contact'){
        title='Contact Us - PixelPrompt | We\u2019d Love to Hear From You';
        desc='Get in touch with the PixelPrompt team for questions, feedback, or collaborations. We respond within 24 hours.';
        canonical=BASE+'/contact-us';
      }
      // Privacy Policy
      else if(path==='/privacy-policy'||path==='/privacy'){
        title='Privacy Policy - PixelPrompt | Official Data & Privacy Practices';
        desc='PixelPrompt Privacy Policy: Learn how we collect, use, and safeguard your data when using pixelprompt.in.';
        canonical=BASE+'/privacy-policy';
      }
      // Terms and Conditions
      else if(path==='/terms-and-conditions'||path==='/terms'){
        title='Terms and Conditions - PixelPrompt | Official User Agreement';
        desc='PixelPrompt Terms and Conditions governing user access, prompt collections, and website terms.';
        canonical=BASE+'/terms-and-conditions';
      }
      // AI Content Policy
      else if(path==='/ai-content-policy'||path==='/ai-policy'){
        title='AI Content Policy - PixelPrompt | Transparency in Generative AI';
        desc='PixelPrompt AI Content Policy explaining our approach to AI-generated visuals, prompt variations, and responsible AI usage.';
        canonical=BASE+'/ai-content-policy';
      }
      // Editorial Policy
      else if(path==='/editorial-policy'||path==='/editorial'){
        title='Editorial Policy - PixelPrompt | Standards & Guidelines for AI Creativity';
        desc='PixelPrompt Editorial Policy outlines our transparent, practical, and human-reviewed standards for creating AI image prompts, guides, and visual content.';
        canonical=BASE+'/editorial-policy';
      }
      // Sitemap
      else if(path==='/sitemap'){
        title='Sitemap - PixelPrompt | Complete Site Directory & XML Feeds';
        desc='Comprehensive sitemap directory of PixelPrompt: explore all AI prompt libraries, categories, blog tutorials, author portfolios, and XML sitemaps.';
        canonical=BASE+'/sitemap';
      }

      // 1. Set document title immediately
      document.title=title;

      // 2. Set/update canonical link
      var canonicalEl=document.querySelector("link[rel='canonical']");
      if(!canonicalEl){
        canonicalEl=document.createElement('link');
        canonicalEl.setAttribute('rel','canonical');
        document.head.appendChild(canonicalEl);
      }
      canonicalEl.setAttribute('href',canonical);

      // 3. Set/update meta description
      var descEl=document.querySelector("meta[name='description']");
      if(!descEl){
        descEl=document.createElement('meta');
        descEl.setAttribute('name','description');
        document.head.appendChild(descEl);
      }
      descEl.setAttribute('content',desc);

      // 4. Set/update og:url, og:title, og:description
      function setOg(attr,val,content){
        var el=document.querySelector("meta["+attr+"='"+val+"']");
        if(!el){el=document.createElement('meta');el.setAttribute(attr,val);document.head.appendChild(el);}
        el.setAttribute('content',content);
      }
      setOg('property','og:url',canonical);
      setOg('property','og:title',title);
      setOg('property','og:description',desc);
      setOg('name','twitter:url',canonical);
      setOg('name','twitter:title',title);
      setOg('name','twitter:description',desc);
    } catch (e) {
      console.error('Route meta initialization error:', e);
    }
  })();
  </script>
    <meta name="keywords" content="AI photo prompts, trending AI prompts, Gemini photo prompts, Midjourney prompts, ChatGPT image prompts, Flux prompts, photorealistic AI portrait prompts, studio lighting AI prompts" />
    <meta name="author" content="PixelPrompt Lab" />
    <meta name="theme-color" content="#2563eb" />

    <!-- Inlined Theme Initializer Script (Zero network roundtrip, CSP-compliant, zero flicker) -->
    <script>
    (function(){
      try{
        var t=localStorage.getItem('theme');
        if(t==='dark'){document.documentElement.classList.add('dark');document.documentElement.classList.remove('light');}
        else{document.documentElement.classList.remove('dark');document.documentElement.classList.add('light');}
      }catch(e){}
      if(window.trustedTypes&&typeof window.trustedTypes.createPolicy==='function'){
        try{
          window.trustedTypes.createPolicy('default',{
            createHTML:function(s){return s.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,'').replace(/\s+on[a-z]+\s*=\s*(?:'[^']*'|"[^"]*"|[^\s>]+)/gi,'').replace(/(href|src)\s*=\s*(?:'javascript:[^']*'|"javascript:[^"]*"|javascript:[^\s>]+)/gi,'$1="#"');},
            createScriptURL:function(u){return u;},
            createScript:function(sc){return sc;}
          });
        }catch(e){}
      }
      if(window.top!==window.self){
        try{if(window.top.location.hostname!==window.self.location.hostname){window.top.location=window.self.location;}}catch(e){document.documentElement.style.display='none';}
      }
    })();
    </script>

    <!-- Open Graph / Facebook / WhatsApp / LinkedIn -->
    <meta property="og:type" content="website" />
    <meta property="og:url" content="https://www.pixelprompt.in/" />
    <meta property="og:title" content="PixelPrompt – #1 AI Photo Editing Prompts &amp; Trending Prompts Library" />
    <meta property="og:description" content="Transform Your Photos with AI Photo Editing Prompts. Discover every new prompt &amp; trending prompt for Gemini, ChatGPT, Midjourney, and Flux." />
    <meta property="og:image" content="https://www.pixelprompt.in/og-image.png" />
    <meta property="og:image:secure_url" content="https://www.pixelprompt.in/og-image.png" />
    <meta property="og:image:type" content="image/png" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="630" />
    <meta property="og:image:alt" content="PixelPrompt - Transform Your Photos with AI Photo Editing Prompts" />
    <meta property="og:site_name" content="PixelPrompt" />

    <!-- Twitter / X Cards -->
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:url" content="https://www.pixelprompt.in/" />
    <meta name="twitter:title" content="PixelPrompt – Transform Your Photos with AI Photo Editing Prompts" />
    <meta name="twitter:description" content="Discover every new prompt &amp; trending prompt for Gemini, ChatGPT, Midjourney, and Flux. Find your next trending prompt in seconds." />
    <meta name="twitter:image" content="https://www.pixelprompt.in/og-image.png" />
    <meta name="twitter:image:alt" content="PixelPrompt - Transform Your Photos with AI Photo Editing Prompts" />

    <!-- Pre-rendered Static JSON-LD Schema for Instant Search Engine Indexing (Global WebSite & Organization) -->
    <script type="application/ld+json" id="site-identity-schema">
    {
      "@context": "https://schema.org",
      "@graph": [
        {
          "@type": "WebSite",
          "@id": "https://pixelprompt.in/#website",
          "url": "https://pixelprompt.in/",
          "name": "PixelPrompt",
          "description": "#1 AI Photo Editing Prompts & Trending Prompts Library",
          "potentialAction": {
            "@type": "SearchAction",
            "target": "https://pixelprompt.in/?search={search_term_string}",
            "query-input": "required name=search_term_string"
          }
        },
        {
          "@type": "Organization",
          "@id": "https://pixelprompt.in/#organization",
          "name": "PixelPrompt",
          "url": "https://pixelprompt.in/",
          "email": "support@pixelprompt.in",
          "logo": "https://pixelprompt.in/logo.png",
          "contactPoint": {
            "@type": "ContactPoint",
            "email": "support@pixelprompt.in",
            "contactType": "customer support",
            "availableLanguage": ["English", "Hindi"]
          }
        }
      ]
    }
    </script>

    <!-- Google tag (gtag.js) - Defer external script until after initial render / idle -->
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'G-SHE3ZJLJZM', { 'send_page_view': false });

      (function() {
        var gtmLoaded = false;
        function loadGtag() {
          if (gtmLoaded) return;
          gtmLoaded = true;
          var s = document.createElement('script');
          s.async = true;
          s.src = 'https://www.googletagmanager.com/gtag/js?id=G-SHE3ZJLJZM';
          document.head.appendChild(s);
          gtag('event', 'page_view');
        }
        if ('requestIdleCallback' in window) {
          window.addEventListener('load', function() {
            requestIdleCallback(loadGtag, { timeout: 3000 });
          });
        } else {
          window.addEventListener('load', function() {
            setTimeout(loadGtag, 2000);
          });
        }
        ['pointerdown', 'keydown', 'scroll', 'touchstart'].forEach(function(evt) {
          window.addEventListener(evt, loadGtag, { once: true, passive: true });
        });
      })();
    </script>
    <script type="module" crossorigin src="/assets/index-BplNCW7P.js"></script>
    <link rel="modulepreload" crossorigin href="/assets/vendor-react-tkIjut9R.js">
    <link rel="modulepreload" crossorigin href="/assets/initial-prompts-data-BJsE_9x5.js">
    <link rel="stylesheet" crossorigin href="/assets/index-BhQlF-qa.css">
  </head>
  <body class="antialiased bg-[#f8fafc] dark:bg-[#090d16] text-slate-900 dark:text-slate-100 min-h-screen">
    <!-- React Root Container with Pre-rendered Semantic HTML Shell (Visible in HTML Viewers, Crawlers & Search Engines) -->
    <div id="root">
      <div id="app-loading-shell" style="min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: transparent;">
        <div style="display: flex; flex-direction: column; align-items: center; gap: 16px;">
          <img src="/logo.webp" alt="PixelPrompt" style="width: 52px; height: 52px; animation: ppPulse 1.6s ease-in-out infinite;" />
          <div style="width: 24px; height: 24px; border: 2.5px solid rgba(99, 102, 241, 0.2); border-top-color: #6366f1; border-radius: 50%; animation: ppSpin 0.7s linear infinite;"></div>
        </div>
      </div>
      <style>
        @keyframes ppSpin { to { transform: rotate(360deg); } }
        @keyframes ppPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.75; transform: scale(0.96); } }
      </style>
    </div>

  </body>
</html>
