Generative AI Publication

Generative AI Publication

Share this post

Generative AI Publication
Generative AI Publication
Train Flux AI Image Model To Generate Unlimited Photos of Yourself
Copy link
Facebook
Email
Notes
More

Train Flux AI Image Model To Generate Unlimited Photos of Yourself

This is a step-by-step guide in fine-tuning Flux, the most advanced open-weight image model from Black Forest Labs, using your own photos.

Jim Clyde Monge's avatar
Jim Clyde Monge
Sep 08, 2024
∙ Paid
8

Share this post

Generative AI Publication
Generative AI Publication
Train Flux AI Image Model To Generate Unlimited Photos of Yourself
Copy link
Facebook
Email
Notes
More
1
1
Share

Today, you can fine-tune the most capable open-weight image model, Flux, from Black Forest Labs to generate unlimited AI images of yourself. The entire process is done in your browser, and you don’t need powerful hardware or write a single line of code.

The fine-tuning capability of Flux on human faces is something that wasn’t easily achievable with previous generations of open-source image models like Stable Diffusion.

If you’re not familiar with Flux image models yet, check out this article.

Trust me, the process of fine-tuning Flux is simple, and the results are astonishing. I just fed the AI a bunch of photos of myself from my phone’s gallery, and 20 minutes later, I found myself generating imaginative images of myself in a variety of interesting situations.

In this article, I’ll walk you through the step-by-step process of fine-tuning Flux to generate your personalized AI images. It’s going to be fun, simple, and yes—mind-blowing.

Before you start, you’ll need:

  • At least 10 clear images of yourself

  • A Replicate account

  • A payment method to train the AI model (it’ll only cost $1–2)

If you have these, let’s get started.

Generative AI Publication is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

Training Flux on Replicate

Step 1: Prepare your training images

The first step in fine-tuning Flux is preparing your training images. Gather at least 10 images of your own face. 

  • These images should show your face clearly. Aim for different angles and lighting conditions to give Flux a good variety to learn from.

  • They can be in WebP, JPG, and PNG formats

  • Use HD images, preferably at least 1024x1024 or higher resolution if possible

  • File names and aspect ratio don’t matter

Training Flux on Replicate Step 1: Prepare your training images Here’s the step-by-step guide on how to fine-tune a Flux image model with your own images on Replicate.
Image by Jim Clyde Monge

Remember, the more diverse your images in terms of angles and lighting, the better your results will be. However, keep in mind that using more images will result in longer training times. 

Once you’ve gathered your images, place them in a zip file (without a password). You can name the zip file whatever you like.

Step 2: Pick a Unique Trigger Word

When prompting the fine-tuned image model, it’s important to have a unique “trigger word” as an identifier in your text prompt when generating images. 

For example, you shouldn’t use generic words like “man” or “dog.” Instead, use your name, like “Jimclyde,” as a trigger word.

Here are some of the things to consider when choosing a trigger word:

  • It should be something unique, like MY_UNIQ_TRGGR. Think “vanity license plates”, but without any length limits.

  • It should not be an existing word in any language, like dog or cyberpunk.

  • It should not be TOK, because it will clash with other fine-tunes if you ever want to combine them.

  • Case doesn’t matter, but capital letters can help visually distinguish the trigger word from the rest of the text prompt.

Hold on to your trigger word for now — you’ll use it once you train the model.

Step 3: Train the Flux Image Model

Now comes the important part: training the model. Go to your Replicate account, and under the “Explore” tab, find the “flux-dev-lora-trainer.”

Training the Flux image model Here comes the most important step: training the Flux image model. Head over to your Replicate account and under the Explore tab, look for the the flux-dev-lora-trainer.
Image by Jim Clyde Monge

In the “Create training” section, set the model destination. You can either use an existing model or create a new one.

Replicate flux training. In the “Create training” section, set the model destination. You can either use an existing model or create a new one.

In this example, let’s create a new model I’ll call “jimclyde-flux” to train with my own photos. Make sure to set the visibility to ‘private’ to avoid access by other users.

Replicate flux image training. In the “Create training” section, set the model destination. You can either use an existing model or create a new one.
Image by Jim Clyde Monge

In the input images section, upload the zip file containing the training images.

Replicate flux image training. Make sure to set the visibility to ‘private’ to avoid getting accessed by other users. In the input images section, upload the zip file containing the training images.
Image by Jim Clyde Monge

Next, set the trigger keyword you selected in step 2. 

Replicate flux image training. set the trigger keyword
Image by Jim Clyde Monge

Leave the rest of the fields at default and finally click on the “Create training” button.

Replicate flux image training. Leave the rest of the fields at default and finally click on the “Create training” button.
Image by Jim Clyde Monge

Remember, the training won’t start if you don’t add a payment method.

Replicate flux image training. the training will not start if you don’t add a payment method.

The training process takes around 20 minutes to complete, but it depends on the queue length. To monitor the progress, go to the “Trainings” page and select the model under training.

Replicate flux image training. The training process takes around 20 minutes to complete, but it depends on the length of the queue. To monitor the progress, you can go to the Trainings page and select the model under training.
Image by Jim Clyde Monge

Once the training is done, you’ll see a success status and a message like this:

Replicate flux image training screenshot
Image by Jim Clyde Monge

The training was successful! You can now run and learn more about your trained model in our web playground or start running predictions via the Replicate API.

You are now ready to do a test run of the fine-tuned model. Click on the “Run trained model” to get started. When adding your prompt, make sure to include your trigger_word in the prompt to activate your newly trained concept in the resulting images.

Generating Images

Now you can start generating custom images. Let’s try an example:

Keep reading with a 7-day free trial

Subscribe to Generative AI Publication to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Jim Clyde Monge
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More