फ़ोटो एनहैंसर API दस्तावेज़ीकरण#
© Ideal House AI — सभी अधिकार सुरक्षित।
मूल URL:
https://api.ideal.house
संस्करण: v1
अपडेट किया गया: 2026-04-17
सारांश#
फ़ोटो एनहैंसर API आपको असिंक (asynchronous) रूप से रियल एस्टेट फ़ोटो की गुणवत्ता में सुधार करने की अनुमति देता है, जिसके लिए आप presetId चुन सकते हैं, एक कस्टम prompt प्रदान कर सकते हैं, या दोनों का संयोजन कर सकते हैं।
वर्तमान रिक्वेस्ट मॉडल:
presetIdवैकल्पिक है।promptवैकल्पिक है।presetIdऔरpromptदोनों खाली नहीं हो सकते। इनमें से कम से कम एक का प्रदान करना आवश्यक है।- केवल इमेज इनपुट फ़ील्ड के रूप में
imageUrlका उपयोग करें। imageUrlएकल-इमेज और मल्टी-इमेज दोनों फ़ॉर्मेट का समर्थन करता है।
वर्कफ़्लो:
- जनरेट एंडपॉइंट को कॉल करें और एक
taskIdप्राप्त करें। - उस
taskIdके साथ रिज़ल्ट एंडपॉइंट की स्थिति की नियमित जाँच (poll) करें। - कार्य सफल होने के बाद जनरेटेड इमेज URL को पढ़ें।
प्रमाणीकरण#
सभी API अनुरोधों के हेडर में आपकी API कुंजी शामिल होनी चाहिए।
| हेडर | आवश्यक | विवरण |
|---|---|---|
APIKEY | हाँ | आपका API प्रमाणीकरण की |
Content-Type | हाँ | POST रिक्वेस्ट के लिए application/json |
क्रेडिट#
प्रत्येक सफल कार्य निर्माण पर 10 क्रेडिट कटौती होती है। यदि कार्य बाद में विफल हो जाता है, तो क्रेडिट स्वतः रिफंड किए जाते हैं।
क्रेडिट नियमों के लिए, देखें credits-deduction.md।
एंडपॉइंट#
1. कार्य बनाएँ#
एक नई इमेज एनहैंसमेंट कार्य बनाएँ।
एंडपॉइंट
POST /api/v1/photoEnhancer/generate
अनुरोध बॉडी
| फ़ील्ड | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
presetId | string | नहीं | वैकल्पिक प्रीसेट रिक्वेस्ट मान। प्रीसेट संदर्भ में से एक चुनें। |
imageUrl | string | array<string> | हाँ | इमेज इनपुट। एकल URL स्ट्रिंग का समर्थन करता है, या एक URL ऐरे जैसे ["https://a.jpg", "https://b.jpg"]। |
prompt | string | नहीं | वैकल्पिक कस्टम प्रॉम्प्ट टेक्स्ट। |
imageSize | string | नहीं | वैकल्पिक आउटपुट साइज़। समर्थित मान: 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 फ़ॉर्मेट
एकल इमेज:
{
"imageUrl": "https://example.com/room.jpg"
}
अनेक इमेज:
{
"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
# 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)
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)
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)
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();
सफलता प्रतिक्रिया
{
"code": 0,
"message": "success",
"data": 1234567890123456789
}
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
code | integer | 0 सफलता का अर्थ है |
message | string | प्रतिक्रिया संदेश |
data | long | जनरेटेड कार्य आईडी |
2. कार्य परिणाम प्राप्त करें#
वर्तमान कार्य स्थिति और आउटपुट प्राप्त करें।
एंडपॉइंट
GET /api/v1/photoEnhancer/result
क्वेरी पैरामीटर
| पैरामीटर | प्रकार | आवश्यक | विवरण |
|---|---|---|---|
taskId | long | हाँ | जनरेट एंडपॉइंट द्वारा लौटाया गया कार्य आईडी |
रिक्वेस्ट उदाहरण#
cURL
curl -X GET "https://api.ideal.house/api/v1/photoEnhancer/result?taskId=1234567890123456789" \
-H "APIKEY: your_api_key_here"
Java (OkHttp)
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)
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)
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);
रिस्पॉन्स उदाहरण
{
"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
}
}
}
प्रतिक्रिया फ़ील्ड
| फ़ील्ड | प्रकार | विवरण |
|---|---|---|
id | long | कार्य अद्वितीय पहचानकर्ता |
status | string | वर्तमान टास्क स्टेटस |
waitNumber | integer | कतार में आगे कार्य संख्या |
percentage | integer | 0 से 100 तक कार्य प्रगति |
input | object | कार्य के साथ संग्रहीत मूल रिक्वेस्ट डेटा |
input.imageUrl | string | array<string> | क्लाइंट द्वारा भेजा गया मूल रिक्वेस्ट मान |
input.imageUrls | array<string> | सर्वर-नॉर्मलाइज़्ड आंतरिक इमेज सूची |
input.prompt | string | वैकल्पिक कस्टम प्रॉम्प्ट टेक्स्ट |
input.presetId | string | null | वैकल्पिक प्रीसेट रिक्वेस्ट मान |
input.imageSize | string | रिक्वेस्ट की गई इमेज साइज़। समर्थित मान: 512, 1K, 2K, 4K |
output | object | null | कार्य सफल होने पर आउटपुट ऑब्जेक्ट |
output.resultUrl | string | अंतिम इमेज URL |
output.width | integer | पिक्सेल में आउटपुट चौड़ाई |
output.height | integer | पिक्सेल में आउटपुट ऊंचाई |
टास्क स्थिति#
| स्थिति | विवरण |
|---|---|
Unprocessed | कार्य बनाया गया है लेकिन अभी शुरू नहीं हुआ है |
Processing | टास्क वर्तमान में चालू है |
Success | कार्य सफलतापूर्वक समाप्त हुआ |
Failed | टास्क विफल हुआ |
हर 3-5 सेकंड में पोल करें। देखें API कार्य सीमा।
प्रीसेट संदर्भ#
सारांश:
- सार्वजनिक श्रेणियाँ:
11 - कॉन्फ़िग से सार्वजनिक प्रीसेट:
136 - अतिरिक्त API प्रीसेट:
1 - कुल दस्तावेज़ित रिक्वेस्ट मान:
137 - रिक्वेस्ट फ़ील्ड:
presetId
अतिरिक्त API प्रीसेट#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) | नोट्स |
|---|---|---|
HDR Merge | hdr-merge-hdr-merge | ब्रैकेटेड एक्सपोज़र मर्जिंग जैसे अनेक-इमेज इनपुट के लिए सिफ़ारिश किया गया |
Image Optimization (image-optimization)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Full Correction Suite | image-optimization-full-correction-suite |
Real Estate Photo Editing | image-optimization-real-estate-photo-editing |
MLS Photo Enhancement | image-optimization-mls-photo-enhancement |
Single Exposure Editing | image-optimization-single-exposure-editing |
Social Media Photo Optimization | image-optimization-social-media-photo-optimization |
Glare and Reflection Reduction | image-optimization-glare-and-reflection-reduction |
Exposure Balancing | image-optimization-exposure-balancing |
Image Quality & Correction (image-quality-correction)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
360 VR Enhanced Tour | image-quality-correction-360-vr-enhanced-tour |
AI Photo Sharpening | image-quality-correction-ai-photo-sharpening |
Real Estate Photo Editing | image-quality-correction-real-estate-photo-editing |
Compression Artifact Fix | image-quality-correction-compression-artifact-fix |
Lens Distortion Correction | image-quality-correction-lens-distortion-correction |
Image Upscaling | image-quality-correction-image-upscaling |
Noise Reduction | image-quality-correction-noise-reduction |
Perspective Correction | image-quality-correction-perspective-correction |
Auto Crop & Straighten | image-quality-correction-auto-crop-straighten |
Chromatic Aberration Fix | image-quality-correction-chromatic-aberration-fix |
Vignette Removal | image-quality-correction-vignette-removal |
MLS Photo Resize | image-quality-correction-mls-photo-resize |
Exterior Enhancement (exterior-enhancement)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Drone & Aerial | exterior-enhancement-drone-aerial |
Driveway | exterior-enhancement-driveway |
Curb Appeal | exterior-enhancement-curb-appeal |
Exterior Color | exterior-enhancement-exterior-color |
Exterior Photo | exterior-enhancement-exterior-photo |
Lawn & Yard | exterior-enhancement-lawn-yard |
Pool | exterior-enhancement-pool |
Fence & Gate | exterior-enhancement-fence-gate |
Landscaping | exterior-enhancement-landscaping |
Roof | exterior-enhancement-roof |
Interior Enhancement (interior-enhancement)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Window Pull | interior-enhancement-window-pull |
Occupied to Vacant | interior-enhancement-occupied-to-vacant |
Enhance Hardwood Floors Photo | interior-enhancement-enhance-hardwood-floors-photo |
Interior Photo | interior-enhancement-interior-photo |
Flash Ambient Blending Real Estate | interior-enhancement-flash-ambient-blending-real-estate |
Ceiling Light & Hot Spot Fix | interior-enhancement-ceiling-light-hot-spot-fix |
Lighting, Color & Exposure (lighting-color-exposure)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Balance Highlight Shadow Real Estate | lighting-color-exposure-balance-highlight-shadow-real-estate |
Brighten Dark Interior Photo | lighting-color-exposure-brighten-dark-interior-photo |
Brighten Dark Real Estate Photo | lighting-color-exposure-brighten-dark-real-estate-photo |
Brightness Enhancer | lighting-color-exposure-brightness-enhancer |
Cozy Warm Interior Editing | lighting-color-exposure-cozy-warm-interior-editing |
Enhance Brightness Of Photo | lighting-color-exposure-enhance-brightness-of-photo |
Enhance Natural Light Interior | lighting-color-exposure-enhance-natural-light-interior |
Exposure Balancing | lighting-color-exposure-exposure-balancing |
Mixed Lighting Fix | lighting-color-exposure-mixed-lighting-fix |
Flat Photo Contrast Fix | lighting-color-exposure-flat-photo-contrast-fix |
Fluorescent Light Color Fix | lighting-color-exposure-fluorescent-light-color-fix |
How To Brighten Dark Photos | lighting-color-exposure-how-to-brighten-dark-photos |
Contrast Enhancement | lighting-color-exposure-contrast-enhancement |
Increase Brightness Listing Photo | lighting-color-exposure-increase-brightness-listing-photo |
Interior Exposure Balancing | lighting-color-exposure-interior-exposure-balancing |
Lift Dark Shadows Real Estate | lighting-color-exposure-lift-dark-shadows-real-estate |
Overexposed Window Fix | lighting-color-exposure-overexposed-window-fix |
Color Correction | lighting-color-exposure-color-correction |
Highlight Recovery | lighting-color-exposure-highlight-recovery |
Shadow Recovery | lighting-color-exposure-shadow-recovery |
Reduce Highlights In My Image To Balance Exposure | lighting-color-exposure-reduce-highlights-in-my-image-to-balance-exposure |
Color Cast Removal | lighting-color-exposure-color-cast-removal |
Tungsten Daylight Mix Correction | lighting-color-exposure-tungsten-daylight-mix-correction |
Warm Tone Enhancement | lighting-color-exposure-warm-tone-enhancement |
Cool Tone Enhancement | lighting-color-exposure-cool-tone-enhancement |
White Balance Fix Interior Photo | lighting-color-exposure-white-balance-fix-interior-photo |
Turn On Lights | lighting-color-exposure-turn-on-lights |
Vibrance & Saturation Boost | lighting-color-exposure-vibrance-saturation-boost |
Natural Light Enhancement | lighting-color-exposure-natural-light-enhancement |
Sky Replacement (sky-replacement)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Blue Sky / Clear Sky | sky-replacement-blue-sky-clear-sky |
Sunrise Sky | sky-replacement-sunrise-sky |
Cloudy Sky | sky-replacement-cloudy-sky |
Partly Cloudy | sky-replacement-partly-cloudy |
Dramatic Clouds | sky-replacement-dramatic-clouds |
Sunset Sky | sky-replacement-sunset-sky |
Soft Sunset | sky-replacement-soft-sunset |
Dramatic Sunset | sky-replacement-dramatic-sunset |
Luxury Sunset Tones | sky-replacement-luxury-sunset-tones |
Fix Gray Sky Real Estate | sky-replacement-fix-gray-sky-real-estate |
Golden Hour Sky | sky-replacement-golden-hour-sky |
Night Sky / Starry Sky | sky-replacement-night-sky-starry-sky |
Sky Replacement | sky-replacement-sky-replacement |
Virtual Twilight (virtual-twilight)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Bright Marketing Twilight | virtual-twilight-bright-marketing-twilight |
Day To Dusk Photo Conversion | virtual-twilight-day-to-dusk-photo-conversion |
Deep Blue Twilight | virtual-twilight-deep-blue-twilight |
Light Subtle Twilight | virtual-twilight-light-subtle-twilight |
Luxury Twilight | virtual-twilight-luxury-twilight |
Midnight Blue Twilight | virtual-twilight-midnight-blue-twilight |
Warm Sunset Twilight | virtual-twilight-warm-sunset-twilight |
Weather & Seasonal Editing (weather-seasonal-editing)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Golden Hour | weather-seasonal-editing-golden-hour |
Blue Hour | weather-seasonal-editing-blue-hour |
Haze & Fog Removal | weather-seasonal-editing-haze-fog-removal |
Harsh Sunlight & Shadow Fix | weather-seasonal-editing-harsh-sunlight-shadow-fix |
Overcast To Sunny | weather-seasonal-editing-overcast-to-sunny |
Rain & Wet Weather Fix | weather-seasonal-editing-rain-wet-weather-fix |
Spring Enhancement | weather-seasonal-editing-spring-enhancement |
Summer Enhancement | weather-seasonal-editing-summer-enhancement |
Night to Day | weather-seasonal-editing-night-to-day |
Fall Foliage | weather-seasonal-editing-fall-foliage |
Snow / Winter Conditions | weather-seasonal-editing-snow-winter-conditions |
Full Season Change / Season Swap | weather-seasonal-editing-full-season-change-season-swap |
Snow Removal | weather-seasonal-editing-snow-removal |
Holiday Decorations (holiday-decorations)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Christmas Exterior | holiday-decorations-christmas-exterior |
Christmas Interior | holiday-decorations-christmas-interior |
Easter Exterior | holiday-decorations-easter-exterior |
Easter Interior | holiday-decorations-easter-interior |
Halloween Exterior | holiday-decorations-halloween-exterior |
Halloween Interior | holiday-decorations-halloween-interior |
New Year Exterior | holiday-decorations-new-year-exterior |
New Year Interior | holiday-decorations-new-year-interior |
Thanksgiving Dining Room | holiday-decorations-thanksgiving-dining-room |
Thanksgiving Exterior | holiday-decorations-thanksgiving-exterior |
Thanksgiving Interior | holiday-decorations-thanksgiving-interior |
Fourth of July / Independence Day | holiday-decorations-fourth-of-july-independence-day |
Hanukkah Interior | holiday-decorations-hanukkah-interior |
Spring / Ramadan Decorations | holiday-decorations-spring-ramadan-decorations |
Valentine's Day Bedroom | holiday-decorations-valentine-s-day-bedroom |
Valentine's Day Exterior | holiday-decorations-valentine-s-day-exterior |
Valentine's Day Interior | holiday-decorations-valentine-s-day-interior |
Fire in Fireplace (fire-in-fireplace)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Add Fire To Fireplace | fire-in-fireplace-add-fire-to-fireplace |
Bright Marketing Fire | fire-in-fireplace-bright-marketing-fire |
Modern Clean Fire | fire-in-fireplace-modern-clean-fire |
Subtle Natural Fire | fire-in-fireplace-subtle-natural-fire |
Traditional Cozy Fire | fire-in-fireplace-traditional-cozy-fire |
Vibrant Showcase Fire | fire-in-fireplace-vibrant-showcase-fire |
Object & Element Specific (object-element-specific)#
| प्रीसेट नाम (EN) | रिक्वेस्ट मान (presetId) |
|---|---|
Crack & Wall Repair | object-element-specific-crack-wall-repair |
Floor Reflection Real Estate | object-element-specific-floor-reflection-real-estate |
People & Pet Removal | object-element-specific-people-pet-removal |
Trash Can Removal | object-element-specific-trash-can-removal |
Remove Cars | object-element-specific-remove-cars |
Clutter Removal | object-element-specific-clutter-removal |
Date Stamp Removal | object-element-specific-date-stamp-removal |
Sign Removal | object-element-specific-sign-removal |
Glare Removal | object-element-specific-glare-removal |
Mirror Reflection Fix | object-element-specific-mirror-reflection-fix |
Remove Power Lines | object-element-specific-remove-power-lines |
Stain Removal | object-element-specific-stain-removal |
Watermark Removal | object-element-specific-watermark-removal |
Window Reflection Removal | object-element-specific-window-reflection-removal |
TV Screen Fix | object-element-specific-tv-screen-fix |
Wire & Cable Removal | object-element-specific-wire-cable-removal |
त्रुटि रिस्पॉन्स#
सभी त्रुटियाँ इस संरचना का उपयोग करती हैं:
{
"code": 5002,
"message": "Invalid API Key",
"data": null
}
| कोड | नाम | विवरण |
|---|---|---|
1001 | FAILED | सामान्य रिक्वेस्ट विफलता |
1003 | INTERNAL_ERROR | आंतरिक सर्वर त्रुटि |
1011 | PARAM_ERROR | रिक्वेस्ट पैरामीटर का अभाव या अमान्य |
5002 | API_KEY_INVALID | अमान्य या अनुपस्थित API |
9010 | SCAN_TEXT_ERROR | प्रॉम्प्ट टेक्स्ट की समीक्षा विफल |
9038 | PROHIBITED_CONTENT | जनरेटेड इमेज कंटेंट अस्वीकृत |
9051 | COINS_NOT_ENOUGH | अपर्याप्त क्रेडिट |
पूरी सामान्य त्रुटि सूची के लिए, देखें error-codes.md।