写真の画質向上 API ドキュメント#
© Ideal House AI — 無断複製・転載を禁じます。
ベース URL:
https://api.ideal.house
バージョン: v1
更新日: 2026-04-17
概要#
写真の画質向上 API は、presetId の選択、独自の prompt の指定、またはその両方を組み合わせて、不動産写真を非同期で改善できます。
現在のリクエスト仕様:
presetIdは任意です。promptは任意です。presetIdとpromptを両方とも空にはできません。少なくとも一方を指定する必要があります。- 画像入力のフィールドには
imageUrlのみを使用します。 imageUrlは一枚の画像と複数画像の両方の形式に対応しています。
処理の流れ:
- 生成エンドポイントを呼び出し、
taskIdを取得します。 - その
taskIdで結果取得エンドポイントをポーリングします。 - タスクの成功後に生成画像の 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 文字列、または ["https://a.jpg", "https://b.jpg"] のような URL 配列に対応します。 |
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 | 生成されたタスク ID |
2. タスク結果の取得#
現在のタスクの状態と出力を取得します。
エンドポイント
GET /api/v1/photoEnhancer/result
クエリパラメーター
| パラメーター | 型 | 必須 | 説明 |
|---|---|---|---|
taskId | long | はい | 生成エンドポイントから返されたタスク ID |
リクエスト例#
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 プリセット#
| プリセット名(英語) | リクエスト値(presetId) | 注意事項 |
|---|---|---|
HDR Merge | hdr-merge-hdr-merge | 露出ブラケット画像の合成など、複数画像の入力に推奨 |
Image Optimization (image-optimization)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)#
| プリセット名(英語) | リクエスト値(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)を参照してください。