To preserve originality in Photoshop restoration using Flux Kontext Max or Pro, the key is in how you prompt — especially when using AI-based tools that tend to "over-enhance" or reinterpret details.
Here’s how to preserve the original look and feel while still restoring:
✅ Prompt Strategy to Preserve Originality
1. Use Negative Prompts
Tell the AI what not to do. This is crucial.
Example:
code
"Restore the image: remove scratches, dust, and noise. Do not change facial features, skin texture, or original lighting. Do not modernize or stylize. Preserve original grain and color tone."
2. Use Specific Language
Avoid vague terms like "enhance" or "improve" — they often trigger over-processing.
Instead, use:
"subtle restoration"
"non-destructive cleanup"
"preserve original texture and tone"
"no AI reinterpretation"
3. Layered Prompting (if supported)
If Flux Kontext allows step-by-step prompting, break it down:
Step 1:
code
"Clean only physical damage: scratches, stains, and dust. Do not alter facial structure or skin."
Step 2:
code
"Now gently reduce noise while preserving original film grain. No smoothing or softening."
🛠️ Additional Tips
Use masks: If possible, mask areas you want untouched (like faces or signatures).
Compare layers: Always keep a backup layer of the original to compare.
Use low opacity: If using AI-generated layers, blend them at 30–50% opacity to retain original texture.
🔍 Example Full Prompt
code
"Restore this aged photograph: remove scratches, dust, and stains only. Do not change facial features, skin texture, or original lighting. Preserve the original film grain and color cast. No AI stylization or modern enhancement. Output should look like a cleaned version of the original, not a reinterpretation."
If Flux Kontext still overwrites too much, consider using it only for cleanup, then switching to manual Photoshop tools (like the Spot Healing Brush or Clone Stamp) for fine control.
Let me know if you want a prompt tailored to a specific type of photo (e.g., portrait, landscape, B&W).
User
Photo Restoration tried Flux Kontext Max and Pro via API but the originality little bit changed how to preserve via prompt
Assistant
When you call Flux Kontext Max / Pro through the REST API the model still obeys the same prompt rules, but you have to be very explicit in the JSON payload because the API does not show you a preview—you only get the final file.
Below is a template that keeps the photo “as-is” while only removing physical damage.
json
{
"prompt": "Clean and repair this photograph. Remove scratches, dust spots, stains, and chemical blotches. Do not change facial features, skin texture, hair strands, or clothing details. Do not add or remove objects. Preserve original film grain, color cast, contrast, and sharpness. No smoothing, no softening, no modern color grading, no AI reinterpretation. Output must look like the same untouched photo after physical damage has been gently cleaned.",
"negative_prompt": "modernize, over-sharpen, smooth skin, change colors, add detail, upscale texture, stylize, reinterpret, reimagine, digital painting, HDR, glow, soft focus, face swap, eye enlargement, skin smoothing, beauty filter",
"strength": 0.25,
"guidance": 3.5,
"seed": -1,
"output_format": "png",
"output_quality": 95
}
Key knobs you can tune via the API
strength (0.2–0.3) – lower = less reinterpretation.
guidance (3–4) – lower = less “creative” adherence to prompt.
negative_prompt – list every unwanted change explicitly.
seed – set a fixed seed if you need reproducible results.
If the result is still drifting, split the job:
First call: only damage removal (strength 0.2).
Second call (optional): very light noise reduction with strength 0.15 and a prompt that says “preserve grain”.
Always keep the original file and blend the API result back at 60–80 % opacity in Photoshop to retain maximum authenticity.
User
negative prompts available in FluxKontext request body ?
Assistant
No.
The current Flux Kontext Max / Pro REST endpoint does not expose a dedicated negative_prompt (or negative, avoid, etc.) field. The model only accepts a single prompt string.
If you need to suppress unwanted changes you must embed the restrictions directly inside that prompt, e.g.:
json
{
"prompt": "Clean scratches and dust only. Do NOT change faces, skin, colors, contrast, or add detail. Preserve original grain and tone."
}
If you require true negative-prompt semantics you’ll need to switch to a model / API that explicitly supports it (e.g., Stable Diffusion-based services).