算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ai-avatar-generator【设计与创意】Generate custom AI avatars using each::sense AI. Create stylized profile pictures, gaming avatars, cartoon versions, pixel art characters, and fantasy personas from photos or text descriptions. Supports anime, 3D render, cartoon, pixel art, and painterly styles. Use for: profile pictures, gaming avatars, social media, Discord, Twitch, virtual identit…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Create custom stylized avatars from photos or text descriptions 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": "Create a stylized avatar: a warrior elf with silver hair and glowing blue eyes, wearing ornate golden armor, fantasy art style, bust portrait, vibrant colors, detailed, circular crop friendly"
}
],
"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": "Create a stylized avatar: a warrior elf with silver hair and glowing blue eyes, wearing ornate golden armor, fantasy art style, bust portrait, vibrant colors, detailed, circular crop friendly"
}]
)
print(response.choices[0].message.content)
Turn a real photo into a stylized avatar:
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 photo into a Pixar-style 3D cartoon avatar. Keep the likeness, exaggerate features slightly, big expressive eyes, smooth render, colorful background, friendly expression"},
{"type": "image_url", "image_url": {"url": "https://example.com/my-photo.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 Server-Sent Events (SSE) responses, or "stream": false to receive the complete result in a single response. Streaming is useful for showing progress in UIs; non-streaming is simpler for scripts and automation.
| Style | Keywords | Best For |
|---|---|---|
| Anime | anime style, manga, cel shading, large eyes | Discord, social media |
| 3D Cartoon | Pixar style, 3D render, smooth, stylized | Professional profiles |
| Pixel Art | pixel art, 8-bit, retro, sprite | Gaming, retro communities |
| Flat Vector | flat design, minimal, geometric | Business, apps |
| Fantasy Art | digital painting, RPG character, detailed | Gaming, D&D, communities |
| Chibi | chibi, super deformed, cute, oversized head | Stickers, fun profiles |
| Watercolor | watercolor portrait, soft edges, painterly | Artistic profiles |
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": "Anime style avatar of a young woman with cherry blossom pink hair in twin tails, violet eyes, wearing a school uniform with a red ribbon, soft pastel background, shoujo manga style, bust portrait"
}
],
"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": "RPG character avatar: a dwarven blacksmith with a long braided red beard, soot-covered leather apron, holding a glowing hammer, forge fire in the background, fantasy digital painting, portrait composition"
}
],
"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": "32x32 pixel art avatar of a cyberpunk hacker, neon green hair, dark sunglasses, black hoodie, retro 16-bit style, clean pixels, dark purple background"
}
],
"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": [
{"type": "text", "text": "Convert this person into a Disney-style cartoon character. Keep their hairstyle and facial features recognizable, add big expressive eyes, smooth skin, vibrant colors, simple clean background"},
{"type": "image_url", "image_url": {"url": "https://example.com/portrait.jpg"}}
]
}
],
"stream": false
}'