Image-to-Image Restoration of Vintage Photos

Image-to-Image Restoration of Vintage Photos
Image-to-Image Restoration of Vintage Photos

prompt

{ "task": "image-to-image restoration", "input_image": "output_from_prompt_1", "reference_image": { "type": "face_reference", "description": "損傷した写真と同じ顔、アイデンティティは変更せずそのまま" }, "restoration_settings": { "restore_face": true, "restore_skin_texture": true, "remove_damage": true, "preserve_expression": true, "preserve_pose": true }, "image_settings": { "aspect_ratio": "2:3 portrait", "resolution": "8K ultra-HD", "color_mode": "natural warm color", "clarity": "high-end modern portrait" }, "subject": { "pose": "損傷した写真から変更なし", "expression": "同じ穏やかな笑顔", "details": "自然な肌の質感、現実的な目、クリーンな髪のディテール" }, "lighting": { "type": "soft cinematic studio lighting", "quality": "均一で魅力的な、モダンなもの" }, "background": { "style": "クリーンなニュートラルスタジオ背景", "look": "ソフトボケ、テクスチャ損傷なし" }, "quality_targets": [ "傷なし", "折れ目なし", "汚れなし", "ぼかしなし", "経年劣化の痕跡なし" ], "realism": "フォトリアリスティックなモダンポートレート写真", "negative_prompt": [ "顔の変更", "アイデンティティの変更", "過度なスムージング", "プラスチックのような肌", "芸術的なイラスト風" ] }

Funciona con 21 modelos

  • Flux
  • Flux 2
  • Flux Kontext
  • GPT-4o Image
  • GPT Image
  • GPT Image 2
  • GPT Image 2.5
  • GPT Image 2.6
  • Grok Imagine
  • Ideogram V3
  • Imagen 4
  • Kling
  • +9 Más

Lo que produce este prompt

Hunyuan  prompt: 闹钟不用再响 No especificado hunyuan-3
Nano Banana prompt: No especificado nano-banana-2.1
FLUX prompt: Ich benötige für eine außergewöhnliche Stellenanze... No especificado flux-2-pro
ChatGPT Image prompt: Keep the exact same crystal heart keepsake with th... No especificado gpt-image-2
Hero prompt: Mejorar la imagen, dejar el papel con textura y pl... No especificado 1.0
Nano Banana prompt: No especificado nano-banana-2.1

Run este prompt con el API

La siguiente solicitud envía este mensaje, con sus valores predeterminados completados, al primer modelo en el que se ejecuta. Cambie el nombre del modelo por cualquier otro modelo enumerado anteriormente.

Documentación de la API de prompts
/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\": \"image-to-image restoration\",\n  \"input_image\": \"output_from_prompt_1\",\n  \"reference_image\": {\n    \"type\": \"face_reference\",\n    \"description\": \"損傷した写真と同じ顔、アイデンティティは変更せずそのまま\"\n  },\n  \"restoration_settings\": {\n    \"restore_face\": true,\n    \"restore_skin_texture\": true,\n    \"remove_damage\": true,\n    \"preserve_expression\": true,\n    \"preserve_pose\": true\n  },\n  \"image_settings\": {\n    \"aspect_ratio\": \"2:3 portrait\",\n    \"resolution\": \"8K ultra-HD\",\n    \"color_mode\": \"natural warm color\",\n    \"clarity\": \"high-end modern portrait\"\n  },\n  \"subject\": {\n    \"pose\": \"損傷した写真から変更なし\",\n    \"expression\": \"同じ穏やかな笑顔\",\n    \"details\": \"自然な肌の質感、現実的な目、クリーンな髪のディテール\"\n  },\n  \"lighting\": {\n    \"type\": \"soft cinematic studio lighting\",\n    \"quality\": \"均一で魅力的な、モダンなもの\"\n  },\n  \"background\": {\n    \"style\": \"クリーンなニュートラルスタジオ背景\",\n    \"look\": \"ソフトボケ、テクスチャ損傷なし\"\n  },\n  \"quality_targets\": [\n    \"傷なし\",\n    \"折れ目なし\",\n    \"汚れなし\",\n    \"ぼかしなし\",\n    \"経年劣化の痕跡なし\"\n  ],\n  \"realism\": \"フォトリアリスティックなモダンポートレート写真\",\n  \"negative_prompt\": [\n    \"顔の変更\",\n    \"アイデンティティの変更\",\n    \"過度なスムージング\",\n    \"プラスチックのような肌\",\n    \"芸術的なイラスト風\"\n  ]\n}"
}
JSON

Probar a prompt