Skip to content

FREE Generate consistent AI headshots from multiple reference photos using OpenAI’s GPT-image-1 API

Notifications You must be signed in to change notification settings

GitHub30/gpt-image.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt-image.dev

AI Headshot generator by OpenAI gpt-image-1. :contentReference[oaicite:0]{index=0}

Overview

A simple web interface to generate AI headshots using OpenAI’s GPT image-1 API. Source code: GitHub repo

Features

  • API Key Configuration
    Enter your OpenAI API key via the “Set api key” details.
  • Multiple Reference Photos
    Upload one or more headshot images of the same person to guide the generation.
  • Custom Text Prompt
    Provide a textual description to direct the style and content of the headshot.
  • In-Browser Preview
    View the generated image immediately below the form.

Usage

  1. Host index.html on your web server.
  2. (Optional) Set API Key
    Click Set api key and paste your OpenAI key.
  3. Upload Photos
    Click Reference headshot photos and select your image files.
  4. Enter Prompt
    Type your description into the text area.
  5. Generate
    Click Generate to send a POST request.
  6. View Result
    The generated PNG will appear in the image preview.

Sample Prompts

About

FREE Generate consistent AI headshots from multiple reference photos using OpenAI’s GPT-image-1 API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages