计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
ai-stock-photo【效率与协作】Generate stock photography using each::sense AI. Create professional, commercially viable photographs for business, lifestyle, technology, nature, food, and editorial use. Produce realistic, diverse imagery without licensing restrictions. Use for: stock photos, commercial photography, business imagery, lifestyle photos, editorial photography. Trigger…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate professional stock photography for commercial and editorial use 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 diverse team of four professionals collaborating around a conference table with laptops and coffee cups, modern glass-walled office, natural daylight streaming in, candid moment of someone presenting an idea, warm and productive atmosphere, professional business stock photography"
}
],
"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 diverse team of four professionals collaborating around a conference table with laptops and coffee cups, modern glass-walled office, natural daylight streaming in, candid moment of someone presenting an idea, warm and productive atmosphere, professional business stock photography"
}]
)
print(response.choices[0].message.content)
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 software developer working at a standing desk with dual monitors showing code, modern minimalist home office, plants and natural light, focused and calm expression, cup of coffee nearby, authentic work-from-home stock 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 friendly female doctor in a white coat having a conversation with a patient in a clean modern examination room, warm overhead lighting, reassuring body language, medical equipment subtly visible in the background, professional healthcare stock 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": "An aerial view of a winding river cutting through an autumn forest, vibrant fall foliage in orange, red, and gold, morning mist rising from the water, dramatic landscape photography, editorial quality nature stock photo"
}
],
"stream": false
}'
# Generate a set of related stock photos for a wellness brand
SCENES=(
"A woman practicing yoga on a wooden deck overlooking a calm lake at sunrise, serene and peaceful, warm golden light, wellness stock photo"
"A colorful smoothie bowl topped with fresh berries and granola on a marble countertop, overhead flat lay, bright natural light, healthy lifestyle stock photo"
"Hands holding a small potted succulent plant, soft focus background, natural skin tones, mindfulness and self-care concept, stock photography"
)
for SCENE in "${SCENES[@]}"; do
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\": \"$SCENE\"}],
\"stream\": false
}"
echo "---"
done