PetGen

Turn Your Dog into a Codex Pet: The Full Photo Guide

2026-08-15

Turn your dog into a codex pet in a few minutes. A complete dog pixel pet workflow: which photos work best, how to shoot one, and how to install your dog codex companion in OpenAI Codex.

Why dogs are harder than cats

A cat has a clean outline and clear pattern borders. The generator has an easy job. Dogs fight back: long coats end in a fringe of fur, short coats smear color blocks into each other. A dark-haired dog with a dark nose and dark eyes is the worst case, everything blends into silhouette.

  • Long coats (Golden, Border Collie, Corgi): the fur is the feature and the problem, fuzzy edges, but pixelation turns that fuzz into charm
  • Short coats (Labrador, Frenchie): big color blocks, need even light to stay separate
  • Dark coats: stand the dog in front of a light wall, or the background sinks into the dog
  • Dark nose plus dark eyes: skip frontal flash, it throws shadows that eat the face

Front view or side view?

Front wins. A pixel sprite lives or dies by the head, and a front photo places the eyes and nose where the generator can read them. Your dog pixel pet gets the most expressive idle animation from a straight-on shot. Side views work for long-muzzled breeds, with one catch: the far ear tends to vanish, and the head can look lopsided.

My own Corgi is a front-view case. Two big ears and a round face read instantly in a pixel grid.

How to shoot a photo that converts well

No pro gear. A phone in daylight does it. Three things matter: One more trick: hold a treat and wait for the look-up. Prick-eared dogs like GSDs and Huskies are complete only with ears up. Drop-eared dogs like Goldens and Cockers carry their ears along the sides of the head when they look up, which beats the top-down look by a mile.

  • Light: window light or a cloudy sky, spread evenly, no shadows over the eyes
  • Angle: camera level with the dog's eyes, top-down shots flatten the face and crush the muzzle
  • Background: a plain wall or grass, and the darker the coat, the lighter the background needs to be

What you get after conversion

Installed, your dog codex companion lives in the corner of the desktop. A slow tail-wag idle, a walk when you switch windows, a reaction when you click. The animation states follow the photo's vibe: a napping dog ships with more sleep loops, a high-energy dog gets more walk and jump. In daily use it's good for a glance when a build drags and a screenshot for the group chat. My coworkers keep asking how I did it.

The steps that work

macOS: `mkdir -p ~/.codex/pets && cp -r ~/Downloads/my-dog-pet ~/.codex/pets/` Windows (PowerShell): `Copy-Item -Recurse "$env:USERPROFILE\Downloads\my-dog-pet" "$env:USERPROFILE\.codex\pets\"` No pixel dog on the desktop? The folder name almost always doesn't match pet.json. That's the bug.

  • Open codexpetgenerator.com and upload a front-facing photo
  • The generator finds the subject and sketches a base sprite. Zoom in before downloading, check the face and the coat colors
  • Not right? Try a brighter photo. Usually one retake fixes it
  • Approve and download the package: spritesheet.webp + pet.json
  • Drop the folder into Codex's pets directory and restart the app

Frequently asked questions

Does the dog need a front-facing photo?

Not required, but front shots give the best idle animation and the clearest facial features. Side views work for long-muzzled breeds, though the far ear may disappear.

Will a dark-coated dog convert?

Yes. Stand it in front of a light background and skip harsh frontal light. That keeps the outline readable.

What does my dog codex companion do?

Idles with a tail wag, walks between windows, reacts to clicks. Animation states follow the photo's mood, a sleepy dog gets more sleep loops, an active one more movement.

How is this different from the cat version?

Same pipeline, but dogs have fluffier coats, messier colors, and harder-to-read dark features, so the photo needs better light and background. Done well, it has more fur-charm than a cat sprite ever could.

Related posts

Try it yourself

Ready to turn your own photo into a pixel-art pet? Upload it on PetGen and get your spritesheet + pet.json in minutes.

Generate your pet now →