Chuyển đến nội dung
Skillpedia
Hình ảnh và biểu tượng8.3k · #12475

yao-image

Skill này làm gì

Skill này cho phép agent xem các hình ảnh mà nó không tự đọc được và mô tả chúng. Skill cũng hỗ trợ tạo ảnh mới. Dành cho bất kỳ ai cần giúp hiểu hoặc tạo nội dung hình ảnh.

Khi nào nên dùng

  • ✓Khi bạn có ảnh chụp màn hình, ảnh chụp hoặc biểu đồ và muốn có mô tả về nó.
  • ✓Khi một hình ảnh chứa thông tin bạn cần dưới dạng chữ.
  • ✓Khi bạn muốn tạo một hình ảnh mới từ mô tả bằng văn bản.

Liên kết skill

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-image/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/YaoApp/yao/blob/main/tools/skills/yao-image/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Mô tả những gì có trong ảnh chụp màn hình này và cho tôi biết biểu đồ đang thể hiện điều gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent gửi hình ảnh cùng câu hỏi của bạn đến một mô hình có khả năng nhìn, rồi nhận lại mô tả bằng văn bản. Hình ảnh lớn sẽ được thu nhỏ trước. Hỗ trợ các file PNG, JPEG, GIF và WebP.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Image Tools

Use these tools when you encounter images you cannot read natively, or when you need to generate new images.

image_read

Send an image to a vision-capable model and get a text description.

Local file (most common):

tai tool image_read --image_path /path/to/image.png --prompt "Describe this image"

URL:

tai tool image_read --image_path https://example.com/photo.jpg --prompt "What is shown?"

With a specific vision provider:

tai tool image_read --image_path /path/to/image.png --prompt "Describe" --provider llm.my-openai:gpt-4o
Parameter Type Required Description
image_path string yes Image file path or URL
prompt string no Analysis instruction (default: describe in detail)
max_size integer no Max dimension in pixels for longest edge (default: 1080)
provider string no Vision provider connector ID. If omitted, uses default vision model

Images are automatically resized (preserving aspect ratio) before sending to the vision model. Supported formats: PNG, JPEG, GIF, WebP.

image_generate

Generate a new image from a text prompt (text-to-image). For editing an existing image, use image_edit instead.

Basic usage (always specify output):

tai tool image_generate --prompt "A serene mountain landscape at sunset" --output landscape.png

With specific provider, model and size:

tai tool image_generate --prompt "A futuristic city skyline" --provider llm.my-openai --model gpt-image-1 --dimensions 1792x1024 --output output/city.png

Transparent background (for icons, stickers, product shots):

tai tool image_generate --prompt "A cute fox mascot" --background transparent --output_format png --output fox.png

WebP output with quality control:

tai tool image_generate --prompt "A landscape painting" --output_format webp --quality high --output painting.webp
Parameter Type Required Description
prompt string yes Text description of the image to generate
output string yes Output file path for the generated image
provider string no Provider connector ID (use image_providers to list). Auto-selects if omitted
dimensions string no Image dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024
model string no Model name to use. Overrides the provider's default model
background string no transparent, opaque, or auto. Use transparent for PNG/WebP with no background
output_format string no png, jpeg, or webp. Default: png
output_compression integer no Compression level 0-100 for jpeg/webp. Higher = better quality. Default: 100
quality string no low, medium, high, or auto. Higher takes longer. Default: auto
extra JSON no Provider-specific parameters as a JSON object (e.g. --extra '{"moderation":"low"}')

If output is omitted, the image is saved to a default path in the working directory.

image_edit

Edit or transform an existing image based on a text prompt (image-to-image). Use for style transfer, background replacement, adding/removing elements, or any modification that requires a reference image.

Basic usage:

tai tool image_edit --image_path /path/to/photo.png --prompt "Change the background to a beach scene" --output edited.png

With URL image:

tai tool image_edit --image_path https://example.com/photo.jpg --prompt "Make it look like a watercolor painting" --output watercolor.png

With specific provider and model:

tai tool image_edit --image_path /path/to/original.png --prompt "Remove the person in the foreground" --provider llm.my-openai --model gpt-image-1 --dimensions 1024x1024 --output result.png

With mask (edit only the masked region):

tai tool image_edit --image_path /path/to/photo
Câu hỏi thường gặp

Có thể đọc những loại ảnh nào?

Các file PNG, JPEG, GIF và WebP, từ file trên máy hoặc liên kết web.

Nó có thu nhỏ ảnh của tôi không?

Có. Ảnh được thu nhỏ nhưng giữ nguyên tỷ lệ trước khi gửi đi phân tích.

Tôi có thể hỏi một câu cụ thể về ảnh không?

Có. Bạn có thể đưa ra một gợi ý để tập trung phân tích.

Chi tiết

Mô tả gốc của tác giả

Image expert. ALWAYS invoke this skill when you need to read, analyze, describe, or generate images. Use for screenshots, photos, charts, diagrams, AI-generated images, or any visual content.

repo: YaoApp/yao

Độ phổ biến

Sao GitHub
8.3k
Vị trí xếp hạng
#12475
Giấy phép
—
Cập nhật
19/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự