-- Pixmenia v17 enhancer-only cleanup
DELETE FROM ai_service_settings
WHERE service_key IN (
 'ai_headshots',
 'ai_passport_cv_photos',
 'bulk_processing',
 'ai_birthday_photos',
 'company_team_photos',
 'pet_studio',
);

INSERT INTO ai_service_settings (service_key, service_name, credits, is_active, prompt) VALUES
('image_enhancer','Image Enhancer',1,1,'Enhance the uploaded image professionally. Improve sharpness, resolution, lighting, clarity, facial details if present, and reduce noise/blur. Keep the person/product identity, natural skin texture, original composition, and realistic look. Do not change age, face structure, clothing, background meaning, text, logos, or important objects. Output a premium clean enhanced version.'),
('old_photo_restore','Old Photo Restore',2,1,'Restore this old or damaged photo carefully. Remove scratches, dust, cracks, stains, blur, faded areas, and noise. Recover natural contrast, lighting, facial details, and image clarity. Keep the original people, clothing, background, era, identity, and emotional authenticity. Do not modernize faces or change the scene. If black and white, keep it black and white unless the user explicitly requests colorization.'),
('background_remover','Background Remover',1,1,'Remove the background from the uploaded image with clean professional edges. Keep the main subject intact, sharp, and natural. Preserve hair, product edges, transparent materials, shadows when useful, and important subject details. Output the subject isolated on a clean transparent or white background depending on platform capability. Do not alter the subject.'),
('photo_filters_pack','Photo Filters Pack',1,1,'Generate premium stylistic versions of the uploaded photo including cinematic, vintage and modern filter looks while preserving the original image, subject identity and composition.'),
('print_poster_upscaler','Print & Poster Upscaler',3,1,'Upscale and enhance the uploaded image for large-format printing such as posters, banners, rollups and wall art. Improve resolution, sharpness, edges, color depth and print readiness while preserving the original composition, subject and details. Avoid artificial artifacts and over-sharpening.'),
('school_photo_enhancer','School Photo Enhancer',2,1,'Enhance the uploaded school or child portrait photo naturally. Improve lighting, clarity, color, background cleanliness and print quality while preserving the child identity, age, expression, clothing and school-photo style. Avoid unrealistic beauty filters or age changes.'),
('marketplace_photo_optimizer','Marketplace Photo Optimizer',2,1,'Optimize the uploaded product image for marketplace listings. Improve product clarity, lighting, background cleanliness, sharpness and commercial presentation. Keep the exact product shape, color, branding, packaging and details. Do not alter labels or add misleading features.'),
('document_scanner_enhancer','Document Scanner Enhancer',1,1,'Enhance the uploaded document scan or photo. Correct perspective, improve readability, remove shadows, clean background, sharpen text, increase contrast and make it look like a clean scanned document. Preserve all original text, numbers, signatures, stamps and layout exactly. Do not invent, remove or modify any document content.'),
('id_document_background_fixer','ID & Document Background Fixer',1,1,'Fix the background of the uploaded ID, passport, visa or CV photo. Create a clean compliant white or light neutral background, correct framing and improve lighting while preserving the person identity, face, clothing and natural appearance. Do not change facial features, age, expression or identity.')
ON DUPLICATE KEY UPDATE service_name=VALUES(service_name), credits=VALUES(credits), prompt=VALUES(prompt), is_active=VALUES(is_active);
