วิธีใช้ Topaz Upscale Image Precision
-
ระบุภาพ: ตั้ง image_url เป็น URL ของภาพที่เข้าถึงได้แบบสาธารณะ
-
เลือกรุ่นโมเดล: Standard V2 เป็นตัวเลือกทั่วไปเริ่มต้น ใช้ High Fidelity V3 เพื่อความแม่นยำสูงสุด, CGI สำหรับภาพเรนเดอร์ หรือ Text Refine สำหรับเอกสาร/ภาพหน้าจอ
-
กำหนดอัตราขยาย: upscale_factor รองรับ 1-4x
-
ปรับการควบคุมความเที่ยงตรง: strength, sharpen, denoise และ fix_compression ใช้ปรับผลลัพธ์ให้คงความใกล้เคียงต้นฉบับอย่างละเอียด ส่วน face_enhancement ใช้ปรับภาพบุคคล
-
ส่งคำขอและตรวจสอบสถานะ: ส่ง POST ไปที่ /api/v1/topaz-upscale-image-precision จากนั้นตรวจสอบ /api/v1/predictions/{request_id} หรือใช้ webhook_url
curl -X POST https://api.muapi.ai/api/v1/topaz-upscale-image-precision \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://example.com/scan.jpg",
"model": "High Fidelity V3",
"upscale_factor": 2
}'