算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ai-building-visualization【设计与创意】Generate architectural visualization renders of buildings using each::sense AI. Create exterior and interior views of residential, commercial, and public buildings with realistic materials, lighting, and environments. Supports concept design through to presentation-quality renders. Use for: building visualization, architectural concept, exterior rend…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate architectural visualization renders of buildings and structures using each::sense — the intelligent AI agent that automatically selects the best model for your request.
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "An architectural visualization of a modern three-story residential house: floor-to-ceiling glass facades, cantilevered upper floor, white concrete and natural wood cladding, flat green roof with a rooftop terrace, surrounded by mature landscaping, golden hour lighting with warm reflections in the glass, photorealistic architectural render"
}
],
"stream": false
}'
from openai import OpenAI
client = OpenAI(
api_key="YOUR_EACHLABS_API_KEY",
base_url="https://eachsense-agent.core.eachlabs.run/v1"
)
response = client.chat.completions.create(
model="eachsense/beta",
messages=[{
"role": "user",
"content": "An architectural visualization of a modern three-story residential house: floor-to-ceiling glass facades, cantilevered upper floor, white concrete and natural wood cladding, flat green roof with a rooftop terrace, surrounded by mature landscaping, golden hour lighting with warm reflections in the glass, photorealistic architectural render"
}]
)
print(response.choices[0].message.content)
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Create an architectural visualization based on this floor plan sketch: render the building as a photorealistic exterior view from the street, add contextual landscaping, parked cars, pedestrians, and realistic sky, modern materials with glass and steel, late afternoon lighting"},
{"type": "image_url", "image_url": {"url": "https://example.com/floor-plan-sketch.jpg"}}
]
}
],
"stream": false
}'
Images are sent inside messages using the OpenAI multimodal content format. Maximum 4 images per request.
Set "stream": true for real-time SSE responses, or "stream": false for complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "Architectural visualization of a 12-story commercial office tower: glass curtain wall facade with vertical aluminum fins for sun shading, a double-height lobby at ground level, a landscaped public plaza at the base with seating and water features, surrounding urban context, clear blue sky, photorealistic archviz quality"
}
],
"stream": false
}'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "An interior architectural visualization of a luxury penthouse living room: double-height ceiling with a mezzanine, floor-to-ceiling windows overlooking a city skyline at dusk, polished concrete floors, a floating staircase in steel and glass, modern furniture in neutral tones, warm ambient lighting from recessed fixtures, V-Ray quality render"
}
],
"stream": false
}'
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"messages": [
{
"role": "user",
"content": "A sustainable community center building visualization: organic curved forms in cross-laminated timber, living green walls covering portions of the facade, integrated solar panels on the undulating roof, rainwater collection channels visible as design features, native wildflower meadow surrounding the building, overcast diffused light, ecological architecture render"
}
],
"stream": false
}'