برای ترمیم عکسهای قدیمی در چتجیپیتی میتونید از پرامپت زیر استفاده کنید. این پرامپت قابلیت تغییر در پارامترها برای نتیجه مطلوب رو داره. (عکس متعلق به یکی از هزاران شهید جنگ هشت ساله است)
{
"prompt": "Restore and colorize this historical photograph while maintaining perfect facial similarity and original composition. Apply professional photo restoration techniques to repair damages, cracks, and fading. Use historically accurate and natural color tones for skin, clothing, and environment based on the time period. After restoration, add a hyper-realistic Persian Khatam-style decorative frame surrounding the photograph. The Khatam frame must be photographically realistic, showing actual wood, bone, and metal inlays with visible material textures, reflections on metal elements, and natural wood grain. Capture the intricate geometric mosaic patterns of authentic Khatam craftsmanship with precise detail, including the characteristic star patterns in traditional Persian designs with rich colors including turquoise, gold, deep red, and royal blue. Include subtle imperfections, light reflections, and natural shadows that would appear in a photograph of a real Khatam frame. The final image must be indistinguishable from a high-resolution photograph of a restored image in a handcrafted Khatam frame. The subject's identity, expressions, and key features must remain 100% faithful to the original photograph.",
"negative_prompt": "Blurry, oversaturated, cartoon-like, illustrated frame, drawing-style frame, distorted faces, changed facial features, modernized appearance, inaccurate colors, simplified frame, flat-looking frame, 2D frame, stylized frame, pixelated, low resolution, watermarks, signatures, text overlays, anachronistic elements, digital artifacts, synthetic-looking skin, over-smoothed details, unrealistic lighting, altered composition, changed background, modern clothing styles, painted frame, artificial textures, lack of material detail in frame, uniform wood color, artificial patterns",
"parameters": {
"restoration_strength": 0.95,
"colorization_accuracy": 0.92,
"face_similarity_preservation": 0.98,
"detail_enhancement": 0.85,
"noise_reduction": 0.75,
"frame_complexity": 0.88,
"khatam_pattern_authenticity": 0.9,
"historical_color_accuracy": 0.85,
"overall_photorealism": 0.99,
"frame_photorealism": 0.98,
"material_texture_detail": 0.97,
"lighting_realism": 0.96,
"sampling_method": "DPM++ 2M Karras",
"sampling_steps": 30,
"cfg_scale": 7.5,
"seed": -1,
"width": 1024,
"height": 1024,
"denoise_strength": 0.75
},
"additional_notes": "Ensure the final image has the authentic appearance of a professionally restored vintage photograph with natural skin tones and period-appropriate colors. The Khatam frame must appear as a real photographed physical object, not an illustration or digital creation. Include photographic details like subtle depth of field effects on the frame, natural variations in lighting across different inlay materials, microscopic imperfections in the craftsmanship, and realistic surface reflections that would be captured in a high-quality photograph of a handmade Khatam frame. The wood should show authentic grain patterns, the bone inlays should have subtle translucency at edges, and metal elements should exhibit appropriate specular highlights. Photograph-like shadows should be cast by the frame according to the lighting conditions. The transition between photo and frame should appear as in a real photograph of a professionally matted and framed vintage photo. The entire image should have photographic qualities including natural depth, subtle lens characteristics, and realistic material rendering that would be impossible to draw or illustrate."
}