ai-glamour-studio / index.html
cahuenca36's picture
I’m include the nude image generator
2521f7f verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Glamour Studio - Transform Your Photos</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#8B5CF6',
secondary: '#EC4899',
}
}
}
}
</script>
<style>
.dropzone {
border: 2px dashed #8B5CF6;
transition: all 0.3s ease;
}
.dropzone:hover {
border-color: #EC4899;
background-color: rgba(139, 92, 246, 0.05);
}
.preview-container {
transition: transform 0.3s ease;
}
.preview-container:hover {
transform: scale(1.02);
}
.privacy-marker {
position: absolute;
background: rgba(0,0,0,0.5);
color: white;
padding: 0.5rem;
border-radius: 0.25rem;
font-size: 0.75rem;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<!-- Header -->
<header class="mb-12 text-center">
<h1 class="text-4xl font-bold text-primary mb-2">AI Glamour Studio</h1>
<p class="text-gray-600 max-w-2xl mx-auto">Upload your photos and let our AI create stunning transformations while respecting your privacy.</p>
</header>
<!-- Upload Section -->
<div class="bg-white rounded-xl shadow-lg p-8 mb-12">
<div class="text-center mb-6">
<div class="w-16 h-16 bg-primary bg-opacity-10 rounded-full flex items-center justify-center mx-auto mb-4">
<i data-feather="upload" class="text-primary w-8 h-8"></i>
</div>
<h2 class="text-2xl font-semibold text-gray-800 mb-2">Upload Your Photo</h2>
<p class="text-gray-500">For best results, use high-quality photos with good lighting</p>
</div>
<div id="dropzone" class="dropzone rounded-xl p-12 text-center cursor-pointer mb-6">
<div class="mx-auto w-24 h-24 bg-primary bg-opacity-10 rounded-full flex items-center justify-center mb-4">
<i data-feather="image" class="text-primary w-10 h-10"></i>
</div>
<p class="text-gray-600 mb-2">Drag & drop your photo here</p>
<p class="text-sm text-gray-400 mb-4">or</p>
<label for="file-upload" class="px-6 py-2 bg-primary text-white rounded-full font-medium hover:bg-opacity-90 transition cursor-pointer inline-block">
Browse Files
</label>
<input id="file-upload" type="file" accept="image/*" class="hidden">
</div>
<div class="text-center">
<p class="text-xs text-gray-400">Your photos are processed securely and never stored permanently</p>
</div>
</div>
<!-- AI Options -->
<div class="bg-white rounded-xl shadow-lg p-8 mb-12">
<h2 class="text-2xl font-semibold text-gray-800 mb-6">AI Transformation Styles</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-6">
<div class="bg-gray-50 rounded-lg overflow-hidden border border-gray-200 hover:border-primary transition cursor-pointer">
<div class="relative h-48 overflow-hidden">
<img src="http://static.photos/people/640x360/1" class="w-full h-full object-cover" alt="Classic Style">
<div class="privacy-marker bottom-2 left-2">Sample Only</div>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-800 mb-1">Classic Glamour</h3>
<p class="text-sm text-gray-500">Elegant, timeless beauty</p>
</div>
</div>
<div class="bg-gray-50 rounded-lg overflow-hidden border border-gray-200 hover:border-primary transition cursor-pointer">
<div class="relative h-48 overflow-hidden">
<img src="http://static.photos/people/640x360/2" class="w-full h-full object-cover" alt="Boudoir Style">
<div class="privacy-marker bottom-2 left-2">Sample Only</div>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-800 mb-1">Boudoir</h3>
<p class="text-sm text-gray-500">Romantic and tasteful</p>
</div>
</div>
<div class="bg-gray-50 rounded-lg overflow-hidden border border-gray-200 hover:border-primary transition cursor-pointer">
<div class="relative h-48 overflow-hidden">
<img src="http://static.photos/people/640x360/3" class="w-full h-full object-cover" alt="Artistic Style">
<div class="privacy-marker bottom-2 left-2">Sample Only</div>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-800 mb-1">Artistic Nude</h3>
<p class="text-sm text-gray-500">Creative body art</p>
</div>
</div>
<div class="bg-gray-50 rounded-lg overflow-hidden border border-gray-200 hover:border-primary transition cursor-pointer">
<div class="relative h-48 overflow-hidden">
<img src="http://static.photos/people/640x360/4" class="w-full h-full object-cover" alt="Fantasy Style">
<div class="privacy-marker bottom-2 left-2">Sample Only</div>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-800 mb-1">Fantasy</h3>
<p class="text-sm text-gray-500">Magical transformations</p>
</div>
</div>
<div class="bg-gray-50 rounded-lg overflow-hidden border border-gray-200 hover:border-primary transition cursor-pointer">
<div class="relative h-48 overflow-hidden">
<img src="http://static.photos/people/640x360/5" class="w-full h-full object-cover" alt="Nude Generator">
<div class="privacy-marker bottom-2 left-2">Sample Only</div>
</div>
<div class="p-4">
<h3 class="font-medium text-gray-800 mb-1">Nude Generator</h3>
<p class="text-sm text-gray-500">Tasteful artistic nudes</p>
</div>
</div>
</div>
</div>
<!-- Privacy Section -->
<div class="bg-white rounded-xl shadow-lg p-8">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-6 md:mb-0 md:pr-8">
<div class="w-16 h-16 bg-primary bg-opacity-10 rounded-full flex items-center justify-center mb-4">
<i data-feather="lock" class="text-primary w-6 h-6"></i>
</div>
<h2 class="text-2xl font-semibold text-gray-800 mb-4">Your Privacy Matters</h2>
<p class="text-gray-600 mb-4">We use advanced encryption and automatic deletion to protect your images. All transformations happen locally in your browser when possible.</p>
<ul class="space-y-2 text-gray-600">
<li class="flex items-start">
<i data-feather="check" class="text-green-500 mr-2 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>Images are automatically deleted after processing</span>
</li>
<li class="flex items-start">
<i data-feather="check" class="text-green-500 mr-2 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>No human reviews your original images</span>
</li>
<li class="flex items-start">
<i data-feather="check" class="text-green-500 mr-2 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>Secure HTTPS connection for all transfers</span>
</li>
</ul>
</div>
<div class="md:w-1/2">
<div class="bg-gray-50 rounded-lg p-6 border border-gray-200">
<div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-4">
<div class="flex">
<div class="flex-shrink-0">
<i data-feather="alert-triangle" class="text-yellow-400 w-5 h-5"></i>
</div>
<div class="ml-3">
<p class="text-sm text-yellow-700">
All nude transformations are generated with AI and may require manual approval for tastefulness. Original images are never stored.
</p>
</div>
</div>
</div>
<h3 class="font-medium text-gray-800 mb-4">How it works</h3>
<div class="space-y-4">
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mr-4">
<span class="text-primary font-medium">1</span>
</div>
<div>
<h4 class="font-medium text-gray-800">Upload Your Photo</h4>
<p class="text-sm text-gray-500">Select a well-lit photo for best results</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mr-4">
<span class="text-primary font-medium">2</span>
</div>
<div>
<h4 class="font-medium text-gray-800">Choose Style</h4>
<p class="text-sm text-gray-500">Select from our AI-powered transformations</p>
</div>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-10 w-10 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mr-4">
<span class="text-primary font-medium">3</span>
</div>
<div>
<h4 class="font-medium text-gray-800">Download Result</h4>
<p class="text-sm text-gray-500">Your transformed image is ready in seconds</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="bg-white py-8 border-t border-gray-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<p class="text-gray-500 text-sm">© 2023 AI Glamour Studio. For artistic purposes only.</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-500 hover:text-primary transition">
<i data-feather="help-circle"></i>
</a>
<a href="#" class="text-gray-500 hover:text-primary transition">
<i data-feather="shield"></i>
</a>
<a href="#" class="text-gray-500 hover:text-primary transition">
<i data-feather="mail"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
// Initialize feather icons
feather.replace();
// Age verification modal
const showAgeModal = () => {
const modal = document.createElement('div');
modal.className = 'fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50';
modal.innerHTML = `
<div class="bg-white rounded-lg p-6 max-w-md w-full">
<div class="text-center mb-4">
<i data-feather="alert-circle" class="text-primary w-12 h-12 mx-auto"></i>
</div>
<h3 class="text-xl font-semibold text-center mb-4">Age Verification</h3>
<p class="text-gray-600 mb-6 text-center">
The nude generator is intended for artistic purposes only and for users 18+.
By proceeding, you confirm you are at least 18 years old.
</p>
<div class="flex space-x-4">
<button onclick="this.parentElement.parentElement.parentElement.remove()"
class="flex-1 py-2 border border-gray-300 rounded-lg text-gray-700 hover:bg-gray-50 transition">
Cancel
</button>
<button onclick="proceedToNudeGenerator()"
class="flex-1 py-2 bg-primary text-white rounded-lg hover:bg-opacity-90 transition">
I'm 18+
</button>
</div>
</div>
`;
document.body.appendChild(modal);
feather.replace();
};
const proceedToNudeGenerator = () => {
document.querySelector('.age-modal')?.remove();
// Here you would initiate the nude generation process
alert('Nude generation feature unlocked. Please upload your photo.');
};
// Add click handler for nude generator option
document.addEventListener('DOMContentLoaded', () => {
const nudeOption = document.querySelectorAll('.bg-gray-50')[4]; // 5th option is nude generator
nudeOption.addEventListener('click', showAgeModal);
});
// Handle file upload
const dropzone = document.getElementById('dropzone');
const fileInput = document.getElementById('file-upload');
dropzone.addEventListener('click', () => fileInput.click());
['dragenter', 'dragover', 'dragleave', 'drop'].forEach(eventName => {
dropzone.addEventListener(eventName, preventDefaults, false);
});
function preventDefaults(e) {
e.preventDefault();
e.stopPropagation();
}
['dragenter', 'dragover'].forEach(eventName => {
dropzone.addEventListener(eventName, highlight, false);
});
['dragleave', 'drop'].forEach(eventName => {
dropzone.addEventListener(eventName, unhighlight, false);
});
function highlight() {
dropzone.classList.add('border-secondary', 'bg-opacity-20');
}
function unhighlight() {
dropzone.classList.remove('border-secondary', 'bg-opacity-20');
}
dropzone.addEventListener('drop', handleDrop, false);
function handleDrop(e) {
const dt = e.dataTransfer;
const files = dt.files;
handleFiles(files);
}
fileInput.addEventListener('change', function() {
handleFiles(this.files);
});
function handleFiles(files) {
if (files.length) {
// Here you would handle the file upload and processing
alert('Photo uploaded! Select a transformation style.');
}
}
</script>
</body>
</html>