pet-portrait-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Pet Portrait Generation

宠物肖像生成

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.
使用each::sense生成惊艳的定制宠物肖像。将你的宠物照片转化为多种风格的精美艺术品,从写实肖像到奇幻卡通插画、华丽文艺复兴画作,再到个性化产品。

Features

功能特性

  • Realistic Portraits: Professional studio-quality pet photography
  • Cartoon/Illustrated: Fun, colorful cartoon versions of pets
  • Renaissance/Royal: Majestic portraits with historical costumes
  • Watercolor Paintings: Artistic watercolor-style pet artwork
  • Pop Art: Bold, vibrant pop art inspired portraits
  • Anime Style: Japanese anime-style pet characters
  • Costume Portraits: Pets in outfits, uniforms, and themed costumes
  • Multi-Pet Portraits: Family portraits with multiple pets
  • Memorial Portraits: Tribute artwork for beloved pets
  • Product Mockups: Pet portraits on mugs, canvas, and merchandise
  • 写实肖像:专业影棚级宠物摄影效果
  • 卡通/插画风格:趣味十足的彩色宠物卡通形象
  • 文艺复兴/皇室风格:身着历史服饰的华丽肖像
  • 水彩画作:艺术感十足的水彩风格宠物作品
  • 波普艺术:大胆鲜明的波普艺术风格肖像
  • 动漫风格:日系动漫风格的宠物角色
  • 服饰肖像:穿着各类服装、制服及主题服饰的宠物
  • 多宠物肖像:包含多只宠物的家庭肖像
  • 纪念肖像:献给心爱宠物的纪念性艺术作品
  • 产品样机:印在马克杯、画布及周边商品上的宠物肖像

Quick Start

快速开始

bash
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"
  }'
bash
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"
  }'

Use Case Examples

使用案例示例

1. Realistic Pet Portrait

1. 写实宠物肖像

Create a professional studio-quality portrait that captures your pet's personality.
bash
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"
  }'
创建能捕捉宠物个性的专业影棚级肖像。
bash
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"
  }'

2. Cartoon/Illustrated Pet Portrait

2. 卡通/插画风格宠物肖像

Transform your pet into a fun, colorful cartoon character.
bash
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"
  }'
将你的宠物转化为趣味十足的彩色卡通角色。
bash
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"
  }'

3. Renaissance/Royal Pet Portrait

3. 文艺复兴/皇室风格宠物肖像

Give your pet the royal treatment with a majestic historical portrait.
bash
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"
  }'
为你的宠物打造华丽的历史皇室肖像,享受皇室待遇。
bash
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"
  }'

4. Watercolor Pet Painting

4. 水彩风格宠物画作

Create a beautiful watercolor artwork of your pet.
bash
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"
  }'
创作精美的宠物水彩艺术作品。
bash
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"
  }'

5. Pop Art Pet Portrait

5. 波普艺术风格宠物肖像

Create a bold, vibrant pop art portrait inspired by Andy Warhol.
bash
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"
  }'
创作灵感源自安迪·沃霍尔的大胆鲜明波普艺术肖像。
bash
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"
  }'

6. Anime-Style Pet Portrait

6. 动漫风格宠物肖像

Transform your pet into an adorable anime character.
bash
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"
  }'
将你的宠物转化为可爱的动漫角色。
bash
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"
  }'

7. Pet with Costume/Outfit

7. 穿着服饰的宠物肖像

Dress up your pet in fun costumes and themed outfits.
bash
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"
  }'
为你的宠物穿上趣味服饰和主题服装。
bash
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"
  }'

8. Multi-Pet Family Portrait

8. 多宠物家庭肖像

Create a beautiful portrait featuring multiple pets together.
bash
undefined
创作包含多只宠物的精美合影肖像。
bash
undefined

First request - provide all pet photos

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" }'
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

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" }'
undefined
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" }'
undefined

9. Memorial Pet Portrait

9. 纪念宠物肖像

Create a touching tribute portrait for a beloved pet.
bash
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"
  }'
为心爱宠物创作感人的纪念肖像。
bash
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"
  }'

10. Pet Portrait on Products (Mug, Canvas)

10. 印在产品上的宠物肖像(马克杯、画布)

Generate mockups of your pet portrait on merchandise and products.
bash
undefined
生成宠物肖像印在周边商品及产品上的样机。
bash
undefined

Pet portrait on a mug

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" }'
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

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" }'
undefined
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" }'
undefined

Best Practices

最佳实践

Photo Quality Tips

照片质量建议

  • Clear photos: Use well-lit, in-focus photos of your pet
  • Face visible: Ensure the pet's face is clearly visible and not obscured
  • Multiple angles: For best results, provide photos from different angles
  • Natural expressions: Candid shots often produce the best portraits
  • 清晰照片:使用光线充足、对焦清晰的宠物照片
  • 面部可见:确保宠物面部清晰可见,无遮挡
  • 多角度拍摄:提供不同角度的照片以获得最佳效果
  • 自然表情:抓拍的自然表情照片通常能产出最佳肖像

Prompt Tips

提示词建议

  • Be specific about style: Mention specific art styles, artists, or references
  • Describe the mood: Include emotional tone (playful, regal, peaceful)
  • Specify colors: Request specific color palettes or schemes
  • Background details: Describe the setting or background you want
  • 明确风格:提及具体艺术风格、艺术家或参考作品
  • 描述氛围:包含情绪基调(活泼、华丽、宁静)
  • 指定色彩:要求特定调色板或配色方案
  • 背景细节:描述你想要的场景或背景

Example Prompt Structure

提示词结构示例

"Create a [style] portrait of my [pet type].
[Specific style details and references].
[Background/setting description].
[Mood and lighting].
[Any special elements or accessories]."
"Create a [style] portrait of my [pet type].
[Specific style details and references].
[Background/setting description].
[Mood and lighting].
[Any special elements or accessories]."

Mode Selection

模式选择

Ask your users before generating:
"Do you want fast & affordable, or maximum quality?"
ModeBest ForSpeedQuality
max
Final portraits, gifts, printsSlowerHighest
eco
Quick previews, style explorationFasterGood
生成前请询问用户:
"你想要快速经济款,还是最高质量款?"
模式适用场景速度质量
max
最终肖像、礼品、打印品较慢最高
eco
快速预览、风格探索较快良好

Multi-Turn Creative Iteration

多轮创意迭代

Use
session_id
to refine and iterate on portraits:
bash
undefined
使用
session_id
优化和迭代肖像:
bash
undefined

Initial portrait

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" }'
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

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" }'
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

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" }'
undefined
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" }'
undefined

Style Exploration

风格探索

Generate different styles to find the perfect look:
bash
undefined
生成不同风格以找到最适合的外观:
bash
undefined

Explore different styles with eco mode for speed

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" }'
undefined
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" }'
undefined

Error Handling

错误处理

ErrorCauseSolution
Failed to create prediction: HTTP 422
Insufficient balanceTop up at eachlabs.ai
Image not processingInvalid or inaccessible image URLEnsure image URL is publicly accessible
TimeoutComplex generationSet client timeout to minimum 10 minutes
Poor likenessLow quality source photoUse clear, well-lit photo with visible face
错误原因解决方案
Failed to create prediction: HTTP 422
余额不足在eachlabs.ai进行充值
图像未处理图片URL无效或无法访问确保图片URL可公开访问
超时生成任务复杂将客户端超时设置为至少10分钟
相似度低源照片质量差使用光线充足、面部清晰的照片

Related Skills

相关技能

  • each-sense
    - Core API documentation
  • product-photo-generation
    - E-commerce product shots
  • image-generation
    - General image generation
  • each-sense
    - 核心API文档
  • product-photo-generation
    - 电商产品摄影
  • image-generation
    - 通用图像生成