跳到正文
cccskills
免费在 GitHub 公开

yao-image

Describe photos, screenshots, and charts in text, generate images from written prompts, or edit existing images. Supports background replacement, transparent output, and edits limited to an area defined by a mask.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Get a text description of a photo or screenshot
  • Generate a landscape image from a written prompt
  • Replace a photo background or change its style
  • Create a transparent cutout of a product image
  • Edit only a selected area using a mask

包含的文件(1)

  • SKILL.md7.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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
ParameterTypeRequiredDescription
image_pathstringyesImage file path or URL
promptstringnoAnalysis instruction (default: describe in detail)
max_sizeintegernoMax dimension in pixels for longest edge (default: 1080)
providerstringnoVision 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
ParameterTypeRequiredDescription
promptstringyesText description of the image to generate
outputstringyesOutput file path for the generated image
providerstringnoProvider connector ID (use image_providers to list). Auto-selects if omitted
dimensionsstringnoImage dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024
modelstringnoModel name to use. Overrides the provider's default model
backgroundstringnotransparent, opaque, or auto. Use transparent for PNG/WebP with no background
output_formatstringnopng, jpeg, or webp. Default: png
output_compressionintegernoCompression level 0-100 for jpeg/webp. Higher = better quality. Default: 100
qualitystringnolow, medium, high, or auto. Higher takes longer. Default: auto
extraJSONnoProvider-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.png --mask /path/to/mask.png --prompt "Replace with a garden" --output edited.png

Transparent background edit:

tai tool image_edit --image_path /path/to/product.png --prompt "Remove background" --background transparent --output_format png --output cutout.png
ParameterTypeRequiredDescription
image_pathstringyesReference image file path or URL
promptstringyesText description of the desired edit or transformation
outputstringyesOutput file path for the edited image
providerstringnoProvider connector ID (use image_providers with capability=image_editing). Auto-selects if omitted
dimensionsstringnoOutput dimensions (default: 1024x1024). Common: 1024x1024, 1024x1792, 1792x1024
modelstringnoModel name to use. Overrides the provider's default model
maskstringnoMask image path/URL. Transparent areas in the mask define the editable region
backgroundstringnotransparent, opaque, or auto. Use transparent for PNG/WebP with no background
output_formatstringnopng, jpeg, or webp. Default: png
output_compressionintegernoCompression level 0-100 for jpeg/webp. Higher = better quality. Default: 100
qualitystringnolow, medium, high, or auto. Higher takes longer. Default: auto
extraJSONnoProvider-specific parameters as a JSON object (e.g. --extra '{"input_fidelity":"high"}')

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

image_providers

List available image providers filtered by capability.

List image generation providers (default):

tai tool image_providers

List image editing providers:

tai tool image_providers --capability image_editing

List vision (image reading) providers:

tai tool image_providers --capability vision
ParameterTypeRequiredDescription
capabilitystringnoimage_generation (default), image_editing, or vision

Returns a list of providers with their available models and connector IDs that can be passed to image_generate, image_edit, or image_read.

Constraints

Use only the parameters listed above for each tool. The supported first-class parameters are: prompt, output, provider, dimensions, model, background, output_format, output_compression, quality, mask (edit only), and extra.

Do not pass n, style, or response_format — they are unsupported and will be ignored or cause errors.

For provider-specific parameters not covered above (e.g. moderation, input_fidelity), pass them through the extra JSON object.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

yao-agent

免费

Manage agents on a host by listing their capabilities, reading source code, and downloading or deploying agents in the smith namespace. Check available language model connections and their roles without exposing API keys.

中文简介正在准备中。当前显示英语简介。

  • Find available agents and check their capabilities
  • Study existing agent source code
  • Download and deploy smith agents for editing
YaoApp/yao81472026年10月18日 更新

yao-audio

免费

Turn recorded speech into text from supported audio files such as mp3, m4a, and wav. Detect the language automatically or specify it, and list available speech recognition providers and models before choosing one.

中文简介正在准备中。当前显示英语简介。

  • Transcribe a meeting recording
  • Convert an audio recording into text
  • Transcribe audio in a specified language
YaoApp/yao81472026年10月18日 更新

yao-board

免费

Check kanban boards, which organize tasks into columns, and retrieve task lists filtered by status, assistant, or board. Use the returned data to see task counts and review work in progress.

中文简介正在准备中。当前显示英语简介。

  • Reviewing board columns and task counts
  • Finding tasks that are running or waiting
  • Checking tasks assigned to a specific assistant
YaoApp/yao81472026年10月18日 更新

Start and manage long-running background services such as development servers. Check their status and output logs, verify listening ports, retrieve local URLs, and restart services while keeping the same service ID.

中文简介正在准备中。当前显示英语简介。

  • Starting a development server in the background
  • Checking service status and output logs
  • Restarting a service while keeping its ID
YaoApp/yao81472026年10月18日 更新

Classify messages, rate content, or estimate probabilities using defined question types. Receive machine-readable answers, with confidence scores for classification and ratings, and apply the same questions to multiple inputs in a batch.

中文简介正在准备中。当前显示英语简介。

  • Routing customer inquiries to departments
  • Rating support quality against defined criteria
  • Classifying sentiment across multiple messages
YaoApp/yao81472026年10月18日 更新

yao-doc

免费

Look up callable processes in Yao, inspect their arguments and return types, and check whether a process name is valid. Use the documentation to prepare calls and find suggested alternatives for misspelled names.

中文简介正在准备中。当前显示英语简介。

  • Find Yao processes by keyword
  • Check arguments and return types before calling a process
  • Validate process names when a call fails
YaoApp/yao81472026年10月18日 更新

查看 YaoApp 的全部技能

报告此技能的问题