img2Cartoon Skill

SkillMedia

Converts 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

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

img2Cartoon SkillStart free

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'
)

参数说明

参数类型必填默认值说明
pathstr是-图片文件的路径
client_apistr否''客户端的 API 密钥
client_secretstr否''客户端的密钥

返回值

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