Cartoonify V2
Convert photos into cartoon art style using AI. Transform any image into a stylized cartoon illustration with control over aspect ratio, output format, and safety settings.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "cartoonify-v2",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/portrait-photo.jpg",
"aspect_ratio": "1:1",
"output_format": "png"
}
}'
Parameters
| Parameter |
Type |
Default |
Description |
| aspect_ratio |
string |
1:1 |
Output aspect ratio. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 4:5, 5:4, 21:9, 9:21, 2:1, 1:2 |
| input_image |
string |
- |
Image to convert to cartoon art style. Must be jpeg, png, or webp |
| output_format |
string |
png |
Output format. Options: jpg, png |
| safety_tolerance |
integer |
2 |
Safety tolerance, 0 is most strict and 2 is most permissive |
| seed |
integer |
- |
Random seed for reproducible generation |
Examples
Cartoonify a portrait:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "cartoonify-v2",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/headshot.jpg",
"aspect_ratio": "3:4",
"output_format": "png",
"seed": 12345
}
}'
Cartoonify a landscape photo:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "cartoonify-v2",
"version": "0.0.1",
"input": {
"input_image": "https://example.com/mountain-view.jpg",
"aspect_ratio": "16:9",
"output_format": "jpg"
}
}'
Related Models
Documentation
1---2name: cartoonify-v23description: Cartoonify V2. Convert photos to cartoon art style using AI. Transform any image into a high-quality cartoon illustration. Triggers: cartoonify, cartoon filter, photo to cartoon, cartoon style, image to cartoon, cartoon effect, ai cartoon4---56# Cartoonify V278Convert photos into cartoon art style using AI. Transform any image into a stylized cartoon illustration with control over aspect ratio, output format, and safety settings.910## Quick Start1112> Requires an each::labs API key. Get one at [eachlabs.ai](https://eachlabs.ai).1314```bash15curl -X POST https://api.eachlabs.ai/v1/prediction \16 -H "Content-Type: application/json" \17 -H "X-API-Key: $EACHLABS_API_KEY" \18 -d '{19 "model": "cartoonify-v2",20 "version": "0.0.1",21 "input": {22 "input_image": "https://example.com/portrait-photo.jpg",23 "aspect_ratio": "1:1",24 "output_format": "png"25 }26 }'27```2829## Parameters3031| Parameter | Type | Default | Description |32|-----------|------|---------|-------------|33| aspect_ratio | string | 1:1 | Output aspect ratio. Options: `1:1`, `16:9`, `9:16`, `4:3`, `3:4`, `3:2`, `2:3`, `4:5`, `5:4`, `21:9`, `9:21`, `2:1`, `1:2` |34| input_image | string | - | Image to convert to cartoon art style. Must be jpeg, png, or webp |35| output_format | string | png | Output format. Options: `jpg`, `png` |36| safety_tolerance | integer | 2 | Safety tolerance, 0 is most strict and 2 is most permissive |37| seed | integer | - | Random seed for reproducible generation |3839## Examples4041**Cartoonify a portrait:**42```bash43curl -X POST https://api.eachlabs.ai/v1/prediction \44 -H "Content-Type: application/json" \45 -H "X-API-Key: $EACHLABS_API_KEY" \46 -d '{47 "model": "cartoonify-v2",48 "version": "0.0.1",49 "input": {50 "input_image": "https://example.com/headshot.jpg",51 "aspect_ratio": "3:4",52 "output_format": "png",53 "seed": 1234554 }55 }'56```5758**Cartoonify a landscape photo:**59```bash60curl -X POST https://api.eachlabs.ai/v1/prediction \61 -H "Content-Type: application/json" \62 -H "X-API-Key: $EACHLABS_API_KEY" \63 -d '{64 "model": "cartoonify-v2",65 "version": "0.0.1",66 "input": {67 "input_image": "https://example.com/mountain-view.jpg",68 "aspect_ratio": "16:9",69 "output_format": "jpg"70 }71 }'72```7374## Related Models7576- [Hairstyle Changer](../change-haircut/) - Change hairstyles in photos77- [Pika v1.5 | Effects](../pika-v-1-5-effects/) - Apply creative effects to images78- [Flux.1 Kontext | Pro](../flux-kontext-pro/) - AI image editing7980## Documentation8182- [each::labs Docs](https://docs.eachlabs.ai)83- [API Reference](https://docs.eachlabs.ai/api/overview)