Draw Animal Skill Instructions
Overview
This skill generates a simple text description for an animal picture. If no specific animal type is specified, "pig" will be used as the default.
Execution Logic
- 1. Prompt the user to specify the animal they want to generate a picture description for, and provide a few common options (e.g., cat, dog, bird) as recommendations.
- Extract the "animal" parameter from the user's input, then run the Python script with this parameter (using "pig" if no parameter is provided). Optionally, extract the "lang" parameter (default: en) to support English/Chinese descriptions:
```bash
python3 {baseDir}/scripts/draw_animal.py --animal {animal:-pig} --lang {lang:-en}
绘制动物技能说明
概述
该技能用于生成动物图片的简单文字描述。若未指定具体动物类型,默认使用猪。
执行逻辑
- 1. 提示用户指定要生成图片描述的动物,并提供几个常见选项(如猫、狗、鸟)作为推荐。
- 从用户输入中提取animal参数,然后使用该参数运行Python脚本(若未提供参数则使用pig)。可选地,提取lang参数(默认值:en)以支持英文/中文描述:
bash
python3 {baseDir}/scripts/draw_animal.py --animal {animal:-pig} --lang {lang:-en}