Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Pose Changer

한국어 README

Upload a person's photo, drag the skeleton joints to change their pose, and let AI generate a brand-new image in that pose.
Generated by Claude code.

Features

  • Automatic Pose Detection — Extracts 17 body keypoints from the uploaded image
  • Interactive Skeleton Editor — Drag joints on the canvas to adjust the pose freely
  • Auto Prompt Extraction — Gemini AI analyzes the image and suggests a generation prompt
  • AI Image Generation — Sends the original image + edited skeleton + text prompt to Gemini to generate a new pose image
  • Download Result — Save the generated image instantly

Result

AI Pose Changer result

Tech Stack

Layer Technology
Frontend HTML / CSS / Vanilla JS
Backend Python FastAPI
Pose Detection MediaPipe Pose Landmarker
AI (prompt + image generation) Google Gemini API (gemini-3.1-flash-image-preview)

Installation

Prerequisites

1. Clone the repository

git clone https://github.com/wonwizard/AIPoseChanger.git
cd ai-pose-changer

2. Install dependencies

cd backend
pip install -r requirements.txt

3. Set up environment variables

cp env.example .env

Open .env and fill in your API key:

GOOGLE_API_KEY=your_api_key_here

Running the App

cd backend
uvicorn main:app --reload

Then open your browser at:

http://localhost:8000

How to use

  1. Upload Image — Drag & drop or click to upload a photo of a person
  2. Pose Editor — Drag the skeleton joint points to the desired pose
  3. Prompt — Use the auto-generated prompt or edit it manually
  4. Generate New Image — Click the button, then view and download the result

First run: The MediaPipe pose landmarker model (~25 MB) is downloaded automatically.

About

AI Image Pose Changer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages