इमेजअपस्केलिंग
Real-ESRGAN अपस्केलर
फ़ोटो अपलोड करें और उसे चार गुना बड़ा डाउनलोड करें। फ़ोटोग्राफ़िक अपस्केलर।
Real-ESRGAN by Xintao Wang
मॉडल लाइसेंस
Real-ESRGAN x4plus original release ONNX derivative · BSD-3-Clause
Retain the original copyright notice, all three BSD conditions and warranty disclaimer with distributed copies. No endorsement using author/contributor names without permission.
API संदर्भ
REST से सबमिट करें
अपने टूल से इस वर्कलोड के लिए जॉब बनाने हेतु अपनी व्यक्तिगत API कुंजी (msk_…) का उपयोग करें। इस तरह शुरू किए गए जॉब उन्हीं डिवाइस पर चलते हैं जिन्हें आपने आपके डिवाइस पर कनेक्ट किया है — कम से कम एक का ऑनलाइन होना ज़रूरी है।
https://cp.meshlabs.cloud/v1/organizations/jobsX-Organization-Api-Key: msk_your_personal_api_key से प्रमाणित करें। हेडर का नाम ऑर्ग कुंजियों जैसा ही है; व्यक्तिगत कुंजियाँ उसी एंडपॉइंट का उपयोग करती हैं।
POST https://cp.meshlabs.cloud/v1/organizations/job-inputs/presign को कॉल करें, लौटाए गए upload_url पर अपनी फ़ाइल अपलोड करें, फिर download_url को job_spec में पास करें (उदाहरण के लिए input_image_url के रूप में)।अनुरोध बॉडी
{
"workload_type": "esrgan-x4plus-upscale",
"job_spec": {
"input_image_url": "https://…/your-input.png",
"scale_factor": 4,
"variant": "x4plus"
}
}job_spec फ़ील्ड
| फ़ील्ड | आवश्यक | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
input_image_url | हाँ | — | इनपुट इमेज का S3 प्रीसाइंड URL या सार्वजनिक URL |
scale_factor | नहीं | 4 | अपस्केल फ़ैक्टर (ESRGAN के लिए हमेशा 4) |
variant | नहीं | x4plus | Variant |
cURL
curl -X POST https://cp.meshlabs.cloud/v1/organizations/jobs \
-H "X-Organization-Api-Key: msk_your_personal_api_key" \
-H "Content-Type: application/json" \
-d '{
"workload_type": "esrgan-x4plus-upscale",
"job_spec": {
"input_image_url": "https://…/your-input.png",
"scale_factor": 4,
"variant": "x4plus"
}
}'https://cp.meshlabs.cloud/v1/organizations/jobs/{job_id}उसी API कुंजी से तब तक पोल करें जब तक status अंतिम स्थिति (COMPLETED, FAILED, CANCELED या MODERATION_BLOCKED) में न पहुँच जाए। जब सामग्री मॉडरेशन सक्षम होता है, तो कंप्यूट कतार में जाने से पहले जॉब MODERATION_PENDING में शुरू हो सकते हैं। पूरे हुए जॉब में हर आउटपुट पर presigned download_url मान होते हैं।
Create प्रतिक्रिया
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workload_type": "esrgan-x4plus-upscale",
"status": "PENDING",
"job_spec_json": {
"input_image_url": "https://…/your-input.png",
"scale_factor": 4,
"variant": "x4plus"
},
"work_units": [],
"outputs": [],
"created_at": "2026-06-08T12:00:00Z",
"updated_at": "2026-06-08T12:00:00Z"
}Completed प्रतिक्रिया
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"workload_type": "esrgan-x4plus-upscale",
"status": "COMPLETED",
"job_spec_json": {
"input_image_url": "https://…/your-input.png",
"scale_factor": 4,
"variant": "x4plus"
},
"work_units": [
{
"id": "…",
"index": 0,
"status": "COMPLETED"
}
],
"outputs": [
{
"id": "…",
"output_type": "<output type>",
"filename": "<output filename>",
"size_bytes": 524288,
"download_url": "<presigned output download URL>"
}
],
"created_at": "2026-06-08T12:00:00Z",
"updated_at": "<completion timestamp>"
}फ़ोटोग्राफ़ अपलोड करें और हर तरफ़ लगभग चार गुना बड़ा संस्करण डाउनलोड करें। यह फ़ोटोग्राफ़िक Real-ESRGAN अपस्केलर है, प्रॉम्प्ट से दोबारा बनाई गई तस्वीर नहीं। आपके जोड़े गए डिवाइस पर निःशुल्क इमेज अपस्केलर। पहली बार चलाने पर मॉडल डाउनलोड होता है।