Turn any photo into a custom animated pixel pet for OpenAI Codex Desktop.
Try it live →
Blog
·
Pricing
·
FAQ
Upload a photo of your pet (or any image), and AI generates a ready-to-install animated pixel pet for OpenAI Codex Desktop. The output is a ZIP containing a spritesheet and metadata file -- drop it into your Codex pets folder and your new companion comes to life.
Try it free: codexpetgenerator.com -- no credit card required.
- Upload any photo -- JPG, PNG, WebP, up to 10MB
- AI pixel art generation -- powered by Qwen-Image or OpenAI
- 9 animation states -- idle, walk, run, jump, sleep, die, action, special, interact
- Full spritesheet + JSON -- Codex-compatible format, ready to install
- Animation preview -- see your pet move before downloading
- One-click install commands -- for macOS and Windows
- Free to try -- Starter plan included, Pro for HD and more generations
git clone https://github.com/863683348/codex-pet-generator.git
cd codex-pet-generator
cp .env.example .env.local
npm install
npm run devOpen http://localhost:3000.
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router) |
| Database | Supabase (PostgreSQL + Storage) |
| AI | Qwen-Image (Bailian) / OpenAI Images API |
| Styling | TailwindCSS 3 |
| Image Processing | Sharp |
| Payment | Creem |
| Deployment | Vercel |
- Upload your image to the web app
- AI generation creates a pixel art base character (~90 seconds)
- Review and approve the base design (or regenerate)
- Animation generation creates 9 animation states (~2-5 minutes)
- Download the ZIP package containing spritesheet.webp + pet.json
- Install to
~/.codex/pets/and restart Codex
Read our guides and tutorials:
- How to Install a Custom Pet in Codex
- Turn Your Pet Photo Into a Pixel Art Avatar
- What Is a Pet Spritesheet?
- Why Pixel Art Is Perfect for Codex Desktop Pets
- Animation States Explained
- AI Pipeline: How PetGen Works
- Spritesheet Dimensions Guide
- Installation Troubleshooting
- Best AI Pet Generators Compared
- Import the repo from GitHub at vercel.com
- Add all environment variables from
.env.exampleto Vercel's Settings - Set
NEXT_PUBLIC_SITE_URLto your production domain - Deploy
Note: The animation generation step requires up to 300 seconds. Vercel Hobby plan caps at 60s -- the Pro plan ($20/mo) is needed for full functionality.
MIT
Made with ❤ for the Codex community