each::sense is in private beta.
Eachlabs | AI Workflows for app builders
flux-trained

FLUX

FLUX PuLID: FLUX-dev based Pure and Lightning ID Customization via Contrastive Alignment

Official Partner

Avg Run Time: 41.000s

Model Slug: flux-trained

Playground

Input

Enter a URL or choose a file from your computer.

Advanced Controls

Output

Example Result

Preview and download your result.

flux-trainedflux-trainedflux-trainedflux-trained
The total cost depends on how long the model runs. It costs $0.001540 per second. Based on an average runtime of 41 seconds, each run costs about $0.0631. With a $1 budget, you can run the model around 15 times.

API & SDK

Create a Prediction

Send a POST request to create a new prediction. This will return a prediction ID that you'll use to check the result. The request should include your model inputs and API key.

Get Prediction Result

Poll the prediction endpoint with the prediction ID until the result is ready. The API uses long-polling, so you'll need to repeatedly check until you receive a success status.

Readme

Table of Contents
Overview
Technical Specifications
Key Considerations
Tips & Tricks
Capabilities
What Can I Use It For?
Things to Be Aware Of
Limitations

Overview

PuLID-FLUX is a tuning-free ID customization solution designed for the FLUX.1-dev text-to-image model. It enables the seamless integration of specific identities, such as faces, into generated images without altering the core functionalities of the base model. This approach maintains high identity fidelity while allowing extensive customization through text prompts.

Technical Specifications

PuLID-FLUX is a highly efficient and flexible model enhancement that integrates seamlessly with the FLUX.1-dev text-to-image generator. It specializes in adding identity-specific details to generated images, making it ideal for applications where facial accuracy and identity preservation are key.

Input Requirements

Minimum Input Size: 256x256 pixels

Maximum Input Size: 1024x1024 pixels

Optimal Input Size: 512x512 pixels (best for quality and speed).

Ensure your input images fall within these dimensions to achieve high-quality results.


 Output Details

Default Resolution: 512x512 pixels.

Key Considerations

Image customization with identity preservation

Integrated with FLUX.1-dev text-to-image model


High identity similarity maintenance


Background, lighting, and style consistency


Advanced editing options

Tips & Tricks

Adjusting Identity Insertion Timestep: Modifying this parameter can balance between identity fidelity and image editability.

Image Resolution: Providing input images within the recommended size range (256x256 to 1024x1024 pixels) ensures optimal performance.

Experimentation: Varying prompts and settings can yield diverse and creative outputs; users are encouraged to experiment to achieve desired results.

Capabilities

Identity Customization: Seamless integration of specific identities into generated images.

Attribute Modification: Ability to alter attributes such as age, expression, and hairstyle through text prompts.

High-Quality Output: Generation of images with high resolution and fidelity.

What Can I Use It For?

Avatar Creation: Design personalized avatars for social media, gaming, or virtual environments.

Digital Art: Produce artworks featuring specific individuals in various styles and settings.

Prototyping: Visualize character designs for

Things to Be Aware Of

  • Combine Text Prompts with Visual Inputs
    Use creative and descriptive text prompts alongside input images to generate dynamic and unique outputs. For example:
    • "A futuristic version of [input identity] in a cyberpunk city"
    • "A hand-drawn sketch of [input identity] in an ancient warrior's armor."
  • Style Transformation
    Explore various artistic styles, such as watercolor, oil painting, or surrealism, while preserving the subject’s identity.
    • Example: "An oil painting of [input identity] in the style of the Renaissance."
  • Attribute Modification
    Modify age, expression, or other features using text prompts.
    • Example: "Make [input identity] look 20 years older with a happy expression."
  • Background Customization
    Experiment with generating outputs in different settings.
    • Example: "[Input identity] standing on a tropical beach during sunset."
  • High-Quality Outputs for Printing
    Use input images with resolutions of 512x512 or higher and set parameters for ultra-high-quality outputs suitable for printing or showcasing.
  • Focus on Lighting and Composition
    Add lighting effects or scene descriptions for dramatic results.
    • Example: "A cinematic portrait of [input identity] under a spotlight in a dark theater."
  • Multiple Identity Blends
    Try blending multiple identities or input features to create hybrid outputs.
    • Example: "A fusion of [input identity 1] and [input identity 2] as a superhero."
  • Creative Use Cases
    Push the boundaries of the model’s capabilities by combining functionality with other AI tools.
    • Example: Use outputs as input for video editing, digital animations, or augmented reality applications.

Experiment with different timestep values


Test various styles and compositions


Try different lighting and background combinations


Compare stylized and realistic outputs


Experiment with portrait and full-body photos


Create images in various artistic styles

Limitations

Identity Fidelity: While improved, the model may still struggle with accurately replicating certain identities, particularly male faces.
Output Format: PNG, WEBP

Pricing

Pricing Detail

This model runs at a cost of $0.001540 per second.

The average execution time is 41 seconds, but this may vary depending on your input data.

The average cost per run is $0.063140

Pricing Type: Execution Time

Cost Per Second means the total cost is calculated based on how long the model runs. Instead of paying a fixed fee per run, you are charged for every second the model is actively processing. This pricing method provides flexibility, especially for models with variable execution times, because you only pay for the actual time used.