feat: make tryIt presets, limits, badges and buttons completely dynamic from JSON configs
This commit is contained in:
+137
-25
@@ -22,7 +22,41 @@
|
||||
"hi": "बिना साइन-अप के स्टूडियो-ग्रेड फोटो टूल्स मुफ़्त में आज़माएं। हमारे मोबाइल ऐप्स में 4K एक्सपोर्ट प्राप्त करें।"
|
||||
},
|
||||
"tryIt": {
|
||||
"toolRef": "face.blemish.remove"
|
||||
"toolRef": "face.blemish.remove",
|
||||
"ctaText": "Clean blemishes in 1-click",
|
||||
"samplePresets": [
|
||||
{
|
||||
"label": "Sample Photo",
|
||||
"url": "/management/pages/home/media/sample_portrait_1.jpg"
|
||||
},
|
||||
{
|
||||
"label": "Natural Studio Model",
|
||||
"url": "/management/pages/home/media/sample_portrait_2.jpg"
|
||||
},
|
||||
{
|
||||
"label": "Vintage Archival Shot",
|
||||
"url": "/management/pages/home/media/sample_portrait_3.jpg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trustBadges": [
|
||||
{
|
||||
"text": "No account needed"
|
||||
},
|
||||
{
|
||||
"text": "Photos aren't stored"
|
||||
},
|
||||
{
|
||||
"text": "Try with a sample"
|
||||
}
|
||||
],
|
||||
"primaryCta": {
|
||||
"label": "Explore the tools",
|
||||
"href": "/tools"
|
||||
},
|
||||
"secondaryCta": {
|
||||
"label": "Our apps",
|
||||
"href": "/apps"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -41,8 +75,8 @@
|
||||
"category": "VIDEO ENHANCEMENT",
|
||||
"badge": "4K 60FPS VIDEO",
|
||||
"description": "Continuous temporal facial neural retouching across dynamic video frames with zero flicker.",
|
||||
"videoUrl": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
|
||||
"poster": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=800&auto=format&fit=crop&q=80",
|
||||
"videoUrl": "/management/pages/home/media/sample_reel.mp4",
|
||||
"poster": "/management/pages/home/media/reel_video_poster.jpg",
|
||||
"link": "/tools/blemish-remover",
|
||||
"tag": "Temporal Retouching"
|
||||
},
|
||||
@@ -53,7 +87,7 @@
|
||||
"category": "HAIR CUTOUT",
|
||||
"badge": "ULTRA HD PHOTO",
|
||||
"description": "Microscopic hair fiber separation preserving semi-transparent boundary details for editorial covers.",
|
||||
"image": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80",
|
||||
"image": "/management/pages/home/media/reel_hair_alpha.jpg",
|
||||
"link": "/tools/background-remover",
|
||||
"tag": "0.02px Edge Trim"
|
||||
},
|
||||
@@ -64,23 +98,36 @@
|
||||
"category": "SUPER-RESOLUTION",
|
||||
"badge": "SIDE-BY-SIDE",
|
||||
"description": "Deep neural priors reconstruct iris sharpness and realistic skin pores from compressed source photos.",
|
||||
"beforeUrl": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||
"afterUrl": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80",
|
||||
"beforeUrl": "/management/pages/home/media/reel_restore_before.jpg",
|
||||
"afterUrl": "/management/pages/home/media/reel_restore_after.jpg",
|
||||
"link": "/tools/photo-enhancer",
|
||||
"tag": "Iris Sharpness"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": "stats-section",
|
||||
"type": "stats",
|
||||
"props": {
|
||||
"items": [
|
||||
{ "value": "140M+", "label": "Photos Enhanced" },
|
||||
{ "value": "4.9 ★", "label": "App Store & Play Rating" },
|
||||
{ "value": "4K", "label": "Ultra HD Lossless Export" },
|
||||
{ "value": "4 Apps", "label": "Dedicated Mobile Suites" }
|
||||
{
|
||||
"value": "140M+",
|
||||
"label": "Photos Enhanced"
|
||||
},
|
||||
{
|
||||
"value": "4.9 ★",
|
||||
"label": "App Store & Play Rating"
|
||||
},
|
||||
{
|
||||
"value": "4K",
|
||||
"label": "Ultra HD Lossless Export"
|
||||
},
|
||||
{
|
||||
"value": "4 Apps",
|
||||
"label": "Dedicated Mobile Suites"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -94,7 +141,7 @@
|
||||
"items": [
|
||||
{
|
||||
"id": "alpha-matting",
|
||||
"index": "01 / 03",
|
||||
"index": "01 / 05",
|
||||
"tabLabel": "01 ALPHA",
|
||||
"category": "FINE MATTING & CUTOUT",
|
||||
"model": "P3M-Net Dual-Stream Alpha",
|
||||
@@ -103,16 +150,20 @@
|
||||
"tagline": "Sub-pixel hair strands, transparent veils, and motion blur cutout.",
|
||||
"description": "Proprietary dual-stream deep neural network isolates fine flyaway hair, complex textures, and semi-transparent boundaries in studio portraits with pixel-level precision.",
|
||||
"variant": "comparison",
|
||||
"beforeUrl": "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=800&auto=format&fit=crop&q=80",
|
||||
"afterUrl": "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=800&auto=format&fit=crop&q=80",
|
||||
"beforeUrl": "/management/pages/home/media/showcase_01_alpha_before.jpg",
|
||||
"afterUrl": "/management/pages/home/media/showcase_01_alpha_after.jpg",
|
||||
"toolSlug": "background-remover",
|
||||
"appSlug": "bg-cleaner-app",
|
||||
"appName": "Magic Cutout",
|
||||
"specs": ["0.02px edge preservation", "Alpha PNG lossless stream", "Studio hair detail"]
|
||||
"specs": [
|
||||
"0.02px edge preservation",
|
||||
"Alpha PNG lossless stream",
|
||||
"Studio hair detail"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "editorial-portrait-banner",
|
||||
"index": "02 / 03",
|
||||
"index": "02 / 05",
|
||||
"tabLabel": "02 BANNER",
|
||||
"category": "STUDIO PRO BANNER",
|
||||
"model": "RetouchGAN v2.1 Prime",
|
||||
@@ -121,16 +172,22 @@
|
||||
"tagline": "Next-generation sub-pore epidermal synthesis.",
|
||||
"description": "Transform commercial model photography with authentic skin pore preservation. Retain real freckles, iris glints, and fine texture with zero plastic artificial blur.",
|
||||
"variant": "banner",
|
||||
"bannerImage": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=1200&auto=format&fit=crop&q=80",
|
||||
"bannerImage": "/management/pages/home/media/showcase_02_portrait_before.jpg",
|
||||
"bannerBadge": "PRO EDITION • LOSSLESS FP16",
|
||||
"toolSlug": "blemish-remover",
|
||||
"appSlug": "portrait-app",
|
||||
"appName": "Portrait Studio AI",
|
||||
"specs": ["Sub-pore texture matrix", "Authentic epidermal micro-details", "Lossless 4K color gamut"]
|
||||
"specs": [
|
||||
"Sub-pore texture matrix",
|
||||
"Authentic epidermal micro-details",
|
||||
"Lossless 4K color gamut"
|
||||
],
|
||||
"beforeUrl": "/management/pages/home/media/showcase_02_portrait_before.jpg",
|
||||
"afterUrl": "/management/pages/home/media/showcase_02_portrait_after.jpg"
|
||||
},
|
||||
{
|
||||
"id": "super-resolution",
|
||||
"index": "03 / 03",
|
||||
"index": "03 / 05",
|
||||
"tabLabel": "03 4K",
|
||||
"category": "4K SUPER-RESOLUTION",
|
||||
"model": "GFPGAN + RealESRGAN Ultra",
|
||||
@@ -139,14 +196,63 @@
|
||||
"tagline": "Transform low-resolution snapshots into crystal-clear 4K portraits.",
|
||||
"description": "Deep neural priors restore authentic iris sharpness, eyelash detail, and facial contours on blurry, out-of-focus, or highly compressed photos, yielding gallery-ready clarity with zero guesswork.",
|
||||
"variant": "comparison",
|
||||
"beforeUrl": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=800&auto=format&fit=crop&q=80",
|
||||
"afterUrl": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=80",
|
||||
"beforeUrl": "/management/pages/home/media/showcase_03_superres_before.jpg",
|
||||
"afterUrl": "/management/pages/home/media/showcase_03_superres_after.jpg",
|
||||
"toolSlug": "photo-enhancer",
|
||||
"appSlug": "photo-enhancer-pro",
|
||||
"appName": "Enhance Ultra AI",
|
||||
"specs": ["Iris & eyelash synthesis", "400% lossless super-resolution", "Studio-grade crispness"]
|
||||
"specs": [
|
||||
"Iris & eyelash synthesis",
|
||||
"400% lossless super-resolution",
|
||||
"Studio-grade crispness"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "archival-restoration",
|
||||
"index": "04 / 05",
|
||||
"tabLabel": "04 RESTORE",
|
||||
"category": "ARCHIVAL RESTORATION & REPAIR",
|
||||
"model": "ScratchDeNet Pro + Deep Inpaint",
|
||||
"latency": "< 490ms Stream",
|
||||
"title": "Vintage Photo Restoration & Tear Repair",
|
||||
"tagline": "Reconstruct cracked, creased, and faded archival prints in 4K.",
|
||||
"description": "Generative neural inpainting detects scratches, stains, and physical emulsion degradation, reconstructing authentic skin texture and historical tonal depth without artificial blur.",
|
||||
"variant": "comparison",
|
||||
"beforeUrl": "/management/pages/home/media/showcase_04_restore_before.jpg",
|
||||
"afterUrl": "/management/pages/home/media/showcase_04_restore_after.jpg",
|
||||
"toolSlug": "old-photo-restorer",
|
||||
"appSlug": "photo-enhancer-pro",
|
||||
"appName": "Photo Restore Pro",
|
||||
"specs": [
|
||||
"Scratch & crease inpainting",
|
||||
"Historical tone recovery",
|
||||
"Studio 4K lossless export"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "anime-cartoon-synthesis",
|
||||
"index": "05 / 05",
|
||||
"tabLabel": "05 ANIME",
|
||||
"category": "GENERATIVE ANIME & ART",
|
||||
"model": "AnimeGAN v3 Core + VectorFlow",
|
||||
"latency": "< 350ms Stream",
|
||||
"title": "Anime & Artistic Avatar Synthesizer",
|
||||
"tagline": "Turn studio portraits into cinema-grade anime and vector line artwork.",
|
||||
"description": "State-of-the-art dual-branch generative adversarial network extracts facial landmarks and renders clean Japanese anime cell shading, vibrant line art, and cinematic lighting.",
|
||||
"variant": "comparison",
|
||||
"beforeUrl": "/management/pages/home/media/showcase_05_cartoon_before.jpg",
|
||||
"afterUrl": "/management/pages/home/media/showcase_05_cartoon_after.jpg",
|
||||
"toolSlug": "cartoon-avatar",
|
||||
"appSlug": "art-studio-app",
|
||||
"appName": "Art Studio AI",
|
||||
"specs": [
|
||||
"Vector ink contour synthesis",
|
||||
"Manga cel-shading palette",
|
||||
"Lossless 4K illustration export"
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"animationMode": "vertical"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -235,11 +341,17 @@
|
||||
"hi": "ऑनलाइन 8+ एआई फोटो टूल्स आज़माएं या 50 बोनस क्रेडिट के साथ ऐप डाउनलोड करें।"
|
||||
},
|
||||
"primaryCta": {
|
||||
"label": { "en": "Explore All Free Tools", "hi": "सभी टूल्स देखें" },
|
||||
"label": {
|
||||
"en": "Explore All Free Tools",
|
||||
"hi": "सभी टूल्स देखें"
|
||||
},
|
||||
"href": "/tools"
|
||||
},
|
||||
"secondaryCta": {
|
||||
"label": { "en": "Get Mobile Apps", "hi": "मोबाइल ऐप प्राप्त करें" },
|
||||
"label": {
|
||||
"en": "Get Mobile Apps",
|
||||
"hi": "मोबाइल ऐप प्राप्त करें"
|
||||
},
|
||||
"href": "/apps"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user