รูปภาพfal

Photo Restoration

ซ่อมแซมรอยขูด การเลือนลาง และความเสียหายในรูปภาพเก่า

model: "restore"

เอกสาร APIเอกสารสำหรับตัวแทน

โหมด

ID โมเดลเดียว ทุกโหมดด้านล่าง ฟิลด์ที่คุณส่งจะเลือกโหมด และราคาจะตามไปด้วยโหมด

โหมดเลือกโดยราคาทั่วไป
รูปภาพเข้า รูปภาพออกimage_url
ตัวอย่างคำขอ
{
  "model": "restore",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040

การทำงานจริง

นี่คือผลลัพธ์จริงของเครื่องมือบนรูปภาพข้างๆ ด้านล่างจะเปิด พื้นที่ทดลอง บนอินพุตเดียวกัน เพื่อให้คุณสามารถรันได้ด้วยตัวเอง

Photo Restoration: ก่อน
ก่อน
Photo Restoration: หลัง
หลัง

อินพุต

จำเป็น

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

ตัวเลือกขั้นสูง (4)

การตั้งค่าผู้ให้บริการเกินกว่าการควบคุมหลัก ปล่อยให้ว่างเพื่อใช้ค่าเริ่มต้นของโมเดล

ไม่บังคับ
-

How strictly the model follows the prompt. Higher is more literal.

ไม่บังคับ
-

Denoising steps. More is slower and can add detail.

ไม่บังคับ

File format of the result.

ไม่บังคับ

Random seed. The same seed and input reproduce the same result.

ผลลัพธ์

Photo Restorationตัวอย่างผลลัพธ์

ผลลัพธ์จริงจากโมเดลนี้ เรียกใช้เพื่อดูผลของคุณที่นี่

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "restore",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/83ca6bf2-d1c7-401d-8398-64b8dba8b712/0.jpg"
  }
}'
Photo Restoration 1Photo Restoration 2