At Inithouse, a studio shipping a growing portfolio of products in parallel, we build tools that do one thing and do it fast. Pet Imagination generates AI portraits of pets in 9 art styles. Upload a photo, pick a style, get your portrait. No signup, no waiting around. The whole thing runs under 60 seconds.

This post breaks down how the pipeline works: the prompt skeleton, the style matrix, and the tricks we use to keep latency low.

The pipeline

The flow has four stages:

Upload and preprocessing. The user uploads a pet photo. We validate the image (format, size, aspect ratio), compress it if needed, and extract the key visual features. The preprocessing step also detects whether the subject is a dog, cat, or another animal. This matters because prompts need to reference the animal type explicitly for consistent output.