PageSourceSearch

https://resale-photo-enhancer.vercel.app/_next/static/chunks/0vpvcf~.qsm~-.js

js resale-photo-enhancer.vercel.app collected 2026-10-03 07:37:30 UTC 41,989 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18742,(t,e,a)=>{e.exports=JSON.parse('[{"id":3,"image_url":"https://cdn.muapi.ai/webapps/135.png","default_prompt":"Composite the product into this dark dramatic background, using moody atmospheric lighting with soft rim light on the product"},{"id":4,"image_url":"https://cdn.muapi.ai/webapps/136.png","default_prompt":"Composite the product into this dark dramatic background, using moody atmospheric lighting with soft rim light on the product"},{"id":5,"image_url":"https://cdn.muapi.ai/webapps/138.png","default_prompt":"Composite the product into this dark dramatic background, using moody atmospheric lighting with soft rim light on the product"},{"id":6,"image_url":"https://cdn.muapi.ai/webapps/75.png","default_prompt":"Composite the product into this dark dramatic background, using moody atmospheric lighting with soft rim light on the product"},{"id":7,"image_url":"https://cdn.muapi.ai/webapps/76.png","default_prompt":"Composite the product into this dark dramatic background, using moody atmospheric lighting with soft rim light on the product"},{"id":8,"image_url":"https://cdn.muapi.ai/webapps/126.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":9,"image_url":"https://cdn.muapi.ai/webapps/127.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":10,"image_url":"https://cdn.muapi.ai/webapps/128.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":11,"image_url":"https://cdn.muapi.ai/webapps/129.jpg","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":12,"image_url":"https://cdn.muapi.ai/webapps/130.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":13,"image_url":"https://cdn.muapi.ai/webapps/131.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":14,"image_url":"https://cdn.muapi.ai/webapps/145.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":15,"image_url":"https://cdn.muapi.ai/webapps/146.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":16,"image_url":"https://cdn.muapi.ai/webapps/147.png","default_prompt":"Place the product in this display setting, compositing it naturally with proper lighting and shadow to look like a professional product shot"},{"id":17,"image_url":"https://cdn.muapi.ai/webapps/114.jpg","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":18,"image_url":"https://cdn.muapi.ai/webapps/115.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":19,"image_url":"https://cdn.muapi.ai/webapps/116.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":20,"image_url":"https://cdn.muapi.ai/webapps/70.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":21,"image_url":"https://cdn.muapi.ai/webapps/86.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":22,"image_url":"https://cdn.muapi.ai/webapps/87.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":23,"image_url":"https://cdn.muapi.ai/webapps/88.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":24,"image_url":"https://cdn.muapi.ai/webapps/89.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":25,"image_url":"https://cdn.muapi.ai/webapps/91.png","default_prompt":"Place the product within this event-themed background, integrating it naturally with proper lighting to create a festive product scene"},{"id":26,"image_url":"https://cdn.muapi.ai/webapps/28.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower
1-diffused shadows"},{"id":27,"image_url":"https://cdn.muapi.ai/webapps/29.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower-diffused shadows"},{"id":28,"image_url":"https://cdn.muapi.ai/webapps/30.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower-diffused shadows"},{"id":29,"image_url":"https://cdn.muapi.ai/webapps/31.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower-diffused shadows"},{"id":30,"image_url":"https://cdn.muapi.ai/webapps/32.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower-diffused shadows"},{"id":31,"image_url":"https://cdn.muapi.ai/webapps/33.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower-diffused shadows"},{"id":32,"image_url":"https://cdn.muapi.ai/webapps/94.png","default_prompt":"Place the product amongst these floral elements, blending beautifully with soft natural lighting and gentle flower-diffused shadows"},{"id":33,"image_url":"https://cdn.muapi.ai/webapps/101.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":34,"image_url":"https://cdn.muapi.ai/webapps/139.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":35,"image_url":"https://cdn.muapi.ai/webapps/140.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":36,"image_url":"https://cdn.muapi.ai/webapps/141.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":37,"image_url":"https://cdn.muapi.ai/webapps/40.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":38,"image_url":"https://cdn.muapi.ai/webapps/41.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":39,"image_url":"https://cdn.muapi.ai/webapps/42.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":40,"image_url":"https://cdn.muapi.ai/webapps/80.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":41,"image_url":"https://cdn.muapi.ai/webapps/81.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":42,"image_url":"https://cdn.muapi.ai/webapps/82.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":43,"image_url":"https://cdn.muapi.ai/webapps/98.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":44,"image_url":"https://cdn.muapi.ai/webapps/99.png","default_prompt":"Composite the product seamlessly into the food-styled background scene, preserving the product exactly as-is, blending lighting and shadows naturally"},{"id":45,"image_url":"https://cdn.muapi.ai/webapps/132.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":46,"image_url":"https://cdn.muapi.ai/webapps/133.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":47,"image_url":"https://cdn.muapi.ai/webapps/134.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":48,"image_url":"https://cdn.muapi.ai/webapps/23.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":49,"image_url":"https://cdn.muapi.ai/webapps/24.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":50,"image_url":"https://cdn.muapi.ai/webapps/25.jpg","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":51,"image_url":"https://cdn.muapi.ai/webapps/27.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":52,"image_url":"https://cdn.muapi.ai/webapps/77.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":53,"image_url":"https://cdn.muapi.ai/webapps/78.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":54,"image_url":"https://cdn.muapi.ai/webapps/79.png","default_prompt":"Integrate the product naturally into this indoor scene, matching the room lighting with accurate shadows and reflections"},{"id":55,"image_url":"https://cdn.muapi.ai/webapps/11.png","default_prompt":"Place the product on this clean minimalist background, ensuring the product stands out with soft realistic shadows"},{"id":56,"image_url":"https://cdn.muapi.ai/webapps/12.jpg","default_prompt":"Place the product on this clean minimalist background, ensuring the product stands out with soft realistic shadows"},{"id":57,"image_url":"https://cdn.muapi.ai/webapps/14.png","default_prompt":"Place the product on this clean minimalist background, ensuring the product stands out with soft realistic shadows"},{"id":58,"image_url":"https://cdn.muapi.ai/webapps/15.png","default_prompt":"Place the product on this clean minimalist background, ensuring the product stands out with soft realistic shadows"},{"id":61,"image_url":"https://cdn.muapi.ai/webapps/123.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":62,"image_url":"https://cdn.muapi.ai/webapps/124.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":63,"image_url":"https://cdn.muapi.ai/webapps/125.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":64,"image_url":"https://cdn.muapi.ai/webapps/43.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":65,"image_url":"https://cdn.muapi.ai/webapps/44.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":66,"image_url":"https://cdn.muapi.ai/webapps/45.jpg","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":67,"image_url":"https://cdn.muapi.ai/webapps/46.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":68,"image_url":"https://cdn.muapi.ai/webapps/47.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":69,"image_url":"https://cdn.muapi.ai/webapps/48.png","default_prompt":"Composite the product into this natural outdoor environment, matching the ambient lighting and adding subtle ground shadows for realism"},{"id":70,"image_url":"https://cdn.muapi.ai/webapps/105.png","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":71,"image_url":"https://cdn.muapi.ai/webapps/106.png","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":72,"image_url":"https://cdn.muapi.ai/webapps/107.jpg","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":73,"image_url":"https://cdn.muapi.ai/webapps/108.jpg","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":74,"image_url":"https://cdn.muapi.ai/webapps/110.jpg","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":75,"image_url":"https://cdn.muapi.ai/webapps/142.png","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":76,"image_url":"https://cdn.muapi.ai/webapps/143.png","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":77,"image_url":"https://cdn.muapi.ai/webapps/144.png","default_prompt":"Integrate the product into this outdoor setting, matching natural sunlight and environment with realistic ground shadows"},{"id":78,"image_url":"https://cdn.muapi.ai/webapps/34.png","default_prompt":"Composite the product into this lush plant-surrounded sce
1ne, blending ambient green bokeh lighting naturally around the product"},{"id":79,"image_url":"https://cdn.muapi.ai/webapps/35.png","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":80,"image_url":"https://cdn.muapi.ai/webapps/36.jpg","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":81,"image_url":"https://cdn.muapi.ai/webapps/37.png","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":82,"image_url":"https://cdn.muapi.ai/webapps/38.png","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":83,"image_url":"https://cdn.muapi.ai/webapps/39.png","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":84,"image_url":"https://cdn.muapi.ai/webapps/95.png","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":85,"image_url":"https://cdn.muapi.ai/webapps/96.png","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":86,"image_url":"https://cdn.muapi.ai/webapps/97.jpg","default_prompt":"Composite the product into this lush plant-surrounded scene, blending ambient green bokeh lighting naturally around the product"},{"id":87,"image_url":"https://cdn.muapi.ai/webapps/16.png","default_prompt":"Composite the product onto this professional studio backdrop, with studio lighting, clean ground shadow and professional product photography look"},{"id":88,"image_url":"https://cdn.muapi.ai/webapps/17.png","default_prompt":"Composite the product onto this professional studio backdrop, with studio lighting, clean ground shadow and professional product photography look"},{"id":89,"image_url":"https://cdn.muapi.ai/webapps/18.png","default_prompt":"Composite the product onto this professional studio backdrop, with studio lighting, clean ground shadow and professional product photography look"},{"id":90,"image_url":"https://cdn.muapi.ai/webapps/83.png","default_prompt":"Composite the product onto this professional studio backdrop, with studio lighting, clean ground shadow and professional product photography look"},{"id":91,"image_url":"https://cdn.muapi.ai/webapps/84.png","default_prompt":"Composite the product onto this professional studio backdrop, with studio lighting, clean ground shadow and professional product photography look"},{"id":92,"image_url":"https://cdn.muapi.ai/webapps/85.png","default_prompt":"Composite the product onto this professional studio backdrop, with studio lighting, clean ground shadow and professional product photography look"},{"id":93,"image_url":"https://cdn.muapi.ai/webapps/111.png","default_prompt":"Composite the product onto this textured surface, matching the surface material lighting and casting a natural shadow"},{"id":94,"image_url":"https://cdn.muapi.ai/webapps/112.png","default_prompt":"Composite the product onto this textured surface, matching the surface material lighting and casting a natural shadow"},{"id":95,"image_url":"https://cdn.muapi.ai/webapps/113.png","default_prompt":"Composite the product onto this textured surface, matching the surface material lighting and casting a natural shadow"},{"id":96,"image_url":"https://cdn.muapi.ai/webapps/120.png","default_prompt":"Composite the product onto this textured surface, matching the surface material lighting and casting a natural shadow"},{"id":97,"image_url":"https://cdn.muapi.ai/webapps/121.png","default_prompt":"Composite the product onto this textured surface, matching the surface material lighting and casting a natural shadow"},{"id":98,"image_url":"https://cdn.muapi.ai/webapps/122.png","default_prompt":"Composite the product onto this textured surface, matching the surface material lighting and casting a natural shadow"},{"id":99,"image_url":"https://cdn.muapi.ai/webapps/117.png","default_prompt":"Place the product on this tabletop scene, naturally compositing it with the table surface texture, lighting, and soft shadows"},{"id":100,"image_url":"https://cdn.muapi.ai/webapps/118.png","default_prompt":"Place the product on this tabletop scene, naturally compositing it with the table surface texture, lighting, and soft shadows"},{"id":101,"image_url":"https://cdn.muapi.ai/webapps/119.png","default_prompt":"Place the product on this tabletop scene, naturally compositing it with the table surface texture, lighting, and soft shadows"},{"id":102,"image_url":"https://cdn.muapi.ai/webapps/19.png","default_prompt":"Place the product on this tabletop scene, naturally compositing it with the table surface texture, lighting, and soft shadows"},{"id":103,"image_url":"https://cdn.muapi.ai/webapps/65.png","default_prompt":"Place the product on this tabletop scene, naturally compositing it with the table surface texture, lighting, and soft shadows"},{"id":104,"image_url":"https://cdn.muapi.ai/webapps/66.jpg","default_prompt":"Place the product on this tabletop scene, naturally compositing it with the table surface texture, lighting, and soft shadows"},{"id":105,"image_url":"https://cdn.muapi.ai/webapps/49.jpg","default_prompt":"Composite the product against this texture background, ensuring the product remains sharp with realistic ambient shadows"},{"id":106,"image_url":"https://cdn.muapi.ai/webapps/50.png","default_prompt":"Composite the product against this texture background, ensuring the product remains sharp with realistic ambient shadows"},{"id":107,"image_url":"https://cdn.muapi.ai/webapps/51.png","default_prompt":"Composite the product against this texture background, ensuring the product remains sharp with realistic ambient shadows"},{"id":108,"image_url":"https://cdn.muapi.ai/webapps/52.png","default_prompt":"Composite the product against this texture background, ensuring the product remains sharp with realistic ambient shadows"},{"id":109,"image_url":"https://cdn.muapi.ai/webapps/53.png","default_prompt":"Composite the product against this texture background, ensuring the product remains sharp with realistic ambient shadows"},{"id":110,"image_url":"https://cdn.muapi.ai/webapps/54.png","default_prompt":"Composite the product against this texture background, ensuring the product remains sharp with realistic ambient shadows"},{"id":113,"image_url":"https://cdn.muapi.ai/webapps/white.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":114,"image_url":"https://cdn.muapi.ai/webapps/light_gray.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":115,"image_url":"https://cdn.muapi.ai/webapps/charcoal_gray.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":116,"image_url":"https://cdn.muapi.ai/webapps/soft_blue.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":117,"image_url":"https://cdn.muapi.ai/webapps/beige.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":118,"image_url":"https://cdn.muapi.ai/webapps/light_peach.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":119,"image_url":"https://cdn.muapi.ai/webapps/sky_blue.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":120,"image_url":"https://cdn.muapi.ai/webapps/mint_green.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":121,"image_url":"https://cdn.muapi.ai/webapps/light_lavender.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":122,"image_url":"https://cdn.muapi.ai/webapps/off_white.png","default_prompt":"Composite the product onto this clean solid color background, adding a soft drop shadow beneath the product for depth"},{"id":123,"image_url":"https://cdn.muapi.ai/webapps/soft_blue_gradient.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":124,"image_url":"https://cdn.muapi.ai/webapps/peach_gradient.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":125,"image_url":"https://cdn.muapi.ai/webapps/mint_gradient.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":126,"image_url":"https://cdn.muapi.ai/webapps/lavender_gradient.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":127,"image_url":"https://cdn.muapi.ai/webapps/warm_sunset.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":128,"image_url":"https://cdn.muapi.ai/webapps/cream_beige.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":129,"image_url":"https://cdn.muapi.ai/webapps/sky_gradient.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":130,"image_url":"https://cdn.muapi.ai/webapps/ocean_breeze.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":131,"image_url":"https://cdn.muapi.ai/webapps/silver_gradient.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":132,"image_url":"https://cdn.muapi.ai/webapps/pearl_white.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":133,"image_url":"https://cdn.muapi.ai/webapps/soft_rainbow.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":134,"image_url":"https://cdn.muapi.ai/webapps/fresh_meadow.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":135,"image_url":"https://cdn.muapi.ai/webapps/spotlight_white.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"},{"id":136,"image_url":"https://cdn.muapi.ai/webapps/soft_glow.png","default_prompt":"Place the product on this gradient background, ensuring smooth lighting transition with a gentle bottom shadow"}]')},52717,(t,e,a)=>{e.exports={3:"Darkness",4:"Darkness",5:"Darkness",6:"Darkness",7:"Darkness",8:"Display",9:"Display",10:"Display",11:"Display",12:"Display",13:"Display",14:"Display",15:"Display",16:"Display",17:"Events",18:"Events",19:"Events",20:"Events",21:"Events",22:"Events",23:"Events",24:"Events",25:"Events",26:"Floral",27:"Floral",28:"Floral",29:"Floral",30:"Floral",31:"Floral",32:"Floral",33:"Food",34:"Food",35:"Food",36:"Food",37:"Food",38:"Food",39:"Food",40:"Food",41:"Food",42:"Food",43:"Food",44:"Food",45:"Indoor",46:"Indoor",47:"Indoor",48:"Indoor",49:"Indoor",50:"Indoor",51:"Indoor",52:"Indoor",53:"Indoor",54:"Indoor",55:"Minimalism",56:"Minimalism",57:"Minimalism",58:"Minimalism",61:"Nature",62:"Nature",63:"Nature",64:"Nature",65:"Nature",66:"Nature",67:"Nature",68:"Nature",69:"Nature",70:"Outdoor",71:"Outdoor",72:"Outdoor",73:"Outdoor",74:"Outdoor",75:"Outdoor",76:"Outdoor",77:"Outdoor",78:"Plant",79:"Plant",80:"Plant",81:"Plant",82:"Plant",83:"Plant",84:"Plant",85:"Plant",86:"Plant",87:"Studio",88:"Studio",89:"Studio",90:"Studio",91:"Studio",92:"Studio",93:"Surfaces",94:"Surfaces",95:"Surfaces",96:"Surfaces",97:"Surfaces",98:"Surfaces",99:"Tabletop",100:"Tabletop",101:"Tabletop",102:"Tabletop",103:"Tabletop",104:"Tabletop",105:"Texture",106:"Texture",107:"Texture",108:"Texture",109:"Texture",110:"Texture",113:"SolidColor",114:"SolidColor",115:"SolidColor",116:"SolidColor",117:"SolidColor",118:"SolidColor",119:"SolidColor",120:"SolidColor",121:"SolidColor",122:"SolidColor",123:"Gradient",124:"Gradient",125:"Gradient",126:"Gradient",127:"Gradient",128:"Gradient",129:"Gradient",130:"Gradient",131:"Gradient",132:"Gradient",133:"Gradient",134:"Gradient",135:"Gradient",136:"Gradient"}},74647,t=>{"use strict";var e=t.i(43476),a=t.i(17255),i=t.i(71645),o=t.i(18742),n=t.i(52717),r=t.i(11152);let s=["Food","Nature","Minimalism","Indoor","Studio","Display","Outdoor","Plant","Floral","Surfaces","Tabletop","Texture","Darkness","Events","SolidColor","Gradient"],p=o.default.reduce((t,e)=>{let a=n.default[e.id.toString()]||"Other",i={...e,category:a,thumbnail_url:e.image_url};return t[a]||(t[a]=[]),t[a].push(i),t},{}),d=[...s.filter(t=>p[t]),...Object.keys(p).filter(t=>!s.includes(t)).sort()],l=["1:1","4:3","3:4","16:9","9:16"];t.s(["default",0,function(){let{data:t,update:o}=(0,a.useSession)(),[n,s]=(0,i.useState)("templates"),[u,h]=(0,i.useState)(null),[c,g]=(0,i.useState)({}),[m,b]=(0,i.useState)(""),[f,w]=(0,i.useState)("1:1"),[x,_]=(0,i.useState)(!1),[y,k]=(0,i.useState)(null),[v,j]=(0,i.useState)(!1),[N,C]=(0,i.useState)(null),[P,S]=(0,i.useState)([]),[I,F]=(0,i.useState)(null),T=(0,i.useRef)(null);(0,i.useEffect)(()=>{t?.user&&D()},[t]),(0,i.useEffect)(()=>()=>{T.current&&clearInterval(T.current)},[]);let D=async()=>{try{let t=await fetch("/api/creations");t.ok&&S(await t.json())}catch(t){console.error("History fetch error:",t)}},E=async e=>{let i=e.target.files?.[0];if(i){if(!t)return void(0,a.signIn)("google");try{_(!0);let t=new FormData;t.append("file",i);let e=await fetch("/api/upload",{method:"POST",body:t});if(!e.ok)throw Error("Upload failed");let a=await e.json();a.url&&k(a.url)}catch(t){console.error(t),alert("Error uploading. Please try again.")}finally{_(!1)}}},G=async()=>
1{if(!t)return void(0,a.signIn)("google");if(!y)return void alert("Please upload a product photo first.");let e="templates"===n;if(e&&!u)return void alert("Please select a background template.");let i=e?u.default_prompt:m.trim();if(!i)return void alert("Please enter a custom prompt or choose a template.");try{j(!0),F(null),C({status:"processing",inputUrl:y,prompt:i,templateName:e?u.category:"Custom"});let t=await fetch("/api/creations",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({inputUrl:y,templateImageUrl:e?u.image_url:null,prompt:i,aspectRatio:f,templateName:e?`${u.category} #${u.id}`:null})});if(!t.ok)throw Error(await t.text()||"Generation failed");let a=await t.json();C(a),o(),O(a.requestId)}catch(t){console.error(t),alert(t.message||"An error occurred."),j(!1),C(null)}},O=t=>{T.current&&clearInterval(T.current),T.current=setInterval(async()=>{try{let e=await fetch(`/api/creations?requestId=${t}`);if(e.ok){let t=await e.json();"completed"===t.status?(clearInterval(T.current),C(e=>({...e,status:"completed",outputUrl:t.outputUrl})),j(!1),D(),o()):"failed"===t.status&&(clearInterval(T.current),C(t=>({...t,status:"failed"})),j(!1),o(),alert(`Generation failed: ${t.error||"Unknown error"}`))}}catch(t){console.error("Poll error:",t)}},3e3)},U=I||N;return(0,e.jsx)("main",{className:"flex-1 flex justify-center overflow-hidden bg-white",children:(0,e.jsxs)("div",{className:"flex h-full w-full max-w-[90%] lg:max-w-7xl overflow-hidden",children:[(0,e.jsxs)("aside",{className:"w-[340px] flex-shrink-0 border-r border-neutral-100 flex flex-col overflow-hidden",children:[(0,e.jsxs)("div",{className:"px-4 pt-4 pb-3 border-b border-neutral-100",children:[(0,e.jsx)("p",{className:"text-[10px] font-semibold text-neutral-400 uppercase tracking-wider mb-2",children:"Product Photo"}),y?(0,e.jsxs)("div",{className:"flex items-center gap-3 p-2 border border-neutral-100 rounded-sm bg-neutral-50",children:[(0,e.jsx)("img",{src:y,alt:"product",className:"h-10 w-10 object-cover rounded-sm border border-neutral-200 flex-shrink-0"}),(0,e.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,e.jsx)("p",{className:"text-xs font-medium text-neutral-800 truncate",children:"Product Photo"}),(0,e.jsx)("span",{className:"text-[10px] text-emerald-500 font-medium",children:"Ready to enhance"})]}),(0,e.jsx)("button",{onClick:()=>k(null),className:"p-1 text-neutral-300 hover:text-red-400 transition-colors cursor-pointer flex-shrink-0",children:(0,e.jsx)(r.FaTrash,{className:"text-[10px]"})})]}):(0,e.jsxs)("label",{className:"flex flex-col items-center justify-center gap-1.5 p-4 border border-dashed border-neutral-200 hover:border-neutral-300 rounded-sm bg-neutral-50 cursor-pointer transition-colors",children:[x?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.FaSpinner,{className:"animate-spin text-neutral-400 text-base"}),(0,e.jsx)("span",{className:"text-xs text-neutral-500",children:"Uploading..."})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.FaUpload,{className:"text-neutral-400 text-base"}),(0,e.jsx)("span",{className:"text-xs font-medium text-neutral-700",children:"Upload Product Image"}),(0,e.jsx)("span",{className:"text-[10px] text-neutral-400",children:"PNG, JPG up to 10MB"})]}),(0,e.jsx)("input",{type:"file",accept:"image/*",className:"hidden",onChange:E,disabled:x})]})]}),(0,e.jsxs)("div",{className:"px-4 py-3 border-b border-neutral-100",children:[(0,e.jsx)("p",{className:"text-[10px] font-semibold text-neutral-400 uppercase tracking-wider mb-2",children:"Output Ratio"}),(0,e.jsx)("div",{className:"flex gap-1",children:l.map(t=>(0,e.jsx)("button",{onClick:()=>w(t),className:`flex-1 text-[10px] font-medium py-1 rounded-sm border transition-all cursor-pointer ${f===t?"border-primary bg-primary text-primary-btn-text shadow-xs":"border-neutral-200 text-neutral-500 hover:border-neutral-400"}`,children:t},t))})]}),(0,e.jsx)("div",{className:"flex border-b border-neutral-100",children:[["templates","Template",r.FaImage],["custom","Custom Prompt",r.FaKeyboard]].map(([t,a,i])=>(0,e.jsxs)("button",{onClick:()=>s(t),className:`flex-1 flex items-center justify-center gap-1.5 py-2.5 text-[11px] font-semibold border-b-2 transition-all cursor-pointer ${n===t?"border-primary text-primary":"border-transparent text-neutral-400 hover:text-neutral-600"}`,children:[(0,e.jsx)(i,{className:"text-[9px]"}),a]},t))}),(0,e.jsx)("div",{className:"flex-1 overflow-y-auto",children:"templates"===n?(0,e.jsx)("div",{className:"px-3 py-3 space-y-4",children:d.map(t=>{let a=p[t]||[],i=c[t],o=i?a:a.slice(0,3),n="SolidColor"===t?"Solid Color":t;return(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-1.5",children:[(0,e.jsx)("h4",{className:"text-[11px] font-semibold text-neutral-700",children:n}),a.length>3&&(0,e.jsxs)("button",{onClick:()=>g(e=>({...e,[t]:!e[t]})),className:"text-[10px] text-neutral-400 hover:text-neutral-600 flex items-center gap-0.5 transition-colors cursor-pointer",children:[i?"Less":`See all (${a.length})`,i?(0,e.jsx)(r.FaChevronDown,{className:"text-[8px]"}):(0,e.jsx)(r.FaChevronRight,{className:"text-[8px]"})]})]}),(0,e.jsx)("div",{className:"grid grid-cols-3 gap-1.5",children:o.map(t=>(0,e.jsxs)("button",{onClick:()=>h(t),className:`relative aspect-square rounded-sm overflow-hidden border-2 transition-all cursor-pointer group ${u?.id===t.id?"border-primary":"border-transparent hover:border-neutral-300"}`,children:[(0,e.jsx)("img",{src:t.thumbnail_url,alt:`${n} template`,className:"w-full h-full object-cover",loading:"lazy"}),u?.id===t.id&&(0,e.jsx)("div",{className:"absolute inset-0 bg-primary/20 flex items-center justify-center",children:(0,e.jsx)("div",{className:"w-4 h-4 rounded-full bg-primary flex items-center justify-center",children:(0,e.jsx)("svg",{viewBox:"0 0 10 8",className:"w-2.5 h-2.5 text-primary-btn-text fill-current",children:(0,e.jsx)("path",{d:"M1 4l2.5 2.5L9 1",stroke:"currentColor",strokeWidth:"1.5",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})})})})]},t.id))})]},t)})}):(0,e.jsxs)("div",{className:"p-4",children:[(0,e.jsx)("p",{className:"text-[10px] font-semibold text-neutral-400 uppercase tracking-wider mb-2",children:"Describe the Backgroun
1d"}),(0,e.jsx)("textarea",{placeholder:"e.g. Place the product on a rustic wooden table under warm golden hour sunlight with blurred garden foliage in the background...",value:m,onChange:t=>b(t.target.value),className:"w-full h-28 p-2.5 text-xs border border-neutral-200 rounded-sm bg-neutral-50 focus:bg-white focus:border-primary outline-none resize-none transition-colors leading-relaxed"}),(0,e.jsx)("p",{className:"text-[10px] text-neutral-400 mt-1.5 leading-relaxed",children:"Describe the surface, lighting, and background scene. Be as specific as possible for best results."})]})}),(0,e.jsx)("div",{className:"p-3 border-t border-neutral-100",children:t?(0,e.jsx)("button",{onClick:G,disabled:v||!y,className:`w-full py-2 font-semibold text-xs rounded-sm transition-all flex items-center justify-center gap-2 cursor-pointer shadow-sm ${v||!y?"bg-neutral-100 text-neutral-400 cursor-not-allowed":"bg-primary hover:bg-primary-hover text-primary-btn-text"}`,children:v?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.FaSpinner,{className:"animate-spin text-[10px]"}),"Enhancing..."]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.FaMagic,{className:"text-[10px]"}),"Enhance Photo (12 Credits)"]})}):(0,e.jsxs)("button",{onClick:()=>(0,a.signIn)("google"),className:"w-full py-2 bg-neutral-900 hover:bg-neutral-800 text-white font-semibold text-xs rounded-sm transition-all flex items-center justify-center gap-2 cursor-pointer",children:["Sign in to Enhance ",(0,e.jsx)(r.FaArrowRight,{className:"text-[10px]"})]})})]}),(0,e.jsxs)("section",{className:"flex-1 flex flex-col overflow-hidden",children:[(0,e.jsx)("div",{className:"flex-1 flex items-center justify-center p-6 bg-neutral-50/40",children:U?(0,e.jsxs)("div",{className:"w-full max-w-[480px] bg-white border border-neutral-200 shadow-sm rounded-sm overflow-hidden",children:[(0,e.jsx)("div",{className:"relative bg-neutral-100",style:{aspectRatio:f.replace(":","/")},children:"processing"===U.status?(0,e.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3",children:[(0,e.jsx)(r.FaSpinner,{className:"animate-spin text-neutral-400 text-2xl"}),(0,e.jsxs)("div",{className:"text-center px-6",children:[(0,e.jsx)("p",{className:"text-xs font-semibold text-neutral-700",children:"Swapping background…"}),(0,e.jsx)("p",{className:"text-[10px] text-neutral-400 mt-1",children:"This usually takes 20–60 seconds"})]})]}):"failed"===U.status?(0,e.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-6",children:(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("p",{className:"text-xs font-semibold text-red-500",children:"Enhancement failed"}),(0,e.jsx)("p",{className:"text-[10px] text-neutral-400 mt-1",children:"Your credit has been refunded."})]})}):(0,e.jsx)("img",{src:U.outputUrl,alt:"Enhanced result",className:"absolute inset-0 w-full h-full object-contain"})}),"completed"===U.status&&(0,e.jsxs)("div",{className:"flex items-center justify-between px-4 py-2.5 border-t border-neutral-100",children:[(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsx)("p",{className:"text-xs font-semibold text-neutral-800 truncate",children:U.templateName||"Custom Generation"}),(0,e.jsx)("p",{className:"text-[10px] text-neutral-400",children:U.aspectRatio||f})]}),(0,e.jsxs)("a",{href:U.outputUrl,download:`enhanced-${U.id}.jpg`,target:"_blank",rel:"noreferrer",className:"flex items-center gap-1.5 px-3 py-1.5 bg-neutral-900 hover:bg-neutral-800 text-white text-xs font-medium rounded-sm transition-all flex-shrink-0 ml-3",children:[(0,e.jsx)(r.FaDownload,{className:"text-[9px]"})," Download"]})]})]}):(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"mx-auto mb-3 w-14 h-14 rounded-full bg-neutral-100 border border-neutral-200 flex items-center justify-center text-neutral-400",children:(0,e.jsx)(r.FaImage,{className:"text-xl"})}),(0,e.jsx)("p",{className:"text-sm font-semibold text-neutral-700",children:"Preview Canvas"}),(0,e.jsx)("p",{className:"text-[11px] text-neutral-400 mt-1 max-w-[200px] mx-auto leading-relaxed",children:"Select a template, upload a photo and click Enhance to see results here."})]})}),(0,e.jsxs)("div",{className:"h-[120px] border-t border-neutral-100 bg-white px-4 flex flex-col justify-center flex-shrink-0",children:[(0,e.jsx)("p",{className:"text-[10px] font-semibold text-neutral-400 uppercase tracking-wider mb-2",children:"Recent Enhancements"}),(0,e.jsx)("div",{className:"flex gap-2 overflow-x-auto pb-1",children:P.length>0?P.map(t=>(0,e.jsx)("button",{onClick:()=>{F(t),C(null)},className:`h-16 w-16 flex-shrink-0 border-2 rounded-sm overflow-hidden transition-all cursor-pointer ${U?.id===t.id?"border-primary":"border-neutral-200 hover:border-neutral-400"}`,children:(0,e.jsx)("img",{src:t.outputUrl||t.inputUrl,alt:"history",className:"w-full h-full object-cover"})},t.id)):(0,e.jsx)("div",{className:"flex-1 flex items-center justify-center border border-dashed border-neutral-200 rounded-sm h-16",children:(0,e.jsx)("p",{className:"text-[10px] text-neutral-400",children:"No enhancements yet"})})})]})]})]})})}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.