AI-Generated College Student Portraits

This page generates an AI portrait of a college student with random attributes like skin tone, ethnicity, and gender. The system uses a control image (control.jpg) to ensure consistent style, lighting, and framing. The portrait is created with Stability AI's ControlNet API, guided by a detailed text prompt describing the subject.
After the portrait is generated, the image is processed with Stability AI's Background Removal API to make the background fully transparent. The final result is displayed on the page.

API References:
ControlNet API
Background Removal API
faceSwap API

Generated Portrait

Upload Image

200x200 Placeholder Uploaded Image

Swapped Portrait (takes about 30 seconds):