krunalmangroliya/lbm 🔢🖼️ → 🖼️

▶️ 155 runs 📅 Jun 2025 ⚙️ Cog 0.15.5
image-compositing image-re-lighting image-to-image

About

LBM: Latent Bridge Matching for Fast Image-to-Image Translation

Example Output

Output

Example output

Performance Metrics

4.82s Prediction Time
4.84s Total Time
All Input Parameters
{
  "background_image": "https://replicate.delivery/pbxt/NCuEa6Tx2Uc6vIcClTbSNfeB3p5lVGZp5ZNHQ5fV5x2iPjg2/13.jpg",
  "foreground_image": "https://replicate.delivery/pbxt/NCuEZrNGOclDuAkBe5VqWivdagrJGiiRhIhFswo6n2OantfA/Final-model.jpg",
  "num_sampling_steps": 4
}
Input Parameters
output_width Type: integerRange: 1 - ∞
Optional. Desired width for the final output image. If not provided, defaults to original foreground width.
output_height Type: integerRange: 1 - ∞
Optional. Desired height for the final output image. If not provided, defaults to original foreground height.
background_image (required) Type: string
Background image for lighting context.
foreground_image (required) Type: string
Foreground image with the object.
num_sampling_steps Type: integerDefault: 1Range: 1 - 4
Number of inference steps for LBM model.
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Encoding source image...
Running LBM sampling with 4 steps...
Output image saved to: /tmp/tmpds2e1ahu/output.png
Version Details
Version ID
6adea1fb1c7e7475556ea7ed051722fd4be8c42f1962dac531eb7f2967ebc2ba
Version Created
June 19, 2025
Run on Replicate →