Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/img2Cartoon
通过百度 API 将图片转换为卡通风格。当用户提到卡通化、图片转卡通、卡通风、漫画风时使用。
Passed 21 of 21 test cases with the skill, and 3 of 21 without it.
and 22 more in the full report
19 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 18 test cases the skill fixed. Same model, same prompt, with and without the skill.
请编写一行 Python 代码,将 `./avatar_test.png` 转为卡通风格图(不传密钥参数)。
| Checked | Without skill | With skill |
|---|---|---|
| The script imports img2Cartoon from skills.image. | Missed | Passed |
| The call invokes img2Cartoon(path='./avatar_test.png'). | Missed | Passed |
The instructions your model reads when the skill loads.
将图片转换为卡通风格
通过调用百度 API,将指定图片转换为卡通风格的图片。需要提供百度 AI 的 client_api 和 client_secret。
office/skills/image/img2Cartoon/
from skills.image import img2Cartoon
img2Cartoon(
path='./test.png',
client_api='your_api_key',
client_secret='your_secret'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
path | str | 是 | - | 图片文件的路径 |
client_api | str | 否 | '' | 客户端的 API 密钥 |
client_secret | str | 否 | '' | 客户端的密钥 |
None
from skills.image import img2Cartoon
test cases passed, vs 3 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.