算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ai-car-configurator【设计与创意】Visualize car customizations using each::sense AI. Generate photorealistic renders of vehicles with custom paint colors, wheel styles, body kits, interior trims, and aftermarket modifications. Preview automotive builds before purchasing. Use for: car configuration, vehicle customization, auto visualization, custom paint preview, wheel fitment, body k…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Visualize car customizations and configurations with photorealistic renders 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 render of a sports sedan in deep metallic midnight blue, fitted with 20-inch matte black forged wheels, carbon fiber front splitter and rear diffuser, lowered suspension, tinted windows, parked in an underground concrete garage with moody directional lighting, automotive photography style"
}
],
"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 render of a sports sedan in deep metallic midnight blue, fitted with 20-inch matte black forged wheels, carbon fiber front splitter and rear diffuser, lowered suspension, tinted windows, parked in an underground concrete garage with moody directional lighting, automotive photography style"
}]
)
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": "Take this car and visualize it with a custom paint job: change the color to matte army green, add bronze-colored rally wheels, install a roof rack with LED light bar, lift the suspension slightly for an off-road look, keep the same car model and angle"},
{"type": "image_url", "image_url": {"url": "https://example.com/my-car.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 classic 1960s muscle car in candy apple red with white racing stripes, chrome bumpers and trim, polished 17-inch Torq Thrust style wheels, wide rear tires, parked on a desert highway at sunset, low angle three-quarter front view, cinematic automotive photography"
}
],
"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 luxury sedan cockpit: quilted tan leather seats with contrast stitching, carbon fiber dashboard trim, brushed aluminum accents, digital instrument cluster, ambient lighting in cool blue, steering wheel with paddle shifters, shot from the driver door looking across the cabin, showroom lighting"
}
],
"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 futuristic electric SUV in pearlescent white, aerodynamic body with flush door handles and panoramic glass roof, illuminated front light bar, 22-inch turbine-style aero wheels, charging at a sleek modern charging station, nighttime city street with reflections on wet pavement, concept car photography"
}
],
"stream": false
}'