🖼️
AI EngineeringPython

Image to Cartoon

by CoderWanFeng

Image to Cartoon is an AI Engineering skill for Claude Code, published by CoderWanFeng in python-office.

1.3K stars299 forkson CoderWanFeng/python-officeAdded 2026/07/20Repository updated 2026/08/04
officepippypipythonweixin
Install in seconds
Install Image to Cartoon
Copy Image to Cartoon into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/image/img2Cartoon ~/.claude/skills/img2Cartoon

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CoderWanFeng/python-office.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/image/img2Cartoon/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/img2Cartoon
Collection
One of 50 skills cataloged from this repository
Category
AI Engineering3670 skills

What Image to Cartoon does

Converts images to cartoon style using Baidu's image processing API. Use when you need to cartoonize photos or generate cartoon versions of pictures.

Image to Cartoon is cataloged under AI Engineering on DirSkills. Image to Cartoon comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

img2Cartoon Skill

将图片转换为卡通风格

功能描述

通过调用百度 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

Frequently asked about Image to Cartoon

  • What else does CoderWanFeng publish alongside Image to Cartoon?

    Image to Cartoon is one of 50 skills that DirSkills catalogs from CoderWanFeng/python-office, the repository it ships in. Its siblings there include Add Image Watermark, Add Line by Type and Add Text Watermark. Each one is a separate skill with its own page in this directory, installs the same way Image to Cartoon does, and is maintained by CoderWanFeng in that same repository. The rest of the collection is listed on the CoderWanFeng/python-office page.

  • How does Image to Cartoon compare to other AI Engineering skills?

    Image to Cartoon ranks #1091 by stars among the 3670 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Image to Cartoon against them. Open each page to compare what they document and how they install.