100Years 1 неделя назад
Родитель
Сommit
2e4c971f73

+ 2 - 2
AIEmoji.xcodeproj/project.pbxproj

@@ -1944,7 +1944,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;
@@ -1983,7 +1983,7 @@
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_STYLE = Automatic;
-				CURRENT_PROJECT_VERSION = 2;
+				CURRENT_PROJECT_VERSION = 3;
 				DEVELOPMENT_TEAM = 65UD255J84;
 				ENABLE_USER_SCRIPT_SANDBOXING = NO;
 				GENERATE_INFOPLIST_FILE = YES;

+ 1 - 0
AIEmoji/Business/TSPTPGeneratorVC/TSPhotoToPhotoVC/TSPhotoToPhotoVC.swift

@@ -121,6 +121,7 @@ class TSPhotoToPhotoVC: TSBaseVC {
                 //选择了某个样式
                 viewModel.selectedPTPStyleModel = model
                 updateVipView()
+                dePrint("selectedPTPStyleModel=\(model.toJSON())")
             }
         }
         

+ 30 - 29
AIEmoji/Res/photo_to_photo_style.json

@@ -2,68 +2,69 @@
     {
         "imageName": "ptp_style_10",
         "imageText": "Ghibli",
-        "prompt":"ghibli style",
+        "prompt":"Studio Ghibli-inspired anime aesthetic, Hayao Miyazaki style, vibrant yet soft color palette, detailed hand-painted textures, whimsical dreamlike atmosphere, lush natural environments with floating islands or magical forests, delicate lighting with sun rays filtering through clouds, charming character design with expressive eyes, soft cel-shading, watercolor wash effect, subtle grain texture, preserving original composition while adding fantastical Ghibli elements like floating particles or whimsical creatures. Style strength: 85%",
         "style":1,
         "isVip": true
     },
     {
-        "imageName": "ptp_style_0",
-        "imageText": "Retro Anime",
-        "prompt":"retro anime cel-shading, 1980s Toei Animation style, bold black outlines, limited color palette (--color 1980s_anime), visible film grain --edge_threshold 0.4 --cel_shading 0.8, Retain the original stone size of the photo",
+        "imageName": "ptp_style_7",
+        "imageText": "Fantasy Illustration",
+        "prompt":"Fantasy illustration conversion:  Core structure preservation (90% shape accuracy)  Arthur Rackham-inspired inking with Art Nouveau flourishes  Spectral lighting effects (etherial glow: intensity 0.7)  Arcane texture overlay: • Ancient grimoire parchment (60% opacity) • Luminescent crystal refraction patterns • Elven vine motifs (density: 25/cm²)  Chromatic scheme: Base: Pantone 19-4052 Classic Blue Accent: 17-1463 Flame Scarlet + 13-0647 Iced Green  Mystical atmosphere injection: • Floating rune particles (size variance: 0.3-2mm) • Subtle aura pulsation (frequency: 0.5Hz) • Stardust specular highlights  Prohibited alterations: No added wings/horns/non-native elements Max 15% anatomical exaggeration Color shift tolerance ΔE<8",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_1",
-        "imageText": "Cyberpunk",
-        "prompt":"cyberpunk cityscape with neon billboards, retro anime aesthetic like AKIRA, chromatic aberration effect, hand-painted gradient skies --edge_perspective 1.5 --glitch_overlay 0.3",
+        "imageName": "ptp_style_0",
+        "imageText": "Retro Anime",
+        "prompt":"1990s cel-anime transformation: 16-color limitation (Toei Animation palette) CRT raster lines (0.3px spacing) Offset printing color bleed (CMYK misregistration) Film grain (ISO 800 Super8 noise profile) Cel-level flat shading Strict pose preservation (98% fidelity)",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_2",
-        "imageText": "Retrofuturism",
-        "prompt":"Googie architecture space station, 1950s atomic age aesthetic, curved aluminum panels, starburst patterns, glass dome observatory --edge_threshold 0.5 --atomic_age_style 0.8 --chrome_reflection 1.2",
+        "imageName": "ptp_style_6",
+        "imageText": "Classical Painting",
+        "prompt":"Baroque oil painting conversion:  Rembrandt chiaroscuro lighting (3:1 contrast ratio)  Vermeer's ultramarine glaze technique  Impasto brushwork (0.8mm relief depth)  Aged varnish patina simulation  17th-century earth pigment palette (ochre/umber/lead-tin yellow)  Canvas weave retention (100% texture mapping)  Max 2% anatomical adjustment",
         "isVip": false
     },
+
     {
-        "imageName": "ptp_style_3",
-        "imageText": "Vaporwave",
-        "prompt":"Digital sunset over databay, Windows 95 error pop-ups floating on waves, geometric islands with Doric columns --edge_fracture 0.7 --cyberliminal_space 1.2",
+        "imageName": "ptp_style_1",
+        "imageText": "Cyberpunk",
+        "prompt":"Neo-Tokyo cyberpunk conversion:  Neon holograms (hex code #FF00FF/#00FFFF)  Circuit board texture overlay (35% opacity)  Rain-soaked asphalt PBR material  HUD elements (health bar/radar minimal overlay)  Glowing cybernetic implants (diffuse 0.7)  Polygonal decomposition (max 8% geometry change)",
         "isVip": false
     },
     {
         "imageName": "ptp_style_4",
         "imageText": "Pop Art",
-        "prompt":"Campbell soup can duplication | pantone 185C + process blue | benday dot overlay | consumerism critique | color_saturation=1.8, halftone_density=0.6",
+        "prompt":"Warhol-style pop art transformation:  Ben-Day dots (150LPI screen pattern)  Fluorescent CMYK separation (ΔE>20)  Comic book halftone overlay (45° angle)  400% saturation boost on key elements  Silkscreen texture simulation  Bold black outlines (3px weight)",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_5",
-        "imageText": "Abstract Expressionism",
-        "prompt":"monochromatic tension fields | ivory black + lead white modulation | washi paper grain | zen emptiness | contrast_ratio=9:1, stroke_minimalism=true",
+        "imageName": "ptp_style_2",
+        "imageText": "Retrofuturism",
+        "prompt":"1960s retrofuturism style:  Googie architecture curves (radius 12-24px)  Atomic age starburst patterns (density 0.5/cm²)  Bakelite material simulation (IOR 1.55)  Vacuum tube glow effect (2700K color temp)  Vintage sci-fi typography overlay (15% opacity)  Chrome plating with hairline finish",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_6",
-        "imageText": "Classical Painting",
-        "prompt":"Rembrandt chiaroscuro lighting | velvet drapery folds | vermilion + burnt umber | Counter-Reformation pathos | brushstroke_variance=0.85, canvas_texture=0.7",
+        "imageName": "ptp_style_8",
+        "imageText": "Photorealism",
+        "prompt":"Photorealistic conversion with surgical precision:  99% geometric fidelity to source  Hyper-detailed PBR rendering (8K texture sampling): • Subsurface scattering (IOR 1.45 @ 550nm) • Microsurface anisotropy (roughness 0.02-0.8) • Physically accurate caustics  Environmental lighting simulation: • Global illumination (256 samples) • HDRI environment mapping (measured 10,000 lux) • Raytraced ambient occlusion (radius 1.2m)  Material fidelity controls: • Spectral reflectance matching (ΔE<2) • Surface imperfection overlay (dust/dents: 0.3% density) • Directional fabric weave simulation  Optical truth parameters: • Simulate Sony α7 IV 61MP sensor • Zeiss Otus 55mm f/1.4 MTF curve • 14-stop dynamic range preservation  Strict prohibitions: No stylistic DOF/bokeh artifacts Zero creative reinterpretation Max 0.5% shape deviation tolerance",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_7",
-        "imageText": "Fantasy Illustration",
-        "prompt":"bioluminescent flora | crystal architecture | twilight nymphs | celtic knot patterns | foliage_density=8, prism_refraction=0.75",
+        "imageName": "ptp_style_9",
+        "imageText": "Modern Digital Art",
+        "prompt":"Modern digital art transformation with parametric control:  Core structure retention (95% geometric integrity)  Glitch-core aesthetic injection: • 3D liquid metal flow (viscosity 0.7 Pa·s) • Holographic grid overlay (hex density 12/cm²) • Cybernetic light trails (speed 120px/s)  Neuromorphic rendering:  PBR shaders with 0.35 roughness variance  Quantum gradient palette (#6A4C93 → #00F5D4)  Neural network brush dynamics  Controlled abstraction: • 15-30% polygon remeshing (non-destructive) • Parametric waveform distortion (λ=24px) • Augmented reality UI elements (HUD opacity 22%)  Prohibitions:  Max 5% shape decomposition  ΔE<10 color shift tolerance  Zero organic texture retention  Rendering specs: • 8K procedural texture generation • Unreal Engine 5 Lumen lighting simulation • Substance Designer material algorithm",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_8",
-        "imageText": "Photorealism",
-        "prompt":"liquid metal smartphone | cashmere fabric folds | perfume droplet collision | studio_hdr=9 | micro_scratch=0.03mm",
+        "imageName": "ptp_style_3",
+        "imageText": "Vaporwave",
+        "prompt":"Vaporwave aesthetic conversion:  Memphis Group pattern infusion (density 30%)  CRT magenta/cyan shift (ΔE 12-15)  Marble texture x digital grid fusion  1980s CGI primitive modeling (32-poly limit)  Palm tree/PVC column hybrid elements  VHS tracking error simulation (VHS-C NTSC)",
         "isVip": false
     },
     {
-        "imageName": "ptp_style_9",
-        "imageText": "Modern Digital Art",
-        "prompt":"anodized_aluminum | optical_glass | monochrome_gradient | edge_sharpness=9 | ambient_occlusion=0.7",
+        "imageName": "ptp_style_5",
+        "imageText": "Abstract Expressionism",
+        "prompt":"Abstract art transformation, non-representational geometric forms intersecting with organic fluid shapes, dynamic color field transitions from cobalt blue to burnt sienna, Kandinsky-inspired compositional balance, textured impasto surfaces with visible brushwork, Mondrian-esque grid structures dissolving into Pollock-like drips, high-contrast chromatic vibrations, ambiguous spatial depth with layered transparency effects, experimental mixed-media texture (acrylic/collage/digital glitch), emotional tension between order and chaos. Maintain original composition's structural essence while reinterpreting elements through fractured perspectives and symbolic color relationships. Style intensity: 88% --v 5.4 --stylize 950",
         "isVip": false
     }
 ]