AI Photo Restoration and Upscale

AI Photo Restoration and Upscale

الأمر

{ "task": "image_restoration_upscale", "positive_prompt": "Restore and enhance the provided image. Preserve original identity, facial structure, proportions and composition. High-fidelity photo restoration, ultra-realistic, natural skin texture, accurate details, professional photographic look. 4K output, sharp but natural focus, modern cinematic lighting, subtle volumetric lighting, professional color grading, depth of field, HDR. Shot on Arri Alexa, raw photo aesthetic, masterpiece.", "negative_prompt": "Creative reinterpretation, style change, identity alteration, face reshaping, exaggerated features, cartoonish, painting, illustration, over-sharpening, plastic skin, blur, noise, film grain, jpeg artifacts, distortion, bad anatomy, overexposed, underexposed, washed out colors.", "parameters": { "steps": 30, "cfg_scale": 6.5, "denoising_strength": 0.45, "upscaler": "4x_NMKD_Siax_200k", "target_resolution": "4K" } }

يعمل على موديلات 21

  • 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 المزيد

ما الذي ينتجه هذا الـ prompt؟

Nano Banana prompt: She is wearing this outfit(white top ) given in im... غير محدد nano-banana-2.1
Seedream 5 prompt: woman غير محدد v2
Hero prompt: مع رجل اسود على شاطى البحر غير محدد 1.0
FLUX prompt: می‌خوام برام یک مداد طلایی ته بنفش تیره رو که داره... غير محدد flux-2-pro
FLUX prompt: می‌خوام برام یک مداد طلایی ته بنفش تیره رو که داره... غير محدد flux-2-pro
FLUX prompt: می‌خوام برام یک مداد طلایی ته بنفش تیره رو که داره... غير محدد flux-2-pro

قم بتشغيل هذه المطالبة باستخدام واجهة برمجة التطبيقات

يرسل الطلب أدناه هذه المطالبة، مع ملء قيمها الافتراضية، إلى النموذج الأول الذي تعمل عليه. استبدل اسم الطراز بأي طراز آخر مذكور أعلاه.

مستندات واجهة برمجة التطبيقات الفورية
/api/v1/gpt_image_2/text_to_image
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "model": "gpt-image-2",
  "prompt": "{ \"task\": \"image_restoration_upscale\", \"positive_prompt\":\n\"Restore and enhance the provided image. Preserve original identity, facial structure, proportions and composition. High-fidelity photo restoration, ultra-realistic, natural skin texture, accurate details, professional photographic look. 4K output, sharp but natural focus, modern cinematic lighting, subtle volumetric lighting, professional color grading, depth of field, HDR. Shot on Arri Alexa, raw photo aesthetic, masterpiece.\",\n\"negative_prompt\": \"Creative reinterpretation, style change, identity alteration, face reshaping, exaggerated features, cartoonish, painting, illustration, over-sharpening, plastic skin, blur, noise, film grain, jpeg artifacts, distortion, bad anatomy, overexposed, underexposed, washed out colors.\", \"parameters\":\n{ \"steps\": 30, \"cfg_scale\": 6.5, \"denoising_strength\": 0.45,\n\"upscaler\": \"4x_NMKD_Siax_200k\", \"target_resolution\": \"4K\" } }"
}
JSON

جرب المطالبة