Spaces:
Build error
Build error
Upload pages/api/worlds.js with huggingface_hub
Browse files- pages/api/worlds.js +91 -0
pages/api/worlds.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export default function handler(req, res) {
|
| 2 |
+
const worlds = [
|
| 3 |
+
{
|
| 4 |
+
id: 'japanese-garden',
|
| 5 |
+
name: 'Kyoto Zen Garden',
|
| 6 |
+
description: 'A serene Japanese garden captured during cherry blossom season. Features traditional stone arrangements and koi ponds.',
|
| 7 |
+
location: 'Kyoto, Japan',
|
| 8 |
+
captureDate: '2024-03-15',
|
| 9 |
+
cameraModel: 'Insta360 X3',
|
| 10 |
+
fileSize: '245 MB',
|
| 11 |
+
pointCount: 125000,
|
| 12 |
+
resolution: '5.7K',
|
| 13 |
+
aperture: 'f/2.0',
|
| 14 |
+
shutterSpeed: '1/120s',
|
| 15 |
+
iso: '100',
|
| 16 |
+
software: 'Insta360 Studio',
|
| 17 |
+
tags: ['Nature', 'Garden', '360°'],
|
| 18 |
+
colorPalette: [[0.8, 0.4, 0.6], [0.2, 0.6, 0.3], [0.9, 0.8, 0.7]]
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
id: 'urban-alley',
|
| 22 |
+
name: 'Tokyo Night Alley',
|
| 23 |
+
description: 'Neon-lit alleyway in Shinjuku district. High contrast urban environment with reflective surfaces.',
|
| 24 |
+
location: 'Tokyo, Japan',
|
| 25 |
+
captureDate: '2024-02-28',
|
| 26 |
+
cameraModel: 'Ricoh Theta X',
|
| 27 |
+
fileSize: '189 MB',
|
| 28 |
+
pointCount: 98000,
|
| 29 |
+
resolution: '11K',
|
| 30 |
+
aperture: 'f/2.1',
|
| 31 |
+
shutterSpeed: '1/60s',
|
| 32 |
+
iso: '800',
|
| 33 |
+
software: 'Theta App',
|
| 34 |
+
tags: ['Urban', 'Night', 'Neon'],
|
| 35 |
+
colorPalette: [[0.9, 0.2, 0.4], [0.2, 0.3, 0.9], [0.8, 0.1, 0.8]]
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
id: 'mountain-peak',
|
| 39 |
+
name: 'Swiss Alps Summit',
|
| 40 |
+
description: 'Panoramic view from 3,000 meters elevation. Snow-capped peaks and glacier formations.',
|
| 41 |
+
location: 'Zermatt, Switzerland',
|
| 42 |
+
captureDate: '2024-01-20',
|
| 43 |
+
cameraModel: 'GoPro MAX',
|
| 44 |
+
fileSize: '312 MB',
|
| 45 |
+
pointCount: 150000,
|
| 46 |
+
resolution: '5.6K',
|
| 47 |
+
aperture: 'f/2.8',
|
| 48 |
+
shutterSpeed: '1/500s',
|
| 49 |
+
iso: '100',
|
| 50 |
+
software: 'GoPro Player',
|
| 51 |
+
tags: ['Mountain', 'Snow', 'Panoramic'],
|
| 52 |
+
colorPalette: [[0.9, 0.95, 1.0], [0.4, 0.5, 0.7], [0.8, 0.85, 0.9]]
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
id: 'desert-dunes',
|
| 56 |
+
name: 'Sahara Dunes',
|
| 57 |
+
description: 'Golden hour capture of sand dunes. Warm tones and dramatic shadows across the desert landscape.',
|
| 58 |
+
location: 'Merzouga, Morocco',
|
| 59 |
+
captureDate: '2024-04-10',
|
| 60 |
+
cameraModel: 'Insta360 ONE RS',
|
| 61 |
+
fileSize: '198 MB',
|
| 62 |
+
pointCount: 87500,
|
| 63 |
+
resolution: '6K',
|
| 64 |
+
aperture: 'f/2.4',
|
| 65 |
+
shutterSpeed: '1/1000s',
|
| 66 |
+
iso: '100',
|
| 67 |
+
software: 'Insta360 Studio',
|
| 68 |
+
tags: ['Desert', 'Sunset', 'Dunes'],
|
| 69 |
+
colorPalette: [[0.9, 0.7, 0.4], [0.8, 0.5, 0.3], [0.95, 0.85, 0.6]]
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
id: 'coral-reef',
|
| 73 |
+
name: 'Great Barrier Reef',
|
| 74 |
+
description: 'Underwater 360 capture of coral formations. Vibrant marine life and crystal clear waters.',
|
| 75 |
+
location: 'Queensland, Australia',
|
| 76 |
+
captureDate: '2024-05-05',
|
| 77 |
+
cameraModel: 'Qoocam 8K',
|
| 78 |
+
fileSize: '425 MB',
|
| 79 |
+
pointCount: 200000,
|
| 80 |
+
resolution: '8K',
|
| 81 |
+
aperture: 'f/2.0',
|
| 82 |
+
shutterSpeed: '1/250s',
|
| 83 |
+
iso: '200',
|
| 84 |
+
software: 'Qoocam Studio',
|
| 85 |
+
tags: ['Underwater', 'Coral', 'Marine'],
|
| 86 |
+
colorPalette: [[0.2, 0.6, 0.8], [0.9, 0.4, 0.5], [0.3, 0.8, 0.6]]
|
| 87 |
+
}
|
| 88 |
+
];
|
| 89 |
+
|
| 90 |
+
res.status(200).json(worlds);
|
| 91 |
+
}
|