Aleksmorshen commited on
Commit
8bd556b
·
verified ·
1 Parent(s): abaac68

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +17 -15
index.html CHANGED
@@ -728,14 +728,15 @@ async function processAndOpen() {
728
  const light = document.getElementById('light').value;
729
  const camera = document.getElementById('camera').value;
730
 
731
- fullPrompt = `style:: ${style}.
732
  composition:: ${shotType}.
733
- subject:: Photorealistic portrait of a ${age} ${nationality} ${gender}.
734
- model_characteristics:: physique ${bodyType}, ${hairColor} ${hairstyle}, expression ${emotion}, pose ${pose}.
735
  clothing_focus:: The subject is wearing ${details}.
736
- texture_&_material_fidelity:: Render clothing with extreme macro precision. Focus on fabric weave, thread count, visible stitching seams, material weight, realistic folds, tactile surface imperfections, and light interaction with the fabric (sheen, matte, transparency). Every thread and fiber must be sharp and visible.
 
737
  scene_environment:: ${location}.
738
- technical:: professional photography, ${light}, shot on ${camera}, 8k, sharp focus, hyper-detailed, realistic skin texture with pores, raw photo, uncompressed, macro fabric details.`;
739
 
740
  } else if (currentMode === 'children') {
741
  const style = document.getElementById('child_style').value;
@@ -752,7 +753,7 @@ technical:: professional photography, ${light}, shot on ${camera}, 8k, sharp foc
752
  const emotion = document.getElementById('newborn_emotion').value;
753
  const pose = document.getElementById('newborn_pose').value;
754
  clothing_details = document.getElementById('newborn_details').value || "soft knitted fabric";
755
- subject = `A beautiful, photorealistic portrait of a ${age} ${ethnicity} baby. Face expression is ${emotion}.`;
756
  pose_info = `The baby is ${pose}.`;
757
  } else {
758
  const age = document.getElementById('child_age').value;
@@ -761,17 +762,18 @@ technical:: professional photography, ${light}, shot on ${camera}, 8k, sharp foc
761
  const emotion = document.getElementById('child_emotion').value;
762
  const pose = document.getElementById('child_pose').value;
763
  clothing_details = document.getElementById('child_details').value || "detailed textured casual clothes";
764
- subject = `A beautiful, photorealistic portrait of a ${age} ${ethnicity} ${gender}. Face expression is ${emotion}.`;
765
  pose_info = `The child is ${pose}.`;
766
  }
767
 
768
- fullPrompt = `style:: ${style}.
769
  composition:: ${shotType}.
770
- subject:: ${subject}
771
  clothing_focus:: The child is wearing ${clothing_details}.
772
- texture_&_material_fidelity:: Extreme attention to textile details. Render the exact texture of knitted wool, denim, cotton, or lace. Show individual threads, fabric fuzz, stitching patterns, and realistic material draping. 100% texture fidelity.
 
773
  scene_activity:: ${pose_info} The location is ${location}.
774
- technical:: professional photography, ${light}, shot on Fujifilm XT4, 56mm F1.2 lens, 8k, sharp focus, hyper-detailed, realistic skin texture, tactile fabric textures, masterpiece.`;
775
 
776
  } else {
777
  const objectName = document.getElementById('object_name').value || "a product";
@@ -788,12 +790,12 @@ technical:: professional photography, ${light}, shot on Fujifilm XT4, 56mm F1.2
788
  background = document.getElementById('object_background').value;
789
  }
790
 
791
- fullPrompt = `style:: Professional product photography, ${objectStyle}.
792
- subject:: A hyper-detailed shot of ${objectName}.
793
- material_focus:: Render materials with 100% physical accuracy. Focus on surface imperfections, microscopic scratches, dust particles, realistic refractions, material grain (leather, metal, glass, plastic), and tactile finish.
794
  scene_context:: Placed ${background}. Additional details: ${objectDetails}.
795
  composition:: ${objectComposition}.
796
- technical:: commercial studio quality, ${objectLighting}, 8k resolution, sharp focus, ultra-realistic, macro details, ray-traced reflections, masterpiece.`;
797
  }
798
 
799
  const cleanPrompt = fullPrompt.replace(/\s+/g, ' ').replace(/\n/g, ' ').trim();
 
728
  const light = document.getElementById('light').value;
729
  const camera = document.getElementById('camera').value;
730
 
731
+ fullPrompt = `style:: ${style}, hyperrealistic, ultra-photorealistic.
732
  composition:: ${shotType}.
733
+ subject:: An incredibly lifelike, realistic photograph of a ${age} ${nationality} ${gender}, indistinguishable from reality.
734
+ model_characteristics:: physique ${bodyType}, ${hairColor} ${hairstyle} with natural flyaway hairs, expression ${emotion}, pose ${pose}.
735
  clothing_focus:: The subject is wearing ${details}.
736
+ texture_&_material_fidelity:: Extreme macro precision on textiles. Render the fabric weave, thread count, visible stitching, material weight, realistic creases and folds, tactile surface imperfections (like subtle pilling or texture), and how light interacts with the fabric. Every thread must be distinct.
737
+ human_realism_details:: Capture authentic human features. Lifelike skin with visible pores, subtle imperfections, fine lines, natural skin oil sheen, and micro-expressions. Avoid any plastic or airbrushed appearance. Eyes should have realistic light reflection and depth.
738
  scene_environment:: ${location}.
739
+ technical:: Professional RAW photograph, ${light}, shot on ${camera}, 8k UHD, tack sharp focus, insane detail, uncompressed, grainy film texture for realism, shot as if by a real photographer.`;
740
 
741
  } else if (currentMode === 'children') {
742
  const style = document.getElementById('child_style').value;
 
753
  const emotion = document.getElementById('newborn_emotion').value;
754
  const pose = document.getElementById('newborn_pose').value;
755
  clothing_details = document.getElementById('newborn_details').value || "soft knitted fabric";
756
+ subject = `A beautiful, ultra-photorealistic portrait of a ${age} ${ethnicity} baby. Face expression is ${emotion}.`;
757
  pose_info = `The baby is ${pose}.`;
758
  } else {
759
  const age = document.getElementById('child_age').value;
 
762
  const emotion = document.getElementById('child_emotion').value;
763
  const pose = document.getElementById('child_pose').value;
764
  clothing_details = document.getElementById('child_details').value || "detailed textured casual clothes";
765
+ subject = `A beautiful, ultra-photorealistic portrait of a ${age} ${ethnicity} ${gender}. Face expression is ${emotion}.`;
766
  pose_info = `The child is ${pose}.`;
767
  }
768
 
769
+ fullPrompt = `style:: ${style}, candid, ultra-photorealistic.
770
  composition:: ${shotType}.
771
+ subject:: ${subject} The photograph must be indistinguishable from reality.
772
  clothing_focus:: The child is wearing ${clothing_details}.
773
+ texture_&_material_fidelity:: Macro-level detail on clothing textures. Focus on the weave of cotton, the softness of wool, the texture of denim. Show realistic wrinkles, creases from movement, and even subtle fabric pilling. 100% texture fidelity is crucial.
774
+ human_realism_details:: Capture the natural essence of a child. Realistic skin with visible pores, light freckles, and natural rosy cheeks. Avoid any airbrushed or doll-like look. Capture the genuine emotion in their eyes with lifelike reflections. Add details like stray hairs or a slightly messy hairstyle.
775
  scene_activity:: ${pose_info} The location is ${location}.
776
+ technical:: Professional RAW candid photograph, ${light}, shot on Fujifilm XT4, 56mm F1.2 lens, 8k, tack sharp focus, hyper-detailed, uncompressed, subtle film grain, masterpiece, looks like a real captured moment.`;
777
 
778
  } else {
779
  const objectName = document.getElementById('object_name').value || "a product";
 
790
  background = document.getElementById('object_background').value;
791
  }
792
 
793
+ fullPrompt = `style:: Professional product photography, ${objectStyle}, ultra-photorealistic.
794
+ subject:: A hyper-realistic, macro photograph of ${objectName}, indistinguishable from a real photo.
795
+ material_focus:: Achieve 100% physical accuracy in material rendering. Emphasize micro-details: subtle surface imperfections, microscopic scratches, tiny dust particles, fingerprints, realistic refractions in glass/liquids, and the authentic grain of materials like leather, metal, or plastic. The tactile finish must be palpable.
796
  scene_context:: Placed ${background}. Additional details: ${objectDetails}.
797
  composition:: ${objectComposition}.
798
+ technical:: Commercial studio quality RAW photo, ${objectLighting}, 8k UHD resolution, tack sharp focus, extreme macro detail, advanced ray-traced reflections and caustics, uncompressed, masterpiece.`;
799
  }
800
 
801
  const cleanPrompt = fullPrompt.replace(/\s+/g, ' ').replace(/\n/g, ' ').trim();