@treasuryspatial/render-kit 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/postcard.d.ts +20 -0
- package/dist/postcard.d.ts.map +1 -0
- package/dist/postcard.js +242 -0
- package/dist/render-api.d.ts +17 -0
- package/dist/render-api.d.ts.map +1 -0
- package/dist/render-api.js +28 -0
- package/dist/render-prompt.d.ts +416 -0
- package/dist/render-prompt.d.ts.map +1 -0
- package/dist/render-prompt.js +711 -0
- package/package.json +24 -0
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
export declare const BASE_FIDELITY: string;
|
|
2
|
+
export declare const LOCATION_PRESETS: {
|
|
3
|
+
readonly none: {
|
|
4
|
+
readonly label: "None";
|
|
5
|
+
readonly scene: "";
|
|
6
|
+
};
|
|
7
|
+
readonly dakar: {
|
|
8
|
+
readonly label: "Dakar";
|
|
9
|
+
readonly scene: "Dakar courtyard: sun-baked stucco and pastel facades, shaded arcades, patterned metal railings, clay tile accents; courtyard with stone or cement paving and drought-tolerant planting; adjacent street with worn asphalt, low curbs, and coastal West African street life cues.";
|
|
10
|
+
};
|
|
11
|
+
readonly cape_town: {
|
|
12
|
+
readonly label: "Cape Town";
|
|
13
|
+
readonly scene: "Cape Town courtyard: Cape Dutch-inspired gables, whitewashed walls, timber shutters, terracotta roofs; courtyard with brick or stone paving and indigenous planting; adjacent street with clean asphalt, stone curbs, and subtle coastal light.";
|
|
14
|
+
};
|
|
15
|
+
readonly porto_novo: {
|
|
16
|
+
readonly label: "Porto-Novo";
|
|
17
|
+
readonly scene: "Porto-Novo courtyard: Afro-Brazilian inspired facades, colorful plaster, arched colonnades, timber shutters; courtyard with patterned stone or tile paving; adjacent street with dusty asphalt, low curbs, and tropical street vegetation.";
|
|
18
|
+
};
|
|
19
|
+
readonly rabat: {
|
|
20
|
+
readonly label: "Rabat";
|
|
21
|
+
readonly scene: "Rabat courtyard: whitewashed walls, carved stone details, green tile accents, arched openings; courtyard with zellij-like tile paving and citrus planting; adjacent street with clean stone sidewalks and low-rise Moroccan urban texture.";
|
|
22
|
+
};
|
|
23
|
+
readonly abuja: {
|
|
24
|
+
readonly label: "Abuja";
|
|
25
|
+
readonly scene: "Abuja courtyard: contemporary African-modern plaster and stone, deep shade lines, vertical fins; courtyard with concrete or stone paving and native planting; adjacent street with wide asphalt lanes and minimal street clutter.";
|
|
26
|
+
};
|
|
27
|
+
readonly addis_ababa: {
|
|
28
|
+
readonly label: "Addis Ababa";
|
|
29
|
+
readonly scene: "Addis Ababa courtyard: basalt stone walls, corrugated metal accents, warm plaster, timber windows; courtyard with stone paving and eucalyptus planting; adjacent street with mixed asphalt and stone edges.";
|
|
30
|
+
};
|
|
31
|
+
readonly cairo: {
|
|
32
|
+
readonly label: "Cairo";
|
|
33
|
+
readonly scene: "Cairo courtyard: sandy limestone and plaster facades, mashrabiya screens, arched colonnades; courtyard with stone paving and shade trees; adjacent street with dusty asphalt, stone curbs, and layered urban texture.";
|
|
34
|
+
};
|
|
35
|
+
readonly harappan_valley: {
|
|
36
|
+
readonly label: "Harappan Valley";
|
|
37
|
+
readonly scene: "Harappan Valley courtyard: ancient Indus Valley brick compounds with rectilinear forms, baked brick walls, simple flat roofs, and orderly drainage channels; courtyard with compacted earth and stone paving; adjacent street with grid-like brick lanes and minimal ornament.";
|
|
38
|
+
};
|
|
39
|
+
readonly delhi: {
|
|
40
|
+
readonly label: "Delhi";
|
|
41
|
+
readonly scene: "Delhi courtyard: red sandstone and pale plaster, jaali screens, shaded arcades, flat roofs with parapets; courtyard with terracotta or stone paving and hardy plantings; adjacent street with dust-hued asphalt, concrete curbs, and layered urban textures.";
|
|
42
|
+
};
|
|
43
|
+
readonly islamabad: {
|
|
44
|
+
readonly label: "Islamabad";
|
|
45
|
+
readonly scene: "Islamabad courtyard: clean modernist lines, pale stone and concrete, shaded colonnades; courtyard with stone paving and clipped greenery; adjacent street with broad asphalt lanes and orderly planting.";
|
|
46
|
+
};
|
|
47
|
+
readonly kathmandu: {
|
|
48
|
+
readonly label: "Kathmandu";
|
|
49
|
+
readonly scene: "Kathmandu courtyard: warm brick walls, carved timber windows, pagoda rooflines, muted plaster; courtyard with brick paving and stone inlays; adjacent street with narrow lanes and traditional Newar urban texture.";
|
|
50
|
+
};
|
|
51
|
+
readonly thimphu: {
|
|
52
|
+
readonly label: "Thimphu";
|
|
53
|
+
readonly scene: "Thimphu courtyard: Bhutanese whitewashed walls with dark timber bands, carved window frames, sloped roofs; courtyard with stone paving and prayer flag hints; adjacent street with clean stone edges and mountain light.";
|
|
54
|
+
};
|
|
55
|
+
readonly lhasa: {
|
|
56
|
+
readonly label: "Lhasa";
|
|
57
|
+
readonly scene: "Lhasa courtyard: thick white plaster walls, dark timber windows, flat roofs with prayer flag elements; courtyard with stone paving and windworn texture; adjacent street with stone slabs and high-altitude light.";
|
|
58
|
+
};
|
|
59
|
+
readonly ulaanbaatar: {
|
|
60
|
+
readonly label: "Ulaanbaatar";
|
|
61
|
+
readonly scene: "Ulaanbaatar courtyard: brick and plaster facades with Soviet-modern influence, steep metal roofs, simple balconies; courtyard with stone or concrete paving; adjacent street with wide asphalt and strong winter light.";
|
|
62
|
+
};
|
|
63
|
+
readonly astana: {
|
|
64
|
+
readonly label: "Astana";
|
|
65
|
+
readonly scene: "Astana courtyard: sleek modern glass and pale stone, sculptural forms, crisp detailing; courtyard with clean stone paving and minimal planting; adjacent street with broad boulevards and contemporary urban furniture.";
|
|
66
|
+
};
|
|
67
|
+
readonly tokyo: {
|
|
68
|
+
readonly label: "Tokyo";
|
|
69
|
+
readonly scene: "Tokyo courtyard: compact concrete and glass facades, slender balconies, minimal detailing; courtyard with smooth paving and sparse greenery; adjacent street with clean asphalt, subtle signage, and tidy urban order.";
|
|
70
|
+
};
|
|
71
|
+
readonly seoul: {
|
|
72
|
+
readonly label: "Seoul";
|
|
73
|
+
readonly scene: "Seoul courtyard: mix of modern concrete/glass and traditional hanok-inspired timber accents; courtyard with stone paving and planted edges; adjacent street with clean sidewalks and muted signage.";
|
|
74
|
+
};
|
|
75
|
+
readonly beijing: {
|
|
76
|
+
readonly label: "Beijing";
|
|
77
|
+
readonly scene: "Beijing courtyard: grey brick walls, tiled roofs, timber frames, hutong-like proportions; courtyard with stone paving and simple plantings; adjacent street with wide stone sidewalks and traditional gate cues.";
|
|
78
|
+
};
|
|
79
|
+
readonly kyoto: {
|
|
80
|
+
readonly label: "Kyoto";
|
|
81
|
+
readonly scene: "Kyoto courtyard: timber machiya facades, lattice screens, clay tile roofs, subdued earth tones; courtyard with stone paving and mossy planting; adjacent street with narrow stone sidewalks and calm urban texture.";
|
|
82
|
+
};
|
|
83
|
+
readonly chiang_mai: {
|
|
84
|
+
readonly label: "Chiang Mai";
|
|
85
|
+
readonly scene: "Chiang Mai courtyard: teak timber and warm plaster, low eaves, Lanna-inspired detailing; courtyard with stone paving and lush planting; adjacent street with warm asphalt and tropical greenery.";
|
|
86
|
+
};
|
|
87
|
+
readonly hanoi: {
|
|
88
|
+
readonly label: "Hanoi";
|
|
89
|
+
readonly scene: "Hanoi courtyard: French colonial plaster facades with shutters, balconies, and warm pastel tones; courtyard with patterned tile paving and greenery; adjacent street with narrow sidewalks and layered urban texture.";
|
|
90
|
+
};
|
|
91
|
+
readonly singapore: {
|
|
92
|
+
readonly label: "Singapore";
|
|
93
|
+
readonly scene: "Singapore courtyard: sleek contemporary concrete/glass with deep shade, tropical planting, and clean lines; courtyard with smooth stone paving and dense greenery; adjacent street with pristine sidewalks and modern street furniture.";
|
|
94
|
+
};
|
|
95
|
+
readonly colombo: {
|
|
96
|
+
readonly label: "Colombo";
|
|
97
|
+
readonly scene: "Colombo courtyard: tropical colonial plaster, verandas, timber shutters, warm stone details; courtyard with tile or stone paving and lush planting; adjacent street with warm asphalt and coastal humidity cues.";
|
|
98
|
+
};
|
|
99
|
+
readonly doha: {
|
|
100
|
+
readonly label: "Doha";
|
|
101
|
+
readonly scene: "Doha courtyard: pale limestone, glass, and metal, strong shadow lines, modern Islamic geometric motifs; courtyard with stone paving and minimal planting; adjacent street with broad asphalt and desert haze.";
|
|
102
|
+
};
|
|
103
|
+
readonly dubai: {
|
|
104
|
+
readonly label: "Dubai";
|
|
105
|
+
readonly scene: "Dubai courtyard: sleek glass and pale stone, modern vertical accents, shaded arcades; courtyard with polished stone paving and palm planting; adjacent street with wide lanes and bright desert light.";
|
|
106
|
+
};
|
|
107
|
+
readonly bangkok: {
|
|
108
|
+
readonly label: "Bangkok";
|
|
109
|
+
readonly scene: "Bangkok courtyard: tropical modern concrete and white plaster, teak or bamboo screens, deep shade, glossy stone paving, lush planting beds; adjacent street with warm asphalt, painted curbs, and subtle Thai urban cues.";
|
|
110
|
+
};
|
|
111
|
+
readonly hongkong: {
|
|
112
|
+
readonly label: "Hong Kong";
|
|
113
|
+
readonly scene: "Hong Kong courtyard: dense urban mix of concrete, granite, and glass, painted metal railings, compact balconies, vertical rhythm; courtyard with stone pavers and planter boxes; adjacent street with crisp signage, polished stone sidewalks, and high-density urban character.";
|
|
114
|
+
};
|
|
115
|
+
readonly vladivostok: {
|
|
116
|
+
readonly label: "Vladivostok";
|
|
117
|
+
readonly scene: "Vladivostok courtyard: hilly port-city facades in muted plaster and brick, metal roofs, simple balconies; courtyard with stone paving; adjacent street with sloped asphalt and maritime urban cues.";
|
|
118
|
+
};
|
|
119
|
+
readonly barcelona: {
|
|
120
|
+
readonly label: "Barcelona";
|
|
121
|
+
readonly scene: "Barcelona (Eixample) courtyard: warm Mediterranean stucco and stone, wrought-iron balcony railings, terracotta roof tiles, light-colored stone window surrounds, inner courtyard paving, a few planters/trees appropriate to Barcelona; adjacent narrow urban street with realistic asphalt or cobble, sidewalk, and street furniture typical of the Eixample.";
|
|
122
|
+
};
|
|
123
|
+
readonly stockholm: {
|
|
124
|
+
readonly label: "Stockholm";
|
|
125
|
+
readonly scene: "Stockholm courtyard: rendered plaster facades in muted ochre, terracotta, and pale grey tones typical of Ostermalm or Vasastan; copper or zinc standing-seam roofing with verdigris patina; painted timber window frames; restrained Art Nouveau or National Romantic ornament; inner courtyard cobblestone paving with central planting bed and birch or maple trees; adjacent urban street with granite setts, raised granite curbs, and period lampposts.";
|
|
126
|
+
};
|
|
127
|
+
readonly copenhagen: {
|
|
128
|
+
readonly label: "Copenhagen";
|
|
129
|
+
readonly scene: "Copenhagen courtyard: warm Danish brick and pale limewash, copper or zinc roofs, tall timber windows, minimal Scandinavian detailing; inner courtyard with brick or granite setts and modest planting; adjacent street with granite curbs, cobbles, and understated Danish street furniture.";
|
|
130
|
+
};
|
|
131
|
+
readonly berlin: {
|
|
132
|
+
readonly label: "Berlin";
|
|
133
|
+
readonly scene: "Berlin courtyard: mix of brick and stucco facades with contemporary infill, matte plaster in warm grey or beige, steel balconies, tall sash windows; inner courtyard with gravel and sparse plantings; adjacent street with asphalt, stone curbs, and utilitarian lighting.";
|
|
134
|
+
};
|
|
135
|
+
readonly amsterdam: {
|
|
136
|
+
readonly label: "Amsterdam";
|
|
137
|
+
readonly scene: "Amsterdam courtyard: narrow brick facades with stepped or bell gables, dark timber trim, black iron railings; slate or clay tiles; inner courtyard with brick pavers and canal-town planting; adjacent street with brick paving, canal-style bollards, and subtle waterfront cues.";
|
|
138
|
+
};
|
|
139
|
+
readonly london: {
|
|
140
|
+
readonly label: "London";
|
|
141
|
+
readonly scene: "London courtyard: Georgian and Victorian brick, pale stone lintels, sash windows, slate roofs, cast-iron railings; mews-like paving with stone setts; adjacent street with classic lampposts, granite curbs, and understated signage.";
|
|
142
|
+
};
|
|
143
|
+
readonly paris: {
|
|
144
|
+
readonly label: "Paris";
|
|
145
|
+
readonly scene: "Paris courtyard: Haussmann limestone facades, wrought-iron balconies, mansard slate roofs with dormers, stone cornices; inner courtyard with pale stone paving and clipped greenery; adjacent street with Parisian street lamps and clean stone sidewalks.";
|
|
146
|
+
};
|
|
147
|
+
readonly rome: {
|
|
148
|
+
readonly label: "Rome";
|
|
149
|
+
readonly scene: "Rome courtyard: warm travertine and stucco facades, arched openings, terracotta roof tiles; courtyard with cobblestone paving and classical planting; adjacent street with stone setts and historic urban texture.";
|
|
150
|
+
};
|
|
151
|
+
readonly athens: {
|
|
152
|
+
readonly label: "Athens";
|
|
153
|
+
readonly scene: "Athens courtyard: pale stone and plaster facades, classical proportions, metal balconies; courtyard with stone paving and olive planting; adjacent street with warm asphalt and Mediterranean light.";
|
|
154
|
+
};
|
|
155
|
+
readonly warsaw: {
|
|
156
|
+
readonly label: "Warsaw";
|
|
157
|
+
readonly scene: "Warsaw courtyard: restored historic facades in warm plaster tones, red tile roofs, modest ornament; courtyard with stone paving; adjacent street with granite curbs and orderly urban texture.";
|
|
158
|
+
};
|
|
159
|
+
readonly ljubljana: {
|
|
160
|
+
readonly label: "Ljubljana";
|
|
161
|
+
readonly scene: "Ljubljana courtyard: pastel plaster facades, red tile roofs, modest classical detailing; courtyard with stone paving and green planting; adjacent street with tidy stone sidewalks and river-town calm.";
|
|
162
|
+
};
|
|
163
|
+
readonly moscow: {
|
|
164
|
+
readonly label: "Moscow";
|
|
165
|
+
readonly scene: "Moscow courtyard: brick and plaster facades with classical proportions, metal balconies, muted ornament; courtyard with stone paving and sparse planting; adjacent street with wide asphalt lanes and strong winter light.";
|
|
166
|
+
};
|
|
167
|
+
readonly helsinki: {
|
|
168
|
+
readonly label: "Helsinki";
|
|
169
|
+
readonly scene: "Helsinki courtyard: pale granite and plaster facades, clean Nordic detailing, copper accents; courtyard with stone paving and birch planting; adjacent street with granite setts and restrained signage.";
|
|
170
|
+
};
|
|
171
|
+
readonly reykjavik: {
|
|
172
|
+
readonly label: "Reykjavik";
|
|
173
|
+
readonly scene: "Reykjavik courtyard: colorful timber or corrugated-metal facades, steep roofs, simple windows; courtyard with stone paving and rugged planting; adjacent street with crisp asphalt and North Atlantic light.";
|
|
174
|
+
};
|
|
175
|
+
readonly oxford: {
|
|
176
|
+
readonly label: "Oxford";
|
|
177
|
+
readonly scene: "Oxford courtyard: honey-colored limestone, gothic tracery, slate roofs, historic college walls; courtyard with stone paving and clipped lawns; adjacent street with narrow stone sidewalks.";
|
|
178
|
+
};
|
|
179
|
+
readonly edinburgh: {
|
|
180
|
+
readonly label: "Edinburgh";
|
|
181
|
+
readonly scene: "Edinburgh courtyard: dark stone facades, slate roofs, tall sash windows, iron railings; courtyard with stone setts; adjacent street with stone curbs and Scottish urban texture.";
|
|
182
|
+
};
|
|
183
|
+
readonly istanbul: {
|
|
184
|
+
readonly label: "Istanbul";
|
|
185
|
+
readonly scene: "Istanbul courtyard: warm stone and plaster, timber bay windows, subtle Ottoman detailing, red tile roofs; patterned stone paving and shaded planting; adjacent street with worn stone, metal railings, and layered shopfront textures.";
|
|
186
|
+
};
|
|
187
|
+
readonly san_francisco: {
|
|
188
|
+
readonly label: "San Francisco";
|
|
189
|
+
readonly scene: "San Francisco courtyard: painted timber facades, bay windows, ornate trims, slender balconies; courtyard with brick or stone paving and small trees; adjacent street with asphalt, steep grades, and street trees.";
|
|
190
|
+
};
|
|
191
|
+
readonly chicago: {
|
|
192
|
+
readonly label: "Chicago";
|
|
193
|
+
readonly scene: "Chicago courtyard: brick and stone facades with steel lintels, tall windows, modest ornament; courtyard with concrete or stone paving; adjacent street with wide asphalt and utilitarian lighting.";
|
|
194
|
+
};
|
|
195
|
+
readonly boston: {
|
|
196
|
+
readonly label: "Boston";
|
|
197
|
+
readonly scene: "Boston courtyard: red brick and brownstone facades, white trim, iron railings; courtyard with brick paving and clipped planting; adjacent street with stone curbs and historic urban texture.";
|
|
198
|
+
};
|
|
199
|
+
readonly miami: {
|
|
200
|
+
readonly label: "Miami";
|
|
201
|
+
readonly scene: "Miami courtyard: light stucco, Art Deco hints, pastel accents, palm planting; courtyard with terrazzo or stone paving and lush greenery; adjacent street with warm asphalt and coastal light.";
|
|
202
|
+
};
|
|
203
|
+
readonly havana: {
|
|
204
|
+
readonly label: "Havana";
|
|
205
|
+
readonly scene: "Havana courtyard: weathered pastel plaster, wrought-iron balconies, arched openings; courtyard with patterned tile paving and tropical planting; adjacent street with worn asphalt and classic urban texture.";
|
|
206
|
+
};
|
|
207
|
+
readonly lima: {
|
|
208
|
+
readonly label: "Lima";
|
|
209
|
+
readonly scene: "Lima courtyard: coastal stucco facades in muted tones, wooden balconies, clay tile accents; courtyard with stone paving and hardy planting; adjacent street with dusty asphalt and soft ocean light.";
|
|
210
|
+
};
|
|
211
|
+
readonly la_paz: {
|
|
212
|
+
readonly label: "La Paz";
|
|
213
|
+
readonly scene: "La Paz courtyard: high-altitude brick and plaster facades, simple metal railings, strong mountain light; courtyard with stone or concrete paving; adjacent street with sloped asphalt and rugged terrain cues.";
|
|
214
|
+
};
|
|
215
|
+
readonly brasilia: {
|
|
216
|
+
readonly label: "Brasilia";
|
|
217
|
+
readonly scene: "Brasilia courtyard: modernist concrete and glass, bold pilotis, clean geometric lines; courtyard with smooth stone paving and minimal planting; adjacent street with broad boulevards and crisp modern order.";
|
|
218
|
+
};
|
|
219
|
+
readonly canberra: {
|
|
220
|
+
readonly label: "Canberra";
|
|
221
|
+
readonly scene: "Canberra courtyard: modern civic brick and concrete, clean lines, shaded colonnades; courtyard with stone paving and eucalyptus planting; adjacent street with wide lanes and garden-city calm.";
|
|
222
|
+
};
|
|
223
|
+
readonly wellington: {
|
|
224
|
+
readonly label: "Wellington";
|
|
225
|
+
readonly scene: "Wellington courtyard: timber and weatherboard facades, metal roofs, modest balconies; courtyard with stone paving and wind-swept planting; adjacent street with asphalt and coastal light.";
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
export declare const TIME_OF_DAY_PRESETS: {
|
|
229
|
+
readonly dawn: "Pre-dawn blue hour with cool ambient light, soft gradients, long faint shadows, and a subtle warm glow near the horizon.";
|
|
230
|
+
readonly morning: "Crisp morning light with a low sun angle, clean shadows, cool-to-warm balance, and a bright sky.";
|
|
231
|
+
readonly noon: "High midday sun, short shadows, neutral color temperature, strong clarity, and clean contrast.";
|
|
232
|
+
readonly afternoon: "Warm late-afternoon light with softer shadows, golden bounce, slight haze, and rich warmth.";
|
|
233
|
+
readonly evening: "Golden hour sliding into dusk, warm highlights, long shadows, and early window glow.";
|
|
234
|
+
readonly night: "Urban night lighting with cool ambient tones, warm streetlights, interior glow, and subtle reflections.";
|
|
235
|
+
};
|
|
236
|
+
export declare const ERA_PRESETS: {
|
|
237
|
+
readonly today: {
|
|
238
|
+
readonly label: "today";
|
|
239
|
+
readonly style: "Photorealistic contemporary image with modern camera realism.";
|
|
240
|
+
readonly endYear: 9999;
|
|
241
|
+
readonly taskPrefix: "Render a photorealistic architectural visualization of";
|
|
242
|
+
readonly rendering: "Photorealistic architectural visualization, PBR materials, subtle micro-surface detail, realistic scale.";
|
|
243
|
+
readonly sceneCue: "Modern streetscape cues and contemporary urban context.";
|
|
244
|
+
readonly sceneRules: "Use contemporary materials and infrastructure; modern signage, paving, and vehicles are appropriate.";
|
|
245
|
+
readonly interpretation: "Interpret the massing as contemporary architecture with realistic facade systems and materials.";
|
|
246
|
+
readonly prohibitions: "";
|
|
247
|
+
};
|
|
248
|
+
readonly early_20th: {
|
|
249
|
+
readonly label: "early 20th century";
|
|
250
|
+
readonly style: "Very early color photograph with subtle aging, slight fading, and gentle paper grain while staying crisp.";
|
|
251
|
+
readonly endYear: 1930;
|
|
252
|
+
readonly taskPrefix: "Render as a very early color photograph of";
|
|
253
|
+
readonly rendering: "Early color photo look, slightly aged paper, restrained saturation, crisp focus.";
|
|
254
|
+
readonly sceneCue: "Period-appropriate streets and furnishings; early automobiles or trams only if explicitly requested; avoid modern signage.";
|
|
255
|
+
readonly sceneRules: "Reinterpret any modern location cues into early 1900s equivalents (stone, brick, early concrete); no contemporary glass curtain walls or neon.";
|
|
256
|
+
readonly interpretation: "Reinterpret the massing into early 20th-century architecture using era-appropriate materials and detailing; remove contemporary facade systems.";
|
|
257
|
+
readonly prohibitions: "Avoid modern signage, neon, glass curtain walls, and contemporary street hardware.";
|
|
258
|
+
};
|
|
259
|
+
readonly nineteenth: {
|
|
260
|
+
readonly label: "19th century";
|
|
261
|
+
readonly style: "High-quality early black-and-white photograph, sharp focus, slight vignette, and tiny grain artifacts.";
|
|
262
|
+
readonly endYear: 1899;
|
|
263
|
+
readonly taskPrefix: "Render as a high-quality early black-and-white photograph of";
|
|
264
|
+
readonly rendering: "Black-and-white photo, sharp focus, slight vignette, fine grain.";
|
|
265
|
+
readonly sceneCue: "Cobblestone streets, gas lamps, horse-era cues; trams are acceptable, no automobiles.";
|
|
266
|
+
readonly sceneRules: "Replace modern materials with 19th-century equivalents (cobblestone, timber, stone); avoid asphalt, modern glass, steel railings, and contemporary signage.";
|
|
267
|
+
readonly interpretation: "Translate the courtyard massing into 19th-century urban fabric with masonry, timber, and period-appropriate openings; remove modern facade language.";
|
|
268
|
+
readonly prohibitions: "No automobiles, no asphalt, no modern signage, no contemporary glazing systems.";
|
|
269
|
+
};
|
|
270
|
+
readonly eighteenth: {
|
|
271
|
+
readonly label: "18th century";
|
|
272
|
+
readonly style: "18th-century pencil and watercolor architectural sketch on aged paper.";
|
|
273
|
+
readonly endYear: 1799;
|
|
274
|
+
readonly taskPrefix: "Render as an 18th-century pencil and watercolor architectural sketch of";
|
|
275
|
+
readonly rendering: "Graphite pencil linework with light watercolor washes, visible paper grain, soft edges, slight bleed; avoid inked outlines or cartoon styling.";
|
|
276
|
+
readonly sceneCue: "Pre-industrial street cues and materials; no modern elements.";
|
|
277
|
+
readonly sceneRules: "Translate any modern cues into pre-industrial materials (stone, timber, dirt paths); avoid modern infrastructure and manufactured finishes.";
|
|
278
|
+
readonly interpretation: "Reinterpret the massing as an 18th-century courtyard enclosure with period-appropriate proportions and materials; keep it conceptual and abstract.";
|
|
279
|
+
readonly prohibitions: "Avoid inked comic outlines, flat fills, and any modern architectural details.";
|
|
280
|
+
};
|
|
281
|
+
readonly olden: {
|
|
282
|
+
readonly label: "olden days";
|
|
283
|
+
readonly style: "14th-century panel painting (tempera) photographed as a real artwork with visible surface texture.";
|
|
284
|
+
readonly endYear: 1699;
|
|
285
|
+
readonly taskPrefix: "Render as a 14th-century panel painting of";
|
|
286
|
+
readonly rendering: "Photorealistic reproduction of a 14th-century tempera painting on panel; show craquelure, varnish glare, wood grain, and pigment texture.";
|
|
287
|
+
readonly sceneCue: "Historic environment cues and natural materials; no modern elements.";
|
|
288
|
+
readonly sceneRules: "Use historic, organic materials; no asphalt, no modern signage, no manufactured street furniture; keep surfaces uneven and hand-built.";
|
|
289
|
+
readonly interpretation: "Reinterpret the massing as a medieval courtyard concept—abstracted enclosure, hand-built materials, simplified geometry.";
|
|
290
|
+
readonly prohibitions: "No modern perspective rendering, no contemporary materials, no sleek finishes.";
|
|
291
|
+
};
|
|
292
|
+
readonly prehistory: {
|
|
293
|
+
readonly label: "prehistory";
|
|
294
|
+
readonly style: "Photorealistic photograph of a cave painting on rock.";
|
|
295
|
+
readonly endYear: 0;
|
|
296
|
+
readonly taskPrefix: "Depict as a photorealistic cave painting of";
|
|
297
|
+
readonly rendering: "Photorealistic photo of cave wall art: raw stone texture, mineral streaks, soot, pigment stains, primitive marks, and handprints.";
|
|
298
|
+
readonly sceneCue: "No streets, no modern infrastructure; primitive settlement cues only.";
|
|
299
|
+
readonly sceneRules: "Ignore modern location cues entirely; depict only primitive settlement/context around the massing silhouette with earthy pigments and raw textures.";
|
|
300
|
+
readonly interpretation: "Translate the massing into a primitive enclosure or settlement abstraction; reduce architecture to symbolic outlines and spatial relationships.";
|
|
301
|
+
readonly prohibitions: "No modern architecture, no perspective rendering, no graphic illustration style.";
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
export declare const RENDER_TOGGLE_LABELS: {
|
|
305
|
+
readonly people: "people";
|
|
306
|
+
readonly bicycles: "bicycles";
|
|
307
|
+
readonly cars: "cars";
|
|
308
|
+
readonly trams: "trams";
|
|
309
|
+
readonly landscaping: "landscaping";
|
|
310
|
+
readonly tech: "tech innovations";
|
|
311
|
+
};
|
|
312
|
+
export declare const STYLE_OPTIONS: string[];
|
|
313
|
+
export type RenderLocation = keyof typeof LOCATION_PRESETS;
|
|
314
|
+
export type RenderTimeOfDay = keyof typeof TIME_OF_DAY_PRESETS;
|
|
315
|
+
export type RenderEra = keyof typeof ERA_PRESETS;
|
|
316
|
+
export type RenderToggleKey = keyof typeof RENDER_TOGGLE_LABELS;
|
|
317
|
+
export type RenderToggleState = Record<RenderToggleKey, boolean>;
|
|
318
|
+
export declare const DEFAULT_LOCATION: RenderLocation;
|
|
319
|
+
export declare const DEFAULT_TIME_OF_DAY: RenderTimeOfDay;
|
|
320
|
+
export declare const DEFAULT_ERA: RenderEra;
|
|
321
|
+
export declare const DEFAULT_TOGGLES: RenderToggleState;
|
|
322
|
+
export declare const ERA_TOGGLE_RULES: Record<RenderEra, Record<RenderToggleKey, boolean>>;
|
|
323
|
+
export type RenderPromptContext = {
|
|
324
|
+
location: RenderLocation;
|
|
325
|
+
timeOfDay: RenderTimeOfDay;
|
|
326
|
+
era: RenderEra;
|
|
327
|
+
toggles: RenderToggleState;
|
|
328
|
+
styleLabel?: string;
|
|
329
|
+
};
|
|
330
|
+
export declare function isDesignerOutOfEra(styleLabel: string | undefined, era: RenderEra): boolean;
|
|
331
|
+
export declare function buildRenderPrompt(context: RenderPromptContext): {
|
|
332
|
+
prompt: string;
|
|
333
|
+
designerNotBorn: boolean;
|
|
334
|
+
eraStyle: string;
|
|
335
|
+
};
|
|
336
|
+
export declare function buildAdaptPrompt(text: string): string;
|
|
337
|
+
export type RenderProfile = {
|
|
338
|
+
id: string;
|
|
339
|
+
label: string;
|
|
340
|
+
description?: string;
|
|
341
|
+
baseFidelity?: string;
|
|
342
|
+
locations: Record<string, {
|
|
343
|
+
label: string;
|
|
344
|
+
scene: string;
|
|
345
|
+
}>;
|
|
346
|
+
eras: typeof ERA_PRESETS;
|
|
347
|
+
timeOfDay: typeof TIME_OF_DAY_PRESETS;
|
|
348
|
+
toggleLabels: typeof RENDER_TOGGLE_LABELS;
|
|
349
|
+
eraToggleRules: typeof ERA_TOGGLE_RULES;
|
|
350
|
+
defaultLocation: string;
|
|
351
|
+
defaultEra: RenderEra;
|
|
352
|
+
defaultTimeOfDay: RenderTimeOfDay;
|
|
353
|
+
defaultToggles: RenderToggleState;
|
|
354
|
+
taskTemplate: string;
|
|
355
|
+
toggleCopy?: Partial<Record<RenderToggleKey, string>>;
|
|
356
|
+
};
|
|
357
|
+
export type RenderPromptOverrides = {
|
|
358
|
+
baseFidelity?: string;
|
|
359
|
+
taskTemplate?: string;
|
|
360
|
+
scene?: string;
|
|
361
|
+
rendering?: string;
|
|
362
|
+
prohibitions?: string;
|
|
363
|
+
interpretation?: string;
|
|
364
|
+
lighting?: string;
|
|
365
|
+
style?: string;
|
|
366
|
+
};
|
|
367
|
+
export type BuildRenderPromptWithProfileArgs = {
|
|
368
|
+
profile?: RenderProfile;
|
|
369
|
+
location: string;
|
|
370
|
+
timeOfDay: RenderTimeOfDay;
|
|
371
|
+
era: RenderEra;
|
|
372
|
+
toggles: RenderToggleState;
|
|
373
|
+
styleLabel?: string;
|
|
374
|
+
overrides?: RenderPromptOverrides;
|
|
375
|
+
};
|
|
376
|
+
export declare const COURTYARD_PROFILE: RenderProfile;
|
|
377
|
+
export declare const SPATIAL_LOCATION_PRESETS: {
|
|
378
|
+
readonly none: {
|
|
379
|
+
readonly label: "None";
|
|
380
|
+
readonly scene: "";
|
|
381
|
+
};
|
|
382
|
+
readonly contextual: {
|
|
383
|
+
readonly label: "Contextual";
|
|
384
|
+
readonly scene: "Use the provided geometry as the primary subject. Add spatial context, materials, lighting, and entourage appropriate to the design intent and scale.";
|
|
385
|
+
};
|
|
386
|
+
readonly interior: {
|
|
387
|
+
readonly label: "Interior";
|
|
388
|
+
readonly scene: "Interior spatial scene: walls, ceilings, floors, and lighting tuned for an interior environment. Emphasize realistic material response and bounce.";
|
|
389
|
+
};
|
|
390
|
+
readonly exterior: {
|
|
391
|
+
readonly label: "Exterior";
|
|
392
|
+
readonly scene: "Exterior spatial scene: massing or facade context with realistic street scale, materials, and sky response.";
|
|
393
|
+
};
|
|
394
|
+
readonly pavilion: {
|
|
395
|
+
readonly label: "Pavilion";
|
|
396
|
+
readonly scene: "Standalone pavilion or object in open context with a neutral ground plane and minimal surrounding clutter.";
|
|
397
|
+
};
|
|
398
|
+
readonly landscape: {
|
|
399
|
+
readonly label: "Landscape";
|
|
400
|
+
readonly scene: "Landscape-scale scene: site context, terrain, planting, and long-view atmosphere appropriate to the program.";
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
export declare const SPATIAL_PROFILE: RenderProfile;
|
|
404
|
+
export declare const RENDER_PROFILES: {
|
|
405
|
+
readonly courtyard: RenderProfile;
|
|
406
|
+
readonly spatial: RenderProfile;
|
|
407
|
+
};
|
|
408
|
+
export type RenderProfileId = keyof typeof RENDER_PROFILES;
|
|
409
|
+
export declare const DEFAULT_RENDER_PROFILE_ID: RenderProfileId;
|
|
410
|
+
export declare const getRenderProfile: (id?: string | null) => RenderProfile | undefined;
|
|
411
|
+
export declare function buildRenderPromptWithProfile({ profile, location, timeOfDay, era, toggles, styleLabel, overrides, }: BuildRenderPromptWithProfileArgs): {
|
|
412
|
+
prompt: string;
|
|
413
|
+
designerNotBorn: boolean;
|
|
414
|
+
eraStyle: string;
|
|
415
|
+
};
|
|
416
|
+
//# sourceMappingURL=render-prompt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render-prompt.d.ts","sourceRoot":"","sources":["../src/render-prompt.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,QAMd,CAAC;AAEb,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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