Ideal House
सामग्री पर जाएं

फ़ोटो एनहैंसर API दस्तावेज़ीकरण#

© Ideal House AI — सभी अधिकार सुरक्षित।

मूल URL: https://api.ideal.house
संस्करण: v1
अपडेट किया गया: 2026-04-17


सारांश#

फ़ोटो एनहैंसर API आपको असिंक (asynchronous) रूप से रियल एस्टेट फ़ोटो की गुणवत्ता में सुधार करने की अनुमति देता है, जिसके लिए आप presetId चुन सकते हैं, एक कस्टम prompt प्रदान कर सकते हैं, या दोनों का संयोजन कर सकते हैं।

वर्तमान रिक्वेस्ट मॉडल:

  • presetId वैकल्पिक है।
  • prompt वैकल्पिक है।
  • presetId और prompt दोनों खाली नहीं हो सकते। इनमें से कम से कम एक का प्रदान करना आवश्यक है।
  • केवल इमेज इनपुट फ़ील्ड के रूप में imageUrl का उपयोग करें।
  • imageUrl एकल-इमेज और मल्टी-इमेज दोनों फ़ॉर्मेट का समर्थन करता है।

वर्कफ़्लो:

  1. जनरेट एंडपॉइंट को कॉल करें और एक taskId प्राप्त करें।
  2. उस taskId के साथ रिज़ल्ट एंडपॉइंट की स्थिति की नियमित जाँच (poll) करें।
  3. कार्य सफल होने के बाद जनरेटेड इमेज URL को पढ़ें।

प्रमाणीकरण#

सभी API अनुरोधों के हेडर में आपकी API कुंजी शामिल होनी चाहिए।

हेडरआवश्यकविवरण
APIKEYहाँआपका API प्रमाणीकरण की
Content-TypeहाँPOST रिक्वेस्ट के लिए application/json

क्रेडिट#

प्रत्येक सफल कार्य निर्माण पर 10 क्रेडिट कटौती होती है। यदि कार्य बाद में विफल हो जाता है, तो क्रेडिट स्वतः रिफंड किए जाते हैं।

क्रेडिट नियमों के लिए, देखें credits-deduction.md


एंडपॉइंट#

1. कार्य बनाएँ#

एक नई इमेज एनहैंसमेंट कार्य बनाएँ।

एंडपॉइंट

http
POST /api/v1/photoEnhancer/generate

अनुरोध बॉडी

फ़ील्डप्रकारआवश्यकविवरण
presetIdstringनहींवैकल्पिक प्रीसेट रिक्वेस्ट मान। प्रीसेट संदर्भ में से एक चुनें।
imageUrlstring | array<string>हाँइमेज इनपुट। एकल URL स्ट्रिंग का समर्थन करता है, या एक URL ऐरे जैसे ["https://a.jpg", "https://b.jpg"]
promptstringनहींवैकल्पिक कस्टम प्रॉम्प्ट टेक्स्ट।
imageSizestringनहींवैकल्पिक आउटपुट साइज़। समर्थित मान: 512, 1K, 2K, 4K। यदि API कॉल के लिए छोड़ा जाए, तो सर्वर डिफ़ॉल्ट रूप से 4K का उपयोग करता है।

इमेज आवश्यकताएँ: प्रत्येक इनपुट इमेज को JPG/JPEG, PNG, या WebP का उपयोग करना चाहिए। प्रत्येक इमेज का आकार 20 MB से अधिक नहीं होना चाहिए, और आयाम 128 × 128 px से लेकर 6,000 × 6,000 px (समावेशी) तक हो सकते हैं। अधिकतम पिक्सल आयाम से अधिक इमेज अपने आप समान अनुपात में छोटी की जाती हैं ताकि प्रोसेसिंग से पहले वे 6,000 × 6,000 px के भीतर फिट हों। इमेज URLs का API सर्वर द्वारा सीधे एक्सेस होना चाहिए।

imageUrl फ़ॉर्मेट

एकल इमेज:

json
{
  "imageUrl": "https://example.com/room.jpg"
}

अनेक इमेज:

json
{
  "imageUrl": [
    "https://example.com/room_1.jpg",
    "https://example.com/room_2.jpg"
  ]
}

व्यवहार नोट्स

  • इस API के लिए imageUrl एकमात्र रिक्वेस्ट इमेज फ़ील्ड है।
  • presetId को छोड़ा जा सकता है।
  • prompt को छोड़ा जा सकता है।
  • presetId और prompt दोनों खाली नहीं हो सकते। इनमें से कम से कम एक का प्रदान करना आवश्यक है।
  • यदि imageUrl एक सामान्य URL स्ट्रिंग है, तो कार्य एक इमेज का उपयोग करता है।
  • यदि imageUrl एक ऐरे है, तो सर्वर इसे एक आंतरिक इमेज सूची में पार्स करता है।
  • hdr-merge-hdr-merge वह प्रीसेट है जो अनेक इमेज के लिए डिज़ाइन किया गया है।
  • अनेक इमेज सामान्यतः केवल hdr-merge-hdr-merge के साथ ही सर्वोत्तम परिणाम देती हैं।
  • अन्य presetId मान मल्टी-इमेज जनरेशन के लिए डिज़ाइन नहीं किए गए हैं। यदि आप इनके साथ अनेक इमेज सबमिट करते हैं, तो जनरेटेड परिणाम अच्छा नहीं हो सकता है। एकल-इमेज इनपुट की सिफ़ारिश की जाती है।

रिक्वेस्ट उदाहरण#

cURL
bash
# Single image example
curl -X POST "https://api.ideal.house/api/v1/photoEnhancer/generate" \
  -H "APIKEY: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "imageUrl": "https://example.com/exterior.jpg",
    "presetId": "virtual-twilight-warm-sunset-twilight",
    "imageSize": "4K"
  }'

# HDR Merge example - multi-image input
curl -X POST "https://api.ideal.house/api/v1/photoEnhancer/generate" \
  -H "APIKEY: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "imageUrl": [
      "https://example.com/interior_under.jpg",
      "https://example.com/interior_mid.jpg",
      "https://example.com/interior_over.jpg"
    ],
    "presetId": "hdr-merge-hdr-merge",
    "imageSize": "4K"
  }'

# Prompt-only example
curl -X POST "https://api.ideal.house/api/v1/photoEnhancer/generate" \
  -H "APIKEY: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "imageUrl": "https://example.com/interior.jpg",
    "prompt": "Brighten the room, keep the lighting natural, and make the image listing-ready.",
    "imageSize": "4K"
  }'
Java (OkHttp)
java
import okhttp3.*;
import java.io.IOException;

public class PhotoEnhancerApiExample {

    private static final String BASE_URL = "https://api.ideal.house";
    private static final String API_KEY  = "your_api_key_here";

    public static void main(String[] args) throws IOException {
        OkHttpClient client = new OkHttpClient();

        // Single image example
        String requestBody = """
            {
                "imageUrl": "https://example.com/exterior.jpg",
                "presetId": "virtual-twilight-warm-sunset-twilight",
                "imageSize": "4K"
            }
            """;

        // HDR Merge example - multi-image input
        // String requestBody = """
        //     {
        //         "imageUrl": [
        //             "https://example.com/interior_under.jpg",
        //             "https://example.com/interior_mid.jpg",
        //             "https://example.com/interior_over.jpg"
        //         ],
        //         "presetId": "hdr-merge-hdr-merge",
        //         "imageSize": "4K"
        //     }
        //     """;

        // Prompt-only example
        // String requestBody = """
        //     {
        //         "imageUrl": "https://example.com/interior.jpg",
        //         "prompt": "Brighten the room, keep the lighting natural, and make the image listing-ready.",
        //         "imageSize": "4K"
        //     }
        //     """;

        Request request = new Request.Builder()
            .url(BASE_URL + "/api/v1/photoEnhancer/generate")
            .addHeader("APIKEY", API_KEY)
            .addHeader("Content-Type", "application/json")
            .post(RequestBody.create(requestBody, MediaType.parse("application/json")))
            .build();

        try (Response response = client.newCall(request).execute()) {
            System.out.println("Response: " + response.body().string());
        }
    }
}
Python (requests)
python
import requests
BASE_URL = "https://api.ideal.house"
API_KEY  = "your_api_key_here"

headers = {
    "APIKEY": API_KEY,
    "Content-Type": "application/json"
}

# Single image example
payload = {
    "imageUrl": "https://example.com/interior.jpg",
    "presetId": "image-optimization-full-correction-suite",
    "prompt": "Keep the result natural and listing-ready."
}

# HDR Merge example - multi-image input
# payload = {
#     "imageUrl": [
#         "https://example.com/interior_under.jpg",
#         "https://example.com/interior_mid.jpg",
#         "https://example.com/interior_over.jpg"
#     ],
#     "presetId": "hdr-merge-hdr-merge",
#     "imageSize": "4K"
# }

# Prompt-only example
# payload = {
#     "imageUrl": "https://example.com/interior.jpg",
#     "prompt": "Brighten the room, keep the lighting natural, and make the image listing-ready.",
#     "imageSize": "4K"
# }

response = requests.post(
    f"{BASE_URL}/api/v1/photoEnhancer/generate",
    headers=headers,
    json=payload
)

data = response.json()
task_id = data.get("data")
print(f"Task ID: {task_id}")
Node.js (axios)
javascript
const axios = require('axios');

const BASE_URL = 'https://api.ideal.house';
const API_KEY  = 'your_api_key_here';

async function createPhotoEnhancerTask() {
  try {
    const response = await axios.post(
      `${BASE_URL}/api/v1/photoEnhancer/generate`,
      {
        imageUrl: 'https://example.com/interior.jpg',
        presetId: 'image-quality-correction-ai-photo-sharpening',
        imageSize: '4K'

        // HDR Merge example - multi-image input:
        // imageUrl: [
        //   'https://example.com/interior_under.jpg',
        //   'https://example.com/interior_mid.jpg',
        //   'https://example.com/interior_over.jpg'
        // ],
        // presetId: 'hdr-merge-hdr-merge',
        // imageSize: '4K'

        // Prompt-only example:
        // imageUrl: 'https://example.com/interior.jpg',
        // prompt: 'Brighten the room, keep the lighting natural, and make the image listing-ready.',
        // imageSize: '4K'
      },
      {
        headers: {
          'APIKEY': API_KEY,
          'Content-Type': 'application/json'
        }
      }
    );

    console.log('Task ID:', response.data.data);
  } catch (error) {
    console.error('Error:', error.response?.data || error.message);
  }
}

createPhotoEnhancerTask();

सफलता प्रतिक्रिया

json
{
  "code": 0,
  "message": "success",
  "data": 1234567890123456789
}
फ़ील्डप्रकारविवरण
codeinteger0 सफलता का अर्थ है
messagestringप्रतिक्रिया संदेश
datalongजनरेटेड कार्य आईडी

2. कार्य परिणाम प्राप्त करें#

वर्तमान कार्य स्थिति और आउटपुट प्राप्त करें।

एंडपॉइंट

http
GET /api/v1/photoEnhancer/result

क्वेरी पैरामीटर

पैरामीटरप्रकारआवश्यकविवरण
taskIdlongहाँजनरेट एंडपॉइंट द्वारा लौटाया गया कार्य आईडी

रिक्वेस्ट उदाहरण#

cURL
bash
curl -X GET "https://api.ideal.house/api/v1/photoEnhancer/result?taskId=1234567890123456789" \
  -H "APIKEY: your_api_key_here"
Java (OkHttp)
java
import okhttp3.*;
import java.io.IOException;

public class PhotoEnhancerResultExample {

    private static final String BASE_URL = "https://api.ideal.house";
    private static final String API_KEY  = "your_api_key_here";

    public static void main(String[] args) throws IOException {
        OkHttpClient client = new OkHttpClient();
        long taskId = 1234567890123456789L;

        Request request = new Request.Builder()
            .url(BASE_URL + "/api/v1/photoEnhancer/result?taskId=" + taskId)
            .addHeader("APIKEY", API_KEY)
            .get()
            .build();

        try (Response response = client.newCall(request).execute()) {
            System.out.println("Response: " + response.body().string());
        }
    }
}
Python (requests)
python
import requests
import time

BASE_URL = "https://api.ideal.house"
API_KEY  = "your_api_key_here"

headers = {
    "APIKEY": API_KEY
}

task_id = 1234567890123456789

while True:
    response = requests.get(
        f"{BASE_URL}/api/v1/photoEnhancer/result",
        headers=headers,
        params={"taskId": task_id}
    )

    data = response.json()
    result = data.get("data", {})
    status = result.get("status")

    print(f"Status: {status}, Progress: {result.get('percentage')}%, Queue: {result.get('waitNumber')}")

    if status in ("Success", "Failed"):
        break

    time.sleep(3)

if status == "Success":
    print("Result URL:", result["output"]["resultUrl"])
else:
    print("Task failed")
Node.js (axios)
javascript
const axios = require('axios');

const BASE_URL = 'https://api.ideal.house';
const API_KEY  = 'your_api_key_here';

async function pollResult(taskId) {
  const headers = { 'APIKEY': API_KEY };

  while (true) {
    const response = await axios.get(
      `${BASE_URL}/api/v1/photoEnhancer/result`,
      {
        headers,
        params: { taskId }
      }
    );

    const result = response.data.data;
    const { status, percentage, waitNumber } = result;

    console.log(`Status: ${status} | Progress: ${percentage}% | Queue: ${waitNumber}`);

    if (['Success', 'Failed'].includes(status)) {
      if (status === 'Success') {
        console.log('Result URL:', result.output.resultUrl);
        console.log('Size:', result.output.width, 'x', result.output.height);
      } else {
        console.log('Task failed');
      }
      break;
    }

    await new Promise(resolve => setTimeout(resolve, 3000));
  }
}

pollResult(1234567890123456789n);

रिस्पॉन्स उदाहरण

json
{
  "code": 0,
  "message": "success",
  "data": {
    "id": 1234567890123456789,
    "status": "Success",
    "waitNumber": 0,
    "percentage": 100,
    "input": {
      "imageUrl": [
        "https://example.com/interior_under.jpg",
        "https://example.com/interior_mid.jpg",
        "https://example.com/interior_over.jpg"
      ],
      "imageUrls": [
        "https://example.com/interior_under.jpg",
        "https://example.com/interior_mid.jpg",
        "https://example.com/interior_over.jpg"
      ],
      "prompt": "Keep the result natural and listing-ready.",
      "presetId": "hdr-merge-hdr-merge",
      "imageSize": "4K",
      "isApiCall": true,
      "modelType": "Pro",
      "model": "NanoBanana"
    },
    "output": {
      "resultUrl": "https://cdn.ideal.house/output/photo_enhancer_result.jpg",
      "width": 3840,
      "height": 2880
    }
  }
}

प्रतिक्रिया फ़ील्ड

फ़ील्डप्रकारविवरण
idlongकार्य अद्वितीय पहचानकर्ता
statusstringवर्तमान टास्क स्टेटस
waitNumberintegerकतार में आगे कार्य संख्या
percentageinteger0 से 100 तक कार्य प्रगति
inputobjectकार्य के साथ संग्रहीत मूल रिक्वेस्ट डेटा
input.imageUrlstring | array<string>क्लाइंट द्वारा भेजा गया मूल रिक्वेस्ट मान
input.imageUrlsarray<string>सर्वर-नॉर्मलाइज़्ड आंतरिक इमेज सूची
input.promptstringवैकल्पिक कस्टम प्रॉम्प्ट टेक्स्ट
input.presetIdstring | nullवैकल्पिक प्रीसेट रिक्वेस्ट मान
input.imageSizestringरिक्वेस्ट की गई इमेज साइज़। समर्थित मान: 512, 1K, 2K, 4K
outputobject | nullकार्य सफल होने पर आउटपुट ऑब्जेक्ट
output.resultUrlstringअंतिम इमेज URL
output.widthintegerपिक्सेल में आउटपुट चौड़ाई
output.heightintegerपिक्सेल में आउटपुट ऊंचाई

टास्क स्थिति#

स्थितिविवरण
Unprocessedकार्य बनाया गया है लेकिन अभी शुरू नहीं हुआ है
Processingटास्क वर्तमान में चालू है
Successकार्य सफलतापूर्वक समाप्त हुआ
Failedटास्क विफल हुआ

हर 3-5 सेकंड में पोल करें। देखें API कार्य सीमा


प्रीसेट संदर्भ#

सारांश:

  • सार्वजनिक श्रेणियाँ: 11
  • कॉन्फ़िग से सार्वजनिक प्रीसेट: 136
  • अतिरिक्त API प्रीसेट: 1
  • कुल दस्तावेज़ित रिक्वेस्ट मान: 137
  • रिक्वेस्ट फ़ील्ड: presetId

अतिरिक्त API प्रीसेट#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)नोट्स
HDR Mergehdr-merge-hdr-mergeब्रैकेटेड एक्सपोज़र मर्जिंग जैसे अनेक-इमेज इनपुट के लिए सिफ़ारिश किया गया

Image Optimization (image-optimization)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Full Correction Suiteimage-optimization-full-correction-suite
Real Estate Photo Editingimage-optimization-real-estate-photo-editing
MLS Photo Enhancementimage-optimization-mls-photo-enhancement
Single Exposure Editingimage-optimization-single-exposure-editing
Social Media Photo Optimizationimage-optimization-social-media-photo-optimization
Glare and Reflection Reductionimage-optimization-glare-and-reflection-reduction
Exposure Balancingimage-optimization-exposure-balancing

Image Quality & Correction (image-quality-correction)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
360 VR Enhanced Tourimage-quality-correction-360-vr-enhanced-tour
AI Photo Sharpeningimage-quality-correction-ai-photo-sharpening
Real Estate Photo Editingimage-quality-correction-real-estate-photo-editing
Compression Artifact Fiximage-quality-correction-compression-artifact-fix
Lens Distortion Correctionimage-quality-correction-lens-distortion-correction
Image Upscalingimage-quality-correction-image-upscaling
Noise Reductionimage-quality-correction-noise-reduction
Perspective Correctionimage-quality-correction-perspective-correction
Auto Crop & Straightenimage-quality-correction-auto-crop-straighten
Chromatic Aberration Fiximage-quality-correction-chromatic-aberration-fix
Vignette Removalimage-quality-correction-vignette-removal
MLS Photo Resizeimage-quality-correction-mls-photo-resize

Exterior Enhancement (exterior-enhancement)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Drone & Aerialexterior-enhancement-drone-aerial
Drivewayexterior-enhancement-driveway
Curb Appealexterior-enhancement-curb-appeal
Exterior Colorexterior-enhancement-exterior-color
Exterior Photoexterior-enhancement-exterior-photo
Lawn & Yardexterior-enhancement-lawn-yard
Poolexterior-enhancement-pool
Fence & Gateexterior-enhancement-fence-gate
Landscapingexterior-enhancement-landscaping
Roofexterior-enhancement-roof

Interior Enhancement (interior-enhancement)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Window Pullinterior-enhancement-window-pull
Occupied to Vacantinterior-enhancement-occupied-to-vacant
Enhance Hardwood Floors Photointerior-enhancement-enhance-hardwood-floors-photo
Interior Photointerior-enhancement-interior-photo
Flash Ambient Blending Real Estateinterior-enhancement-flash-ambient-blending-real-estate
Ceiling Light & Hot Spot Fixinterior-enhancement-ceiling-light-hot-spot-fix

Lighting, Color & Exposure (lighting-color-exposure)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Balance Highlight Shadow Real Estatelighting-color-exposure-balance-highlight-shadow-real-estate
Brighten Dark Interior Photolighting-color-exposure-brighten-dark-interior-photo
Brighten Dark Real Estate Photolighting-color-exposure-brighten-dark-real-estate-photo
Brightness Enhancerlighting-color-exposure-brightness-enhancer
Cozy Warm Interior Editinglighting-color-exposure-cozy-warm-interior-editing
Enhance Brightness Of Photolighting-color-exposure-enhance-brightness-of-photo
Enhance Natural Light Interiorlighting-color-exposure-enhance-natural-light-interior
Exposure Balancinglighting-color-exposure-exposure-balancing
Mixed Lighting Fixlighting-color-exposure-mixed-lighting-fix
Flat Photo Contrast Fixlighting-color-exposure-flat-photo-contrast-fix
Fluorescent Light Color Fixlighting-color-exposure-fluorescent-light-color-fix
How To Brighten Dark Photoslighting-color-exposure-how-to-brighten-dark-photos
Contrast Enhancementlighting-color-exposure-contrast-enhancement
Increase Brightness Listing Photolighting-color-exposure-increase-brightness-listing-photo
Interior Exposure Balancinglighting-color-exposure-interior-exposure-balancing
Lift Dark Shadows Real Estatelighting-color-exposure-lift-dark-shadows-real-estate
Overexposed Window Fixlighting-color-exposure-overexposed-window-fix
Color Correctionlighting-color-exposure-color-correction
Highlight Recoverylighting-color-exposure-highlight-recovery
Shadow Recoverylighting-color-exposure-shadow-recovery
Reduce Highlights In My Image To Balance Exposurelighting-color-exposure-reduce-highlights-in-my-image-to-balance-exposure
Color Cast Removallighting-color-exposure-color-cast-removal
Tungsten Daylight Mix Correctionlighting-color-exposure-tungsten-daylight-mix-correction
Warm Tone Enhancementlighting-color-exposure-warm-tone-enhancement
Cool Tone Enhancementlighting-color-exposure-cool-tone-enhancement
White Balance Fix Interior Photolighting-color-exposure-white-balance-fix-interior-photo
Turn On Lightslighting-color-exposure-turn-on-lights
Vibrance & Saturation Boostlighting-color-exposure-vibrance-saturation-boost
Natural Light Enhancementlighting-color-exposure-natural-light-enhancement

Sky Replacement (sky-replacement)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Blue Sky / Clear Skysky-replacement-blue-sky-clear-sky
Sunrise Skysky-replacement-sunrise-sky
Cloudy Skysky-replacement-cloudy-sky
Partly Cloudysky-replacement-partly-cloudy
Dramatic Cloudssky-replacement-dramatic-clouds
Sunset Skysky-replacement-sunset-sky
Soft Sunsetsky-replacement-soft-sunset
Dramatic Sunsetsky-replacement-dramatic-sunset
Luxury Sunset Tonessky-replacement-luxury-sunset-tones
Fix Gray Sky Real Estatesky-replacement-fix-gray-sky-real-estate
Golden Hour Skysky-replacement-golden-hour-sky
Night Sky / Starry Skysky-replacement-night-sky-starry-sky
Sky Replacementsky-replacement-sky-replacement

Virtual Twilight (virtual-twilight)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Bright Marketing Twilightvirtual-twilight-bright-marketing-twilight
Day To Dusk Photo Conversionvirtual-twilight-day-to-dusk-photo-conversion
Deep Blue Twilightvirtual-twilight-deep-blue-twilight
Light Subtle Twilightvirtual-twilight-light-subtle-twilight
Luxury Twilightvirtual-twilight-luxury-twilight
Midnight Blue Twilightvirtual-twilight-midnight-blue-twilight
Warm Sunset Twilightvirtual-twilight-warm-sunset-twilight

Weather & Seasonal Editing (weather-seasonal-editing)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Golden Hourweather-seasonal-editing-golden-hour
Blue Hourweather-seasonal-editing-blue-hour
Haze & Fog Removalweather-seasonal-editing-haze-fog-removal
Harsh Sunlight & Shadow Fixweather-seasonal-editing-harsh-sunlight-shadow-fix
Overcast To Sunnyweather-seasonal-editing-overcast-to-sunny
Rain & Wet Weather Fixweather-seasonal-editing-rain-wet-weather-fix
Spring Enhancementweather-seasonal-editing-spring-enhancement
Summer Enhancementweather-seasonal-editing-summer-enhancement
Night to Dayweather-seasonal-editing-night-to-day
Fall Foliageweather-seasonal-editing-fall-foliage
Snow / Winter Conditionsweather-seasonal-editing-snow-winter-conditions
Full Season Change / Season Swapweather-seasonal-editing-full-season-change-season-swap
Snow Removalweather-seasonal-editing-snow-removal

Holiday Decorations (holiday-decorations)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Christmas Exteriorholiday-decorations-christmas-exterior
Christmas Interiorholiday-decorations-christmas-interior
Easter Exteriorholiday-decorations-easter-exterior
Easter Interiorholiday-decorations-easter-interior
Halloween Exteriorholiday-decorations-halloween-exterior
Halloween Interiorholiday-decorations-halloween-interior
New Year Exteriorholiday-decorations-new-year-exterior
New Year Interiorholiday-decorations-new-year-interior
Thanksgiving Dining Roomholiday-decorations-thanksgiving-dining-room
Thanksgiving Exteriorholiday-decorations-thanksgiving-exterior
Thanksgiving Interiorholiday-decorations-thanksgiving-interior
Fourth of July / Independence Dayholiday-decorations-fourth-of-july-independence-day
Hanukkah Interiorholiday-decorations-hanukkah-interior
Spring / Ramadan Decorationsholiday-decorations-spring-ramadan-decorations
Valentine's Day Bedroomholiday-decorations-valentine-s-day-bedroom
Valentine's Day Exteriorholiday-decorations-valentine-s-day-exterior
Valentine's Day Interiorholiday-decorations-valentine-s-day-interior

Fire in Fireplace (fire-in-fireplace)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Add Fire To Fireplacefire-in-fireplace-add-fire-to-fireplace
Bright Marketing Firefire-in-fireplace-bright-marketing-fire
Modern Clean Firefire-in-fireplace-modern-clean-fire
Subtle Natural Firefire-in-fireplace-subtle-natural-fire
Traditional Cozy Firefire-in-fireplace-traditional-cozy-fire
Vibrant Showcase Firefire-in-fireplace-vibrant-showcase-fire

Object & Element Specific (object-element-specific)#

प्रीसेट नाम (EN)रिक्वेस्ट मान (presetId)
Crack & Wall Repairobject-element-specific-crack-wall-repair
Floor Reflection Real Estateobject-element-specific-floor-reflection-real-estate
People & Pet Removalobject-element-specific-people-pet-removal
Trash Can Removalobject-element-specific-trash-can-removal
Remove Carsobject-element-specific-remove-cars
Clutter Removalobject-element-specific-clutter-removal
Date Stamp Removalobject-element-specific-date-stamp-removal
Sign Removalobject-element-specific-sign-removal
Glare Removalobject-element-specific-glare-removal
Mirror Reflection Fixobject-element-specific-mirror-reflection-fix
Remove Power Linesobject-element-specific-remove-power-lines
Stain Removalobject-element-specific-stain-removal
Watermark Removalobject-element-specific-watermark-removal
Window Reflection Removalobject-element-specific-window-reflection-removal
TV Screen Fixobject-element-specific-tv-screen-fix
Wire & Cable Removalobject-element-specific-wire-cable-removal

त्रुटि रिस्पॉन्स#

सभी त्रुटियाँ इस संरचना का उपयोग करती हैं:

json
{
  "code": 5002,
  "message": "Invalid API Key",
  "data": null
}
कोडनामविवरण
1001FAILEDसामान्य रिक्वेस्ट विफलता
1003INTERNAL_ERRORआंतरिक सर्वर त्रुटि
1011PARAM_ERRORरिक्वेस्ट पैरामीटर का अभाव या अमान्य
5002API_KEY_INVALIDअमान्य या अनुपस्थित API
9010SCAN_TEXT_ERRORप्रॉम्प्ट टेक्स्ट की समीक्षा विफल
9038PROHIBITED_CONTENTजनरेटेड इमेज कंटेंट अस्वीकृत
9051COINS_NOT_ENOUGHअपर्याप्त क्रेडिट

पूरी सामान्य त्रुटि सूची के लिए, देखें error-codes.md