lucataco/flux-rplctcpl

Flux LoRA Training Experiment - Training two people in one LoRA with two images

Shiba stable diffusion model

bigcode/tiny_starcoder_py

lmsys/vicuna-13b-v1.3

lmsys/vicuna-7b-v1.3

Salesforce/codegen2-1B

Salesforce/xgen-7b-8k-base

Realistic Vision V3.0 with VAE

Realistic Vision V4.0

CLIP Interrogator (for faster inference)
A working wsrglow model

RiversHaveWings Stable Diffusion Upscaler

Real-ESRGAN with optional face correction and adjustable upscale (for larger images)
Animate Your Personalized Text-to-Image Diffusion Models

Segments an audio recording based on who is speaking (on A100)

Meta's Llama 2 7b Chat - GPTQ

Meta's Llama 2 13b Chat - GPTQ

Stability AI's FreeWilly2

Implementation of Realistic Vision v5.1 with VAE

Practical face restoration algorithm for *old photos* or *AI-generated faces* (for larger images)

SDXL v1.0 - A text-to-image generative AI model that creates beautiful images

Flux LoRA Training Experiment - Training two people in one LoRA with two images
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-04T23:27:30.956955Z", "created_at": "2024-10-04T23:27:20.311000Z", "data_removed": false, "error": null, "id": "0e83tpzmyxrm20cjb7dt0stts8", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 16036\nPrompt: a photo of RPLCTCPL, both woman are posing for the camera\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.96it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.30it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.13it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.06it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.02it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.00it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.98it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.97it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 2.97it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.96it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.96it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.96it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.96it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.95it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.95it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.95it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.95it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.95it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.95it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.95it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.95it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.95it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.95it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.95it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.95it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.95it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.97it/s]", "metrics": { "predict_time": 10.630601192, "total_time": 10.645955 }, "output": [ "https://replicate.delivery/yhqm/nJi2KUDdXm4uDVUBABRm4LVopD6sH3C99aZaJIjgABh4r44E/out-0.png" ], "started_at": "2024-10-04T23:27:20.326354Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/0e83tpzmyxrm20cjb7dt0stts8", "cancel": "https://api.replicate.com/v1/predictions/0e83tpzmyxrm20cjb7dt0stts8/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 16036 Prompt: a photo of RPLCTCPL, both woman are posing for the camera [!] txt2img mode Using dev model Loaded LoRAs in 0.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.96it/s] 7%|▋ | 2/28 [00:00<00:07, 3.30it/s] 11%|█ | 3/28 [00:00<00:07, 3.13it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.06it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.02it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.00it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.98it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.97it/s] 32%|███▏ | 9/28 [00:02<00:06, 2.97it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.96it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.96it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.96it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s] 50%|█████ | 14/28 [00:04<00:04, 2.96it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.95it/s] 61%|██████ | 17/28 [00:05<00:03, 2.95it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.95it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.95it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.95it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.95it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.95it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.95it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.95it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.95it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.95it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.95it/s] 100%|██████████| 28/28 [00:09<00:00, 2.95it/s] 100%|██████████| 28/28 [00:09<00:00, 2.97it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afID3g2wwdq9qdrm00cjb7nrmgb5bwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-04T23:44:57.076965Z", "created_at": "2024-10-04T23:44:46.011000Z", "data_removed": false, "error": null, "id": "3g2wwdq9qdrm00cjb7nrmgb5bw", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 55536\nPrompt: a photo of RPLCTCPL, both woman are posing for the camera\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.88it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.22it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.06it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.91it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.90it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.89it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.89it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.90it/s]", "metrics": { "predict_time": 11.056332163, "total_time": 11.065965 }, "output": [ "https://replicate.delivery/yhqm/FYefqMDQpLgUB0axdfjqJUAfR4qPWG77HeC3NEFRnkjOfv44E/out-0.png" ], "started_at": "2024-10-04T23:44:46.020632Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3g2wwdq9qdrm00cjb7nrmgb5bw", "cancel": "https://api.replicate.com/v1/predictions/3g2wwdq9qdrm00cjb7nrmgb5bw/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 55536 Prompt: a photo of RPLCTCPL, both woman are posing for the camera [!] txt2img mode Using dev model Loaded LoRAs in 0.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.88it/s] 7%|▋ | 2/28 [00:00<00:08, 3.22it/s] 11%|█ | 3/28 [00:00<00:08, 3.06it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.99it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.95it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.93it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.91it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.90it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.90it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s] 50%|█████ | 14/28 [00:04<00:04, 2.89it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s] 61%|██████ | 17/28 [00:05<00:03, 2.89it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.90it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afID5s241jhavxrm00cjb7nrwpt6p0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-04T23:44:12.642701Z", "created_at": "2024-10-04T23:43:57.151000Z", "data_removed": false, "error": null, "id": "5s241jhavxrm00cjb7nrwpt6p0", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 19665\nPrompt: a photo of RPLCTCPL, both woman are posing for the camera\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.74s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.88it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.21it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.05it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.90it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.88it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.88it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.88it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.88it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.88it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.88it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.88it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.88it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.88it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.88it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.88it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.88it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.88it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.88it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.88it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.88it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.88it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.88it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.90it/s]", "metrics": { "predict_time": 11.075349026, "total_time": 15.491701 }, "output": [ "https://replicate.delivery/yhqm/0KIheFr5Sx3tfkFhHmo4PtLDDvEOJWZRUcFVkyeDryVZeLOOB/out-0.png" ], "started_at": "2024-10-04T23:44:01.567352Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5s241jhavxrm00cjb7nrwpt6p0", "cancel": "https://api.replicate.com/v1/predictions/5s241jhavxrm00cjb7nrwpt6p0/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 19665 Prompt: a photo of RPLCTCPL, both woman are posing for the camera [!] txt2img mode Using dev model Loaded LoRAs in 0.74s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.88it/s] 7%|▋ | 2/28 [00:00<00:08, 3.21it/s] 11%|█ | 3/28 [00:00<00:08, 3.05it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.90it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.88it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.88it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.88it/s] 50%|█████ | 14/28 [00:04<00:04, 2.88it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.88it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.88it/s] 61%|██████ | 17/28 [00:05<00:03, 2.88it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.88it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.88it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.88it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.88it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.88it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.88it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.88it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.88it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.88it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.88it/s] 100%|██████████| 28/28 [00:09<00:00, 2.88it/s] 100%|██████████| 28/28 [00:09<00:00, 2.90it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afIDt23ad97krdrm00cjbr297q9kscStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T18:50:46.919564Z", "created_at": "2024-10-05T18:50:35.843000Z", "data_removed": false, "error": null, "id": "t23ad97krdrm00cjbr297q9ksc", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 42000\nPrompt: a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.72s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.94it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.28it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.12it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.05it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.01it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 2.99it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.97it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.96it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 2.96it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.95it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.95it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.95it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.95it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.95it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.95it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.94it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.94it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.94it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.94it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.94it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.94it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.94it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.94it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.94it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.94it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.94it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.94it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.94it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.96it/s]", "metrics": { "predict_time": 11.065292743, "total_time": 11.076564 }, "output": [ "https://replicate.delivery/yhqm/YqWgXeBQB5x2FCBIDbhToae0S6U0kvcGJ9ypZCxegZmMknHnA/out-0.png" ], "started_at": "2024-10-05T18:50:35.854272Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/t23ad97krdrm00cjbr297q9ksc", "cancel": "https://api.replicate.com/v1/predictions/t23ad97krdrm00cjbr297q9ksc/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 42000 Prompt: a photo of RPLCTCPL, both woman are posing for the camera wearing summer dresses [!] txt2img mode Using dev model Loaded LoRAs in 0.72s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.94it/s] 7%|▋ | 2/28 [00:00<00:07, 3.28it/s] 11%|█ | 3/28 [00:00<00:08, 3.12it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.05it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.01it/s] 21%|██▏ | 6/28 [00:01<00:07, 2.99it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.97it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.96it/s] 32%|███▏ | 9/28 [00:02<00:06, 2.96it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.95it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.95it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.95it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.95it/s] 50%|█████ | 14/28 [00:04<00:04, 2.95it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.95it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.94it/s] 61%|██████ | 17/28 [00:05<00:03, 2.94it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.94it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.94it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.94it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.94it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.94it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.94it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.94it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.94it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.94it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.94it/s] 100%|██████████| 28/28 [00:09<00:00, 2.94it/s] 100%|██████████| 28/28 [00:09<00:00, 2.96it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afIDmecwg6xcr1rm20cjbr8v3hzve0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T19:04:40.454782Z", "created_at": "2024-10-05T19:04:29.632000Z", "data_removed": false, "error": null, "id": "mecwg6xcr1rm20cjbr8v3hzve0", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 49686\nPrompt: a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.59s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.96it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.30it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.13it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.06it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.02it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.00it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.98it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.98it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 2.97it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.96it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.96it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.96it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.96it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.96it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.96it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.96it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.96it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.96it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.96it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.96it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.96it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.96it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.96it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.96it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.96it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.96it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.98it/s]", "metrics": { "predict_time": 10.81474307, "total_time": 10.822782 }, "output": [ "https://replicate.delivery/yhqm/BiCgKPQDQ9piF92TBijjpybRp9rG36UQbJ9Gf2e8tEzIfnHnA/out-0.png" ], "started_at": "2024-10-05T19:04:29.640039Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mecwg6xcr1rm20cjbr8v3hzve0", "cancel": "https://api.replicate.com/v1/predictions/mecwg6xcr1rm20cjbr8v3hzve0/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 49686 Prompt: a photo of RPLCTCPL, both woman are posing for the camera wearing swimsuits at the beach [!] txt2img mode Using dev model Loaded LoRAs in 0.59s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.96it/s] 7%|▋ | 2/28 [00:00<00:07, 3.30it/s] 11%|█ | 3/28 [00:00<00:07, 3.13it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.06it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.02it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.00it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.98it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.98it/s] 32%|███▏ | 9/28 [00:02<00:06, 2.97it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.96it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.96it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.96it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s] 50%|█████ | 14/28 [00:04<00:04, 2.96it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.96it/s] 61%|██████ | 17/28 [00:05<00:03, 2.96it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.96it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.96it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.96it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.96it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.96it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.96it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.96it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.96it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.96it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.96it/s] 100%|██████████| 28/28 [00:09<00:00, 2.96it/s] 100%|██████████| 28/28 [00:09<00:00, 2.98it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afIDq9jpe5gxfxrm60cjbr9bd4j8frStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are posing for the camera riding horses
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera riding horses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are posing for the camera riding horses", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera riding horses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera riding horses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T19:05:11.502606Z", "created_at": "2024-10-05T19:04:58.495000Z", "data_removed": false, "error": null, "id": "q9jpe5gxfxrm60cjbr9bd4j8fr", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are posing for the camera riding horses", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 40660\nPrompt: a photo of RPLCTCPL, both woman are posing for the camera riding horses\n[!] txt2img mode\nUsing dev model\nfree=7399350444032\nDownloading weights\n2024-10-05T19:04:58Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpc0fwps6a/weights url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar\n2024-10-05T19:05:00Z | INFO | [ Complete ] dest=/tmp/tmpc0fwps6a/weights size=\"172 MB\" total_elapsed=2.166s url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar\nDownloaded weights in 2.19s\nLoaded LoRAs in 2.95s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.95it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.29it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.12it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.06it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.02it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.00it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.98it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.97it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 2.97it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.96it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.96it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.96it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.96it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.96it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.95it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.95it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.95it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.95it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.95it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.95it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.95it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.95it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.95it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.95it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.95it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.95it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.97it/s]", "metrics": { "predict_time": 12.999455949, "total_time": 13.007606 }, "output": [ "https://replicate.delivery/yhqm/eYAJe7PREZgLBEokkQGpFznzRuuBpoPfeVF7ZaqYwQsdef84E/out-0.png" ], "started_at": "2024-10-05T19:04:58.503150Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q9jpe5gxfxrm60cjbr9bd4j8fr", "cancel": "https://api.replicate.com/v1/predictions/q9jpe5gxfxrm60cjbr9bd4j8fr/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 40660 Prompt: a photo of RPLCTCPL, both woman are posing for the camera riding horses [!] txt2img mode Using dev model free=7399350444032 Downloading weights 2024-10-05T19:04:58Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpc0fwps6a/weights url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar 2024-10-05T19:05:00Z | INFO | [ Complete ] dest=/tmp/tmpc0fwps6a/weights size="172 MB" total_elapsed=2.166s url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar Downloaded weights in 2.19s Loaded LoRAs in 2.95s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.95it/s] 7%|▋ | 2/28 [00:00<00:07, 3.29it/s] 11%|█ | 3/28 [00:00<00:08, 3.12it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.06it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.02it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.00it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.98it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.97it/s] 32%|███▏ | 9/28 [00:02<00:06, 2.97it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.96it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.96it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.96it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s] 50%|█████ | 14/28 [00:04<00:04, 2.96it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.96it/s] 61%|██████ | 17/28 [00:05<00:03, 2.95it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.95it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.95it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.95it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.95it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.95it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.95it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.95it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.95it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.95it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.95it/s] 100%|██████████| 28/28 [00:09<00:00, 2.95it/s] 100%|██████████| 28/28 [00:09<00:00, 2.97it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afID5yq21w2bqdrm60cjbra938516cStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a photo of RPLCTCPL, both woman are horseback riding and posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:2
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are horseback riding and posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a photo of RPLCTCPL, both woman are horseback riding and posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:2", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are horseback riding and posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are horseback riding and posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T19:07:32.008584Z", "created_at": "2024-10-05T19:07:21.403000Z", "data_removed": false, "error": null, "id": "5yq21w2bqdrm60cjbra938516c", "input": { "model": "dev", "prompt": "a photo of RPLCTCPL, both woman are horseback riding and posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:2", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 42889\nPrompt: a photo of RPLCTCPL, both woman are horseback riding and posing for the camera\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.59s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.96it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.30it/s]\n 11%|█ | 3/28 [00:00<00:07, 3.14it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.07it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 3.03it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 3.01it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.99it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.98it/s]\n 32%|███▏ | 9/28 [00:02<00:06, 2.98it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.97it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.97it/s]\n 43%|████▎ | 12/28 [00:03<00:05, 2.97it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.96it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.96it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.96it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.96it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.96it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.96it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.96it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.96it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.96it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.96it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.96it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.96it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.96it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.96it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.98it/s]", "metrics": { "predict_time": 10.59755449, "total_time": 10.605584 }, "output": [ "https://replicate.delivery/yhqm/1mvaZ9wOde2zdyX0whT3c1Hlc1WfVe2HhX5DjHWO2t6oDoHnA/out-0.png" ], "started_at": "2024-10-05T19:07:21.411030Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5yq21w2bqdrm60cjbra938516c", "cancel": "https://api.replicate.com/v1/predictions/5yq21w2bqdrm60cjbra938516c/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 42889 Prompt: a photo of RPLCTCPL, both woman are horseback riding and posing for the camera [!] txt2img mode Using dev model Loaded LoRAs in 0.59s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.96it/s] 7%|▋ | 2/28 [00:00<00:07, 3.30it/s] 11%|█ | 3/28 [00:00<00:07, 3.14it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.07it/s] 18%|█▊ | 5/28 [00:01<00:07, 3.03it/s] 21%|██▏ | 6/28 [00:01<00:07, 3.01it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.99it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.98it/s] 32%|███▏ | 9/28 [00:02<00:06, 2.98it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.97it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.97it/s] 43%|████▎ | 12/28 [00:03<00:05, 2.97it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.96it/s] 50%|█████ | 14/28 [00:04<00:04, 2.96it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.96it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.96it/s] 61%|██████ | 17/28 [00:05<00:03, 2.96it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.96it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.96it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.96it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.96it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.96it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.96it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.96it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.96it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.96it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.96it/s] 100%|██████████| 28/28 [00:09<00:00, 2.96it/s] 100%|██████████| 28/28 [00:09<00:00, 2.98it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afID56gpphjdexrm00cjbreajmv144StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T19:16:18.734035Z", "created_at": "2024-10-05T19:16:06.135000Z", "data_removed": false, "error": null, "id": "56gpphjdexrm00cjbreajmv144", "input": { "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 29740\nPrompt: a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera\n[!] txt2img mode\nUsing dev model\nfree=7131475365888\nDownloading weights\n2024-10-05T19:16:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpz6w4zer7/weights url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar\n2024-10-05T19:16:07Z | INFO | [ Complete ] dest=/tmp/tmpz6w4zer7/weights size=\"172 MB\" total_elapsed=1.735s url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar\nDownloaded weights in 1.76s\nLoaded LoRAs in 2.35s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.87it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.21it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.05it/s]\n 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s]\n 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.89it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.89it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.89it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.90it/s]", "metrics": { "predict_time": 12.591475174, "total_time": 12.599035 }, "output": [ "https://replicate.delivery/yhqm/uFrw6wNkERZOE9Rr5fPxn8j0cloAP2Gln8lzfQq1Y4hCK0jTA/out-0.png" ], "started_at": "2024-10-05T19:16:06.142560Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/56gpphjdexrm00cjbreajmv144", "cancel": "https://api.replicate.com/v1/predictions/56gpphjdexrm00cjbreajmv144/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 29740 Prompt: a TIME magazine featuring RPLCTCPL, both women are on the cover posing for the camera [!] txt2img mode Using dev model free=7131475365888 Downloading weights 2024-10-05T19:16:06Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpz6w4zer7/weights url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar 2024-10-05T19:16:07Z | INFO | [ Complete ] dest=/tmp/tmpz6w4zer7/weights size="172 MB" total_elapsed=1.735s url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar Downloaded weights in 1.76s Loaded LoRAs in 2.35s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.87it/s] 7%|▋ | 2/28 [00:00<00:08, 3.21it/s] 11%|█ | 3/28 [00:00<00:08, 3.05it/s] 14%|█▍ | 4/28 [00:01<00:08, 2.98it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.94it/s] 21%|██▏ | 6/28 [00:02<00:07, 2.92it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.91it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.90it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.89it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.89it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.89it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.89it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.89it/s] 50%|█████ | 14/28 [00:04<00:04, 2.89it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.89it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.89it/s] 61%|██████ | 17/28 [00:05<00:03, 2.89it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.89it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.89it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.89it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.89it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.89it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.89it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.89it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.89it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.89it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.89it/s] 100%|██████████| 28/28 [00:09<00:00, 2.90it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afIDnd4dhqj46srm00cjbrj93rw1brStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:4
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:4", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T19:25:00.102414Z", "created_at": "2024-10-05T19:24:48.054000Z", "data_removed": false, "error": null, "id": "nd4dhqj46srm00cjbrj93rw1br", "input": { "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 31273\nPrompt: a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera\n[!] txt2img mode\nUsing dev model\nfree=7517105713152\nDownloading weights\n2024-10-05T19:24:48Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmphahf0ac_/weights url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar\n2024-10-05T19:24:49Z | INFO | [ Complete ] dest=/tmp/tmphahf0ac_/weights size=\"172 MB\" total_elapsed=1.094s url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar\nDownloaded weights in 1.12s\nLoaded LoRAs in 1.85s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.91it/s]\n 7%|▋ | 2/28 [00:00<00:08, 3.25it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.09it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.02it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.93it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.92it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.92it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.92it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.92it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.91it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.93it/s]", "metrics": { "predict_time": 12.040839591, "total_time": 12.048414 }, "output": [ "https://replicate.delivery/yhqm/J5ve0IklJTR6EabvKfVrR9SbpWDW8tXhL6GAvayINDEMS0jTA/out-0.png" ], "started_at": "2024-10-05T19:24:48.061574Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/nd4dhqj46srm00cjbrj93rw1br", "cancel": "https://api.replicate.com/v1/predictions/nd4dhqj46srm00cjbrj93rw1br/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 31273 Prompt: a TIME magazine featuring RPLCTCPL on the cover, both women are posing for the camera [!] txt2img mode Using dev model free=7517105713152 Downloading weights 2024-10-05T19:24:48Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmphahf0ac_/weights url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar 2024-10-05T19:24:49Z | INFO | [ Complete ] dest=/tmp/tmphahf0ac_/weights size="172 MB" total_elapsed=1.094s url=https://replicate.delivery/yhqm/fKPBdDQJNby2RyOOqJlkJbxxJ4NtRKrFiwFnAio6tT20FxxJA/trained_model.tar Downloaded weights in 1.12s Loaded LoRAs in 1.85s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.91it/s] 7%|▋ | 2/28 [00:00<00:08, 3.25it/s] 11%|█ | 3/28 [00:00<00:08, 3.09it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.02it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s] 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.93it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s] 50%|█████ | 14/28 [00:04<00:04, 2.92it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.92it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.92it/s] 61%|██████ | 17/28 [00:05<00:03, 2.92it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.91it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.91it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.91it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.91it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.91it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.91it/s] 100%|██████████| 28/28 [00:09<00:00, 2.93it/s]
Prediction
lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7afIDe0h708saj1rm40cjbrk8prxejrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 3:4
- output_format
- png
- guidance_scale
- 2.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", { input: { model: "dev", prompt: "a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera", lora_scale: 1, num_outputs: 1, aspect_ratio: "3:4", output_format: "png", guidance_scale: 2.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", input={ "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/flux-rplctcpl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/flux-rplctcpl:9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af", "input": { "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-05T19:27:06.075973Z", "created_at": "2024-10-05T19:26:52.560000Z", "data_removed": false, "error": null, "id": "e0h708saj1rm40cjbrk8prxejr", "input": { "model": "dev", "prompt": "a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "3:4", "output_format": "png", "guidance_scale": 2.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 49628\nPrompt: a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.58s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:09, 2.92it/s]\n 7%|▋ | 2/28 [00:00<00:07, 3.25it/s]\n 11%|█ | 3/28 [00:00<00:08, 3.09it/s]\n 14%|█▍ | 4/28 [00:01<00:07, 3.02it/s]\n 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s]\n 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s]\n 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s]\n 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s]\n 32%|███▏ | 9/28 [00:03<00:06, 2.93it/s]\n 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s]\n 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s]\n 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s]\n 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s]\n 50%|█████ | 14/28 [00:04<00:04, 2.92it/s]\n 54%|█████▎ | 15/28 [00:05<00:04, 2.92it/s]\n 57%|█████▋ | 16/28 [00:05<00:04, 2.92it/s]\n 61%|██████ | 17/28 [00:05<00:03, 2.91it/s]\n 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s]\n 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s]\n 71%|███████▏ | 20/28 [00:06<00:02, 2.92it/s]\n 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s]\n 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s]\n 82%|████████▏ | 23/28 [00:07<00:01, 2.92it/s]\n 86%|████████▌ | 24/28 [00:08<00:01, 2.92it/s]\n 89%|████████▉ | 25/28 [00:08<00:01, 2.92it/s]\n 93%|█████████▎| 26/28 [00:08<00:00, 2.92it/s]\n 96%|█████████▋| 27/28 [00:09<00:00, 2.92it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.92it/s]\n100%|██████████| 28/28 [00:09<00:00, 2.93it/s]", "metrics": { "predict_time": 10.784958554, "total_time": 13.515973 }, "output": [ "https://replicate.delivery/yhqm/CIbXAeeMbCgOFE3iG1mCnOelGwW5rH49WMXyyPzxmVBVooHnA/out-0.png" ], "started_at": "2024-10-05T19:26:55.291015Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/e0h708saj1rm40cjbrk8prxejr", "cancel": "https://api.replicate.com/v1/predictions/e0h708saj1rm40cjbrk8prxejr/cancel" }, "version": "9169187d9a2b08874f038d1cbb5004865c3702ada59640e64b3847ac11afb7af" }
Generated inUsing seed: 49628 Prompt: a TIME magazine featuring RPLCTCPL on the cover, both women are in dresses posing for the camera [!] txt2img mode Using dev model Loaded LoRAs in 0.58s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:09, 2.92it/s] 7%|▋ | 2/28 [00:00<00:07, 3.25it/s] 11%|█ | 3/28 [00:00<00:08, 3.09it/s] 14%|█▍ | 4/28 [00:01<00:07, 3.02it/s] 18%|█▊ | 5/28 [00:01<00:07, 2.98it/s] 21%|██▏ | 6/28 [00:01<00:07, 2.96it/s] 25%|██▌ | 7/28 [00:02<00:07, 2.94it/s] 29%|██▊ | 8/28 [00:02<00:06, 2.93it/s] 32%|███▏ | 9/28 [00:03<00:06, 2.93it/s] 36%|███▌ | 10/28 [00:03<00:06, 2.92it/s] 39%|███▉ | 11/28 [00:03<00:05, 2.92it/s] 43%|████▎ | 12/28 [00:04<00:05, 2.92it/s] 46%|████▋ | 13/28 [00:04<00:05, 2.92it/s] 50%|█████ | 14/28 [00:04<00:04, 2.92it/s] 54%|█████▎ | 15/28 [00:05<00:04, 2.92it/s] 57%|█████▋ | 16/28 [00:05<00:04, 2.92it/s] 61%|██████ | 17/28 [00:05<00:03, 2.91it/s] 64%|██████▍ | 18/28 [00:06<00:03, 2.91it/s] 68%|██████▊ | 19/28 [00:06<00:03, 2.91it/s] 71%|███████▏ | 20/28 [00:06<00:02, 2.92it/s] 75%|███████▌ | 21/28 [00:07<00:02, 2.91it/s] 79%|███████▊ | 22/28 [00:07<00:02, 2.91it/s] 82%|████████▏ | 23/28 [00:07<00:01, 2.92it/s] 86%|████████▌ | 24/28 [00:08<00:01, 2.92it/s] 89%|████████▉ | 25/28 [00:08<00:01, 2.92it/s] 93%|█████████▎| 26/28 [00:08<00:00, 2.92it/s] 96%|█████████▋| 27/28 [00:09<00:00, 2.92it/s] 100%|██████████| 28/28 [00:09<00:00, 2.92it/s] 100%|██████████| 28/28 [00:09<00:00, 2.93it/s]
Want to make some of these yourself?
Run this model