算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ai-architectural-render【设计与创意】Generate photorealistic architectural renders using each::sense AI. Create presentation-quality exterior and interior renderings with accurate materials, global illumination, and environmental context. Produce V-Ray and Unreal Engine quality visualizations for client presentations and competitions. Use for: architectural rendering, photorealistic vis…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate photorealistic architectural renders for presentations and marketing 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": "A photorealistic architectural render of a contemporary art museum: a dramatic angular facade clad in perforated weathering steel panels, a sweeping glass entrance canopy, reflecting pool at the base mirroring the building, visitors walking along the approach path, late afternoon golden light casting long shadows, V-Ray quality global illumination, ultra-detailed materials, professional archviz"
}
],
"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": "A photorealistic architectural render of a contemporary art museum: a dramatic angular facade clad in perforated weathering steel panels, a sweeping glass entrance canopy, reflecting pool at the base mirroring the building, visitors walking along the approach path, late afternoon golden light casting long shadows, V-Ray quality global illumination, ultra-detailed materials, professional archviz"
}]
)
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": "Transform this architectural sketch into a photorealistic render: interpret the massing and proportions from the drawing, apply concrete and glass materials, add realistic landscaping, people for scale, and dramatic sky, V-Ray render quality with accurate shadows and reflections"},
{"type": "image_url", "image_url": {"url": "https://example.com/architectural-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": "A photorealistic render of a luxury hillside villa at dusk: cascading terraces with infinity pool, floor-to-ceiling glass walls revealing a warmly lit interior, natural stone and timber exterior materials, lush Mediterranean landscaping with olive trees and lavender, city lights visible in the distant valley, blue hour sky with warm interior glow contrast, professional architectural photography 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": "A photorealistic interior render of a modern open-plan office: exposed concrete ceiling with visible ductwork, polished concrete floors, full-height glass partitions for meeting rooms, mid-century modern furniture, hanging pendant lights, indoor plants and biophilic design elements, natural light flooding in from large windows, people working at desks, warm and productive atmosphere, V-Ray interior 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": "An architectural competition render of a waterfront cultural center: a bold undulating timber roof structure spanning over open-air public galleries, the building sits at the waters edge with a series of stepped terraces descending to the waterline, kayakers on the river, crowds gathering for an outdoor event, dramatic cumulus clouds, warm afternoon light, hero competition render quality, atmospheric perspective"
}
],
"stream": false
}'