AI Restoration of Heavily Damaged Vintage Photo

A complex JSON prompt detailing the requirements for restoring a heavily damaged vintage photograph of a young girl. It explicitly lists the types of damage to fix (cracks, tears across face, faded colors) and sets specific restoration goals, such as reconstructing missing areas naturally, correcting color without oversaturation, and enhancing sharpness while avoiding the 'plastic skin' effect, aiming for an authentic restored vintage look.

Prompt

{ "task": "old_photo_restoration", "description": "Restore a heavily damaged vintage photograph of a young girl", "input_photo_condition": { "damage_types": [ "deep cracks", "fold lines", "tears across face", "scratches", "faded colors", "paper texture damage", "missing parts along crack lines" ], "age_effects": [ "yellowish tint", "low contrast", "washed-out tones", "grain/noise" ] }, "restoration_goals": { "fix_cracks": "remove all cracks and fold marks cleanly", "reconstruct_missing_areas": "restore face details naturally where torn", "color_correction": "restore natural skin tones without over-saturation", "sharpness": "enhance facial details smoothly, maintain softness appropriate for child's portrait", "noise_reduction": "remove grain while keeping natural texture", "background_cleanup": "smooth restoration of vintage background", "preserve_identity": "do NOT alter facial structure or change the person's identity" }, "subject_details": { "type": "young girl (approx. 5–7 years old)", "hair": "dark brown, two ponytails with small flower hairpins", "expression": "smiling, bright eyes", "clothing": "vintage floral dress with white collar", "pose": "front-facing school-style portrait" }, "output_style": { "look": "authentic restored vintage photo", "finish": "clean, high-resolution, natural colors", "texture": "remove paper wrinkles but preserve slight vintage softness", "lighting": "even, soft retro portrait lighting" }, "quality": { "resolution": "Ultra HD 4K restoration", "clarity": "high but natural (no plastic skin effect)" } }

Runs on 18 models

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Midjourney
  • Nano Banana
  • +6 more

What this prompt produces

Realistic Group Selfie with Smartphone Flash Effect Not specified nano-banana-pro
Four Seasons Portrait Collage Not specified nano-banana-pro
Minimalist Dog Sketch Clipart Not specified nano-banana-pro
Mecha Girl figure concept generated by Nano Banana Pro Not specified nano-banana-pro
Candid Flash Photography: Chaotic Holiday Party (Duplicate) Not specified nano-banana-pro
Ethereal Floral Studio Portrait Not specified nano-banana-pro

Run this prompt with the API

The request below sends this prompt, with its default values filled in, to the first model it runs on. Swap the model name for any other model listed above.

Prompt API docs
/api/v1/nano_banana/text_to_image
curl -X POST https://runapi.ai/api/v1/nano_banana/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "nano-banana-pro",
  "prompt": "{\n  \"task\": \"old_photo_restoration\",\n  \"description\": \"Restore a heavily damaged vintage photograph of a young girl\",\n  \n  \"input_photo_condition\": {\n    \"damage_types\": [\n      \"deep cracks\",\n      \"fold lines\",\n      \"tears across face\",\n      \"scratches\",\n      \"faded colors\",\n      \"paper texture damage\",\n      \"missing parts along crack lines\"\n    ],\n    \"age_effects\": [\n      \"yellowish tint\",\n      \"low contrast\",\n      \"washed-out tones\",\n      \"grain/noise\"\n    ]\n  },\n\n  \"restoration_goals\": {\n    \"fix_cracks\": \"remove all cracks and fold marks cleanly\",\n    \"reconstruct_missing_areas\": \"restore face details naturally where torn\",\n    \"color_correction\": \"restore natural skin tones without over-saturation\",\n    \"sharpness\": \"enhance facial details smoothly, maintain softness appropriate for child's portrait\",\n    \"noise_reduction\": \"remove grain while keeping natural texture\",\n    \"background_cleanup\": \"smooth restoration of vintage background\",\n    \"preserve_identity\": \"do NOT alter facial structure or change the person's identity\"\n  },\n\n  \"subject_details\": {\n    \"type\": \"young girl (approx. 5–7 years old)\",\n    \"hair\": \"dark brown, two ponytails with small flower hairpins\",\n    \"expression\": \"smiling, bright eyes\",\n    \"clothing\": \"vintage floral dress with white collar\",\n    \"pose\": \"front-facing school-style portrait\"\n  },\n\n  \"output_style\": {\n    \"look\": \"authentic restored vintage photo\",\n    \"finish\": \"clean, high-resolution, natural colors\",\n    \"texture\": \"remove paper wrinkles but preserve slight vintage softness\",\n    \"lighting\": \"even, soft retro portrait lighting\"\n  },\n\n  \"quality\": {\n    \"resolution\": \"Ultra HD 4K restoration\",\n    \"clarity\": \"high but natural (no plastic skin effect)\"\n  }\n}"
}
JSON

Try a prompt

Estimated: $0.04 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.