zhangp365/flux_loras 🔢🖼️📝❓✓ → 🖼️

▶️ 104 runs 📅 May 2025 ⚙️ Cog 0.14.4
controlnet image-style-transfer image-to-image

About

Example Output

Prompt:

"Ghibli Studio style, Charming hand-drawn anime-style illustration"

Output

Example output

Performance Metrics

29.25s Prediction Time
194.22s Total Time
All Input Parameters
{
  "seed": 42,
  "width": 0,
  "height": 0,
  "prompt": "Ghibli Studio style, Charming hand-drawn anime-style illustration",
  "zero_steps": 1,
  "spatial_img": "https://replicate.delivery/pbxt/MyLRTYOlEZDnYTq6QTLWQOkNhEo6HJf22SvMtiNPtRndo390/boy.png",
  "control_type": "Ghibli",
  "output_format": "png",
  "use_zero_init": true,
  "control_weight": 1.2,
  "output_quality": 90,
  "extra_spatial_img": "https://replicate.delivery/pbxt/MyLRSx6uGs94l0zLLAvnIenJwPbj2iFC95oKLbQce4XfAYQd/ComfyUI_00070_.jpg",
  "extra_control_type": "pose",
  "extra_control_weight": 0.65
}
Input Parameters
seed Type: integerDefault: 42
Set a random seed for generation (-1 for random).
image (required) Type: string
reference image.
width Type: integerDefault: 0Range: 0 - 1600
The width will decide by the first spatial image. no need to set it.
height Type: integerDefault: 0Range: 0 - 1600
The height will decide by the first spatial image. no need to set it.
prompt Type: stringDefault:
Enter a text prompt to guide image generation.
zero_steps Type: integerDefault: 1Range: 0 - ∞
Zero init steps.
extra_image Type: string
extra reference image.
control_type Default: Ghibli
Control type (now only support two types, pose and mine_craft).
output_format Default: png
Choose the format of the output images.
use_zero_init Type: booleanDefault: true
Use CFG zero star.
control_weight Type: numberDefault: 1
Control weights (must correspond to the control type).
output_quality Type: integerDefault: 90Range: 1 - 100
Set the quality of the output image for jpg and webp (1-100).
extra_control_type
Extra control type (now only support two types, pose and mine_craft).
extra_control_weight Type: numberDefault: 1
Extra control weights (must correspond to the extra control type).
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Loading .safetensors checkpoint from ./checkpoints/models/models/Ghibli.safetensors
Loading .safetensors checkpoint from ./checkpoints/models/models/pose.safetensors
2025-05-09 08:08:50,533 - INFO - 219 - Multi LoRA applied successfully.
2025-05-09 08:08:50,533 - INFO - 231 - Using seed: 42
2025-05-09 08:08:50,591 - INFO - 247 - Loaded spatial image from: /tmp/tmp5l5tmrj4boy.png
2025-05-09 08:08:50,594 - INFO - 247 - Loaded spatial image from: /tmp/tmpd1yp3vstComfyUI_00070_.jpg
2025-05-09 08:08:50,594 - INFO - 266 - Generating image with use_zero_init=True...
<PIL.Image.Image image mode=RGB size=1024x1536 at 0x7BF00CAB5010>
<PIL.Image.Image image mode=RGB size=512x768 at 0x7BEFE69FC890>
  0%|          | 0/25 [00:00<?, ?it/s]
  4%|▍         | 1/25 [00:01<00:25,  1.07s/it]
  8%|▊         | 2/25 [00:01<00:20,  1.12it/s]
 12%|█▏        | 3/25 [00:02<00:21,  1.05it/s]
 16%|█▌        | 4/25 [00:03<00:20,  1.01it/s]
 20%|██        | 5/25 [00:04<00:20,  1.00s/it]
 24%|██▍       | 6/25 [00:05<00:19,  1.01s/it]
 28%|██▊       | 7/25 [00:07<00:18,  1.02s/it]
 32%|███▏      | 8/25 [00:08<00:17,  1.03s/it]
 36%|███▌      | 9/25 [00:09<00:16,  1.03s/it]
 40%|████      | 10/25 [00:10<00:15,  1.03s/it]
 44%|████▍     | 11/25 [00:11<00:14,  1.03s/it]
 48%|████▊     | 12/25 [00:12<00:13,  1.03s/it]
 52%|█████▏    | 13/25 [00:13<00:12,  1.03s/it]
 56%|█████▌    | 14/25 [00:14<00:11,  1.04s/it]
 60%|██████    | 15/25 [00:15<00:10,  1.04s/it]
 64%|██████▍   | 16/25 [00:16<00:09,  1.04s/it]
 68%|██████▊   | 17/25 [00:17<00:08,  1.04s/it]
 72%|███████▏  | 18/25 [00:18<00:07,  1.04s/it]
 76%|███████▌  | 19/25 [00:19<00:06,  1.04s/it]
 80%|████████  | 20/25 [00:20<00:05,  1.04s/it]
 84%|████████▍ | 21/25 [00:21<00:04,  1.04s/it]
 88%|████████▊ | 22/25 [00:22<00:03,  1.04s/it]
 92%|█████████▏| 23/25 [00:23<00:02,  1.04s/it]
 96%|█████████▌| 24/25 [00:24<00:01,  1.04s/it]
100%|██████████| 25/25 [00:25<00:00,  1.04s/it]
100%|██████████| 25/25 [00:25<00:00,  1.03s/it]
2025-05-09 08:09:18,407 - INFO - 283 - Generated 'zeroinit' image in 27.81s
2025-05-09 08:09:18,988 - INFO - 330 - Saved: output_seed42.png
2025-05-09 08:09:18,988 - INFO - 331 - Saved output in 0.57s
2025-05-09 08:09:18,988 - INFO - 340 - Total prediction time: 28.89 seconds
Version Details
Version ID
5f2171037f55d162ec5501c12ed560b5a46409ff667ba9438fbc82a325241749
Version Created
May 12, 2025
Run on Replicate →