advoworks
/
lokidog
- Public
- 302 runs
-
H100
Prediction
advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbbID79v0x3zj3drm40chqjf99shrm0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", { input: { model: "dev", prompt: "A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", input={ "model": "dev", "prompt": "A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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-09-04T10:40:37.290007Z", "created_at": "2024-09-04T10:40:18.971000Z", "data_removed": false, "error": null, "id": "79v0x3zj3drm40chqjf99shrm0", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 11902\nPrompt: A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise\ntxt2img mode\nUsing dev model\nLoaded LoRAs in 7.83s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.47it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.94it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.71it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.62it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.57it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.54it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.52it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.51it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.50it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.49it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.49it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.48it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.49it/s]\n 50%|█████ | 14/28 [00:03<00:04, 3.48it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.48it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.48it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.48it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.48it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.48it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.48it/s]\n 75%|███████▌ | 21/28 [00:05<00:02, 3.48it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.48it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.48it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.47it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.48it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.48it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.48it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.48it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.50it/s]", "metrics": { "predict_time": 16.346598375, "total_time": 18.319007 }, "output": [ "https://replicate.delivery/yhqm/QsauXoi2sq7ECZamf8PzdGt5q0SFaXc1Tf8bk0dx8l7lseymA/out-0.webp" ], "started_at": "2024-09-04T10:40:20.943408Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/79v0x3zj3drm40chqjf99shrm0", "cancel": "https://api.replicate.com/v1/predictions/79v0x3zj3drm40chqjf99shrm0/cancel" }, "version": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb" }
Generated inUsing seed: 11902 Prompt: A photo of LOKITOK dog, standing on a precarious rock looking at the sunrise txt2img mode Using dev model Loaded LoRAs in 7.83s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.47it/s] 7%|▋ | 2/28 [00:00<00:06, 3.94it/s] 11%|█ | 3/28 [00:00<00:06, 3.71it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.62it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.57it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.54it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.52it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.51it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.50it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.49it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.49it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.48it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.49it/s] 50%|█████ | 14/28 [00:03<00:04, 3.48it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.48it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.48it/s] 61%|██████ | 17/28 [00:04<00:03, 3.48it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.48it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.48it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.48it/s] 75%|███████▌ | 21/28 [00:05<00:02, 3.48it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.48it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.48it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.47it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.48it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.48it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.48it/s] 100%|██████████| 28/28 [00:07<00:00, 3.48it/s] 100%|██████████| 28/28 [00:07<00:00, 3.50it/s]
Prediction
advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbbIDqng8z2n781rm20chqjfr3jacqrStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LOKITOK dog, running through the forest chasing a squirrel
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LOKITOK dog, running through the forest chasing a squirrel", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", { input: { model: "dev", prompt: "A photo of LOKITOK dog, running through the forest chasing a squirrel", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", input={ "model": "dev", "prompt": "A photo of LOKITOK dog, running through the forest chasing a squirrel", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, running through the forest chasing a squirrel", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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-09-04T10:41:26.504918Z", "created_at": "2024-09-04T10:41:05.344000Z", "data_removed": false, "error": null, "id": "qng8z2n781rm20chqjfr3jacqr", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, running through the forest chasing a squirrel", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 60604\nPrompt: A photo of LOKITOK dog, running through the forest chasing a squirrel\ntxt2img mode\nUsing dev model\nfree=9471935156224\nDownloading weights\n2024-09-04T10:41:05Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxhbphktx/weights url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar\n2024-09-04T10:41:08Z | INFO | [ Complete ] dest=/tmp/tmpxhbphktx/weights size=\"172 MB\" total_elapsed=3.374s url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar\nDownloaded weights in 3.41s\nLoaded LoRAs in 12.65s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.49it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.96it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.73it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.64it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.58it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.55it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.54it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.52it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.51it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.50it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.50it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.50it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.50it/s]\n 50%|█████ | 14/28 [00:03<00:04, 3.50it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.50it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.50it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.50it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.49it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.49it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.49it/s]\n 75%|███████▌ | 21/28 [00:05<00:02, 3.49it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.49it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.49it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.49it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.49it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.49it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.49it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.49it/s]\n100%|██████████| 28/28 [00:07<00:00, 3.52it/s]", "metrics": { "predict_time": 21.155285841, "total_time": 21.160918 }, "output": [ "https://replicate.delivery/yhqm/30KNOuRNRYqXINgooFDEMQJkCX2EFgV9jT0YMckP5woVrX2E/out-0.webp" ], "started_at": "2024-09-04T10:41:05.349632Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qng8z2n781rm20chqjfr3jacqr", "cancel": "https://api.replicate.com/v1/predictions/qng8z2n781rm20chqjfr3jacqr/cancel" }, "version": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb" }
Generated inUsing seed: 60604 Prompt: A photo of LOKITOK dog, running through the forest chasing a squirrel txt2img mode Using dev model free=9471935156224 Downloading weights 2024-09-04T10:41:05Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmpxhbphktx/weights url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar 2024-09-04T10:41:08Z | INFO | [ Complete ] dest=/tmp/tmpxhbphktx/weights size="172 MB" total_elapsed=3.374s url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar Downloaded weights in 3.41s Loaded LoRAs in 12.65s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.49it/s] 7%|▋ | 2/28 [00:00<00:06, 3.96it/s] 11%|█ | 3/28 [00:00<00:06, 3.73it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.64it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.58it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.55it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.54it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.52it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.51it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.50it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.50it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.50it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.50it/s] 50%|█████ | 14/28 [00:03<00:04, 3.50it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.50it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.50it/s] 61%|██████ | 17/28 [00:04<00:03, 3.50it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.49it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.49it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.49it/s] 75%|███████▌ | 21/28 [00:05<00:02, 3.49it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.49it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.49it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.49it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.49it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.49it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.49it/s] 100%|██████████| 28/28 [00:07<00:00, 3.49it/s] 100%|██████████| 28/28 [00:07<00:00, 3.52it/s]
Prediction
advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbbIDtbphg7ybm5rm60chqjjafwjdqwStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", { input: { model: "dev", prompt: "A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", input={ "model": "dev", "prompt": "A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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-09-04T10:47:45.460935Z", "created_at": "2024-09-04T10:46:42.337000Z", "data_removed": false, "error": null, "id": "tbphg7ybm5rm60chqjjafwjdqw", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 1161\nPrompt: A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area.\ntxt2img mode\nUsing dev model\nfree=9084841689088\nDownloading weights\n2024-09-04T10:47:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp68vt77yr/weights url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar\n2024-09-04T10:47:28Z | INFO | [ Complete ] dest=/tmp/tmp68vt77yr/weights size=\"172 MB\" total_elapsed=1.550s url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar\nDownloaded weights in 1.58s\nLoaded LoRAs in 9.70s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.46it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.92it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.70it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.61it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.55it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.52it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.50it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.49it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.48it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.48it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.47it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.47it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.47it/s]\n 50%|█████ | 14/28 [00:03<00:04, 3.47it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.47it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.46it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.46it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.46it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.46it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.46it/s]\n 75%|███████▌ | 21/28 [00:06<00:02, 3.46it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.46it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.47it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.47it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.46it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.46it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.46it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.46it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.49it/s]", "metrics": { "predict_time": 18.297044026000002, "total_time": 63.123935 }, "output": [ "https://replicate.delivery/yhqm/hu1Kdt7txIrTN1IniYks0kwd4lSGeLG2x2mFA3Bw3TyoZvsJA/out-0.webp" ], "started_at": "2024-09-04T10:47:27.163891Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/tbphg7ybm5rm60chqjjafwjdqw", "cancel": "https://api.replicate.com/v1/predictions/tbphg7ybm5rm60chqjjafwjdqw/cancel" }, "version": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb" }
Generated inUsing seed: 1161 Prompt: A photo of LOKITOK dog, silently watching guard over a basket of good at a picnic area. txt2img mode Using dev model free=9084841689088 Downloading weights 2024-09-04T10:47:27Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp68vt77yr/weights url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar 2024-09-04T10:47:28Z | INFO | [ Complete ] dest=/tmp/tmp68vt77yr/weights size="172 MB" total_elapsed=1.550s url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar Downloaded weights in 1.58s Loaded LoRAs in 9.70s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.46it/s] 7%|▋ | 2/28 [00:00<00:06, 3.92it/s] 11%|█ | 3/28 [00:00<00:06, 3.70it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.61it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.55it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.52it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.50it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.49it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.48it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.48it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.47it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.47it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.47it/s] 50%|█████ | 14/28 [00:03<00:04, 3.47it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.47it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.46it/s] 61%|██████ | 17/28 [00:04<00:03, 3.46it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.46it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.46it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.46it/s] 75%|███████▌ | 21/28 [00:06<00:02, 3.46it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.46it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.47it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.47it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.46it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.46it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.46it/s] 100%|██████████| 28/28 [00:08<00:00, 3.46it/s] 100%|██████████| 28/28 [00:08<00:00, 3.49it/s]
Prediction
advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbbID3vd6kvqtgdrm40chqjmt5wrqy0StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky
- lora_scale
- 1
- num_outputs
- 1
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 0.8
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", { input: { model: "dev", prompt: "A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky", lora_scale: 1, num_outputs: 1, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 0.8, 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", input={ "model": "dev", "prompt": "A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "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-09-04T10:53:09.578018Z", "created_at": "2024-09-04T10:52:22.019000Z", "data_removed": false, "error": null, "id": "3vd6kvqtgdrm40chqjmt5wrqy0", "input": { "model": "dev", "prompt": "A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky", "lora_scale": 1, "num_outputs": 1, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 0.8, "num_inference_steps": 28 }, "logs": "Using seed: 31322\nPrompt: A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky\ntxt2img mode\nUsing dev model\nfree=9618831110144\nDownloading weights\n2024-09-04T10:52:50Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_4lfdcns/weights url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar\n2024-09-04T10:52:51Z | INFO | [ Complete ] dest=/tmp/tmp_4lfdcns/weights size=\"172 MB\" total_elapsed=1.589s url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar\nDownloaded weights in 1.62s\nLoaded LoRAs in 10.90s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:00<00:07, 3.49it/s]\n 7%|▋ | 2/28 [00:00<00:06, 3.93it/s]\n 11%|█ | 3/28 [00:00<00:06, 3.71it/s]\n 14%|█▍ | 4/28 [00:01<00:06, 3.61it/s]\n 18%|█▊ | 5/28 [00:01<00:06, 3.55it/s]\n 21%|██▏ | 6/28 [00:01<00:06, 3.53it/s]\n 25%|██▌ | 7/28 [00:01<00:05, 3.51it/s]\n 29%|██▊ | 8/28 [00:02<00:05, 3.49it/s]\n 32%|███▏ | 9/28 [00:02<00:05, 3.49it/s]\n 36%|███▌ | 10/28 [00:02<00:05, 3.48it/s]\n 39%|███▉ | 11/28 [00:03<00:04, 3.47it/s]\n 43%|████▎ | 12/28 [00:03<00:04, 3.47it/s]\n 46%|████▋ | 13/28 [00:03<00:04, 3.47it/s]\n 50%|█████ | 14/28 [00:03<00:04, 3.47it/s]\n 54%|█████▎ | 15/28 [00:04<00:03, 3.47it/s]\n 57%|█████▋ | 16/28 [00:04<00:03, 3.47it/s]\n 61%|██████ | 17/28 [00:04<00:03, 3.47it/s]\n 64%|██████▍ | 18/28 [00:05<00:02, 3.48it/s]\n 68%|██████▊ | 19/28 [00:05<00:02, 3.47it/s]\n 71%|███████▏ | 20/28 [00:05<00:02, 3.47it/s]\n 75%|███████▌ | 21/28 [00:05<00:02, 3.47it/s]\n 79%|███████▊ | 22/28 [00:06<00:01, 3.47it/s]\n 82%|████████▏ | 23/28 [00:06<00:01, 3.47it/s]\n 86%|████████▌ | 24/28 [00:06<00:01, 3.47it/s]\n 89%|████████▉ | 25/28 [00:07<00:00, 3.47it/s]\n 93%|█████████▎| 26/28 [00:07<00:00, 3.47it/s]\n 96%|█████████▋| 27/28 [00:07<00:00, 3.47it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.47it/s]\n100%|██████████| 28/28 [00:08<00:00, 3.49it/s]", "metrics": { "predict_time": 19.448140615, "total_time": 47.559018 }, "output": [ "https://replicate.delivery/yhqm/40tLf02n3oXbTqfPGf7bQzQfJCTnVFf52xweJOhdj5ffV4eymA/out-0.webp" ], "started_at": "2024-09-04T10:52:50.129878Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3vd6kvqtgdrm40chqjmt5wrqy0", "cancel": "https://api.replicate.com/v1/predictions/3vd6kvqtgdrm40chqjmt5wrqy0/cancel" }, "version": "7d4aa004199c1ec2be452066ace28cbd92d5b22e07f23b8f89152faadaf01dbb" }
Generated inUsing seed: 31322 Prompt: A photo of LOKITOK dog, wearing a dog superman outfit, flying in the sky txt2img mode Using dev model free=9618831110144 Downloading weights 2024-09-04T10:52:50Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_4lfdcns/weights url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar 2024-09-04T10:52:51Z | INFO | [ Complete ] dest=/tmp/tmp_4lfdcns/weights size="172 MB" total_elapsed=1.589s url=https://replicate.delivery/yhqm/fmiPhFcFLqTmNqDaUrxyMJY3bnME4LMr9deVSwLnKdUcoeymA/trained_model.tar Downloaded weights in 1.62s Loaded LoRAs in 10.90s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:00<00:07, 3.49it/s] 7%|▋ | 2/28 [00:00<00:06, 3.93it/s] 11%|█ | 3/28 [00:00<00:06, 3.71it/s] 14%|█▍ | 4/28 [00:01<00:06, 3.61it/s] 18%|█▊ | 5/28 [00:01<00:06, 3.55it/s] 21%|██▏ | 6/28 [00:01<00:06, 3.53it/s] 25%|██▌ | 7/28 [00:01<00:05, 3.51it/s] 29%|██▊ | 8/28 [00:02<00:05, 3.49it/s] 32%|███▏ | 9/28 [00:02<00:05, 3.49it/s] 36%|███▌ | 10/28 [00:02<00:05, 3.48it/s] 39%|███▉ | 11/28 [00:03<00:04, 3.47it/s] 43%|████▎ | 12/28 [00:03<00:04, 3.47it/s] 46%|████▋ | 13/28 [00:03<00:04, 3.47it/s] 50%|█████ | 14/28 [00:03<00:04, 3.47it/s] 54%|█████▎ | 15/28 [00:04<00:03, 3.47it/s] 57%|█████▋ | 16/28 [00:04<00:03, 3.47it/s] 61%|██████ | 17/28 [00:04<00:03, 3.47it/s] 64%|██████▍ | 18/28 [00:05<00:02, 3.48it/s] 68%|██████▊ | 19/28 [00:05<00:02, 3.47it/s] 71%|███████▏ | 20/28 [00:05<00:02, 3.47it/s] 75%|███████▌ | 21/28 [00:05<00:02, 3.47it/s] 79%|███████▊ | 22/28 [00:06<00:01, 3.47it/s] 82%|████████▏ | 23/28 [00:06<00:01, 3.47it/s] 86%|████████▌ | 24/28 [00:06<00:01, 3.47it/s] 89%|████████▉ | 25/28 [00:07<00:00, 3.47it/s] 93%|█████████▎| 26/28 [00:07<00:00, 3.47it/s] 96%|█████████▋| 27/28 [00:07<00:00, 3.47it/s] 100%|██████████| 28/28 [00:08<00:00, 3.47it/s] 100%|██████████| 28/28 [00:08<00:00, 3.49it/s]
Prediction
advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5aID21h9pmy7m5rm40cjfwwah21n50StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", { input: { model: "dev", prompt: "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", input={ "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", "input": { "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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-12T05:35:27.830267Z", "created_at": "2024-10-12T05:34:40.545000Z", "data_removed": false, "error": null, "id": "21h9pmy7m5rm40cjfwwah21n50", "input": { "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 49165\nPrompt: A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.\n[!] txt2img mode\nUsing dev model\nfree=9451531055104\nDownloading weights\n2024-10-12T05:34:46Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp8jcz_e83/weights url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar\n2024-10-12T05:34:50Z | INFO | [ Complete ] dest=/tmp/tmp8jcz_e83/weights size=\"172 MB\" total_elapsed=3.825s url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar\nDownloaded weights in 3.85s\nLoaded LoRAs in 4.57s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:34, 1.28s/it]\n 7%|▋ | 2/28 [00:02<00:30, 1.16s/it]\n 11%|█ | 3/28 [00:03<00:30, 1.21s/it]\n 14%|█▍ | 4/28 [00:04<00:29, 1.24s/it]\n 18%|█▊ | 5/28 [00:06<00:28, 1.26s/it]\n 21%|██▏ | 6/28 [00:07<00:27, 1.27s/it]\n 25%|██▌ | 7/28 [00:08<00:26, 1.27s/it]\n 29%|██▊ | 8/28 [00:10<00:25, 1.28s/it]\n 32%|███▏ | 9/28 [00:11<00:24, 1.28s/it]\n 36%|███▌ | 10/28 [00:12<00:23, 1.28s/it]\n 39%|███▉ | 11/28 [00:13<00:21, 1.28s/it]\n 43%|████▎ | 12/28 [00:15<00:20, 1.28s/it]\n 46%|████▋ | 13/28 [00:16<00:19, 1.28s/it]\n 50%|█████ | 14/28 [00:17<00:17, 1.28s/it]\n 54%|█████▎ | 15/28 [00:19<00:16, 1.28s/it]\n 57%|█████▋ | 16/28 [00:20<00:15, 1.28s/it]\n 61%|██████ | 17/28 [00:21<00:14, 1.28s/it]\n 64%|██████▍ | 18/28 [00:22<00:12, 1.28s/it]\n 68%|██████▊ | 19/28 [00:24<00:11, 1.28s/it]\n 71%|███████▏ | 20/28 [00:25<00:10, 1.28s/it]\n 75%|███████▌ | 21/28 [00:26<00:08, 1.28s/it]\n 79%|███████▊ | 22/28 [00:28<00:07, 1.28s/it]\n 82%|████████▏ | 23/28 [00:29<00:06, 1.29s/it]\n 86%|████████▌ | 24/28 [00:30<00:05, 1.29s/it]\n 89%|████████▉ | 25/28 [00:31<00:03, 1.29s/it]\n 93%|█████████▎| 26/28 [00:33<00:02, 1.29s/it]\n 96%|█████████▋| 27/28 [00:34<00:01, 1.29s/it]\n100%|██████████| 28/28 [00:35<00:00, 1.29s/it]\n100%|██████████| 28/28 [00:35<00:00, 1.28s/it]", "metrics": { "predict_time": 41.562358163, "total_time": 47.285267 }, "output": [ "https://replicate.delivery/yhqm/KSoFFfrph2VAMivUmWAAoky9zeq4J6CxEWVngE7LRGZfk3LnA/out-0.webp", "https://replicate.delivery/yhqm/6yUc8TlhKroyF5K2LBZb4wvBOHJYnYFqFCeYMbvdUjxP59yJA/out-1.webp", "https://replicate.delivery/yhqm/yAbTLpheQ5RacKs5zk9qO1KSUZ19pgZ9wbNXf9Q44cofk3LnA/out-2.webp", "https://replicate.delivery/yhqm/q13UU8jMvvZFM9OL6oiKL1utNBKoks8cQFiAXbxe410P59yJA/out-3.webp" ], "started_at": "2024-10-12T05:34:46.267909Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/21h9pmy7m5rm40cjfwwah21n50", "cancel": "https://api.replicate.com/v1/predictions/21h9pmy7m5rm40cjfwwah21n50/cancel" }, "version": "cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a" }
Generated inUsing seed: 49165 Prompt: A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment. [!] txt2img mode Using dev model free=9451531055104 Downloading weights 2024-10-12T05:34:46Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp8jcz_e83/weights url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar 2024-10-12T05:34:50Z | INFO | [ Complete ] dest=/tmp/tmp8jcz_e83/weights size="172 MB" total_elapsed=3.825s url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar Downloaded weights in 3.85s Loaded LoRAs in 4.57s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:34, 1.28s/it] 7%|▋ | 2/28 [00:02<00:30, 1.16s/it] 11%|█ | 3/28 [00:03<00:30, 1.21s/it] 14%|█▍ | 4/28 [00:04<00:29, 1.24s/it] 18%|█▊ | 5/28 [00:06<00:28, 1.26s/it] 21%|██▏ | 6/28 [00:07<00:27, 1.27s/it] 25%|██▌ | 7/28 [00:08<00:26, 1.27s/it] 29%|██▊ | 8/28 [00:10<00:25, 1.28s/it] 32%|███▏ | 9/28 [00:11<00:24, 1.28s/it] 36%|███▌ | 10/28 [00:12<00:23, 1.28s/it] 39%|███▉ | 11/28 [00:13<00:21, 1.28s/it] 43%|████▎ | 12/28 [00:15<00:20, 1.28s/it] 46%|████▋ | 13/28 [00:16<00:19, 1.28s/it] 50%|█████ | 14/28 [00:17<00:17, 1.28s/it] 54%|█████▎ | 15/28 [00:19<00:16, 1.28s/it] 57%|█████▋ | 16/28 [00:20<00:15, 1.28s/it] 61%|██████ | 17/28 [00:21<00:14, 1.28s/it] 64%|██████▍ | 18/28 [00:22<00:12, 1.28s/it] 68%|██████▊ | 19/28 [00:24<00:11, 1.28s/it] 71%|███████▏ | 20/28 [00:25<00:10, 1.28s/it] 75%|███████▌ | 21/28 [00:26<00:08, 1.28s/it] 79%|███████▊ | 22/28 [00:28<00:07, 1.28s/it] 82%|████████▏ | 23/28 [00:29<00:06, 1.29s/it] 86%|████████▌ | 24/28 [00:30<00:05, 1.29s/it] 89%|████████▉ | 25/28 [00:31<00:03, 1.29s/it] 93%|█████████▎| 26/28 [00:33<00:02, 1.29s/it] 96%|█████████▋| 27/28 [00:34<00:01, 1.29s/it] 100%|██████████| 28/28 [00:35<00:00, 1.29s/it] 100%|██████████| 28/28 [00:35<00:00, 1.28s/it]
Prediction
advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5aIDrr71xm9p59rm00cjfwxa3zd8xmStatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 50
{ "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", { input: { model: "dev", prompt: "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 50 } } ); // 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", input={ "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", "input": { "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-10-12T05:38:34.737587Z", "created_at": "2024-10-12T05:36:14.378000Z", "data_removed": false, "error": null, "id": "rr71xm9p59rm00cjfwxa3zd8xm", "input": { "model": "dev", "prompt": "A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 50 }, "logs": "Using seed: 14492\nPrompt: A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment.\n[!] txt2img mode\nUsing dev model\nLoaded LoRAs in 0.74s\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:01<01:02, 1.28s/it]\n 4%|▍ | 2/50 [00:02<00:55, 1.15s/it]\n 6%|▌ | 3/50 [00:03<00:56, 1.21s/it]\n 8%|▊ | 4/50 [00:04<00:56, 1.24s/it]\n 10%|█ | 5/50 [00:06<00:56, 1.25s/it]\n 12%|█▏ | 6/50 [00:07<00:55, 1.26s/it]\n 14%|█▍ | 7/50 [00:08<00:54, 1.27s/it]\n 16%|█▌ | 8/50 [00:10<00:53, 1.27s/it]\n 18%|█▊ | 9/50 [00:11<00:52, 1.27s/it]\n 20%|██ | 10/50 [00:12<00:51, 1.28s/it]\n 22%|██▏ | 11/50 [00:13<00:49, 1.28s/it]\n 24%|██▍ | 12/50 [00:15<00:48, 1.28s/it]\n 26%|██▌ | 13/50 [00:16<00:47, 1.28s/it]\n 28%|██▊ | 14/50 [00:17<00:46, 1.28s/it]\n 30%|███ | 15/50 [00:18<00:44, 1.28s/it]\n 32%|███▏ | 16/50 [00:20<00:43, 1.28s/it]\n 34%|███▍ | 17/50 [00:21<00:42, 1.28s/it]\n 36%|███▌ | 18/50 [00:22<00:40, 1.28s/it]\n 38%|███▊ | 19/50 [00:24<00:39, 1.28s/it]\n 40%|████ | 20/50 [00:25<00:38, 1.28s/it]\n 42%|████▏ | 21/50 [00:26<00:37, 1.28s/it]\n 44%|████▍ | 22/50 [00:27<00:35, 1.28s/it]\n 46%|████▌ | 23/50 [00:29<00:34, 1.28s/it]\n 48%|████▊ | 24/50 [00:30<00:33, 1.28s/it]\n 50%|█████ | 25/50 [00:31<00:32, 1.28s/it]\n 52%|█████▏ | 26/50 [00:33<00:30, 1.28s/it]\n 54%|█████▍ | 27/50 [00:34<00:29, 1.28s/it]\n 56%|█████▌ | 28/50 [00:35<00:28, 1.28s/it]\n 58%|█████▊ | 29/50 [00:36<00:26, 1.28s/it]\n 60%|██████ | 30/50 [00:38<00:25, 1.28s/it]\n 62%|██████▏ | 31/50 [00:39<00:24, 1.28s/it]\n 64%|██████▍ | 32/50 [00:40<00:23, 1.28s/it]\n 66%|██████▌ | 33/50 [00:42<00:21, 1.28s/it]\n 68%|██████▊ | 34/50 [00:43<00:20, 1.28s/it]\n 70%|███████ | 35/50 [00:44<00:19, 1.28s/it]\n 72%|███████▏ | 36/50 [00:45<00:17, 1.28s/it]\n 74%|███████▍ | 37/50 [00:47<00:16, 1.28s/it]\n 76%|███████▌ | 38/50 [00:48<00:15, 1.28s/it]\n 78%|███████▊ | 39/50 [00:49<00:14, 1.28s/it]\n 80%|████████ | 40/50 [00:51<00:12, 1.28s/it]\n 82%|████████▏ | 41/50 [00:52<00:11, 1.28s/it]\n 84%|████████▍ | 42/50 [00:53<00:10, 1.28s/it]\n 86%|████████▌ | 43/50 [00:54<00:08, 1.28s/it]\n 88%|████████▊ | 44/50 [00:56<00:07, 1.28s/it]\n 90%|█████████ | 45/50 [00:57<00:06, 1.28s/it]\n 92%|█████████▏| 46/50 [00:58<00:05, 1.28s/it]\n 94%|█████████▍| 47/50 [00:59<00:03, 1.28s/it]\n 96%|█████████▌| 48/50 [01:01<00:02, 1.28s/it]\n 98%|█████████▊| 49/50 [01:02<00:01, 1.28s/it]\n100%|██████████| 50/50 [01:03<00:00, 1.28s/it]\n100%|██████████| 50/50 [01:03<00:00, 1.28s/it]", "metrics": { "predict_time": 65.784122985, "total_time": 140.359587 }, "output": [ "https://replicate.delivery/yhqm/ZjRjYMf5F01wWSQzTMc0R2VZny7fiYYjLuxGlzXwmqRa17lTA/out-0.webp", "https://replicate.delivery/yhqm/bCTnnum9VDq1GJAOkegmgC2oHWz6VJqXG6rRq3oKhrdt69yJA/out-1.webp", "https://replicate.delivery/yhqm/iCiESLPZSnYTOB3D6d0Tic0GAWplA8x4uBuCp6fF1jTt69yJA/out-2.webp", "https://replicate.delivery/yhqm/93roeksGx4T6SCuRJER20y5Epz1bJuPTD0E6YZBmtoUt69yJA/out-3.webp" ], "started_at": "2024-10-12T05:37:28.953464Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rr71xm9p59rm00cjfwxa3zd8xm", "cancel": "https://api.replicate.com/v1/predictions/rr71xm9p59rm00cjfwxa3zd8xm/cancel" }, "version": "cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a" }
Generated inUsing seed: 14492 Prompt: A photorealistic portrait of TOK (a Man) standing in a vast desert landscape, dressed in rugged travel gear, with a scarf wrapped around their neck. The sun is high in the sky, casting harsh, bright light that creates deep, dramatic shadows on the dunes behind them. TOK looks off into the distance, appearing confident and adventurous. The image evokes a sense of exploration and independence, with TOK conquering the harsh environment. [!] txt2img mode Using dev model Loaded LoRAs in 0.74s 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:01<01:02, 1.28s/it] 4%|▍ | 2/50 [00:02<00:55, 1.15s/it] 6%|▌ | 3/50 [00:03<00:56, 1.21s/it] 8%|▊ | 4/50 [00:04<00:56, 1.24s/it] 10%|█ | 5/50 [00:06<00:56, 1.25s/it] 12%|█▏ | 6/50 [00:07<00:55, 1.26s/it] 14%|█▍ | 7/50 [00:08<00:54, 1.27s/it] 16%|█▌ | 8/50 [00:10<00:53, 1.27s/it] 18%|█▊ | 9/50 [00:11<00:52, 1.27s/it] 20%|██ | 10/50 [00:12<00:51, 1.28s/it] 22%|██▏ | 11/50 [00:13<00:49, 1.28s/it] 24%|██▍ | 12/50 [00:15<00:48, 1.28s/it] 26%|██▌ | 13/50 [00:16<00:47, 1.28s/it] 28%|██▊ | 14/50 [00:17<00:46, 1.28s/it] 30%|███ | 15/50 [00:18<00:44, 1.28s/it] 32%|███▏ | 16/50 [00:20<00:43, 1.28s/it] 34%|███▍ | 17/50 [00:21<00:42, 1.28s/it] 36%|███▌ | 18/50 [00:22<00:40, 1.28s/it] 38%|███▊ | 19/50 [00:24<00:39, 1.28s/it] 40%|████ | 20/50 [00:25<00:38, 1.28s/it] 42%|████▏ | 21/50 [00:26<00:37, 1.28s/it] 44%|████▍ | 22/50 [00:27<00:35, 1.28s/it] 46%|████▌ | 23/50 [00:29<00:34, 1.28s/it] 48%|████▊ | 24/50 [00:30<00:33, 1.28s/it] 50%|█████ | 25/50 [00:31<00:32, 1.28s/it] 52%|█████▏ | 26/50 [00:33<00:30, 1.28s/it] 54%|█████▍ | 27/50 [00:34<00:29, 1.28s/it] 56%|█████▌ | 28/50 [00:35<00:28, 1.28s/it] 58%|█████▊ | 29/50 [00:36<00:26, 1.28s/it] 60%|██████ | 30/50 [00:38<00:25, 1.28s/it] 62%|██████▏ | 31/50 [00:39<00:24, 1.28s/it] 64%|██████▍ | 32/50 [00:40<00:23, 1.28s/it] 66%|██████▌ | 33/50 [00:42<00:21, 1.28s/it] 68%|██████▊ | 34/50 [00:43<00:20, 1.28s/it] 70%|███████ | 35/50 [00:44<00:19, 1.28s/it] 72%|███████▏ | 36/50 [00:45<00:17, 1.28s/it] 74%|███████▍ | 37/50 [00:47<00:16, 1.28s/it] 76%|███████▌ | 38/50 [00:48<00:15, 1.28s/it] 78%|███████▊ | 39/50 [00:49<00:14, 1.28s/it] 80%|████████ | 40/50 [00:51<00:12, 1.28s/it] 82%|████████▏ | 41/50 [00:52<00:11, 1.28s/it] 84%|████████▍ | 42/50 [00:53<00:10, 1.28s/it] 86%|████████▌ | 43/50 [00:54<00:08, 1.28s/it] 88%|████████▊ | 44/50 [00:56<00:07, 1.28s/it] 90%|█████████ | 45/50 [00:57<00:06, 1.28s/it] 92%|█████████▏| 46/50 [00:58<00:05, 1.28s/it] 94%|█████████▍| 47/50 [00:59<00:03, 1.28s/it] 96%|█████████▌| 48/50 [01:01<00:02, 1.28s/it] 98%|█████████▊| 49/50 [01:02<00:01, 1.28s/it] 100%|██████████| 50/50 [01:03<00:00, 1.28s/it] 100%|██████████| 50/50 [01:03<00:00, 1.28s/it]
Prediction
advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5aIDtjcm6t366drm00cjfxbvdkn2v8StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.
- lora_scale
- 1
- num_outputs
- 4
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3.5
- output_quality
- 90
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", { input: { model: "dev", prompt: "A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.", lora_scale: 1, num_outputs: 4, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3.5, output_quality: 90, 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 advoworks/lokidog using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "advoworks/lokidog:cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", input={ "model": "dev", "prompt": "A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run advoworks/lokidog 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": "cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a", "input": { "model": "dev", "prompt": "A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "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-12T06:09:41.167434Z", "created_at": "2024-10-12T06:08:07.219000Z", "data_removed": false, "error": null, "id": "tjcm6t366drm00cjfxbvdkn2v8", "input": { "model": "dev", "prompt": "A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.", "lora_scale": 1, "num_outputs": 4, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3.5, "output_quality": 90, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "Using seed: 36879\nPrompt: A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise.\n[!] txt2img mode\nUsing dev model\nfree=7660852318208\nDownloading weights\n2024-10-12T06:09:01Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmplidnif5c/weights url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar\n2024-10-12T06:09:03Z | INFO | [ Complete ] dest=/tmp/tmplidnif5c/weights size=\"172 MB\" total_elapsed=1.538s url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar\nDownloaded weights in 1.57s\nLoaded LoRAs in 2.29s\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:34, 1.29s/it]\n 7%|▋ | 2/28 [00:02<00:30, 1.16s/it]\n 11%|█ | 3/28 [00:03<00:30, 1.22s/it]\n 14%|█▍ | 4/28 [00:04<00:29, 1.24s/it]\n 18%|█▊ | 5/28 [00:06<00:28, 1.26s/it]\n 21%|██▏ | 6/28 [00:07<00:27, 1.27s/it]\n 25%|██▌ | 7/28 [00:08<00:26, 1.27s/it]\n 29%|██▊ | 8/28 [00:10<00:25, 1.28s/it]\n 32%|███▏ | 9/28 [00:11<00:24, 1.28s/it]\n 36%|███▌ | 10/28 [00:12<00:23, 1.28s/it]\n 39%|███▉ | 11/28 [00:13<00:21, 1.28s/it]\n 43%|████▎ | 12/28 [00:15<00:20, 1.28s/it]\n 46%|████▋ | 13/28 [00:16<00:19, 1.28s/it]\n 50%|█████ | 14/28 [00:17<00:17, 1.28s/it]\n 54%|█████▎ | 15/28 [00:19<00:16, 1.28s/it]\n 57%|█████▋ | 16/28 [00:20<00:15, 1.28s/it]\n 61%|██████ | 17/28 [00:21<00:14, 1.28s/it]\n 64%|██████▍ | 18/28 [00:22<00:12, 1.28s/it]\n 68%|██████▊ | 19/28 [00:24<00:11, 1.28s/it]\n 71%|███████▏ | 20/28 [00:25<00:10, 1.28s/it]\n 75%|███████▌ | 21/28 [00:26<00:08, 1.28s/it]\n 79%|███████▊ | 22/28 [00:28<00:07, 1.28s/it]\n 82%|████████▏ | 23/28 [00:29<00:06, 1.28s/it]\n 86%|████████▌ | 24/28 [00:30<00:05, 1.29s/it]\n 89%|████████▉ | 25/28 [00:31<00:03, 1.29s/it]\n 93%|█████████▎| 26/28 [00:33<00:02, 1.29s/it]\n 96%|█████████▋| 27/28 [00:34<00:01, 1.29s/it]\n100%|██████████| 28/28 [00:35<00:00, 1.29s/it]\n100%|██████████| 28/28 [00:35<00:00, 1.28s/it]", "metrics": { "predict_time": 39.314104377, "total_time": 93.948434 }, "output": [ "https://replicate.delivery/yhqm/WtWfKat4Dwx9CqtSEMp2nJk9efU9ernw7jDSgqWeVVFuUivcC/out-0.webp", "https://replicate.delivery/yhqm/e3k7YYoDf5oeIJSAS7TRKsjanqMRKxrhT39ybdW0XjhLl4LnA/out-1.webp", "https://replicate.delivery/yhqm/pk0ZffYEwIi2IkXXsmkDBEDrvBhpJzNjHMLwt0iCPKLlS8lTA/out-2.webp", "https://replicate.delivery/yhqm/1EGMhuwGSpbuHlv7qMwlEvENrlLZnJjZEjNaV5oNzYSpEfyJA/out-3.webp" ], "started_at": "2024-10-12T06:09:01.853330Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/tjcm6t366drm00cjfxbvdkn2v8", "cancel": "https://api.replicate.com/v1/predictions/tjcm6t366drm00cjfxbvdkn2v8/cancel" }, "version": "cade543f35a42eb8b7474632ea0d798d1bd996bd38dc15b8b6ecb7a646deeb5a" }
Generated inUsing seed: 36879 Prompt: A close-up portrait of TOK (a Man) in formal attire, captured against a smooth, neutral background. The lighting is soft, with subtle highlights emphasizing sharp jawline and professional demeanor. The focus is on confident expression, exuding sophistication and poise. [!] txt2img mode Using dev model free=7660852318208 Downloading weights 2024-10-12T06:09:01Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmplidnif5c/weights url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar 2024-10-12T06:09:03Z | INFO | [ Complete ] dest=/tmp/tmplidnif5c/weights size="172 MB" total_elapsed=1.538s url=https://replicate.delivery/yhqm/M8f2KEqx9oXcci3ypVNIEdGuWW30I9elBeiJjeCoYkq73MJOB/trained_model.tar Downloaded weights in 1.57s Loaded LoRAs in 2.29s 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:34, 1.29s/it] 7%|▋ | 2/28 [00:02<00:30, 1.16s/it] 11%|█ | 3/28 [00:03<00:30, 1.22s/it] 14%|█▍ | 4/28 [00:04<00:29, 1.24s/it] 18%|█▊ | 5/28 [00:06<00:28, 1.26s/it] 21%|██▏ | 6/28 [00:07<00:27, 1.27s/it] 25%|██▌ | 7/28 [00:08<00:26, 1.27s/it] 29%|██▊ | 8/28 [00:10<00:25, 1.28s/it] 32%|███▏ | 9/28 [00:11<00:24, 1.28s/it] 36%|███▌ | 10/28 [00:12<00:23, 1.28s/it] 39%|███▉ | 11/28 [00:13<00:21, 1.28s/it] 43%|████▎ | 12/28 [00:15<00:20, 1.28s/it] 46%|████▋ | 13/28 [00:16<00:19, 1.28s/it] 50%|█████ | 14/28 [00:17<00:17, 1.28s/it] 54%|█████▎ | 15/28 [00:19<00:16, 1.28s/it] 57%|█████▋ | 16/28 [00:20<00:15, 1.28s/it] 61%|██████ | 17/28 [00:21<00:14, 1.28s/it] 64%|██████▍ | 18/28 [00:22<00:12, 1.28s/it] 68%|██████▊ | 19/28 [00:24<00:11, 1.28s/it] 71%|███████▏ | 20/28 [00:25<00:10, 1.28s/it] 75%|███████▌ | 21/28 [00:26<00:08, 1.28s/it] 79%|███████▊ | 22/28 [00:28<00:07, 1.28s/it] 82%|████████▏ | 23/28 [00:29<00:06, 1.28s/it] 86%|████████▌ | 24/28 [00:30<00:05, 1.29s/it] 89%|████████▉ | 25/28 [00:31<00:03, 1.29s/it] 93%|█████████▎| 26/28 [00:33<00:02, 1.29s/it] 96%|█████████▋| 27/28 [00:34<00:01, 1.29s/it] 100%|██████████| 28/28 [00:35<00:00, 1.29s/it] 100%|██████████| 28/28 [00:35<00:00, 1.28s/it]
Want to make some of these yourself?
Run this model