कैटलॉग में हर व्यू नाम टैग किया गया है flat (फ्रंट/रियर/लेफ्ट/राइट), three_quarter (फ्रंट_लेफ्ट…रियर_राइट) या other (इंटीरियर)। प्रति-कार उपलब्धता कॉन्फ़िग /features या /views में है।
API v2 एड-ऑन: एड-ऑन addon.groups ग्रुप्स की सूची देता है - hero, steered, extra, drone (टाइप studio), 360 (spin) और lifestyle (scene).
अनुरोध करें
curl "https://api.vehicleimagery.com/api/views" \
-H "x-api-key: YOUR_API_KEY" 200 · दृश्य।
{
"views": [
{
"view": "front",
"type": "flat"
},
{
"view": "front_left",
"type": "three_quarter"
},
{
"view": "dashboard",
"type": "other"
}
],
"note": "Per-car availability is in /features.",
"addon": {
"groups": [
{
"group": "hero",
"type": "studio",
"description": "Hero shots: three-quarter views, some from ground level (_ground)"
},
{
"group": "steered",
"type": "studio",
"description": "Front wheels turned, from three camera heights (_eye, _high, _low)"
},
{
"group": "extra",
"type": "studio",
"description": "More angles: every side and corner from three camera heights (_eye, _high, _low), corners also at 30° and 45° (_30, _45)"
},
{
"group": "drone",
"type": "studio",
"description": "From above: angled drone shots, steep views (_steep) and straight from the top (top)"
},
{
"group": "360",
"type": "spin",
"description": "360° spins in rings (eye_level, low, high), every frame with its own image_url"
},
{
"group": "lifestyle",
"type": "scene",
"description": "The car in real-looking settings, scenes with several images"
}
]
}
} 401 · गायब या अमान्य `x-api-key`।
{
"error": "Invalid API key"
} 403 · प्लान प्रतिबंध (फीचर, फॉर्मेट या ब्रांड अनुमति नहीं) या ब्लॉक्ड रिक्वेस्ट।
{
"error": "Mirroring is not allowed by your plan."
} 404 · रिक्वेस्टेड पाथ के लिए कोई डेटा नहीं।
{
"error": "Brand 'Xyz' not found — check /api/brands for valid brands."
}