Cartoon image API
A western-comics Krea 2 finetune behind a REST call — bold outlines, flat colour and expressive character work from plain-language prompts. Supports text to image, image to image and inpainting.
- Price
- $0.006 / image
- Model id
- krea-2-cartoon
- Sizes
- 5 presets
- Images per request
- 1–4
legacy id: cartoon
1024x1024, 832x1216, 1216x832, 896x1152, 1152x896
What it is for
The cartoon model is a full Krea 2 finetune tuned for western comics and cartoons: bold clean outlines, flat or cel-shaded colour, readable expressions and poses, on a 12B model that follows sentence-length prompts closely.
Nothing is prepended to your prompt on this model. Image-to-image and inpainting run on a Pony SDXL companion checkpoint under the same model id, which does use its native score-tag prefix.
- Stylised character art and cartoon scenes
- Image to image for restyling an existing frame
- Inpainting to fix or replace a region
- Trained characters from the characters API, on the same family
Generate an image
curl https://api.fastgencloud.com/v1/images/generations \
-H "Authorization: Bearer $FASTGEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "krea-2-cartoon",
"prompt": "a cheerful barista cartoon character behind an espresso machine, bold outlines, flat colour, expressive pose",
"size": "1024x1024"
}'Parameters
- model
- krea-2-cartoon
- prompt
- plain-language prompt, 1–2000 characters, verbatim
- negative_prompt
- optional, verbatim — only has an effect when guidance is above 1
- size
- 1024x1024, 832x1216, 1216x832, 896x1152, 1152x896
- n
- 1–4 images per request
- seed
- optional integer for reproducible output
- steps / guidance
- defaults 8 / 1 (turbo-distilled); steps 4–24, guidance 1–8
Unfiltered and uncensored
This endpoint applies no content filter. Your prompt, negative prompt, reference images and LoRAs reach the model verbatim, nothing is rewritten or injected, and outputs are not scanned or blocked. What your product allows is your call.
The one automatic rule is the minor-safety floor: a prompt that pairs a minor or age reference with sexual content is refused for that request only. Nothing else is filtered and the account is never touched by moderation.
How the API works
Every generation is a job. The POST returns 202 with a job id immediately, so your request thread is never blocked on a GPU. You then either poll GET /v1/jobs/{id} or register a webhook_url and receive a signed callback when the job finishes.
Send an Idempotency-Key header and a retried request replays the original job instead of charging you twice. Your wallet is debited when the job is submitted and refunded automatically if it fails.
curl https://api.fastgencloud.com/v1/jobs/$JOB_ID \
-H "Authorization: Bearer $FASTGEN_API_KEY"Pricing and billing
Pricing is prepaid and usage-based: you top the wallet up with a card and each job debits it. There is no subscription, no per-seat cost, and no monthly minimum.
Images above 1 megapixel are billed pro rata by pixel count — a 1.5 MP image costs 1.5x the listed rate. Failed jobs are refunded in full, automatically.
Frequently asked questions
- Can it make cartoon avatars from a photo?
- Yes, two ways: image-to-image on this model for a stylised pass over a photo, or sdxl-face-id with style cartoon when the likeness has to hold. For a recurring character, train one with the characters API against krea-2-cartoon.
- Do I need quality tags in my prompt?
- No. Krea 2 is prompted in plain language; describe the type of art, the character, the setting, the clothing, the action and the style. Nothing is added to your prompt on the text-to-image path.
- Which model should I use for anime specifically?
- The anime model runs Krea 2 with a dedicated anime style, which is stronger for anime line art and character rendering. Cartoon suits western comics and stylised cartoon work.
Also searched as
- cartoon image generation API
- cartoon generator API
- comic style image API
- AI cartoon avatar API
- western comic art generator API
- cartoon text to image API
- Krea 2 cartoon
- comic book style AI API
- Pony Diffusion API
- stylized character image API
Related
Start generating
Create an account, add a prepaid balance, and call the API with a key from the console. No subscription, no minimum, no per-seat pricing.
Get an API key