img2Cartoon Skill
SkillMediaConverts images to cartoon style via the Baidu API. Use when the user mentions cartoonization, image-to-cartoon, cartoon style, or comic style.
Use img2Cartoon Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add img2Cartoon Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the img2Cartoon Skill skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coderwanfeng/python-office in skills/image/img2Cartoon/SKILL.md and read by ahel’s review.
将图片转换为卡通风格
功能描述
通过调用百度 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
img2Cartoon(path='./photo.jpg')
原始函数
office.api.image.img2Cartoon
Signals
- GitHub stars
- 1k
- Forks
- 303
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
img2cartoon- Source
- github.com/coderwanfeng/python-office
github.com/coderwanfeng/python-office