


Steps at a glance
- 01 / processPortrait
Use a clear permitted photo
- 02 / processCartoon baseline
Inspect likeness first
- 03 / processOutfit edit
Change clothing separately
- 04 / processFinal check
Inspect boundaries and save
Make the cartoon first, then give it a new outfit. Splitting the job lets you choose a face and style you like before changing the clothes. You can keep a good portrait and fix the sweatshirt without starting again.
Follow our local example from a fictional portrait to a flat-colour cartoon and blue top. Prefer working in a browser? Firefly offers a limited free allowance and paid capacity; a Qwen reference-editing route is also included. Those alternatives follow their documentation.
Our local example: portrait, cartoon, blue top
We passed the fictional portrait into Z-Image Turbo, chose a cartoon version, then used that picture for the clothing edit. Each stage starts from the previous image.



The cartoon has clear ink contours and flat colours. It smooths the curls and makes the face look younger, so decide how much of that change you want before moving on to the outfit.
Repeat the two local stages
- Use the three Comfy-Org Z-Image components:
z_image_turbo_int8_convrot.safetensors,qwen_3_4b_fp8_mixed.safetensorsandae.safetensors, in their diffusion-model, text-encoder and VAE folders. Our local illustration guide explains the basic loader and sampler connections. Use CLIP typelumina2and Model Sampling AuraFlow shift3, samplingflow. - Load the portrait PNG through Load Image. Encode it with VAE Encode, using the same VAE as the decoder, and connect that latent to KSampler in place of an empty latent.
- Use the cartoon prompt below. Our accepted pass used seed
26101219,8steps, CFG1,res_multistep,simple, denoise0.9. Connect positive conditioning through Conditioning Zero Out for the negative branch. Run, decode, save and inspect the cartoon before continuing. - Load that saved cartoon as the next input. Use the clothing mask with Image to Mask, channel
red. Feed it, the cartoon and VAE into VAE Encode (for Inpainting), mask growth6, then the KSampler. - Use the blue-top prompt below with seed
26101220,8steps, CFG1,res_multistep,simple, denoise1. After decoding, use Image Composite Masked with the cartoon as destination, the new decoded image as source and the clothing mask, at0,0with no source resize. Save that composited image. - Inspect the collar, shoulders and hair at full size. Retain all three PNGs and export the graph. Our supplied mask leaves small mustard strips at the shoulder/collar boundary; extend that selection carefully if you need a fully blue neckline. Avoid including the chin or hair in the correction.
A simple 2D vector cartoon illustration of a smiling adult woman with short curly dark brown hair, round amber spectacles, medium brown skin and a mustard yellow crew-neck sweatshirt. Face and shoulders, front view, plain lavender background. Thick smooth black ink contours, large simplified expressive eyes, flat solid colour shapes, clean graphic shapes, minimal cel shading. Entire portrait visibly drawn as an animation character, not realistic skin or a photograph, no text, no watermark.
For the separate clothes pass:
Clean 2D vector cartoon portrait of a woman with round brown glasses and short dark brown hair, wearing a plain royal blue crew-neck sweatshirt. Upper torso, front view, solid lavender background, thick smooth black outlines, flat colour fills, no text, no logos.
Cartoon API graph · Clothing API graph. These record the executed core-node recipes; they are API-format references. Build the same connections in the canvas, or use the reader pack's local helper.
Extract the pack and copy inputs/HowDoesAIDoThat_visuals_20261012 into your ComfyUI/input folder. With ComfyUI running at http://127.0.0.1:8188, open a terminal in the extracted pack and run the style pass:
python run_workflow.py portrait-cartoon-refined.api.json
Inspect the saved result. To edit your newly made cartoon, copy that accepted PNG into the input folder as portrait-cartoon-refined.png, replacing the supplied baseline only when you intend to use your own. Inspect or repaint the clothing mask if the garment has moved. Then run:
python run_workflow.py portrait-blue-top.api.json
The helper prints each output path under ComfyUI/output and saves its history. Review its graph and script first; it uses your local model files. It stops if ComfyUI is already busy. If it times out, inspect the queue before submitting again.


The first attempt kept a painterly look. A stronger drawing description and denoise 0.9, up from 0.72, produced the clearer cartoon. Both changed between these attempts; change one at a time in your own experiments to see what helps. Higher denoise can also change more of the face.
Prepare a usable photo
Use your own photo, or obtain permission from the person and the image's rights holder. Uploading to a hosted service sends it to that provider. Check the provider's terms and privacy controls before using a private photograph.
Choose a well-lit photo of one person, with the face and clothing area visible. A tight headshot gives the editor no trousers or shoes to work from. Use a chest-up or full-body photo when you want to change the outfit.
Keep the original and decide what you want to recognise in the cartoon: face shape, hair, expression and distinctive features. Then check the garment's shape, colour, neckline and edges before keeping the clothing edit.
For the browser entry page described below, Adobe lists JPEG, PNG or WEBP inputs, up to 100 MB, at least 512 × 512 pixels, and an 18-or-over upload condition. These are that page's documented input conditions, not universal requirements for every AI editor.
Free browser route: make the cartoon baseline
Use Adobe's photo-to-cartoon entry page. It documents upload, editing and download with an Adobe account. Free access is limited; available models and allowances may change.
- Sign in and upload the prepared photo. The entry route opens the photo in Edit Image.
- Check the selected model and that your account has access before running it. Keep the original framing for the first attempt.
- Enter a style-only instruction:
Turn this portrait into a clean 2D cartoon with simple ink outlines
and flat colours. Keep the person's recognisable face shape,
hairstyle, expression, pose and existing outfit. Keep the framing.
- Generate and compare the face with the original. Do not accept an appealing drawing if the required likeness cues are missing. Try one simpler style description before adding more requested changes.
- Download an accepted baseline. Keep it separately from the original and record the model and prompt.
Compare the face shape, hair and expression before accepting a result. If the style is too strong, simplify it and start again from the original photo.
Change the clothing without restarting the portrait
Start from the accepted cartoon, not a fresh text-to-image scene. Decide whether you need a generic outfit or an exact product. “Blue crew-neck sweatshirt” describes a category; it cannot specify the exact cut, fastening and branding of a particular garment.
Use a separate request such as:
Change only the visible upper-body clothing to a plain royal-blue
crew-neck sweatshirt, no writing or logos.
Keep the face, hair, pose, background and existing 2D cartoon style.
For a localised correction, use a fill tool to select the garment while excluding the face and hair. Inspect the collar and shoulder boundary carefully. For an exact garment, use an authorised reference only if the chosen editor/model offers suitable reference controls; otherwise treat the result as a visual approximation. A screenshot of an online shop does not automatically grant reuse rights.
The ignored-details guide explains the difference between an editing instruction and the description used by a conventional inpainting model. Use the wording appropriate to the selected tool.
Local alternative: Qwen reference editing
Qwen lets you edit locally once the environment is set up, keeping the photo on your computer. Its model files need substantial storage and memory; read the hardware answer before downloading them.
- Prepare ComfyUI and open the official Qwen 2511 editing template. Use the native tutorial for model download links. The full setup and known filename discrepancy are also explained in the same-character guide.
- Put
qwen_image_edit_2511_bf16.safetensorsinmodels/diffusion_models/,qwen_2.5_vl_7b_fp8_scaled.safetensorsinmodels/text_encoders/, andqwen_image_vae.safetensorsinmodels/vae/beneath ComfyUI. Select these exact files in the subgraph's loader controls; do not leave its different default diffusion filename selected. Keep turbo mode disabled for the non-Lightning baseline. Open the subgraph and set itsLoraLoaderModelOnlynode to Bypass, as described in the same-character setup, rather than leaving an active loader pointing to an undownloaded optional adaptation. - Load the portrait as
image1. Disconnect the supplied second sample image fromimage2and leaveimage3empty. Replace the positive prompt with the cartoon starter above; keep the ordinary sampling branch for the first run. - Run Queue. Save an acceptable PNG from
SaveImage, then load that baseline as the nextimage1and replace the instruction with the sweatshirt request. Generate once and inspect both likeness and outfit before keeping it. - Save the modified JSON, exported PNGs and input/settings log. The local output location is normally
ComfyUI/output, subject to your configuration. The model card identifies Apache 2.0; check additional component licences separately. No weights or executable graph are bundled in our starter pack.
Paid route: when Firefly capacity is useful
Firefly's paid plans are useful when you want more attempts or access to a particular editing model without maintaining local hardware. Compare the current plans and credit rules against the two edits you want to make.
- Confirm that the exact editing feature/model you want is included, then inspect the displayed price, billing term and renewal conditions.
- Run the same style-first, clothes-second sequence with the same input. Record the chosen model rather than comparing unnamed “free” and “paid” outputs.
- Inspect each edit and download the accepted final file. Count unsuccessful attempts when assessing your actual expenditure.
Final checks and fixes
If the person becomes unrecognisable, return to the photo and reduce the style change. If the garment is wrong, correct that region from the accepted cartoon rather than repeating both stages. If the neck or hands are damaged, inspect whether the selection includes them and make the edit smaller. If an account reports no access, inspect the selected model and allowance before assuming the image failed.
Open the final file at its intended display size and look at the face, collar and shoulders. Keep the original, cartoon and clothing edit as separate files. That makes it easy to try another outfit while keeping the cartoon you already like.
Choose a route
| Route | Cost basis | What you need | What changes |
|---|---|---|---|
| Our local Z-Image exampleLocal | No hosted generation fee; hardware, storage and electricity required | Compatible ComfyUI and the exact three Z-Image component files shown in the article | Make a cartoon, choose a version you like, then edit the clothes separately. |
| Firefly free browser allowanceFree | Limited daily generations with eligible models/features | Adobe account, authorised photo, access/allowance check; entry page lists 18+ upload condition | Simple browser route; uploads, model access and quota restrictions apply |
| Qwen 2511 local editingLocal | No hosted generation fee; substantial local storage/memory needed | Supported ComfyUI, BF16 diffusion component, Qwen text encoder and VAE; resources checked before download | Keep the photo and editing workflow local; allow for substantial model storage and memory. |
| Firefly paid capacityPaid | Subscription with model-specific access/credit conditions; inspect selected billing term | Account, chosen paid plan and confirmed editing-model entitlement | More attempts and access to included models for the same style-first, clothes-second process. |
Provider links are ordinary links. Free local software still needs hardware, storage and setup time; inspect current provider terms before paying.
Editable starting prompt
Change the subject and details to suit your picture, then use the settings in the guide.
Stage 1: Turn this portrait into a clean 2D cartoon with simple ink outlines and flat colours. Keep the person's recognisable face shape, hairstyle, expression, pose and existing outfit. Keep the framing. Stage 2, starting from the accepted cartoon: Change only the visible upper-body clothing to a plain royal-blue crew-neck sweatshirt, no writing or logos. Keep the face, hair, pose, background and existing 2D cartoon style.Take the steps with you
Reader starter files
Two local API graphs, portrait input, cartoon input, clothing mask and a submission helper, plus the guide, prompts and checklist. Download final images from the page and obtain model weights separately.
Download the starter packSources and method
Primary references checked 2026-10-11. Follow our fictional portrait through a local cartoon pass and separate blue-top edit. Compare the face, curls and clothing edges at each stage.
- Adobe: photo-to-cartoon route and input conditions
- Adobe: image editing and download
- Adobe: Firefly plans
- Adobe: credits and free access
- Comfy: Qwen Image Edit 2511 native tutorial
- Comfy: inspected 2511 editing template
- Qwen: Image Edit 2511 model card
- Official Z-Image image-to-image and inpainting API documentation
- Matching Comfy-Org Z-Image model components