Logo Pet Portrait Generation

Pet Portrait Generation

Tổ chức
eachlabs
pet-portrait-generation

Generate custom pet portraits using each::sense AI. Create realistic, artistic, and stylized pet portraits from photos - including cartoon, renaissance, watercolor, pop art, anime styles, and custom product mockups.

Tổng quan

Nhà phát hànheachlabs
Kho mãskills
Tên kỹ năngpet-portrait-generation
Sao
46
Bản fork
7
Tệp đi kèm
1
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được eachlabs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Pet Portrait Generation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/eachlabs/skills/tree/main/skills/pet-portrait-generation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eachlabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/pet-portrait-generation .claude/skills/pet-portrait-generation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Pet Portrait Generation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Pet Portrait Generation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Pet Portrait Generation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

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://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a beautiful portrait of my golden retriever in a classic oil painting style"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-pet-photo.jpg"],
    "mode": "max"
  }'

Use Case Examples

1. Realistic Pet Portrait

Create a professional studio-quality portrait that captures your pet's personality.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "max"
  }'

2. Cartoon/Illustrated Pet Portrait

Transform your pet into a fun, colorful cartoon character.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-dog.jpg"],
    "mode": "max"
  }'

3. Renaissance/Royal Pet Portrait

Give your pet the royal treatment with a majestic historical portrait.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "max"
  }'

4. Watercolor Pet Painting

Create a beautiful watercolor artwork of your pet.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-dog.jpg"],
    "mode": "max"
  }'

5. Pop Art Pet Portrait

Create a bold, vibrant pop art portrait inspired by Andy Warhol.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "max"
  }'

6. Anime-Style Pet Portrait

Transform your pet into an adorable anime character.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-dog.jpg"],
    "mode": "max"
  }'

7. Pet with Costume/Outfit

Dress up your pet in fun costumes and themed outfits.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "max"
  }'

8. Multi-Pet Family Portrait

Create a beautiful portrait featuring multiple pets together.

bash
# First request - provide all pet photos
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "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://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Can you make the background a garden setting with flowers instead? Keep the same arrangement of the pets."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "pet-family-portrait"
  }'

9. Memorial Pet Portrait

Create a touching tribute portrait for a beloved pet.

bash
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-dog.jpg"],
    "mode": "max"
  }'

10. Pet Portrait on Products (Mug, Canvas)

Generate mockups of your pet portrait on merchandise and products.

bash
# Pet portrait on a mug
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "session_id": "pet-products",
    "mode": "max"
  }'

# Same pet portrait on canvas
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "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."}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "pet-products"
  }'

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]."

Mode Selection

Ask your users before generating:

"Do you want fast & affordable, or maximum quality?"

ModeBest ForSpeedQuality
maxFinal portraits, gifts, printsSlowerHighest
ecoQuick previews, style explorationFasterGood

Multi-Turn Creative Iteration

Use session_id to refine and iterate on portraits:

bash
# Initial portrait
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create a renaissance portrait of my dog as a nobleman"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-dog.jpg"],
    "session_id": "dog-portrait-project"
  }'

# Refine the result
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Make the costume more elaborate with gold embroidery and add a sword"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "dog-portrait-project"
  }'

# Try different variations
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create 2 more variations with different poses and backgrounds"}],
    "model": "eachsense/beta",
    "stream": true,
    "session_id": "dog-portrait-project"
  }'

Style Exploration

Generate different styles to find the perfect look:

bash
# Explore different styles with eco mode for speed
curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create my cat portrait in oil painting style"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "eco"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create my cat portrait in minimalist line art style"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "eco"
  }'

curl -X POST https://eachsense-agent.core.eachlabs.run/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -H "Accept: text/event-stream" \
  -d '{
    "messages": [{"role": "user", "content": "Create my cat portrait in stained glass window style"}],
    "model": "eachsense/beta",
    "stream": true,
    "image_urls": ["https://example.com/my-cat.jpg"],
    "mode": "eco"
  }'

Error Handling

ErrorCauseSolution
Failed to create prediction: HTTP 422Insufficient 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

Related Skills

  • each-sense - Core API documentation
  • product-photo-generation - E-commerce product shots
  • image-generation - General image generation

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Pet Portrait Generation làm được gì?

Generate custom pet portraits using each::sense AI. Create realistic, artistic, and stylized pet portraits from photos - including cartoon, renaissance, watercolor, pop art, anime styles, and custom product mockups.

Vì sao nên dùng Pet Portrait Generation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Pet Portrait Generation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Pet Portrait Generation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/eachlabs/skills/tree/main/skills/pet-portrait-generation. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Pet Portrait Generation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Pet Portrait Generation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Pet Portrait Generation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Pet Portrait Generation có miễn phí không?

Kỹ năng này được eachlabs phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇