重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
pet-portrait-generation by eachlabs/skills
npx skills add https://github.com/eachlabs/skills --skill pet-portrait-generation使用 each::sense 生成惊艳的定制宠物肖像。将您的宠物照片转化为跨越多种风格的美丽艺术品——从写实肖像到异想天开的卡通插画、尊贵的文艺复兴风格绘画以及个性化产品。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a beautiful portrait of my golden retriever in a classic oil painting style",
"image_urls": ["https://example.com/my-pet-photo.jpg"],
"mode": "max"
}'
创作能捕捉宠物个性的专业影棚级肖像。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a realistic professional portrait of my cat. Studio lighting, soft bokeh background in warm earth tones. Capture the eyes beautifully with catchlights. High-end pet photography style.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
将您的宠物变成有趣、色彩鲜艳的卡通角色。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Transform my dog into a cute cartoon illustration. Disney/Pixar style with big expressive eyes, playful pose. Vibrant colors, clean lines. Include a fun background with bones and toys.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
通过庄严的历史肖像,给予您的宠物皇家般的待遇。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a renaissance-style royal portrait of my cat. Dress them as a noble king with a golden crown, velvet robe with ermine fur trim, and royal jewelry. Classical oil painting style, dramatic lighting, ornate gilded frame effect. Regal and majestic.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
为您的宠物创作一幅美丽的水彩艺术品。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Paint my dog in a loose, expressive watercolor style. Soft edges, beautiful color bleeds and washes. Capture their personality with artistic brush strokes. Pastel background with splashes of color. Fine art watercolor painting look.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
创作一幅受安迪·沃霍尔启发的大胆、鲜艳的波普艺术肖像。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a pop art portrait of my cat in Andy Warhol style. Bold, bright contrasting colors - hot pink, electric blue, yellow, orange. High contrast, graphic style with halftone dots. Create a 2x2 grid with different color variations.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
将您的宠物变成可爱的动漫角色。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create an anime-style portrait of my dog. Japanese anime aesthetic with big sparkly eyes, soft shading, and cute kawaii expression. Include cherry blossoms in the background. Studio Ghibli inspired, warm and whimsical.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
让您的宠物穿上有趣的服装和主题服饰。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a portrait of my cat as a space astronaut. Wearing a detailed NASA spacesuit with helmet, floating in space with Earth visible in the background. Stars and nebula. Realistic lighting, cinematic quality.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
创作一幅包含多只宠物在一起的美丽肖像。
# First request - provide all pet photos
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a family portrait with all three of my pets together. Classical portrait style with a warm, cozy living room background. Position them naturally as if they are posing together - the dog in the center, cats on either side. Soft, warm lighting, harmonious composition.",
"image_urls": [
"https://example.com/my-dog.jpg",
"https://example.com/my-cat1.jpg",
"https://example.com/my-cat2.jpg"
],
"session_id": "pet-family-portrait",
"mode": "max"
}'
# Follow-up to adjust the portrait
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Can you make the background a garden setting with flowers instead? Keep the same arrangement of the pets.",
"session_id": "pet-family-portrait"
}'
为心爱的宠物创作一幅感人的致敬肖像。
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a memorial portrait for my beloved dog who passed away. Peaceful, serene setting with soft golden light. Include angel wings, subtle rainbow bridge elements in the background. Ethereal and comforting, celebrating their spirit. Beautiful tribute artwork.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
生成您的宠物肖像在商品和产品上的效果图。
# Pet portrait on a mug
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a product mockup of my cat portrait on a white ceramic coffee mug. The portrait should be a cute illustrated style. Show the mug on a wooden table with coffee, cozy morning setting. Professional product photography.",
"image_urls": ["https://example.com/my-cat.jpg"],
"session_id": "pet-products",
"mode": "max"
}'
# Same pet portrait on canvas
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now create a mockup of this same pet portrait as a canvas print hanging on a living room wall. Modern interior setting, natural lighting. Show it as wall art in context.",
"session_id": "pet-products"
}'
"Create a [style] portrait of my [pet type].
[Specific style details and references].
[Background/setting description].
[Mood and lighting].
[Any special elements or accessories]."
在生成前询问您的用户:
"您想要快速且经济实惠的,还是最高质量的?"
| 模式 | 最适合 | 速度 | 质量 |
|---|---|---|---|
max | 最终肖像、礼物、印刷品 | 较慢 | 最高 |
eco | 快速预览、风格探索 | 较快 | 良好 |
使用 session_id 来优化和迭代肖像:
# Initial portrait
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a renaissance portrait of my dog as a nobleman",
"image_urls": ["https://example.com/my-dog.jpg"],
"session_id": "dog-portrait-project"
}'
# Refine the result
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Make the costume more elaborate with gold embroidery and add a sword",
"session_id": "dog-portrait-project"
}'
# Try different variations
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create 2 more variations with different poses and backgrounds",
"session_id": "dog-portrait-project"
}'
生成不同风格以找到完美的外观:
# Explore different styles with eco mode for speed
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create my cat portrait in oil painting style",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "eco"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create my cat portrait in minimalist line art style",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "eco"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create my cat portrait in stained glass window style",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "eco"
}'
| 错误 | 原因 | 解决方案 |
|---|---|---|
Failed to create prediction: HTTP 422 | 余额不足 | 前往 eachlabs.ai 充值 |
| 图像未处理 | 无效或无法访问的图像 URL | 确保图像 URL 可公开访问 |
| 超时 | 生成过程复杂 | 将客户端超时设置为至少 10 分钟 |
| 相似度低 | 源照片质量差 | 使用清晰、光线良好、面部可见的照片 |
each-sense - 核心 API 文档product-photo-generation - 电子商务产品图image-generation - 通用图像生成每周安装数
49
代码仓库
GitHub 星标数
8
首次出现
2026年2月20日
安全审计
安装于
gemini-cli49
kimi-cli48
amp48
github-copilot48
codex48
opencode48
Generate stunning custom pet portraits using each::sense. Transform your pet photos into beautiful artwork across various styles - from realistic portraits to whimsical cartoon illustrations, regal renaissance paintings, and personalized products.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a beautiful portrait of my golden retriever in a classic oil painting style",
"image_urls": ["https://example.com/my-pet-photo.jpg"],
"mode": "max"
}'
Create a professional studio-quality portrait that captures your pet's personality.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a realistic professional portrait of my cat. Studio lighting, soft bokeh background in warm earth tones. Capture the eyes beautifully with catchlights. High-end pet photography style.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
Transform your pet into a fun, colorful cartoon character.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Transform my dog into a cute cartoon illustration. Disney/Pixar style with big expressive eyes, playful pose. Vibrant colors, clean lines. Include a fun background with bones and toys.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
Give your pet the royal treatment with a majestic historical portrait.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a renaissance-style royal portrait of my cat. Dress them as a noble king with a golden crown, velvet robe with ermine fur trim, and royal jewelry. Classical oil painting style, dramatic lighting, ornate gilded frame effect. Regal and majestic.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
Create a beautiful watercolor artwork of your pet.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Paint my dog in a loose, expressive watercolor style. Soft edges, beautiful color bleeds and washes. Capture their personality with artistic brush strokes. Pastel background with splashes of color. Fine art watercolor painting look.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
Create a bold, vibrant pop art portrait inspired by Andy Warhol.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a pop art portrait of my cat in Andy Warhol style. Bold, bright contrasting colors - hot pink, electric blue, yellow, orange. High contrast, graphic style with halftone dots. Create a 2x2 grid with different color variations.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
Transform your pet into an adorable anime character.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create an anime-style portrait of my dog. Japanese anime aesthetic with big sparkly eyes, soft shading, and cute kawaii expression. Include cherry blossoms in the background. Studio Ghibli inspired, warm and whimsical.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
Dress up your pet in fun costumes and themed outfits.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a portrait of my cat as a space astronaut. Wearing a detailed NASA spacesuit with helmet, floating in space with Earth visible in the background. Stars and nebula. Realistic lighting, cinematic quality.",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "max"
}'
Create a beautiful portrait featuring multiple pets together.
# First request - provide all pet photos
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a family portrait with all three of my pets together. Classical portrait style with a warm, cozy living room background. Position them naturally as if they are posing together - the dog in the center, cats on either side. Soft, warm lighting, harmonious composition.",
"image_urls": [
"https://example.com/my-dog.jpg",
"https://example.com/my-cat1.jpg",
"https://example.com/my-cat2.jpg"
],
"session_id": "pet-family-portrait",
"mode": "max"
}'
# Follow-up to adjust the portrait
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Can you make the background a garden setting with flowers instead? Keep the same arrangement of the pets.",
"session_id": "pet-family-portrait"
}'
Create a touching tribute portrait for a beloved pet.
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a memorial portrait for my beloved dog who passed away. Peaceful, serene setting with soft golden light. Include angel wings, subtle rainbow bridge elements in the background. Ethereal and comforting, celebrating their spirit. Beautiful tribute artwork.",
"image_urls": ["https://example.com/my-dog.jpg"],
"mode": "max"
}'
Generate mockups of your pet portrait on merchandise and products.
# Pet portrait on a mug
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a product mockup of my cat portrait on a white ceramic coffee mug. The portrait should be a cute illustrated style. Show the mug on a wooden table with coffee, cozy morning setting. Professional product photography.",
"image_urls": ["https://example.com/my-cat.jpg"],
"session_id": "pet-products",
"mode": "max"
}'
# Same pet portrait on canvas
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Now create a mockup of this same pet portrait as a canvas print hanging on a living room wall. Modern interior setting, natural lighting. Show it as wall art in context.",
"session_id": "pet-products"
}'
"Create a [style] portrait of my [pet type].
[Specific style details and references].
[Background/setting description].
[Mood and lighting].
[Any special elements or accessories]."
Ask your users before generating:
"Do you want fast & affordable, or maximum quality?"
| Mode | Best For | Speed | Quality |
|---|---|---|---|
max | Final portraits, gifts, prints | Slower | Highest |
eco | Quick previews, style exploration | Faster | Good |
Use session_id to refine and iterate on portraits:
# Initial portrait
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create a renaissance portrait of my dog as a nobleman",
"image_urls": ["https://example.com/my-dog.jpg"],
"session_id": "dog-portrait-project"
}'
# Refine the result
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Make the costume more elaborate with gold embroidery and add a sword",
"session_id": "dog-portrait-project"
}'
# Try different variations
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create 2 more variations with different poses and backgrounds",
"session_id": "dog-portrait-project"
}'
Generate different styles to find the perfect look:
# Explore different styles with eco mode for speed
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create my cat portrait in oil painting style",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "eco"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create my cat portrait in minimalist line art style",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "eco"
}'
curl -X POST https://sense.eachlabs.run/chat \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-H "Accept: text/event-stream" \
-d '{
"message": "Create my cat portrait in stained glass window style",
"image_urls": ["https://example.com/my-cat.jpg"],
"mode": "eco"
}'
| Error | Cause | Solution |
|---|---|---|
Failed to create prediction: HTTP 422 | Insufficient balance | Top up at eachlabs.ai |
| Image not processing | Invalid or inaccessible image URL | Ensure image URL is publicly accessible |
| Timeout | Complex generation | Set client timeout to minimum 10 minutes |
| Poor likeness | Low quality source photo | Use clear, well-lit photo with visible face |
each-sense - Core API documentationproduct-photo-generation - E-commerce product shotsimage-generation - General image generationWeekly Installs
49
Repository
GitHub Stars
8
First Seen
Feb 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
gemini-cli49
kimi-cli48
amp48
github-copilot48
codex48
opencode48
AI界面设计评审工具 - 全面评估UI/UX设计质量、检测AI生成痕迹与优化用户体验
58,500 周安装
MarsWaveAI TTS:文本转语音API,支持多说话人脚本与快速语音合成
781 周安装
Nx Plugins 插件库 - 查找安装 Nx 插件,提升开发效率与项目架构
793 周安装
McKinsey Consultant V3.1:基于渐进式披露与依赖感知的AI咨询技能,节省95%分析时间
794 周安装
Go 函数式编程库 samber/lo:类型安全、零依赖的集合处理工具
808 周安装
LangChain AI社交内容创作技能:自动化生成LinkedIn/Twitter图文帖
804 周安装
Go语言samber/oops结构化错误处理库:增强错误追踪与APM集成
812 周安装