{ “task”: “portrait_restoration”, “language”: “zh-CN”, “prompt”: { “subject”: { “type”: “human_portrait”, “identity_fidelity”: “match_uploaded_face_100_percent”, “no_facial_modification”: true, “expression”: “natural”, “eye_detail”: “sharp_clear”, “skin_texture”: “ultra_realistic”, “hair_detail”: “natural_individual_strands”, “fabric_detail”: “rich_high_frequency_detail” }, “lighting”: { “exposure”: “bright_clear”, “style”: “soft_studio_light”, “brightness_balance”: “even”, “specular_highlights”: “natural_on_face_and_eyes”, “shadow_transition”: “smooth_gradual” }, “image_quality”: { “resolution”: “8k”, “clarity”: “high”, “noise”: “clean_low”, “artifacts”: “none”, “over_smoothing”: “none” }, “optics”: { “camera_style”: “full_frame_dslr”, “lens”: “85mm”, “aperture”: “f/1.8”, “depth_of_field”: “soft_shallow”, “bokeh”: “smooth_natural” }, “background”: { “style”: “clean_elegant”, “distraction_free”: true, “tone”: “neutral” }, “color_grading”: { “style”: “cinematic”, “saturation”: “rich_but_natural”, “white_balance”: “accurate”, “skin_tone”: “natural_true_to_subject” }, “style_constraints”: { “no_cartoon”: true, “no_beauty_filter”: true, “no_plastic_skin”: true, “no_face_reshaping”: true, “no_ai_face_swap”: true } }, “negative_prompt”: [ “cartoon”, “anime”, “cgi”, “painterly”, “plastic skin”, “over-smoothing”, “over-sharpening halos”, “heavy skin retouching”, “face reshaping”, “identity drift”, “face swap”, “beauty filter”, “uncanny”, “washed out”, “color cast”, “blown highlights”, “crushed shadows”, “banding”, “jpeg artifacts”, “extra fingers”, “deformed eyes”, “asymmetrical face”, “warped features” ], “parameters”: { “fidelity_priority”: “identity”, “detail_priority”: “eyes_skin_hair_fabric”, “realism_strength”: 0.95, “sharpening”: “micro_contrast_only”, “skin_retention”: “keep_pores_and_microtexture”, “recommended_denoise”: “low_to_medium” } }{ “task”: “portrait_restoration”, “language”: “zh-CN”, “prompt”: { “subject”: { “type”: “human_portrait”, “identity_fidelity”: “match_uploaded_face_100_percent”, “no_facial_modification”: true, “expression”: “natural”, “eye_detail”: “sharp_clear”, “skin_texture”: “ultra_realistic”, “hair_detail”: “natural_individual_strands”, “fabric_detail”: “rich_high_frequency_detail” }, “lighting”: { “exposure”: “bright_clear”, “style”: “soft_studio_light”, “brightness_balance”: “even”, “specular_highlights”:“natural_on_face_and_eyes”,“shadow_transition”:“smooth_gradual”},“image_quality”:{ “分辨率”:“8k”,“清晰度”:“高”,“噪声”:“clean_low”,“伪影”:“无”,“over_smoothing”:“无”,“光学”:{ “camera_style”:“full_frame_dslr”,“镜头”:“85mm”,“光圈”:“f/1.8”,“depth_of_field”:“soft_shallow”,“散景”:“smooth_natural” },“背景”:{ “style”:“clean_elegant”,“distraction_free”:真实,“tone”:“neutral” },“color_grading”:{ “style”: “电影感”、“饱和度”:“rich_but_natural”、“white_balance”:“准确”、“skin_tone”:“natural_true_to_subject”}、“style_constraints”:{ “no_cartoon”:真实、“no_beauty_filter”:真实、“no_plastic_skin”:真实、“no_face_reshaping”:真实、“no_ai_face_swap”:真实} }、“negative_prompt”:“卡通”、“动漫”、“CGI”、“画作感”、“塑料皮肤”、“过度平滑”、“过度锐化光晕”、“厚重皮肤修饰”、“面部重塑”、“身份漂移”、“面部互换”, “美妆滤镜”、“诡异”、“洗白”、“色彩变色”、“高光过曝”、“阴影压碎”、“条纹”、“jpeg 伪影”、“多余的手指”、“变形眼睛”、“面部不对称”、“五官变形”]、“参数”: { “fidelity_priority”: “身份”、“detail_priority”: “eyes_skin_hair_fabric”、“realism_strength”: 0。95,“磨刀”:“micro_contrast_only”、“skin_retention”:“keep_pores_and_microtexture”,“recommended_denoise”:“low_to_medium” } }
{ "task_type": "img2img_upscale", "model_settings": { "model_id": "stable-diffusion-xl-base-1.0", "upscaler": "4x-UltraSharp", "face_restoration_model": "CodeFormer" }, "input": { "image_base64": "YOUR_BASE64_IMAGE_STRING_HERE", "prompt": "masterpiece, best quality, highres, photorealistic, restored old photo, sharp focus, extremely detailed, detailed skin texture, remove scratches, remove noise, denoise, color correction, clear eyes, 8k uhd, soft lighting", "negative_prompt": "blur, blurry, low quality, worst quality, lowres, noise, grain, scratches, dust, spots, sepia, monochrome, distorted face, bad anatomy, ugly, overexposed, underexposed, artifacts, glitch, watercolor, painting, cartoon", "parameters": { "steps": 30, "guidance_scale": 7.5, "denoising_strength": 0.35, "seed": -1, "width": 1024, "height": 1024 } } }{ “task_type”:“img2img_upscale”,“model_settings”:{ “model_id”:“stable-diffusion-xl-base-1.0”,“升频器”:“4x 超锐利”,“face_restoration_model”:“CodeFormer” },“输入”:{ “image_base64”:“YOUR_BASE64_IMAGE_STRING_HERE”,“提示”:“杰作,最佳质量,高分辨率,照片级真实,修复老照片,清晰对焦,极其细致,皮肤纹理,去除划痕,去除噪声,去噪,色彩校正,清晰眼部,8K UHD,柔和光线”,“negative_prompt”:“模糊,模糊, 低质量、最差质量、低分辨率、噪点、颗粒感、划痕、灰尘、斑点、褐色调、单色、面部扭曲、解剖结构不良、丑陋、过曝、曝光不足、伪影、故障、水彩、绘画、卡通“、参数”:{“步数”:30,“guidance_scale”:7.5,“denoising_strength”:0.35,“种子”:-1,“宽度”:1024,“高度”:1024 } } }
懂了,这就去拯救我的马赛克自拍
收藏了,修图必备
大佬 我是小白 这个怎么使用啊 API用的????
这个提示词结构对新手太友好了,清晰易懂。
这个提示词结构好专业,对新手很友好!
收藏
收藏
赞
这个参数设置对修复老照片很有帮助。
这个提示词结构好专业,收藏学习一下。